Update vertical drag handle (all apps arrow)
- Change drawable to match specs, using ShadowDrawable to add shadow when necessary based on workspace theme. - New drawable is 18dp by 6dp; add support for different width vs height, and decouple from workspace page indicator (which is still 24dp tall). Bug: 151768994 Change-Id: Icfd0eac197ebc4d1f5bb799f8538c4bd99d800cd
This commit is contained in:
1 parent
6a2586db45
commit
5edf9e2923
13 files changed
+118
-93
No files matched your search
@@ -123,8 +123,8 @@ public class AllAppsTransitionController implements StateHandler, OnDeviceProfil
|
||||
|
||||
// Use a light system UI (dark icons) if all apps is behind at least half of the
|
||||
// status bar.
|
||||
boolean forceChange = shiftCurrent - mScrimView.getDragHandleSize()
|
||||
<= mLauncher.getDeviceProfile().getInsets().top / 2;
|
||||
boolean forceChange = Math.min(shiftCurrent, mScrimView.getVisualTop())
|
||||
<= mLauncher.getDeviceProfile().getInsets().top / 2f;
|
||||
if (forceChange) {
|
||||
mLauncher.getSystemUiController().updateUiState(UI_STATE_ALL_APPS, !mIsDarkTheme);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user