Home
last modified time | relevance | path

Searched refs:landscape (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DNavigationBarInflaterView.java97 Configuration landscape = new Configuration(); in createInflaters() local
98 landscape.setTo(mContext.getResources().getConfiguration()); in createInflaters()
99 landscape.orientation = Configuration.ORIENTATION_LANDSCAPE; in createInflaters()
100 mLandscapeInflater = LayoutInflater.from(mContext.createConfigurationContext(landscape)); in createInflaters()
219 private void inflateButtons(String[] buttons, ViewGroup parent, boolean landscape, in inflateButtons() argument
222 inflateButton(buttons[i], parent, landscape, start); in inflateButtons()
235 protected View inflateButton(String buttonSpec, ViewGroup parent, boolean landscape, in inflateButton() argument
237 LayoutInflater inflater = landscape ? mLandscapeInflater : mLayoutInflater; in inflateButton()
241 v = applySize(v, buttonSpec, landscape, start); in inflateButton()
244 View lastView = landscape ? mLastLandscape : mLastPortrait; in inflateButton()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarInflaterView.java133 Configuration landscape = new Configuration(); in createInflaters() local
134 landscape.setTo(mContext.getResources().getConfiguration()); in createInflaters()
135 landscape.orientation = Configuration.ORIENTATION_LANDSCAPE; in createInflaters()
136 mLandscapeInflater = LayoutInflater.from(mContext.createConfigurationContext(landscape)); in createInflaters()
291 private void inflateButtons(String[] buttons, ViewGroup parent, boolean landscape, in inflateButtons() argument
294 inflateButton(buttons[i], parent, landscape, start); in inflateButtons()
307 protected View inflateButton(String buttonSpec, ViewGroup parent, boolean landscape, in inflateButton() argument
309 LayoutInflater inflater = landscape ? mLandscapeInflater : mLayoutInflater; in inflateButton()
313 v = applySize(v, buttonSpec, landscape, start); in inflateButton()
316 View lastView = landscape ? mLastLandscape : mLastPortrait; in inflateButton()
[all …]
/frameworks/base/packages/SystemUI/docs/device-entry/
Dbouncer.md10 1. Phone, landscape - Can only get into this state via lockscreen activities. Launch camera, rotate…
11 1. Foldables - Both landscape and portrait are supported. In landscape, the bouncer can appear on e…
Dglossary.md10 …shade is automatically activated - using resources - for big screens in landscape, see [sw600dp-la…
/frameworks/proto_logging/stats/enums/stats/wm/
Denums.proto25 ROTATION_90 = 2; // landscape on left
27 ROTATION_270 = 4; // landscape on right
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java434 public static int getNavigationBarSize(Resources res, int navBarSide, boolean landscape, in getNavigationBarSize() argument
439 return res.getDimensionPixelSize(landscape in getNavigationBarSize()
448 return res.getDimensionPixelSize(landscape in getNavigationBarSize()
458 public static int getNavigationBarFrameHeight(Resources res, boolean landscape) { in getNavigationBarFrameHeight() argument
459 return res.getDimensionPixelSize(landscape in getNavigationBarFrameHeight()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DIconTest.java82 final Bitmap bm3 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testWithBitmap()
194 final Bitmap res1 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testWithBitmapResource()
197 final Icon im1 = Icon.createWithResource(getContext(), R.drawable.landscape); in testWithBitmapResource()
272 final Bitmap bit1 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testWithFile()
344 final Bitmap bit1 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testAsync()
387 … final Bitmap originalbits = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testParcel()
410 final Icon res1 = Icon.createWithResource(getContext(), R.drawable.landscape); in testParcel()
544 final Bitmap bit1 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testLoadSafeDrawable_loadSuccessful()
588 final Bitmap bit1 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testLoadSafeDrawable_grantRejected_nullDrawable()
/frameworks/base/core/tests/coretests/src/android/widget/
DRemoteViewsTest.java174 RemoteViews landscape = new RemoteViews(mPackage, R.layout.remote_views_test); in parcelSize_differentOrientation() local
178 RemoteViews views = new RemoteViews(landscape, portrait); in parcelSize_differentOrientation()
179 assertTrue(getParcelSize(views) < (getParcelSize(landscape) + getParcelSize(portrait))); in parcelSize_differentOrientation()
766 final RemoteViews landscape = new RemoteViews(mPackage, R.layout.remote_views_test); in visitUris_separateOrientation() local
772 landscape.setImageViewUri(R.id.image, imageUriL); in visitUris_separateOrientation()
773 landscape.setTextViewCompoundDrawables(R.id.text, icon1L, icon2L, icon3L, icon4L); in visitUris_separateOrientation()
784 RemoteViews views = new RemoteViews(landscape, portrait); in visitUris_separateOrientation()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/
DWallpaperCropperTest.java440 Point landscape = new Point(PORTRAIT_ONE.y, PORTRAIT_ONE.x); in testGetCrop_hasRotatedSuggestedCrop() local
447 landscape, bitmapSize, suggestedCrops, rtl)) in testGetCrop_hasRotatedSuggestedCrop()
448 .isEqualTo(centerOf(bitmapRect, landscape)); in testGetCrop_hasRotatedSuggestedCrop()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyInsetsTests.java68 public void landscape() { in landscape() method in DisplayPolicyInsetsTests
/frameworks/base/tools/aapt2/
DConfiguration.proto176 // Which orientation the device is in (portrait, landscape).
/frameworks/av/media/libheadtracking/
DREADME.md103 orientation between “landscape” and “portrait”, the frame of reference will
/frameworks/base/core/java/android/widget/
DRemoteViews.java4058 public RemoteViews(RemoteViews landscape, RemoteViews portrait) {
4059 if (landscape == null || portrait == null) {
4062 if (!landscape.hasSameAppInfo(portrait.mApplication)) {
4071 mLandscape = landscape;
4075 ? portrait.mClassCookies : landscape.mClassCookies;
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java1844 final boolean landscape = bounds.width() > bounds.height(); in canResizeToBounds()
1848 || landscape == (configBounds.width() > configBounds.height()); in canResizeToBounds()
1850 return (mResizeMode != RESIZE_MODE_FORCE_RESIZABLE_PORTRAIT_ONLY || !landscape) in canResizeToBounds()
1851 && (mResizeMode != RESIZE_MODE_FORCE_RESIZABLE_LANDSCAPE_ONLY || landscape); in canResizeToBounds()
/frameworks/proto_logging/stats/
Datoms.proto3243 // in portrait and landscape.
4812 optional bool landscape = 5; field
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8811 …ublic static final java.lang.String FEATURE_SCREEN_LANDSCAPE = "android.hardware.screen.landscape";
12305 field public static final java.lang.String SCENE_MODE_LANDSCAPE = "landscape";
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt13171 field public static final String FEATURE_SCREEN_LANDSCAPE = "android.hardware.screen.landscape";
18418 field @Deprecated public static final String SCENE_MODE_LANDSCAPE = "landscape";