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 committed 2018-05-09 12:39:30 -07:00
1 parent 578890ad93
commit ef39540dde
17 files changed
+254 -316

No files matched your search

@@ -92,9 +92,9 @@ public class OverviewState extends LauncherState {
@Override
public int getVisibleElements(Launcher launcher) {
if (launcher.getDeviceProfile().isVerticalBarLayout()) {
return DRAG_HANDLE_INDICATOR;
return 0;
} else {
return HOTSEAT_SEARCH_BOX | DRAG_HANDLE_INDICATOR |
return HOTSEAT_SEARCH_BOX |
(launcher.getAppsView().getFloatingHeaderView().hasVisibleContent()
? ALL_APPS_HEADER_EXTRA : HOTSEAT_ICONS);
}