Home
last modified time | relevance | path

Searched refs:displayRotation (Results 1 – 4 of 4) 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/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/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()