Home
last modified time | relevance | path

Searched refs:mRotationPolicyListener (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/accessibility/
DLockScreenRotationPreferenceController.java37 private RotationPolicyListener mRotationPolicyListener; field in LockScreenRotationPreferenceController
76 if (mRotationPolicyListener != null) { in onStop()
77 RotationPolicy.unregisterRotationPolicyListener(mContext, mRotationPolicyListener); in onStop()
83 if (mRotationPolicyListener == null) { in onStart()
84 mRotationPolicyListener = new RotationPolicyListener() { in onStart()
93 RotationPolicy.registerRotationPolicyListener(mContext, mRotationPolicyListener); in onStart()
/packages/apps/Settings/src/com/android/settings/display/
DAutoRotateSwitchBarController.java38 private RotationPolicy.RotationPolicyListener mRotationPolicyListener; field in AutoRotateSwitchBarController
54 if (mRotationPolicyListener == null) { in onStart()
55 mRotationPolicyListener = new RotationPolicy.RotationPolicyListener() { in onStart()
65 mRotationPolicyListener); in onStart()
70 if (mRotationPolicyListener != null) { in onStop()
71 RotationPolicy.unregisterRotationPolicyListener(mContext, mRotationPolicyListener); in onStop()
DAutoRotatePreferenceController.java38 private RotationPolicy.RotationPolicyListener mRotationPolicyListener; field in AutoRotatePreferenceController
53 if (mRotationPolicyListener == null) { in onResume()
54 mRotationPolicyListener = new RotationPolicy.RotationPolicyListener() { in onResume()
64 mRotationPolicyListener); in onResume()
69 if (mRotationPolicyListener != null) { in onPause()
70 RotationPolicy.unregisterRotationPolicyListener(mContext, mRotationPolicyListener); in onPause()
DSmartAutoRotateController.java80 private RotationPolicy.RotationPolicyListener mRotationPolicyListener; field in SmartAutoRotateController
133 if (mRotationPolicyListener == null) { in onStart()
134 mRotationPolicyListener = new RotationPolicy.RotationPolicyListener() { in onStart()
141 RotationPolicy.registerRotationPolicyListener(mContext, mRotationPolicyListener); in onStart()
150 if (mRotationPolicyListener != null) { in onStop()
151 RotationPolicy.unregisterRotationPolicyListener(mContext, mRotationPolicyListener); in onStop()
152 mRotationPolicyListener = null; in onStop()
DSmartAutoRotatePreferenceController.java75 private RotationPolicy.RotationPolicyListener mRotationPolicyListener; field in SmartAutoRotatePreferenceController
123 if (mRotationPolicyListener == null) { in onStart()
124 mRotationPolicyListener = new RotationPolicy.RotationPolicyListener() { in onStart()
134 mRotationPolicyListener); in onStart()
141 if (mRotationPolicyListener != null) { in onStop()
143 mRotationPolicyListener); in onStop()