Home
last modified time | relevance | path

Searched refs:displayRotation (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DRecentsOrientedState.java205 @SurfaceRotation int touchRotation, @SurfaceRotation int displayRotation) { in update() argument
206 mRecentsActivityRotation = inferRecentsActivityRotation(displayRotation); in update()
207 mDisplayRotation = displayRotation; in update()
232 private int inferRecentsActivityRotation(@SurfaceRotation int displayRotation) { in inferRecentsActivityRotation() argument
235 ? displayRotation in inferRecentsActivityRotation()
495 public static void postDisplayRotation(@SurfaceRotation int displayRotation, in postDisplayRotation() argument
497 switch (displayRotation) { in postDisplayRotation()
DNavBarPosition.java38 public NavBarPosition(SysUINavigationMode.Mode mode, int displayRotation) { in NavBarPosition() argument
40 mDisplayRotation = displayRotation; in NavBarPosition()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DOrientationManager.java92 int displayRotation = getDisplayRotation(); in calculateCurrentScreenOrientation() local
94 boolean standard = displayRotation < 180; in calculateCurrentScreenOrientation()
101 if (displayRotation == 90 || displayRotation == 270) { in calculateCurrentScreenOrientation()
/packages/apps/Camera2/src/com/android/camera/app/
DOrientationManagerImpl.java178 int displayRotation = getDisplayRotation(mActivity); in calculateCurrentScreenOrientation() local
180 boolean standard = displayRotation < 180; in calculateCurrentScreenOrientation()
187 if (displayRotation == 90 || displayRotation == 270) { in calculateCurrentScreenOrientation()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DNavBarGestureHandler.java92 final int displayRotation; in NavBarGestureHandler() local
94 displayRotation = Surface.ROTATION_0; in NavBarGestureHandler()
96 displayRotation = display.getRotation(); in NavBarGestureHandler()
101 new NavBarPosition(Mode.NO_BUTTON, displayRotation), in NavBarGestureHandler()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLRootView.java232 int displayRotation = 0; in layoutContentPane() local
237 displayRotation = mOrientationSource.getDisplayRotation(); in layoutContentPane()
240 displayRotation = 0; in layoutContentPane()
256 mDisplayRotation = displayRotation; in layoutContentPane()
DPhotoView.java488 int displayRotation = root.getDisplayRotation(); in onLayout() local
490 if (mDisplayRotation != displayRotation in onLayout()
492 mDisplayRotation = displayRotation; in onLayout()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskViewUtils.java149 int displayRotation = DefaultDisplay.INSTANCE.get(context).getInfo().rotation; in createRecentsWindowAnimator() local
155 tsv.setLayoutRotation(displayRotation, displayRotation); in createRecentsWindowAnimator()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DTaskViewSimulator.java124 public void setLayoutRotation(int touchRotation, int displayRotation) { in setLayoutRotation() argument
125 mOrientationState.update(touchRotation, displayRotation); in setLayoutRotation()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java1666 public void setLayoutRotation(int touchRotation, int displayRotation) { in setLayoutRotation() argument
1667 if (mOrientationState.update(touchRotation, displayRotation)) { in setLayoutRotation()