Home
last modified time | relevance | path

Searched refs:WRAP_CONTENT (Results 1 – 25 of 79) sorted by relevance

1234

/cts/tests/tests/view/src/android/view/cts/
DSDRTestActivity.java61 LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); in onCreate()
63 LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); in onCreate()
/cts/tests/framework/base/windowmanager/appSecondUid/src/android/server/wm/second/
DSecondActivity.java36 params.height = WindowManager.LayoutParams.WRAP_CONTENT; in onCreate()
37 params.width = WindowManager.LayoutParams.WRAP_CONTENT; in onCreate()
/cts/tests/tests/widget/src/android/widget/cts/
DAdapterViewCtsActivity.java42 mView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
43 LayoutParams.WRAP_CONTENT)); in onCreate()
DRadioGroupTest.java125 RadioGroup.LayoutParams.WRAP_CONTENT, RadioGroup.LayoutParams.WRAP_CONTENT)); in testInternalPassThroughHierarchyChangeListener()
138 RadioGroup.LayoutParams.WRAP_CONTENT, RadioGroup.LayoutParams.WRAP_CONTENT)); in testInternalCheckedStateTracker()
322 assertEquals(LayoutParams.WRAP_CONTENT, layoutParams.width); in testGenerateLayoutParams()
323 assertEquals(LayoutParams.WRAP_CONTENT, layoutParams.height); in testGenerateLayoutParams()
364 assertEquals(RadioGroup.LayoutParams.WRAP_CONTENT, p.width); in testGenerateDefaultLayoutParams()
365 assertEquals(RadioGroup.LayoutParams.WRAP_CONTENT, p.height); in testGenerateDefaultLayoutParams()
379 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT)); in testOnFinishInflate()
394 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT)); in testOnFinishInflate()
DTableLayout_LayoutParamsTest.java58 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, layoutParams.height); in testConstructor()
63 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, layoutParams.height); in testConstructor()
127 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.height); in testSetBaseAttributes()
142 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.height); in testSetBaseAttributes()
160 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.height); in testSetBaseAttributes()
DRadioGroup_LayoutParamsTest.java123 assertEquals(RadioGroup.LayoutParams.WRAP_CONTENT, mLayoutParams.width); in testConstructor()
124 assertEquals(RadioGroup.LayoutParams.WRAP_CONTENT, mLayoutParams.height); in testConstructor()
146 assertEquals(RadioGroup.LayoutParams.WRAP_CONTENT, layoutParams.width); in testSetBaseAttributes()
147 assertEquals(RadioGroup.LayoutParams.WRAP_CONTENT, layoutParams.height); in testSetBaseAttributes()
DFrameLayout_LayoutParamsTest.java66 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0); in testConstructor()
DTwoLineListItemTest.java121 LayoutParams params = new LayoutParams(LayoutParams.WRAP_CONTENT, in testOnFinishInflate()
122 LayoutParams.WRAP_CONTENT); in testOnFinishInflate()
DAbsoluteLayoutTest.java144 assertEquals(LayoutParams.WRAP_CONTENT, params.width); in testGenerateDefaultLayoutParams()
145 assertEquals(LayoutParams.WRAP_CONTENT, params.height); in testGenerateDefaultLayoutParams()
DTableRow_LayoutParamsTest.java157 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.height); in testSetBaseAttributes()
161 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.width); in testSetBaseAttributes()
172 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.height); in testSetBaseAttributes()
/cts/hostsidetests/graphics/gpuprofiling/app/src/android/gpuprofiling/
DGpuRenderStagesDeviceActivity.java47 ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DBottomActivity.java61 params.height = WindowManager.LayoutParams.WRAP_CONTENT; in onCreate()
62 params.width = WindowManager.LayoutParams.WRAP_CONTENT; in onCreate()
DUiScalingTestActivity.java85 new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in handleCommand()
86 ViewGroup.LayoutParams.WRAP_CONTENT)); in handleCommand()
/cts/tests/tests/view/src/android/view/animation/cts/
DGridLayoutAnimCtsActivity.java96 AbsListView.LayoutParams.WRAP_CONTENT, AbsListView.LayoutParams.WRAP_CONTENT); in getView()
/cts/hostsidetests/hdmicec/app/src/android/hdmicec/app/
DHdmiCecKeyEventCapture.java49 new TableRow.LayoutParams(TableRow.LayoutParams.WRAP_CONTENT, in onCreate()
50 TableRow.LayoutParams.WRAP_CONTENT, 1.0f); in onCreate()
/cts/tests/tests/widget/src/android/widget/cts/util/
DListItemFactory.java160 ViewGroup.LayoutParams.WRAP_CONTENT); in button()
200 ViewGroup.LayoutParams.WRAP_CONTENT); in text()
252 ViewGroup.LayoutParams.WRAP_CONTENT, 1.0f); in doubleText()
261 ViewGroup.LayoutParams.WRAP_CONTENT, in doubleText()
/cts/tests/tests/toast/src/android/widget/toast/cts/
DBaseToastTest.java79 params.height = WindowManager.LayoutParams.WRAP_CONTENT; in showToastsViaAddingWindow()
80 params.width = WindowManager.LayoutParams.WRAP_CONTENT; in showToastsViaAddingWindow()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DWindowCreationUtils.java53 WindowManager.LayoutParams.WRAP_CONTENT); in layoutParamsForWindowOnTop()
87 WindowManager.LayoutParams.WRAP_CONTENT); in layoutParamsForTestWindow()
/cts/tests/app/shared/src/android/app/stubs/shared/
DNotificationHostActivity.kt30 val height = intent.getIntExtra(EXTRA_HEIGHT, LayoutParams.WRAP_CONTENT) in onCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DMoveAnimationTests.java98 ViewGroup.LayoutParams.WRAP_CONTENT, in setContentSquare()
99 ViewGroup.LayoutParams.WRAP_CONTENT); in setContentSquare()
/cts/tests/tests/gameservice/src/android/service/games/
DTestGameSessionService.java133 new FrameLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in onCreate()
134 ViewGroup.LayoutParams.WRAP_CONTENT, Gravity.CENTER); in onCreate()
/cts/tests/tests/text/src/android/text/method/cts/
DTransformationMethodTest.java91 LayoutParams.WRAP_CONTENT)); in setup()
93 LayoutParams.WRAP_CONTENT)); in setup()
DScrollingMovementMethodTest.java127 new LayoutParams(tmpWidth, LayoutParams.WRAP_CONTENT)); in testOnTouchEventHorizontalMotion()
143 new LayoutParams(width, LayoutParams.WRAP_CONTENT)); in testOnTouchEventHorizontalMotion()
235 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
338 new LayoutParams(width, LayoutParams.WRAP_CONTENT));
424 new LayoutParams(width, LayoutParams.WRAP_CONTENT)); in testOnKeyDownHorizontalMovement()
484 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in testVerticalMovement()
691 new LayoutParams(width, LayoutParams.WRAP_CONTENT)); in testHorizontalMovement()
/cts/tests/surfacecontrol/src/android/view/cts/util/
DSyncValidatorSCVHTestCase.java154 ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DTestFocusActivity.java49 ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()

1234