Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarInflaterView.java111 Configuration landscape = new Configuration(); in createInflaters() local
112 landscape.setTo(mContext.getResources().getConfiguration()); in createInflaters()
113 landscape.orientation = Configuration.ORIENTATION_LANDSCAPE; in createInflaters()
114 mLandscapeInflater = LayoutInflater.from(mContext.createConfigurationContext(landscape)); in createInflaters()
281 private void inflateButtons(String[] buttons, ViewGroup parent, boolean landscape, in inflateButtons() argument
284 inflateButton(buttons[i], parent, landscape, start); in inflateButtons()
297 protected View inflateButton(String buttonSpec, ViewGroup parent, boolean landscape, in inflateButton() argument
299 LayoutInflater inflater = landscape ? mLandscapeInflater : mLayoutInflater; in inflateButton()
303 v = applySize(v, buttonSpec, landscape, start); in inflateButton()
306 View lastView = landscape ? mLastLandscape : mLastPortrait; in inflateButton()
[all …]
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DIconTest.java50 final Bitmap bm3 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testWithBitmap()
162 final Bitmap res1 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testWithBitmapResource()
165 final Icon im1 = Icon.createWithResource(getContext(), R.drawable.landscape); in testWithBitmapResource()
185 final Bitmap bit1 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testWithFile()
209 final Bitmap bit1 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testAsync()
252 … final Bitmap originalbits = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape)) in testParcel()
275 final Icon res1 = Icon.createWithResource(getContext(), R.drawable.landscape); in testParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDivider.java94 final boolean landscape = configuration.orientation == ORIENTATION_LANDSCAPE; in addDivider()
95 final int width = landscape ? size : MATCH_PARENT; in addDivider()
96 final int height = landscape ? MATCH_PARENT : size; in addDivider()
DDividerView.java297 boolean landscape = getResources().getConfiguration().orientation in onFinishInflate()
300 landscape ? TYPE_HORIZONTAL_DOUBLE_ARROW : TYPE_VERTICAL_DOUBLE_ARROW)); in onFinishInflate()
/frameworks/base/core/tests/coretests/src/android/widget/
DRemoteViewsTest.java166 RemoteViews landscape = new RemoteViews(mPackage, R.layout.remote_views_test); in parcelSize_differentOrientation() local
170 RemoteViews views = new RemoteViews(landscape, portrait); in parcelSize_differentOrientation()
171 assertTrue(getParcelSize(views) < (getParcelSize(landscape) + getParcelSize(portrait))); in parcelSize_differentOrientation()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyInsetsTests.java62 public void landscape() { in landscape() method in DisplayPolicyInsetsTests
/frameworks/base/tools/aapt2/
DConfiguration.proto170 // Which orientation the device is in (portrait, landscape).
/frameworks/base/services/core/java/com/android/server/wm/
DTaskRecord.java1624 final boolean landscape = bounds.width() > bounds.height(); in canResizeToBounds()
1628 || landscape == (configBounds.width() > configBounds.height()); in canResizeToBounds()
1630 return (mResizeMode != RESIZE_MODE_FORCE_RESIZABLE_PORTRAIT_ONLY || !landscape) in canResizeToBounds()
1631 && (mResizeMode != RESIZE_MODE_FORCE_RESIZABLE_LANDSCAPE_ONLY || landscape); in canResizeToBounds()
DDisplayPolicy.java1109 final boolean landscape = frame.height() > frame.width(); in selectDockedDividerAnimationLw()
1110 final boolean offscreenLandscape = landscape && (frame.right - insets <= 0 in selectDockedDividerAnimationLw()
1112 final boolean offscreenPortrait = !landscape && (frame.top - insets <= 0 in selectDockedDividerAnimationLw()
/frameworks/base/cmds/statsd/src/
Datoms.proto1378 // in portrait and landscape.
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...