Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DNavBarPosition.java35 private final int mDisplayRotation; field in NavBarPosition
39 mDisplayRotation = context.getSystemService(WindowManager.class) in NavBarPosition()
44 return mMode != NO_BUTTON && mDisplayRotation == Surface.ROTATION_90; in isRightEdge()
48 return mMode != NO_BUTTON && mDisplayRotation == Surface.ROTATION_270; in isLeftEdge()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLRootView.java92 private int mDisplayRotation; field in GLRootView
256 mDisplayRotation = displayRotation; in layoutContentPane()
403 && mDisplayRotation != mOrientationSource.getDisplayRotation()) in onDrawFrameLocked()
551 return mDisplayRotation; in getDisplayRotation()
DPhotoView.java209 private int mDisplayRotation = 0; field in PhotoView
490 if (mDisplayRotation != displayRotation in onLayout()
492 mDisplayRotation = displayRotation; in onLayout()
556 return (mCompensation - mDisplayRotation + 360) % 360; in getCameraRotation()
569 && (mDisplayRotation == 90 || mDisplayRotation == 270)); in getPanoramaRotation()
570 boolean invert = (mDisplayRotation >= 180); in getPanoramaRotation()
/packages/apps/Camera2/src/com/android/camera/
DVideoModule.java171 private int mDisplayRotation; field in VideoModule
259 if ((CameraUtil.getDisplayRotation() != mDisplayRotation) in handleMessage()
868 mDisplayRotation = CameraUtil.getDisplayRotation(); in setDisplayOrientation()
871 mCameraDisplayOrientation = info.getPreviewOrientation(mDisplayRotation); in setDisplayOrientation()
874 mCameraDevice.setDisplayOrientation(mDisplayRotation); in setDisplayOrientation()
886 if (mDisplayRotation != CameraUtil.getDisplayRotation()) { in updateCameraOrientation()
932 mCameraDevice.setDisplayOrientation(mDisplayRotation); in startPreview()
DPhotoModule.java188 private int mDisplayRotation; field in PhotoModule
295 if (CameraUtil.getDisplayRotation() != mDisplayRotation) { in checkDisplayRotation()
1600 if (mDisplayRotation != CameraUtil.getDisplayRotation()) { in updateCameraOrientation()
1726 mDisplayRotation = CameraUtil.getDisplayRotation(); in setDisplayOrientation()
1729 mDisplayOrientation = info.getPreviewOrientation(mDisplayRotation); in setDisplayOrientation()
1736 mCameraDevice.setDisplayOrientation(mDisplayRotation); in setDisplayOrientation()
1739 mDisplayRotation + ":" + mDisplayOrientation); in setDisplayOrientation()
DCaptureModule.java325 private int mDisplayRotation; field in CaptureModule
414 mDisplayRotation = CameraUtil.getDisplayRotation(); in init()
916 rotationMatrix.setRotate(mDisplayRotation, 0.5f, 0.5f);
1224 incomingRotation == mDisplayRotation && !forceUpdate) {
1228 mDisplayRotation = incomingRotation;
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java210 private int mDisplayRotation; field in Camera
305 if (Util.getDisplayRotation(Camera.this) != mDisplayRotation) { in handleMessage()
1784 if (Util.getDisplayRotation(this) != mDisplayRotation) { in surfaceChanged()
1836 mDisplayRotation = Util.getDisplayRotation(this); in setDisplayOrientation()
1837 mDisplayOrientation = Util.getDisplayOrientation(mDisplayRotation, mCameraId); in setDisplayOrientation()
DVideoCamera.java232 private int mDisplayRotation; field in VideoCamera
298 if ((Util.getDisplayRotation(VideoCamera.this) != mDisplayRotation) in handleMessage()
922 mDisplayRotation = Util.getDisplayRotation(this); in startPreview()
923 int orientation = Util.getDisplayOrientation(mDisplayRotation, mCameraId); in startPreview()
1103 if (mPreviewing && (Util.getDisplayRotation(this) == mDisplayRotation) in surfaceChanged()