Home
last modified time | relevance | path

Searched refs:mOrientationManager (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/captureintent/
DPreviewTransformCalculator.java30 private final OrientationManager mOrientationManager; field in PreviewTransformCalculator
33 mOrientationManager = orientationManager; in PreviewTransformCalculator()
53 …if (mOrientationManager.getDeviceNaturalOrientation() == OrientationManager.DeviceNaturalOrientati… in toTransformMatrix()
75 int rotateDegree = mOrientationManager.getDisplayRotation().getDegrees(); in toTransformMatrix()
88 if (mOrientationManager.isInPortrait()) { in toTransformMatrix()
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DImageRotationCalculatorImpl.java39 private final OrientationManager mOrientationManager; field in ImageRotationCalculatorImpl
52 mOrientationManager = orientationManager; in ImageRotationCalculatorImpl()
69 mOrientationManager.getDeviceOrientation().getDegrees(), mFrontFacing); in toImageRotation()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAbstractGalleryActivity.java59 private OrientationManager mOrientationManager; field in AbstractGalleryActivity
76 mOrientationManager = new OrientationManager(this); in onCreate()
137 return mOrientationManager; in getOrientationManager()
214 mOrientationManager.resume(); in onResume()
220 mOrientationManager.pause(); in onPause()
DPhotoPage.java160 private OrientationManager mOrientationManager; field in PhotoPage
264 mOrientationManager = mActivity.getOrientationManager(); in onCreate()
265 mActivity.getGLRoot().setOrientationSource(mOrientationManager); in onCreate()
806 mOrientationManager.unlockOrientation(); in showBars()
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceConstructedImpl.java48 private final OrientationManager mOrientationManager; field in ResourceConstructedImpl
112 mOrientationManager = orientationManager; in ResourceConstructedImpl()
173 return mOrientationManager; in getOrientationManager()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java243 private OrientationManagerImpl mOrientationManager; field in CameraActivity
1200 return mOrientationManager; in getOrientationManager()
1210 if (mOrientationManager != null) { in lockOrientation()
1211 mOrientationManager.lockOrientation(); in lockOrientation()
1217 if (mOrientationManager != null) { in unlockOrientation()
1218 mOrientationManager.unlockOrientation(); in unlockOrientation()
1437 mOrientationManager = new OrientationManagerImpl(this, mMainHandler); in onCreateTasks()
1821 mOrientationManager.pause(); in onPauseTasks()
2029 mOrientationManager.resume(); in resume()
2187 mOrientationManager = null; in onDestroyTasks()