Home
last modified time | relevance | path

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

/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/Launcher3/quickstep/src/com/android/quickstep/util/
DNavBarPosition.kt26 val displayRotation: Int, constant in com.android.quickstep.util.NavBarPosition
35 get() = mode != NO_BUTTON && displayRotation == Surface.ROTATION_90 && !isTablet
37 get() = mode != NO_BUTTON && displayRotation == Surface.ROTATION_270 && !isTablet
DRecentsOrientedState.java220 @SurfaceRotation int touchRotation, @SurfaceRotation int displayRotation) { in update() argument
221 mDisplayRotation = displayRotation; in update()
252 private int inferRecentsActivityRotation(@SurfaceRotation int displayRotation) { in inferRecentsActivityRotation() argument
254 return mRecentsRotation < 0 ? displayRotation : mRecentsRotation; in inferRecentsActivityRotation()
511 public static void postDisplayRotation(@SurfaceRotation int displayRotation, in postDisplayRotation() argument
513 switch (displayRotation) { in postDisplayRotation()
534 public static void preDisplayRotation(@SurfaceRotation int displayRotation, in preDisplayRotation() argument
536 switch (displayRotation) { in preDisplayRotation()
/packages/apps/Camera2/src/com/android/camera/app/
DOrientationManagerImpl.java178 int displayRotation = CameraUtil.getDisplayRotation(mActivity); in calculateCurrentScreenOrientation() local
180 boolean standard = displayRotation < 180; in calculateCurrentScreenOrientation()
187 if (displayRotation == 90 || displayRotation == 270) { in calculateCurrentScreenOrientation()
/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/src/com/android/quickstep/
DTaskViewUtils.java226 int displayRotation = DisplayController.INSTANCE.get(context).getInfo().rotation; in createRecentsWindowAnimator() local
227 tvsLocal.getOrientationState().update(displayRotation, displayRotation); in createRecentsWindowAnimator()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java4399 public void setLayoutRotation(int touchRotation, int displayRotation) { in setLayoutRotation() argument
4400 if (mOrientationState.update(touchRotation, displayRotation)) { in setLayoutRotation()