Home
last modified time | relevance | path

Searched refs:DisplayController (Results 1 – 25 of 88) sorted by relevance

1234

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSimpleOrientationTouchTransformer.java18 import static com.android.launcher3.util.DisplayController.CHANGE_ACTIVE_SCREEN;
19 import static com.android.launcher3.util.DisplayController.CHANGE_ALL;
20 import static com.android.launcher3.util.DisplayController.CHANGE_ROTATION;
25 import com.android.launcher3.util.DisplayController;
30 DisplayController.DisplayInfoChangeListener, SafeCloseable {
40 DisplayController.INSTANCE.get(context).addChangeListener(this); in SimpleOrientationTouchTransformer()
41 onDisplayInfoChanged(context, DisplayController.INSTANCE.get(context).getInfo(), in SimpleOrientationTouchTransformer()
47 DisplayController.INSTANCE.get(mContext).removeChangeListener(this); in close()
51 public void onDisplayInfoChanged(Context context, DisplayController.Info info, int flags) { in onDisplayInfoChanged()
DRotationTouchHelper.java23 import static com.android.launcher3.util.DisplayController.CHANGE_ACTIVE_SCREEN;
24 import static com.android.launcher3.util.DisplayController.CHANGE_ALL;
25 import static com.android.launcher3.util.DisplayController.CHANGE_NAVIGATION_MODE;
26 import static com.android.launcher3.util.DisplayController.CHANGE_ROTATION;
27 import static com.android.launcher3.util.DisplayController.CHANGE_SUPPORTED_BOUNDS;
37 import com.android.launcher3.util.DisplayController;
38 import com.android.launcher3.util.DisplayController.DisplayInfoChangeListener;
39 import com.android.launcher3.util.DisplayController.Info;
60 private DisplayController mDisplayController;
150 mDisplayController = DisplayController.INSTANCE.get(mContext); in init()
[all …]
DRecentsAnimationDeviceState.java22 import static com.android.launcher3.util.DisplayController.CHANGE_ALL;
23 import static com.android.launcher3.util.DisplayController.CHANGE_NAVIGATION_MODE;
24 import static com.android.launcher3.util.DisplayController.CHANGE_ROTATION;
65 import com.android.launcher3.util.DisplayController;
66 import com.android.launcher3.util.DisplayController.DisplayInfoChangeListener;
67 import com.android.launcher3.util.DisplayController.Info;
99 private final DisplayController mDisplayController;
151 mDisplayController = DisplayController.INSTANCE.get(context); in RecentsAnimationDeviceState()
239 DisplayController.DisplayInfoChangeListener listener = (context, info, flags) -> { in addNavigationModeChangedCallback()
DTaskIconCache.java19 import static com.android.launcher3.util.DisplayController.CHANGE_DENSITY;
46 import com.android.launcher3.util.DisplayController;
47 import com.android.launcher3.util.DisplayController.DisplayInfoChangeListener;
48 import com.android.launcher3.util.DisplayController.Info;
89 DisplayController.INSTANCE.get(mContext).addChangeListener(this); in TaskIconCache()
264 DisplayController.INSTANCE.get(mContext).getInfo().getDensityDpi(), in getIconFactory()
/packages/apps/Launcher3/src/com/android/launcher3/states/
DRotationHelper.java40 import com.android.launcher3.util.DisplayController;
47 DisplayController.DisplayInfoChangeListener {
54 public static boolean getAllowRotationDefaultValue(DisplayController.Info info) { in getAllowRotationDefaultValue()
131 public void onDisplayInfoChanged(Context context, DisplayController.Info info, int flags) { in onDisplayInfoChanged()
176 DisplayController displayController = DisplayController.INSTANCE.get(mActivity); in initialize()
177 DisplayController.Info info = displayController.getInfo(); in initialize()
188 DisplayController.INSTANCE.get(mActivity).removeChangeListener(this); in destroy()
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseDraggingActivity.java19 import static com.android.launcher3.util.DisplayController.CHANGE_ROTATION;
34 import com.android.launcher3.util.DisplayController;
35 import com.android.launcher3.util.DisplayController.DisplayInfoChangeListener;
36 import com.android.launcher3.util.DisplayController.Info;
60 DisplayController.INSTANCE.get(this).addChangeListener(this); in onCreate()
138 DisplayController.INSTANCE.get(this).removeChangeListener(this); in onDestroy()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarManager.java27 import static com.android.launcher3.util.DisplayController.CHANGE_DENSITY;
28 import static com.android.launcher3.util.DisplayController.CHANGE_DESKTOP_MODE;
29 import static com.android.launcher3.util.DisplayController.CHANGE_NAVIGATION_MODE;
30 import static com.android.launcher3.util.DisplayController.CHANGE_TASKBAR_PINNING;
31 import static com.android.launcher3.util.DisplayController.TASKBAR_NOT_DESTROYED_TAG;
68 import com.android.launcher3.util.DisplayController;
144 private class RecreationListener implements DisplayController.DisplayInfoChangeListener {
146 public void onDisplayInfoChanged(Context context, DisplayController.Info info, int flags) { in onDisplayInfoChanged()
377 DisplayController.INSTANCE.get(mContext).addChangeListener(mRecreationListener); in onUserUnlocked()
475 DisplayController.isTransientTaskbar(mTaskbarActivityContext); in recreateTaskbar()
[all …]
DTaskbarEduTooltipController.kt45 import com.android.launcher3.util.DisplayController in <lambda>()
128 !DisplayController.isTransientTaskbar(activityContext) || in <lambda>()
166 if (DisplayController.isTransientTaskbar(activityContext)) { in <lambda>()
179 if (DisplayController.isTransientTaskbar(activityContext)) { in <lambda>()
212 !DisplayController.isTransientTaskbar(activityContext) || in <lambda>()
228 if (DisplayController.isTransientTaskbar(activityContext)) { in <lambda>()
258 !DisplayController.isPinnedTaskbar(activityContext) || in <lambda>()
273 if (DisplayController.isTransientTaskbar(activityContext)) { in <lambda>()
DTaskbarStashController.java65 import com.android.launcher3.util.DisplayController;
326 boolean isTransientTaskbar = DisplayController.isTransientTaskbar(mActivity); in init()
380 return DisplayController.isTransientTaskbar(mActivity) in getStashDuration()
443 || DisplayController.isTransientTaskbar(mActivity))) { in getContentHeightToReportToApps()
500 if (!DisplayController.isTransientTaskbar(mActivity)) { in updateAndAnimateTransientTaskbar()
551 if (!DisplayController.isTransientTaskbar(mActivity) || !hasAnyFlag(FLAGS_IN_APP)) return; in toggleTaskbarStash()
600 boolean isTransientTaskbar = DisplayController.isTransientTaskbar(mActivity); in createAnimToIsStashed()
1020 && DisplayController.isTransientTaskbar(mActivity); in updateStateForSysuiFlags()
1045 if (DisplayController.isTransientTaskbar(mActivity)) { in shouldStashForIme()
1055 if (mActivity.isHardwareKeyboard() && DisplayController.isPinnedTaskbar(mActivity) in shouldStashForIme()
[all …]
DTaskbarScrimViewController.java31 import com.android.launcher3.util.DisplayController;
88 if (isBubbleBarEnabled() && DisplayController.isTransientTaskbar(mActivity)) { in updateStateForSysuiFlags()
107 mTaskbarVisible && !DisplayController.isTransientTaskbar(mScrimView.getContext()); in getScrimAlpha()
DLauncherTaskbarUIController.java44 import com.android.launcher3.util.DisplayController;
195 DisplayController.isTransientTaskbar(mLauncher) in onLauncherVisibilityChanged()
289 if (!DisplayController.isTransientTaskbar(mLauncher)) { in showEduOnAppLaunch()
312 if (!DisplayController.isTransientTaskbar(mLauncher)) { in shouldShowEduOnAppLaunch()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DDisplayControllerTest.kt34 import com.android.launcher3.util.DisplayController.CHANGE_DENSITY in <lambda>()
35 import com.android.launcher3.util.DisplayController.CHANGE_ROTATION in <lambda>()
36 import com.android.launcher3.util.DisplayController.CHANGE_TASKBAR_PINNING in <lambda>()
37 import com.android.launcher3.util.DisplayController.DisplayInfoChangeListener in <lambda>()
70 private lateinit var displayController: DisplayController in <lambda>()
133 displayController = DisplayController(context) in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DSettingsChangeLogger.java30 import static com.android.launcher3.util.DisplayController.CHANGE_NAVIGATION_MODE;
49 import com.android.launcher3.util.DisplayController;
50 import com.android.launcher3.util.DisplayController.Info;
66 DisplayController.DisplayInfoChangeListener, OnSharedPreferenceChangeListener,
91 DisplayController.INSTANCE.get(context).addChangeListener(this); in SettingsChangeLogger()
92 mNavMode = DisplayController.getNavigationMode(context); in SettingsChangeLogger()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DNavigationModeSwitchRule.java36 import com.android.launcher3.util.DisplayController;
75 static final DisplayController DISPLAY_CONTROLLER =
76 DisplayController.INSTANCE.get(getInstrumentation().getTargetContext());
142 DisplayController.getNavigationMode(
163 final DisplayController.DisplayInfoChangeListener listener =
DRecentsAnimationDeviceStateTest.kt7 import com.android.launcher3.util.DisplayController.CHANGE_DENSITY in <lambda>()
8 import com.android.launcher3.util.DisplayController.CHANGE_NAVIGATION_MODE in <lambda>()
9 import com.android.launcher3.util.DisplayController.CHANGE_ROTATION in <lambda>()
10 import com.android.launcher3.util.DisplayController.Info in <lambda>()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/util/
DTaskViewSimulatorTest.java38 import com.android.launcher3.util.DisplayController;
39 import com.android.launcher3.util.DisplayController.Info;
193 DisplayController.Info info = new Info( in verifyNoTransforms()
196 DisplayController mockController = mock(DisplayController.class); in verifyNoTransforms()
198 helper.sandboxContext.putObject(DisplayController.INSTANCE, mockController); in verifyNoTransforms()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/
DFallbackNavBarTouchController.java24 import com.android.launcher3.util.DisplayController;
44 DisplayController.getNavigationMode(mContainer.asContext()); in FallbackNavBarTouchController()
47 DisplayController.INSTANCE.get(mContainer.asContext()).getInfo()); in FallbackNavBarTouchController()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/customization/
DTaskbarFeatureEvaluator.kt23 import com.android.launcher3.util.DisplayController
43 get() = DisplayController.isTransientTaskbar(taskbarActivityContext)
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/allapps/
DTaskbarAllAppsViewController.java34 import com.android.launcher3.util.DisplayController;
93 if (DisplayController.isTransientTaskbar(mContext)) { in setUpTaskbarStashing()
106 if (DisplayController.isTransientTaskbar(mContext)) { in setUpTaskbarStashing()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DQuickstepOnboardingPrefs.java40 import com.android.launcher3.util.DisplayController;
58 DisplayController.getNavigationMode(launcher).hasGestures; in setup()
95 if (DisplayController.getNavigationMode(launcher) == NO_BUTTON) { in setup()
DLayoutUtils.java24 import com.android.launcher3.util.DisplayController;
36 if (DisplayController.getNavigationMode(context) == NavigationMode.NO_BUTTON) { in getDefaultSwipeHeight()
/packages/apps/Car/SystemUI/src/com/android/systemui/wm/
DDisplaySystemBarsController.java53 import com.android.wm.shell.common.DisplayController;
64 public class DisplaySystemBarsController implements DisplayController.OnDisplaysChangedListener {
71 private static final boolean DEBUG = Log.isLoggable(DisplayController.class.getSimpleName(),
106 DisplayController displayController, in DisplaySystemBarsController()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DOverviewActionsView.java38 import com.android.launcher3.util.DisplayController;
213 updateVerticalMargin(DisplayController.getNavigationMode(getContext())); in onConfigurationChanged()
219 updateVerticalMargin(DisplayController.getNavigationMode(getContext())); in setInsets()
396 updateVerticalMargin(DisplayController.getNavigationMode(getContext())); in updateDimension()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DNavBarGestureHandler.java37 import com.android.launcher3.util.DisplayController;
62 DisplayController.Info displayInfo = DisplayController.INSTANCE.get(mContext).getInfo(); in NavBarGestureHandler()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/wm/
DDisplaySystemBarsControllerTest.java34 import com.android.wm.shell.common.DisplayController;
56 private DisplayController mDisplayController;

1234