Searched refs:mRotationPolicyListener (Results 1 – 5 of 5) sorted by relevance
35 private RotationPolicyListener mRotationPolicyListener; field in LockScreenRotationPreferenceController66 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()
37 private RotationPolicy.RotationPolicyListener mRotationPolicyListener; field in AutoRotatePreferenceController52 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()
66 private RotationPolicy.RotationPolicyListener mRotationPolicyListener; field in SmartAutoRotateController116 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()
50 private RotationPolicy.RotationPolicyListener mRotationPolicyListener; field in SmartAutoRotatePreferenceFragment96 if (mRotationPolicyListener == null) { in onResume()97 mRotationPolicyListener = new RotationPolicy.RotationPolicyListener() { in onResume()107 mRotationPolicyListener); in onResume() local113 if (mRotationPolicyListener != null) { in onPause()115 mRotationPolicyListener); in onPause() local
51 private RotationPolicy.RotationPolicyListener mRotationPolicyListener; field in SmartAutoRotatePreferenceController87 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()