Home
last modified time | relevance | path

Searched refs:MATCH_PARENT (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/frameworks/base/core/tests/coretests/src/android/view/
DCreateViewTest.java19 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
49 new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout2()
57 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
60 vert.addView(two, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
63 vert.addView(three, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
66 vert.addView(four, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
69 vert.addView(five, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
72 vert.addView(six, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); in testLayout3()
87 vert.addView(text, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout5()
96 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout6()
[all …]
DBigCache.java39 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate()
60 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/util/
DDialog.kt22 import android.view.ViewGroup.LayoutParams.MATCH_PARENT in <lambda>()
76 window.attributes.width == MATCH_PARENT && window.attributes.height == MATCH_PARENT in maybeForceFullscreen()
97 FrameLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT) in maybeForceFullscreen()
135 window.setLayout(MATCH_PARENT, MATCH_PARENT) in maybeForceFullscreen()
148 window.attributes.width != MATCH_PARENT || window.attributes.height != MATCH_PARENT in maybeForceFullscreen()
156 window.setLayout(MATCH_PARENT, MATCH_PARENT) in maybeForceFullscreen()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/
DRemoteComposePlayer.java98 LayoutParams.MATCH_PARENT); in applyContentBehavior()
105 LayoutParams.MATCH_PARENT, in applyContentBehavior()
106 LayoutParams.MATCH_PARENT); in applyContentBehavior()
115 LayoutParams.MATCH_PARENT, in applyContentBehavior()
122 LayoutParams.MATCH_PARENT, in applyContentBehavior()
123 LayoutParams.MATCH_PARENT); in applyContentBehavior()
132 LayoutParams.MATCH_PARENT, in applyContentBehavior()
133 LayoutParams.MATCH_PARENT); in applyContentBehavior()
140 LayoutParams layoutParams = new LayoutParams(LayoutParams.MATCH_PARENT, in init()
141 LayoutParams.MATCH_PARENT); in init()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DMultiLayersActivity.java39 LinearLayout.LayoutParams.MATCH_PARENT, 0, 1.0f)); in onCreate()
44 LinearLayout.LayoutParams.MATCH_PARENT, 0, 1.0f)); in onCreate()
47 0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); in onCreate()
49 0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); in onCreate()
52 0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); in onCreate()
54 0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); in onCreate()
DVideoViewCaptureActivity.java79 layout.addView(button, LinearLayout.LayoutParams.MATCH_PARENT, in onCreate()
81 layout.addView(mVideoView, LinearLayout.LayoutParams.MATCH_PARENT, in onCreate()
82 LinearLayout.LayoutParams.MATCH_PARENT); in onCreate()
85 FrameLayout.LayoutParams.MATCH_PARENT, in onCreate()
86 FrameLayout.LayoutParams.MATCH_PARENT)); in onCreate()
DHardwareCanvasSurfaceViewActivity.java78 layout.addView(button, LinearLayout.LayoutParams.MATCH_PARENT, in onCreate()
80 layout.addView(mSurfaceView, LinearLayout.LayoutParams.MATCH_PARENT, in onCreate()
81 LinearLayout.LayoutParams.MATCH_PARENT); in onCreate()
84 FrameLayout.LayoutParams.MATCH_PARENT, in onCreate()
85 FrameLayout.LayoutParams.MATCH_PARENT)); in onCreate()
DScrollingStretchSurfaceViewActivity.java50 new FrameLayout.LayoutParams(FrameLayout.LayoutParams.MATCH_PARENT, in onCreate()
51 FrameLayout.LayoutParams.MATCH_PARENT)); in onCreate()
55 new FrameLayout.LayoutParams(FrameLayout.LayoutParams.MATCH_PARENT, in onCreate()
56 FrameLayout.LayoutParams.MATCH_PARENT)); in onCreate()
DBackdropBlurActivity.java46 innerFrame.addView(backgroundView, ViewGroup.LayoutParams.MATCH_PARENT, 10000); in onCreate()
48 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT); in onCreate()
52 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT); in onCreate()
DLooperAcceleration.java57 layout.addView(new IsAcceleratedView(this), LayoutParams.MATCH_PARENT, 60); in makeView()
64 layout.addView(wv, LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); in makeView()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DGoneParentFocusedChild.java61 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
62 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
68 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
69 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
DAdjacentVerticalRectLists.java68 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
69 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
72 ViewGroup.LayoutParams.MATCH_PARENT, 1); in onCreate()
DHorizontalFocusSearch.java64 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
65 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
98 ViewGroup.LayoutParams.MATCH_PARENT)); in makeTall()
121 ViewGroup.LayoutParams.MATCH_PARENT)); in addShort()
DVerticalFocusSearch.java71 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
72 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
105 ViewGroup.LayoutParams.MATCH_PARENT, in makeWide()
136 ViewGroup.LayoutParams.MATCH_PARENT, in addSkinny()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DCutoutAvoidingToolbar.kt22 import android.view.ViewGroup.LayoutParams.MATCH_PARENT
73 it.layoutParams = LayoutParams(cutoutLeft, MATCH_PARENT) in adjustLayout()
76 it.layoutParams = LayoutParams(cutoutCenter, MATCH_PARENT) in adjustLayout()
79 it.layoutParams = LayoutParams(cutoutRight, MATCH_PARENT) in adjustLayout()
/frameworks/base/tests/UpdatableSystemFontTest/EmojiRenderingTestApp/src/com/android/emojirenderingtestapp/
DEmojiRenderingTestActivity.java19 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
40 container.addView(emojiTextView, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT)); in onCreate()
44 container.addView(serifTextView, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT)); in onCreate()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragLayout.java24 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
127 addView(mDropZoneView1, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT)); in DragLayout()
128 addView(mDropZoneView2, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT)); in DragLayout()
322 dropZoneView1.width = MATCH_PARENT; in updateDropZoneSizesForSingleTask()
323 dropZoneView1.height = MATCH_PARENT; in updateDropZoneSizesForSingleTask()
346 dropZoneView1.width = bounds1 != null ? bounds1.width() + halfDivider : MATCH_PARENT; in updateDropZoneSizes()
347 dropZoneView2.width = bounds2 != null ? bounds2.width() + halfDivider : MATCH_PARENT; in updateDropZoneSizes()
348 dropZoneView1.height = MATCH_PARENT; in updateDropZoneSizes()
349 dropZoneView2.height = MATCH_PARENT; in updateDropZoneSizes()
351 dropZoneView1.width = MATCH_PARENT; in updateDropZoneSizes()
[all …]
/frameworks/base/core/java/android/widget/
DListPopupWindow.java149 public static final int MATCH_PARENT = ViewGroup.LayoutParams.MATCH_PARENT; field in ListPopupWindow
561 && ViewGroup.LayoutParams.MATCH_PARENT != height) { in setHeight()
651 if (mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT) { in show()
662 if (mDropDownHeight == ViewGroup.LayoutParams.MATCH_PARENT) { in show()
665 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT; in show()
667 mPopup.setWidth(mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT ? in show()
668 ViewGroup.LayoutParams.MATCH_PARENT : 0); in show()
671 mPopup.setWidth(mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT ? in show()
672 ViewGroup.LayoutParams.MATCH_PARENT : 0); in show()
673 mPopup.setHeight(ViewGroup.LayoutParams.MATCH_PARENT); in show()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DListScenario.java314 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
315 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
375 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
381 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
382 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
384 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
394 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
395 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
397 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DFloatingWindowUtil.java19 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
47 MATCH_PARENT, MATCH_PARENT, /* xpos */ 0, /* ypos */ 0, TYPE_SCREENSHOT, in getFloatingWindowParams()
/frameworks/base/core/tests/coretests/src/com/android/internal/view/
DScrollViewCaptureHelperTest.java19 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
50 scrollView.addView(content, new ViewGroup.LayoutParams(MATCH_PARENT, WRAP_CONTENT)); in createScrollableContent()
57 content.addView(view, new ViewGroup.LayoutParams(MATCH_PARENT, CHILD_VIEW_HEIGHT)); in createScrollableContent()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListItemISVAndButton.java50 ViewGroup.LayoutParams.MATCH_PARENT, in createView()
56 ViewGroup.LayoutParams.MATCH_PARENT, in createView()
66 ViewGroup.LayoutParams.MATCH_PARENT, in createView()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEffectsTest.java184 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set()
188 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set()
192 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set()
196 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set()
200 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set()
204 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DRecyclerViewActivity.java19 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
46 recyclerView.setLayoutParams(new LayoutParams(MATCH_PARENT, MATCH_PARENT)); in onCreate()
/frameworks/base/services/tests/PackageManagerServiceTests/host/test-apps/UsesStaticLibrary/src/com/android/server/pm/test/static_library/
DTestActivity.kt32 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
33 ViewGroup.LayoutParams.MATCH_PARENT in onCreate()

12345678910>>...12