OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:RotationPolicy
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
RotationLockControllerImpl.java
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)
[
all
...]
/packages/apps/Settings/src/com/android/settings/display/
AutoRotatePreferenceController.java
21
import com.android.internal.view.
RotationPolicy
;
38
private
RotationPolicy
.RotationPolicyListener mRotationPolicyListener;
61
return
RotationPolicy
.isRotationLockToggleVisible(mContext);
69
RotationPolicy
.setRotationLock(mContext, locked);
76
mRotationPolicyListener = new
RotationPolicy
.RotationPolicyListener() {
83
RotationPolicy
.registerRotationPolicyListener(mContext,
90
RotationPolicy
.unregisterRotationPolicyListener(mContext, mRotationPolicyListener);
98
mPreference.setChecked(!
RotationPolicy
.isRotationLocked(mContext));
/frameworks/base/core/java/com/android/internal/view/
RotationPolicy.java
41
public final class
RotationPolicy
{
42
private static final String TAG = "
RotationPolicy
";
46
private
RotationPolicy
() {
Completed in 72 milliseconds