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:
Sunny Goyal
2018-05-09 08:42:24 -07:00
parent 578890ad93
commit ef39540dde
17 changed files with 254 additions and 316 deletions

View File

@@ -101,7 +101,6 @@ public class AllAppsTransitionController implements StateHandler, OnDeviceProfil
mAppsView.setAlpha(1);
mLauncher.getHotseat().setTranslationY(0);
mLauncher.getWorkspace().getPageIndicator().setTranslationY(0);
mLauncher.getDragHandleIndicator().setTranslationY(0);
}
}
@@ -125,7 +124,6 @@ public class AllAppsTransitionController implements StateHandler, OnDeviceProfil
if (!mIsVerticalLayout) {
mLauncher.getHotseat().setTranslationY(hotseatTranslation);
mLauncher.getWorkspace().getPageIndicator().setTranslationY(hotseatTranslation);
mLauncher.getDragHandleIndicator().setTranslationY(hotseatTranslation);
}
// Use a light system UI (dark icons) if all apps is behind at least half of the