Home
last modified time | relevance | path

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

12

/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(mActivity)) % 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
/packages/apps/Camera2/src/com/android/camera/
DCaptureModuleUtil.java39 int rotation = CameraUtil.getDisplayRotation(context); in getDeviceNaturalOrientation()
112 boolean swapDimens = (CameraUtil.getDisplayRotation(context) % 180) == 90; in pickBufferDimensions()
DTextureViewHelper.java108 int rotation = CameraUtil.getDisplayRotation((Activity) mPreview.getContext()); in onLayoutChange()
359 mOrientation = CameraUtil.getDisplayRotation((Activity) mPreview.getContext());
DVideoModule.java256 if ((CameraUtil.getDisplayRotation(mActivity) != mDisplayRotation) in handleMessage()
865 mDisplayRotation = CameraUtil.getDisplayRotation(mActivity); in setDisplayOrientation()
883 if (mDisplayRotation != CameraUtil.getDisplayRotation(mActivity)) { in updateCameraOrientation()
DPhotoModule.java295 if (CameraUtil.getDisplayRotation(mActivity) != mDisplayRotation) { in checkDisplayRotation()
1600 if (mDisplayRotation != CameraUtil.getDisplayRotation(mActivity)) { in updateCameraOrientation()
1726 mDisplayRotation = CameraUtil.getDisplayRotation(mActivity); in setDisplayOrientation()
DCaptureModule.java414 mDisplayRotation = CameraUtil.getDisplayRotation(activity); in init()
1221 int incomingRotation = CameraUtil.getDisplayRotation(mUI.getActivity());
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DTaskViewSimulator.java211 preDisplayRotation(mOrientationState.getDisplayRotation(), mDp.widthPx, mDp.heightPx, in getCurrentRect()
236 mOrientationState.getDisplayRotation()), in applyWindowToHomeRotation()
253 mThumbnailData.rotation = mOrientationState.getDisplayRotation(); in apply()
DRecentsOrientedState.java342 public int getDisplayRotation() { in getDisplayRotation() method in RecentsOrientedState
/packages/apps/Camera2/src/com/android/camera/ui/
DMainActivityLayout.java153 CameraUtil.getDisplayRotation((Activity) getContext())); in onMeasure()
169 CameraUtil.getDisplayRotation((Activity) getContext())); 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
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRotationTouchHelper.java273 public int getDisplayRotation() { in getDisplayRotation() method in RotationTouchHelper
405 pw.println(" displayRotation=" + getDisplayRotation()); in dump()
DFallbackActivityInterface.java202 rotationTouchHelper.getDisplayRotation()); in notifyRecentsOfOrientation()
DTaskOverlayFactory.java96 if (orientedState.getDisplayRotation() == ROTATION_0) { in getEnabledShortcuts()
DSwipeUpAnimationLogic.java85 mDeviceState.getRotationTouchHelper().getDisplayRotation()); in SwipeUpAnimationLogic()
DLauncherActivityInterface.java250 rotationTouchHelper.getDisplayRotation()); in notifyRecentsOfOrientation()
/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()
1789 if (Util.getDisplayRotation(this) != mDisplayRotation) { in surfaceChanged()
1841 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()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/view/
DViewInfoActivityTest.java61 mInitialRotation = mDevice.getDisplayRotation(); in setUp()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DTaskOverlayFactoryGo.java165 boolean isInLandscape = orientedState.getDisplayRotation() != ROTATION_0; in initOverlay()

12