Lines Matching defs:RotationPolicy
22 import com.android.internal.view.RotationPolicy;
32 private final RotationPolicy.RotationPolicyListener mRotationPolicyListener =
33 new RotationPolicy.RotationPolicyListener() {
55 return RotationPolicy.getRotationLockOrientation(mContext);
59 return RotationPolicy.isRotationLocked(mContext);
63 RotationPolicy.setRotationLock(mContext, locked);
67 return RotationPolicy.isRotationLockToggleVisible(mContext);
73 RotationPolicy.registerRotationPolicyListener(mContext, mRotationPolicyListener,
76 RotationPolicy.unregisterRotationPolicyListener(mContext, mRotationPolicyListener);
87 callback.onRotationLockStateChanged(RotationPolicy.isRotationLocked(mContext),
88 RotationPolicy.isRotationLockToggleVisible(mContext));