/frameworks/base/core/tests/coretests/src/android/view/ |
D | CreateViewTest.java | 19 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 …]
|
D | BigCache.java | 39 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/ |
D | Dialog.kt | 22 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/ |
D | RemoteComposePlayer.java | 98 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/ |
D | MultiLayersActivity.java | 39 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()
|
D | VideoViewCaptureActivity.java | 79 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()
|
D | HardwareCanvasSurfaceViewActivity.java | 78 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()
|
D | ScrollingStretchSurfaceViewActivity.java | 50 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()
|
D | BackdropBlurActivity.java | 46 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()
|
D | LooperAcceleration.java | 57 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/ |
D | GoneParentFocusedChild.java | 61 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()
|
D | AdjacentVerticalRectLists.java | 68 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 69 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 72 ViewGroup.LayoutParams.MATCH_PARENT, 1); in onCreate()
|
D | HorizontalFocusSearch.java | 64 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()
|
D | VerticalFocusSearch.java | 71 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/ |
D | CutoutAvoidingToolbar.kt | 22 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/ |
D | EmojiRenderingTestActivity.java | 19 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/ |
D | DragLayout.java | 24 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/ |
D | ListPopupWindow.java | 149 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/ |
D | ListScenario.java | 314 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/ |
D | FloatingWindowUtil.java | 19 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/ |
D | ScrollViewCaptureHelperTest.java | 19 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/ |
D | ListItemISVAndButton.java | 50 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/ |
D | EffectsTest.java | 184 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/ |
D | RecyclerViewActivity.java | 19 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/ |
D | TestActivity.kt | 32 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 33 ViewGroup.LayoutParams.MATCH_PARENT in onCreate()
|