mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Adding a carent in the scrim
> Caret is only visible when the accessibility is enabled > It is visible in NOTMAL and OVERVIEW state and moves out of the scrim along with the scrim. > Acts as an accessible target for various options Bug: 78172350 Bug: 79215734 Change-Id: I8a968b67e36901859649546295f6491d49cc9ce9
This commit is contained in:
@@ -18,7 +18,6 @@ package com.android.launcher3;
|
||||
|
||||
import static com.android.launcher3.LauncherAnimUtils.DRAWABLE_ALPHA;
|
||||
import static com.android.launcher3.LauncherAnimUtils.SCALE_PROPERTY;
|
||||
import static com.android.launcher3.LauncherState.DRAG_HANDLE_INDICATOR;
|
||||
import static com.android.launcher3.LauncherState.HOTSEAT_ICONS;
|
||||
import static com.android.launcher3.LauncherState.HOTSEAT_SEARCH_BOX;
|
||||
import static com.android.launcher3.anim.PropertySetter.NO_ANIM_PROPERTY_SETTER;
|
||||
@@ -90,10 +89,6 @@ public class WorkspaceStateTransitionAnimation {
|
||||
(elements & HOTSEAT_SEARCH_BOX) != 0 ? 1 : 0,
|
||||
pageAlphaProvider.interpolator);
|
||||
|
||||
propertySetter.setViewAlpha(mLauncher.getDragHandleIndicator(),
|
||||
(elements & DRAG_HANDLE_INDICATOR) != 0 ? 1 : 0,
|
||||
pageAlphaProvider.interpolator);
|
||||
|
||||
// Set scrim
|
||||
propertySetter.setFloat(ViewScrim.get(mWorkspace), ViewScrim.PROGRESS,
|
||||
state.getWorkspaceScrimAlpha(mLauncher), Interpolators.LINEAR);
|
||||
|
||||
Reference in New Issue
Block a user