Searched refs:portrait (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DRotationLockTile.java99 final boolean portrait = isCurrentOrientationLockPortrait(mController, mContext);
101 final int label = portrait ? R.string.quick_settings_rotation_locked_portrait_label
104 state.icon = portrait ? mAutoToPortrait : mAutoToLandscape;
107 state.icon = portrait ? mPortraitToAuto : mLandscapeToAuto;
/frameworks/base/core/tests/coretests/src/android/widget/
H A DRemoteViewsTest.java160 RemoteViews portrait = new RemoteViews(mPackage, 33);
163 RemoteViews views = new RemoteViews(landscape, portrait);
164 assertTrue(getParcelSize(views) < (getParcelSize(landscape) + getParcelSize(portrait)));
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java137 * Constants to whether or not this RemoteViews is composed of a landscape and portrait
145 * {@link #RemoteViews(RemoteViews, RemoteViews)} to keep track of the landscape and portrait
2207 * landspace or portrait RemoteViews, depending on the current configuration.
2210 * @param portrait The RemoteViews to inflate in portrait configuration
2212 public RemoteViews(RemoteViews landscape, RemoteViews portrait) { argument
2213 if (landscape == null || portrait == null) {
2216 if (landscape.mApplication.uid != portrait.mApplication.uid
2217 || !landscape.mApplication.packageName.equals(portrait.mApplication.packageName)) {
2220 mApplication = portrait
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java703 boolean portrait = RotationLockTile.isCurrentOrientationLockPortrait(
706 if (portrait) {

Completed in 1989 milliseconds