Home
last modified time | relevance | path

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

12345678910

/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A 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()
96 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout6()
100 vert.addView(two, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout6()
[all …]
H A DBigCache.java39 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate()
60 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/util/
H A DDialog.kt22 import android.view.ViewGroup.LayoutParams.MATCH_PARENT
76 window.attributes.width == MATCH_PARENT && window.attributes.height == MATCH_PARENT
97 FrameLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT)
135 window.setLayout(MATCH_PARENT, MATCH_PARENT)
148 window.attributes.width != MATCH_PARENT || window.attributes.height != MATCH_PARENT
156 window.setLayout(MATCH_PARENT, MATCH_PARENT)
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
H A DDragLayout.java23 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
109 addView(mDropZoneView1, new LinearLayout.LayoutParams(MATCH_PARENT, in DragLayout()
110 MATCH_PARENT)); in DragLayout()
111 addView(mDropZoneView2, new LinearLayout.LayoutParams(MATCH_PARENT, in DragLayout()
112 MATCH_PARENT)); in DragLayout()
242 dropZoneView1.width = MATCH_PARENT; in updateDropZoneSizesForSingleTask()
243 dropZoneView1.height = MATCH_PARENT; in updateDropZoneSizesForSingleTask()
268 dropZoneView1.width = MATCH_PARENT; in updateDropZoneSizes()
269 dropZoneView2.width = MATCH_PARENT; in updateDropZoneSizes()
275 dropZoneView1.height = MATCH_PARENT; in updateDropZoneSizes()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A 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()
H A 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()
H A 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()
H A DAdjacentVerticalRectLists.java68 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
69 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
72 ViewGroup.LayoutParams.MATCH_PARENT, 1); in onCreate()
/aosp14/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
H A DCutoutAvoidingToolbar.kt22 import android.view.ViewGroup.LayoutParams.MATCH_PARENT
73 it.layoutParams = LayoutParams(cutoutLeft, MATCH_PARENT)
76 it.layoutParams = LayoutParams(cutoutCenter, MATCH_PARENT)
79 it.layoutParams = LayoutParams(cutoutRight, MATCH_PARENT)
/aosp14/frameworks/base/core/java/android/widget/
H A 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()
668 ViewGroup.LayoutParams.MATCH_PARENT : 0); in show()
689 if (mDropDownWidth == ViewGroup.LayoutParams.MATCH_PARENT) { in show()
690 widthSpec = ViewGroup.LayoutParams.MATCH_PARENT; in show()
700 if (mDropDownHeight == ViewGroup.LayoutParams.MATCH_PARENT) { in show()
701 heightSpec = ViewGroup.LayoutParams.MATCH_PARENT; in show()
1198 ViewGroup.LayoutParams.MATCH_PARENT, 0, 1.0f in buildDropDown()
[all …]
H A DDayPickerViewPager.java76 if (lp.width == LayoutParams.MATCH_PARENT || in onMeasure()
77 lp.height == LayoutParams.MATCH_PARENT) { in onMeasure()
112 if (lp.width == LayoutParams.MATCH_PARENT) { in onMeasure()
122 if (lp.height == LayoutParams.MATCH_PARENT) { in onMeasure()
/aosp14/frameworks/base/tests/UpdatableSystemFontTest/EmojiRenderingTestApp/src/com/android/emojirenderingtestapp/
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/util/
H A DListScenario.java319 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
320 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
380 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
386 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
387 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
389 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
399 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
400 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
402 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
/aosp14/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/view/
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListItemISVAndButton.java50 ViewGroup.LayoutParams.MATCH_PARENT, in createView()
56 ViewGroup.LayoutParams.MATCH_PARENT, in createView()
66 ViewGroup.LayoutParams.MATCH_PARENT, in createView()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DFloatingWindowUtil.java19 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
47 MATCH_PARENT, MATCH_PARENT, /* xpos */ 0, /* ypos */ 0, TYPE_SCREENSHOT, in getFloatingWindowParams()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DDialogViewAnimator.java58 final boolean matchWidth = lp.width == LayoutParams.MATCH_PARENT; in onMeasure()
59 final boolean matchHeight = lp.height == LayoutParams.MATCH_PARENT; in onMeasure()
113 if (lp.width == LayoutParams.MATCH_PARENT) { in onMeasure()
125 if (lp.height == LayoutParams.MATCH_PARENT) { in onMeasure()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DRecyclerViewActivity.java19 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
46 recyclerView.setLayoutParams(new LayoutParams(MATCH_PARENT, MATCH_PARENT)); in onCreate()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/host/test-apps/UsesStaticLibrary/src/com/android/server/pm/test/static_library/
H A DTestActivity.kt32 ViewGroup.LayoutParams.MATCH_PARENT,
33 ViewGroup.LayoutParams.MATCH_PARENT

12345678910