Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java775 MyOrientationListener mOrientationListener; field in PhoneWindowManager
849 if (!mOrientationListener.canDetectOrientation()) { in updateOrientationListenerLp()
869 mOrientationListener.enable(); in updateOrientationListenerLp()
877 mOrientationListener.disable(); in updateOrientationListenerLp()
1358 mOrientationListener = new MyOrientationListener(mContext, mHandler); in init()
1360 mOrientationListener.setCurrentRotation(windowManager.getRotation()); in init()
1500 mOrientationListener.onTouchStart(); in init()
1504 mOrientationListener.onTouchEnd(); in init()
5801 int sensorRotation = mOrientationListener.getProposedRotation(); // may be -1 in rotationForOrientationLw()
5970 mOrientationListener.setCurrentRotation(rotation); in setRotationLw()
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java549 private AudioOrientationEventListener mOrientationListener; field in AudioService
677 mOrientationListener = new AudioOrientationEventListener(mContext); in AudioService()
678 mOrientationListener.enable(); in AudioService()
5067 mOrientationListener.onOrientationChanged(0); //argument is ignored anyway in onReceive()
5068 mOrientationListener.enable(); in onReceive()
5074 mOrientationListener.disable(); in onReceive()