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.java35 private RotationPolicyListener mRotationPolicyListener; field in LockScreenRotationPreferenceController
66 if (mRotationPolicyListener != null) { in onStop()
67 RotationPolicy.unregisterRotationPolicyListener(mContext, mRotationPolicyListener); in onStop()
73 if (mRotationPolicyListener == null) { in onStart()
74 mRotationPolicyListener = new RotationPolicyListener() { in onStart()
83 RotationPolicy.registerRotationPolicyListener(mContext, mRotationPolicyListener); in onStart()
/packages/apps/Settings/src/com/android/settings/display/
DAutoRotatePreferenceController.java37 private RotationPolicy.RotationPolicyListener mRotationPolicyListener; field in AutoRotatePreferenceController
52 if (mRotationPolicyListener == null) { in onResume()
53 mRotationPolicyListener = new RotationPolicy.RotationPolicyListener() { in onResume()
63 mRotationPolicyListener); in onResume()
68 if (mRotationPolicyListener != null) { in onPause()
69 RotationPolicy.unregisterRotationPolicyListener(mContext, mRotationPolicyListener); in onPause()
DSmartAutoRotateController.java66 private RotationPolicy.RotationPolicyListener mRotationPolicyListener; field in SmartAutoRotateController
116 if (mRotationPolicyListener == null) { in onStart()
117 mRotationPolicyListener = new RotationPolicy.RotationPolicyListener() { in onStart()
124 RotationPolicy.registerRotationPolicyListener(mContext, mRotationPolicyListener); in onStart()
130 if (mRotationPolicyListener != null) { in onStop()
131 RotationPolicy.unregisterRotationPolicyListener(mContext, mRotationPolicyListener); in onStop()
132 mRotationPolicyListener = null; in onStop()
DSmartAutoRotatePreferenceFragment.java50 private RotationPolicy.RotationPolicyListener mRotationPolicyListener; field in SmartAutoRotatePreferenceFragment
96 if (mRotationPolicyListener == null) { in onResume()
97 mRotationPolicyListener = new RotationPolicy.RotationPolicyListener() { in onResume()
107 mRotationPolicyListener); in onResume() local
113 if (mRotationPolicyListener != null) { in onPause()
115 mRotationPolicyListener); in onPause() local
DSmartAutoRotatePreferenceController.java51 private RotationPolicy.RotationPolicyListener mRotationPolicyListener; field in SmartAutoRotatePreferenceController
87 if (mRotationPolicyListener == null) { in onStart()
88 mRotationPolicyListener = new RotationPolicy.RotationPolicyListener() { in onStart()
98 mRotationPolicyListener); in onStart()
104 if (mRotationPolicyListener != null) { in onStop()
106 mRotationPolicyListener); in onStop()