Searched refs:mRotationPolicyListener (Results 1 – 5 of 5) sorted by relevance
37 private RotationPolicyListener mRotationPolicyListener; field in LockScreenRotationPreferenceController76 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()
38 private RotationPolicy.RotationPolicyListener mRotationPolicyListener; field in AutoRotateSwitchBarController54 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()
38 private RotationPolicy.RotationPolicyListener mRotationPolicyListener; field in AutoRotatePreferenceController53 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()
80 private RotationPolicy.RotationPolicyListener mRotationPolicyListener; field in SmartAutoRotateController133 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()
75 private RotationPolicy.RotationPolicyListener mRotationPolicyListener; field in SmartAutoRotatePreferenceController123 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()