Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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()
/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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DAccessibilitySettings.java214 private final RotationPolicyListener mRotationPolicyListener = new RotationPolicyListener() { field in AccessibilitySettings
322 mRotationPolicyListener); in onResume() local
332 mRotationPolicyListener); in onPause() local
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySettings.java216 private final RotationPolicyListener mRotationPolicyListener = new RotationPolicyListener() { field in AccessibilitySettings
329 mRotationPolicyListener); in onResume() local
339 mRotationPolicyListener); in onPause() local