Home
last modified time | relevance | path

Searched refs:getDisplayRotation (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DOrientationManager.java92 int displayRotation = getDisplayRotation(); in calculateCurrentScreenOrientation()
131 public int getDisplayRotation() {
132 return getDisplayRotation(mActivity);
155 private static int getDisplayRotation(Activity activity) { in getDisplayRotation() method
/packages/apps/Camera2/src/com/android/camera/app/
DOrientationManagerImpl.java110 public DeviceOrientation getDisplayRotation() { in getDisplayRotation() method in OrientationManagerImpl
111 return DeviceOrientation.from((360 - CameraUtil.getDisplayRotation()) % 360); in getDisplayRotation()
178 int displayRotation = getDisplayRotation(mActivity); in calculateCurrentScreenOrientation()
254 private static int getDisplayRotation(Activity activity) { in getDisplayRotation() method in OrientationManagerImpl
DOrientationManager.java107 public DeviceOrientation getDisplayRotation(); in getDisplayRotation() method
DCameraAppUI.java927 mLastRotation = CameraUtil.getDisplayRotation(); in initDisplayListener()
937 int rotation = CameraUtil.getDisplayRotation( in initDisplayListener()
/packages/apps/Camera2/src/com/android/camera/
DCaptureModuleUtil.java38 int rotation = CameraUtil.getDisplayRotation(); in getDeviceNaturalOrientation()
111 boolean swapDimens = (CameraUtil.getDisplayRotation() % 180) == 90; in pickBufferDimensions()
DTextureViewHelper.java107 int rotation = CameraUtil.getDisplayRotation(); in onLayoutChange()
358 mOrientation = CameraUtil.getDisplayRotation();
DVideoModule.java259 if ((CameraUtil.getDisplayRotation() != mDisplayRotation) in handleMessage()
868 mDisplayRotation = CameraUtil.getDisplayRotation(); in setDisplayOrientation()
886 if (mDisplayRotation != CameraUtil.getDisplayRotation()) { in updateCameraOrientation()
DPhotoModule.java295 if (CameraUtil.getDisplayRotation() != mDisplayRotation) { in checkDisplayRotation()
1600 if (mDisplayRotation != CameraUtil.getDisplayRotation()) { in updateCameraOrientation()
1726 mDisplayRotation = CameraUtil.getDisplayRotation(); in setDisplayOrientation()
DCaptureModule.java414 mDisplayRotation = CameraUtil.getDisplayRotation(); in init()
1221 int incomingRotation = CameraUtil.getDisplayRotation();
/packages/apps/Camera2/src/com/android/camera/ui/
DMainActivityLayout.java153 CameraUtil.getDisplayRotation()); in onMeasure()
169 CameraUtil.getDisplayRotation()); in setNonDecorWindowSizeChangedListener()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLRootView.java237 displayRotation = mOrientationSource.getDisplayRotation(); in layoutContentPane()
403 && mDisplayRotation != mOrientationSource.getDisplayRotation()) in onDrawFrameLocked()
550 public int getDisplayRotation() { in getDisplayRotation() method in GLRootView
DOrientationSource.java20 public int getDisplayRotation(); in getDisplayRotation() method
DGLRoot.java45 public int getDisplayRotation(); in getDisplayRotation() method
DPhotoView.java488 int displayRotation = root.getDisplayRotation(); in onLayout()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/edit/
DEditMedicalInfoActivityTest.java51 mInitialRotation = mDevice.getDisplayRotation(); in setUp()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DPreviewTransformCalculator.java75 int rotateDegree = mOrientationManager.getDisplayRotation().getDegrees(); in toTransformMatrix()
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java305 if (Util.getDisplayRotation(Camera.this) != mDisplayRotation) { in handleMessage()
1315 + Util.getDisplayRotation(Camera.this); in onOrientationChanged()
1784 if (Util.getDisplayRotation(this) != mDisplayRotation) { in surfaceChanged()
1836 mDisplayRotation = Util.getDisplayRotation(this); in setDisplayOrientation()
DVideoCamera.java298 if ((Util.getDisplayRotation(VideoCamera.this) != mDisplayRotation) in handleMessage()
556 + Util.getDisplayRotation(VideoCamera.this); in onOrientationChanged()
922 mDisplayRotation = Util.getDisplayRotation(this); in startPreview()
1103 if (mPreviewing && (Util.getDisplayRotation(this) == mDisplayRotation) in surfaceChanged()
DUtil.java326 public static int getDisplayRotation(Activity activity) { in getDisplayRotation() method in Util
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/view/
DViewInfoActivityTest.java61 mInitialRotation = mDevice.getDisplayRotation(); in setUp()
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateReadyForCapture.java361 .getOrientationManager().getDisplayRotation().getDegrees(); in registerEventHandlers()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLauncherInstrumentation.java335 mExpectedRotation, mDevice.getDisplayRotation()); in verifyContainerType()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java221 + Util.getDisplayRotation(PanoramaActivity.this); in onOrientationChanged()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java453 public static int getDisplayRotation() { in getDisplayRotation() method in CameraUtil