Loading packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java +6 −2 Original line number Diff line number Diff line Loading @@ -247,6 +247,9 @@ public class TaskStack { */ public static class DockState implements DropTarget { public static final int DOCK_AREA_BG_COLOR = 0xFFffffff; public static final int DOCK_AREA_GRID_BG_COLOR = 0xFF000000; // The rotation to apply to the hint text @Retention(RetentionPolicy.SOURCE) @IntDef({HORIZONTAL, VERTICAL}) Loading Loading @@ -319,7 +322,8 @@ public class TaskStack { private ViewState(int areaAlpha, int hintAlpha, @TextOrientation int hintOrientation, int hintTextResId) { dockAreaAlpha = areaAlpha; dockAreaOverlay = new ColorDrawable(0xFFffffff); dockAreaOverlay = new ColorDrawable(Recents.getConfiguration().isGridEnabled ? DOCK_AREA_GRID_BG_COLOR : DOCK_AREA_BG_COLOR); dockAreaOverlay.setAlpha(0); hintTextAlpha = hintAlpha; hintTextOrientation = hintOrientation; Loading Loading
packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java +6 −2 Original line number Diff line number Diff line Loading @@ -247,6 +247,9 @@ public class TaskStack { */ public static class DockState implements DropTarget { public static final int DOCK_AREA_BG_COLOR = 0xFFffffff; public static final int DOCK_AREA_GRID_BG_COLOR = 0xFF000000; // The rotation to apply to the hint text @Retention(RetentionPolicy.SOURCE) @IntDef({HORIZONTAL, VERTICAL}) Loading Loading @@ -319,7 +322,8 @@ public class TaskStack { private ViewState(int areaAlpha, int hintAlpha, @TextOrientation int hintOrientation, int hintTextResId) { dockAreaAlpha = areaAlpha; dockAreaOverlay = new ColorDrawable(0xFFffffff); dockAreaOverlay = new ColorDrawable(Recents.getConfiguration().isGridEnabled ? DOCK_AREA_GRID_BG_COLOR : DOCK_AREA_BG_COLOR); dockAreaOverlay.setAlpha(0); hintTextAlpha = hintAlpha; hintTextOrientation = hintOrientation; Loading