Home
last modified time | relevance | path

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

123456

/cts/tests/tests/widget/src/android/widget/cts/
DAbsListView_LayoutParamsTest.java63 layoutParams = new AbsListView.LayoutParams(LayoutParams.MATCH_PARENT, in testConstructors()
64 LayoutParams.MATCH_PARENT); in testConstructors()
65 assertEquals(LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructors()
66 assertEquals(LayoutParams.MATCH_PARENT, layoutParams.height); in testConstructors()
68 layoutParams = new AbsListView.LayoutParams(LayoutParams.MATCH_PARENT, in testConstructors()
69 LayoutParams.MATCH_PARENT, 0); in testConstructors()
70 assertEquals(LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructors()
71 assertEquals(LayoutParams.MATCH_PARENT, layoutParams.height); in testConstructors()
DTableLayout_LayoutParamsTest.java57 assertEquals(TableLayout.LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructor()
62 assertEquals(TableLayout.LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructor()
67 assertEquals(TableLayout.LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructor()
72 assertEquals(TableLayout.LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructor()
78 assertEquals(TableLayout.LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructor()
83 assertEquals(TableLayout.LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructor()
88 assertEquals(TableLayout.LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructor()
93 assertEquals(TableLayout.LayoutParams.MATCH_PARENT, layoutParams.width); in testConstructor()
101 assertEquals(TableLayout.LayoutParams.MATCH_PARENT, mockLayoutParams.width); in testSetBaseAttributes()
111 assertEquals(TableLayout.LayoutParams.MATCH_PARENT, mockLayoutParams.width); in testSetBaseAttributes()
[all …]
DFrameLayout_LayoutParamsTest.java65 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); in testConstructor()
95 LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); in testCopyConstructor()
112 LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); in testCopyConstructor()
127 LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); in testCopyConstructor()
/cts/tests/tests/sdksandbox/webkit/sdk/src/com/android/cts/sdk/
DWebViewSandboxTestSdk.java104 LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT)); in wrapWebViewInLayout()
111 LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT)); in wrapWebViewInLayout()
116 LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT)); in wrapWebViewInLayout()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DDialogFrameTestActivity.java19 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
124 params.width = MATCH_PARENT; in testMatchParent()
125 params.height = MATCH_PARENT; in testMatchParent()
170 params.width = MATCH_PARENT; in testExplicitPositionMatchParent()
171 params.height = MATCH_PARENT; in testExplicitPositionMatchParent()
179 params.width = MATCH_PARENT; in testExplicitPositionMatchParentNoLimits()
180 params.height = MATCH_PARENT; in testExplicitPositionMatchParentNoLimits()
DLocationInWindowTests.java21 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
77 mLayoutParams = new LayoutParams(MATCH_PARENT, MATCH_PARENT, LayoutParams.TYPE_APPLICATION, in setUp()
187 frame.setLayoutParams(new ViewGroup.LayoutParams(MATCH_PARENT, MATCH_PARENT)); in onCreate()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodPickerTest.java23 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
89 view.setLayoutParams(new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT)); in testInputMethodPicker_hidesUntrustedOverlays()
116 view.setLayoutParams(new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT)); in testShowInputMethodPicker_noDismissWhenOverlayPopup()
146 new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT)); in testShowImePickerOnExternalDisplay()
/cts/tests/tests/sensorprivacy/test-apps/CtsUseMicOrCameraForSensorPrivacy/src/android/sensorprivacy/cts/usemiccamera/
DBlankActivity.kt14 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT) in onCreate()
/cts/tests/tests/toastlegacy/src/android/widget/toast/cts/legacy/
DToastActivity.java36 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
37 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DWallpaperTestActivity.java34 FrameLayout.LayoutParams.MATCH_PARENT, in onCreate()
35 FrameLayout.LayoutParams.MATCH_PARENT); in onCreate()
DWallpaperOverlayTestActivity.java45 FrameLayout.LayoutParams.MATCH_PARENT, in onCreate()
46 FrameLayout.LayoutParams.MATCH_PARENT); in onCreate()
/cts/tests/tests/widget/src/android/widget/cts/util/
DListScenario.java303 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
304 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
365 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
371 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
372 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
374 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
384 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
385 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
387 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
DListItemFactory.java53 ViewGroup.LayoutParams.MATCH_PARENT, in twoButtonsSeparatedByFiller()
64 ViewGroup.LayoutParams.MATCH_PARENT, in twoButtonsSeparatedByFiller()
159 ViewGroup.LayoutParams.MATCH_PARENT, in button()
199 ViewGroup.LayoutParams.MATCH_PARENT, in text()
241 ViewGroup.LayoutParams.MATCH_PARENT, in doubleText()
/cts/tests/camera/src/android/hardware/camera2/cts/
DEmptyActivity.java33 view.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
34 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
/cts/hostsidetests/theme/app/src/android/theme/app/
DReferenceViewGroup.java48 widthMeasureSpec = getMeasureSpec(LayoutParams.MATCH_PARENT, mWidthDp); in onMeasure()
49 heightMeasureSpec = getMeasureSpec(LayoutParams.MATCH_PARENT, mHeightDp); in onMeasure()
64 if (value == LayoutParams.MATCH_PARENT) { in getMeasureSpec()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DAlertWindowsAppOpsTestsActivity.java31 params.width = WindowManager.LayoutParams.MATCH_PARENT; in showSystemAlertWindow()
32 params.height = WindowManager.LayoutParams.MATCH_PARENT; in showSystemAlertWindow()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DStateInitializeActivity.java44 view.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
45 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
DNavigationBarInfo.java93 ViewGroup.LayoutParams.MATCH_PARENT, in getInstance()
94 ViewGroup.LayoutParams.MATCH_PARENT)); in getInstance()
168 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); in getBottomNavigationBarBitmapForActivity()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSurfaceViewTests.java228 FrameLayout.LayoutParams.MATCH_PARENT,
229 FrameLayout.LayoutParams.MATCH_PARENT));
321 FrameLayout.LayoutParams.MATCH_PARENT,
322 FrameLayout.LayoutParams.MATCH_PARENT));
328 FrameLayout.LayoutParams.MATCH_PARENT,
329 FrameLayout.LayoutParams.MATCH_PARENT));
463 FrameLayout.LayoutParams.MATCH_PARENT,
464 FrameLayout.LayoutParams.MATCH_PARENT));
472 FrameLayout.LayoutParams.MATCH_PARENT,
473 FrameLayout.LayoutParams.MATCH_PARENT));
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DHostActivity.java78 new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.MATCH_PARENT, in onCreate()
79 RelativeLayout.LayoutParams.MATCH_PARENT)); in onCreate()
80 setContentView(content, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
81 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarBaseActivity.java34 mContent.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, in onCreate()
35 LayoutParams.MATCH_PARENT)); in onCreate()
/cts/tests/tests/sensorprivacy/test-apps/CtsUseMicOrCameraAndOverlayForSensorPrivacy/src/android/sensorprivacy/cts/usemiccamera/overlay/
DOverlayActivity.kt16 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT) in onCreate()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DTestActivity.java43 FrameLayout.LayoutParams.MATCH_PARENT, in onCreate()
44 FrameLayout.LayoutParams.MATCH_PARENT); in onCreate()
/cts/tests/inputmethod/testlauncher/src/android/view/inputmethod/ctstestlauncher/
DLauncherActivity.java66 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityRecordInputSinkTestsActivity.java48 new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, in onCreate()
49 LinearLayout.LayoutParams.MATCH_PARENT)); in onCreate()

123456