Home
last modified time | relevance | path

Searched refs:mOrientationListener (Results 1 – 7 of 7) sorted by relevance

/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DRotationProvider.java57 private final OrientationEventListener mOrientationListener; field in RotationProvider
81 mOrientationListener = new OrientationEventListener(applicationContext) { in RotationProvider()
129 if (!mOrientationListener.canDetectOrientation()) { in addListener()
133 mOrientationListener.enable(); in addListener()
151 mOrientationListener.disable(); in removeListener()
165 mOrientationListener.onOrientationChanged(mLastDisplayOrientation); in updateSensorOrientation()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DOrientationManager.java38 private MyOrientationEventListener mOrientationListener; field in OrientationManager
48 mOrientationListener = new MyOrientationEventListener(activity); in OrientationManager()
55 mOrientationListener.enable(); in resume()
59 mOrientationListener.disable(); in pause()
/packages/apps/Camera2/src/com/android/camera/app/
DOrientationManagerImpl.java55 private final MyOrientationEventListener mOrientationListener; field in OrientationManagerImpl
82 mOrientationListener = new MyOrientationEventListener(activity); in OrientationManagerImpl()
91 mOrientationListener.enable(); in resume()
95 mOrientationListener.disable(); in pause()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DRecentsOrientedState.java122 private final OrientationEventListener mOrientationListener; field in RecentsOrientedState
145 mOrientationListener = new OrientationEventListener(context) { in RecentsOrientedState()
276 mOrientationListener.enable(); in setFlag()
278 mOrientationListener.disable(); in setFlag()
304 setFlag(FLAG_ROTATION_WATCHER_SUPPORTED, mOrientationListener.canDetectOrientation()); in initFlags()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRotationTouchHelper.java109 private OrientationEventListener mOrientationListener; field in RotationTouchHelper
163 mOrientationListener = new OrientationEventListener(mContext) { in init()
338 UI_HELPER_EXECUTOR.execute(mOrientationListener::enable); in enableMultipleRegions()
340 UI_HELPER_EXECUTOR.execute(mOrientationListener::disable); in enableMultipleRegions()
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java133 private MyOrientationEventListener mOrientationListener; field in Camera
358 mOrientationListener = new MyOrientationEventListener(Camera.this); in initializeFirstTime()
359 mOrientationListener.enable(); in initializeFirstTime()
440 mOrientationListener.enable(); in initializeSecondTime()
1609 mOrientationListener.disable(); in onPause()
DVideoCamera.java249 private MyOrientationEventListener mOrientationListener; field in VideoCamera
452 mOrientationListener = new MyOrientationEventListener(this); in onCreate()
833 mOrientationListener.enable(); in doOnResume()
1011 mOrientationListener.disable(); in onPause()