Home
last modified time | relevance | path

Searched refs:portrait (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DRotationLockTile.java99 final boolean portrait = isCurrentOrientationLockPortrait(mController, mContext); in handleUpdateState()
101 final int label = portrait ? R.string.quick_settings_rotation_locked_portrait_label in handleUpdateState()
104 state.icon = portrait ? mAutoToPortrait : mAutoToLandscape; in handleUpdateState()
107 state.icon = portrait ? mPortraitToAuto : mLandscapeToAuto; in handleUpdateState()
/frameworks/base/core/tests/coretests/src/android/widget/
DRemoteViewsTest.java160 RemoteViews portrait = new RemoteViews(mPackage, 33); in parcelSize_differentOrientation() local
163 RemoteViews views = new RemoteViews(landscape, portrait); in parcelSize_differentOrientation()
164 assertTrue(getParcelSize(views) < (getParcelSize(landscape) + getParcelSize(portrait))); in parcelSize_differentOrientation()
/frameworks/base/core/java/android/widget/
DRemoteViews.java2389 public RemoteViews(RemoteViews landscape, RemoteViews portrait) {
2390 if (landscape == null || portrait == null) {
2393 if (landscape.mApplication.uid != portrait.mApplication.uid
2394 || !landscape.mApplication.packageName.equals(portrait.mApplication.packageName)) {
2397 mApplication = portrait.mApplication;
2398 mLayoutId = portrait.getLayoutId();
2401 mPortrait = portrait;
2408 configureRemoteViewsAsChild(portrait);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java713 boolean portrait = RotationLockTile.isCurrentOrientationLockPortrait( in onRotationLockStateChanged()
716 if (portrait) { in onRotationLockStateChanged()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8812 … public static final java.lang.String FEATURE_SCREEN_PORTRAIT = "android.hardware.screen.portrait";
12307 field public static final java.lang.String SCENE_MODE_NIGHT_PORTRAIT = "night-portrait";
12309 field public static final java.lang.String SCENE_MODE_PORTRAIT = "portrait";
/frameworks/base/api/
Dcurrent.txt10746 … public static final java.lang.String FEATURE_SCREEN_PORTRAIT = "android.hardware.screen.portrait";
14739 field public static final java.lang.String SCENE_MODE_NIGHT_PORTRAIT = "night-portrait";
14741 field public static final java.lang.String SCENE_MODE_PORTRAIT = "portrait";
Dtest-current.txt10788 … public static final java.lang.String FEATURE_SCREEN_PORTRAIT = "android.hardware.screen.portrait";
14833 field public static final java.lang.String SCENE_MODE_NIGHT_PORTRAIT = "night-portrait";
14835 field public static final java.lang.String SCENE_MODE_PORTRAIT = "portrait";
Dsystem-current.txt11395 … public static final java.lang.String FEATURE_SCREEN_PORTRAIT = "android.hardware.screen.portrait";
15471 field public static final java.lang.String SCENE_MODE_NIGHT_PORTRAIT = "night-portrait";
15473 field public static final java.lang.String SCENE_MODE_PORTRAIT = "portrait";