/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | OrientationManager.java | 92 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/ |
D | OrientationManagerImpl.java | 110 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
|
D | OrientationManager.java | 107 public DeviceOrientation getDisplayRotation(); in getDisplayRotation() method
|
/packages/apps/Camera2/src/com/android/camera/ |
D | CaptureModuleUtil.java | 39 int rotation = CameraUtil.getDisplayRotation(context); in getDeviceNaturalOrientation() 112 boolean swapDimens = (CameraUtil.getDisplayRotation(context) % 180) == 90; in pickBufferDimensions()
|
D | TextureViewHelper.java | 108 int rotation = CameraUtil.getDisplayRotation((Activity) mPreview.getContext()); in onLayoutChange() 359 mOrientation = CameraUtil.getDisplayRotation((Activity) mPreview.getContext());
|
D | VideoModule.java | 256 if ((CameraUtil.getDisplayRotation(mActivity) != mDisplayRotation) in handleMessage() 865 mDisplayRotation = CameraUtil.getDisplayRotation(mActivity); in setDisplayOrientation() 883 if (mDisplayRotation != CameraUtil.getDisplayRotation(mActivity)) { in updateCameraOrientation()
|
D | PhotoModule.java | 295 if (CameraUtil.getDisplayRotation(mActivity) != mDisplayRotation) { in checkDisplayRotation() 1600 if (mDisplayRotation != CameraUtil.getDisplayRotation(mActivity)) { in updateCameraOrientation() 1726 mDisplayRotation = CameraUtil.getDisplayRotation(mActivity); in setDisplayOrientation()
|
D | CaptureModule.java | 414 mDisplayRotation = CameraUtil.getDisplayRotation(activity); in init() 1221 int incomingRotation = CameraUtil.getDisplayRotation(mUI.getActivity());
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | TaskViewSimulator.java | 211 preDisplayRotation(mOrientationState.getDisplayRotation(), mDp.widthPx, mDp.heightPx, in getCurrentRect() 236 mOrientationState.getDisplayRotation()), in applyWindowToHomeRotation() 253 mThumbnailData.rotation = mOrientationState.getDisplayRotation(); in apply()
|
D | RecentsOrientedState.java | 342 public int getDisplayRotation() { in getDisplayRotation() method in RecentsOrientedState
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | MainActivityLayout.java | 153 CameraUtil.getDisplayRotation((Activity) getContext())); in onMeasure() 169 CameraUtil.getDisplayRotation((Activity) getContext())); in setNonDecorWindowSizeChangedListener()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | GLRootView.java | 237 displayRotation = mOrientationSource.getDisplayRotation(); in layoutContentPane() 403 && mDisplayRotation != mOrientationSource.getDisplayRotation()) in onDrawFrameLocked() 550 public int getDisplayRotation() { in getDisplayRotation() method in GLRootView
|
D | OrientationSource.java | 20 public int getDisplayRotation(); in getDisplayRotation() method
|
D | GLRoot.java | 45 public int getDisplayRotation(); in getDisplayRotation() method
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | RotationTouchHelper.java | 273 public int getDisplayRotation() { in getDisplayRotation() method in RotationTouchHelper 405 pw.println(" displayRotation=" + getDisplayRotation()); in dump()
|
D | FallbackActivityInterface.java | 202 rotationTouchHelper.getDisplayRotation()); in notifyRecentsOfOrientation()
|
D | TaskOverlayFactory.java | 96 if (orientedState.getDisplayRotation() == ROTATION_0) { in getEnabledShortcuts()
|
D | SwipeUpAnimationLogic.java | 85 mDeviceState.getRotationTouchHelper().getDisplayRotation()); in SwipeUpAnimationLogic()
|
D | LauncherActivityInterface.java | 250 rotationTouchHelper.getDisplayRotation()); in notifyRecentsOfOrientation()
|
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/edit/ |
D | EditMedicalInfoActivityTest.java | 51 mInitialRotation = mDevice.getDisplayRotation(); in setUp()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/ |
D | PreviewTransformCalculator.java | 75 int rotateDegree = mOrientationManager.getDisplayRotation().getDegrees(); in toTransformMatrix()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Camera.java | 305 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()
|
D | VideoCamera.java | 298 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/ |
D | ViewInfoActivityTest.java | 61 mInitialRotation = mDevice.getDisplayRotation(); in setUp()
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/ |
D | TaskOverlayFactoryGo.java | 165 boolean isInLandscape = orientedState.getDisplayRotation() != ROTATION_0; in initOverlay()
|