Home
last modified time | relevance | path

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

12

/cts/tests/tests/view/src/android/view/cts/
DTouchDelegateTest.java33 private static final int WRAP_CONTENT = ViewGroup.LayoutParams.WRAP_CONTENT; field in TouchDelegateTest
60 mActivity.addContentView(mButton, new LinearLayout.LayoutParams(WRAP_CONTENT, in setUp()
61 WRAP_CONTENT)); in setUp()
/cts/tests/tests/permission/src/android/permission/cts/
DPermissionStubActivity.java37 mListView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
38 LayoutParams.WRAP_CONTENT)); in onCreate()
/cts/tests/tests/widget/src/android/widget/cts/
DRadioGroupTest.java105 RadioGroup.LayoutParams.WRAP_CONTENT, RadioGroup.LayoutParams.WRAP_CONTENT)); in testInternalPassThroughHierarchyChangeListener()
118 RadioGroup.LayoutParams.WRAP_CONTENT, RadioGroup.LayoutParams.WRAP_CONTENT)); in testInternalCheckedStateTracker()
298 assertEquals(LayoutParams.WRAP_CONTENT, layoutParams.width); in testGenerateLayoutParams()
299 assertEquals(LayoutParams.WRAP_CONTENT, layoutParams.height); in testGenerateLayoutParams()
338 assertEquals(RadioGroup.LayoutParams.WRAP_CONTENT, p.width); in testGenerateDefaultLayoutParams()
339 assertEquals(RadioGroup.LayoutParams.WRAP_CONTENT, p.height); in testGenerateDefaultLayoutParams()
352 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT)); in testOnFinishInflate()
367 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT)); in testOnFinishInflate()
404 RadioGroup.LayoutParams.WRAP_CONTENT, RadioGroup.LayoutParams.WRAP_CONTENT); in createDefaultRadioGroup()
DAdapterViewCtsActivity.java43 mView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
44 LayoutParams.WRAP_CONTENT)); in onCreate()
DFrameLayout_LayoutParamsTest.java49 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0); in testConstructor()
DRadioGroup_LayoutParamsTest.java129 assertEquals(RadioGroup.LayoutParams.WRAP_CONTENT, mLayoutParams.width); in testConstructor()
130 assertEquals(RadioGroup.LayoutParams.WRAP_CONTENT, mLayoutParams.height); in testConstructor()
143 assertEquals(LayoutParams.WRAP_CONTENT, layoutParams.width); in testSetBaseAttributes()
144 assertEquals(LayoutParams.WRAP_CONTENT, layoutParams.height); in testSetBaseAttributes()
DTwoLineListItemTest.java97 LayoutParams params = new LayoutParams(LayoutParams.WRAP_CONTENT, in testOnFinishInflate()
98 LayoutParams.WRAP_CONTENT); in testOnFinishInflate()
DTabWidgetTest.java169 assertEquals(defaultLayoutParam.height, LayoutParams.WRAP_CONTENT); in testAddView()
172 assertEquals(defaultLayoutParam.height, LayoutParams.WRAP_CONTENT); in testAddView()
173 assertEquals(defaultLayoutParam.width, LayoutParams.WRAP_CONTENT); in testAddView()
DAbsoluteLayoutTest.java130 assertEquals(LayoutParams.WRAP_CONTENT, params.width); in testGenerateDefaultLayoutParams()
131 assertEquals(LayoutParams.WRAP_CONTENT, params.height); in testGenerateDefaultLayoutParams()
DTableLayout_LayoutParamsTest.java97 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.height); in testSetBaseAttributes()
112 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.height); in testSetBaseAttributes()
130 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.height); in testSetBaseAttributes()
DTableRow_LayoutParamsTest.java140 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.height); in testSetBaseAttributes()
144 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.width); in testSetBaseAttributes()
155 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.height); in testSetBaseAttributes()
DDialerFilterTest.java395 RelativeLayout.LayoutParams.WRAP_CONTENT, in createMyDialerFilter()
396 RelativeLayout.LayoutParams.WRAP_CONTENT)); in createMyDialerFilter()
398 RelativeLayout.LayoutParams.WRAP_CONTENT, in createMyDialerFilter()
399 RelativeLayout.LayoutParams.WRAP_CONTENT)); in createMyDialerFilter()
DLinearLayoutTest.java207 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, param.width); in testGenerateDefaultLayoutParams()
208 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, param.height); in testGenerateDefaultLayoutParams()
215 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, param.height); in testGenerateDefaultLayoutParams()
DListPopupWindowTest.java97 assertEquals(WindowManager.LayoutParams.WRAP_CONTENT, mPopupWindow.getHeight()); in testAccessHeight()
131 assertEquals(WindowManager.LayoutParams.WRAP_CONTENT, mPopupWindow.getWidth()); in testAccessWidth()
DGridLayoutTest.java161 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, lp.width); in testGenerateDefaultLayoutParams()
162 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, lp.height); in testGenerateDefaultLayoutParams()
DGalleryTest.java289 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, p.width); in testGenerateDefaultLayoutParams()
290 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, p.height); in testGenerateDefaultLayoutParams()
DFrameLayoutTest.java208 ViewGroup.LayoutParams.WRAP_CONTENT); in testGenerateLayoutParams1()
214 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, params.height); in testGenerateLayoutParams1()
DRelativeLayoutTest.java295 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, layoutParams.width); in testGenerateDefaultLayoutParams()
296 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, layoutParams.height); in testGenerateDefaultLayoutParams()
/cts/tests/tests/view/src/android/view/animation/cts/
DGridLayoutAnimCtsActivity.java97 AbsListView.LayoutParams.WRAP_CONTENT, AbsListView.LayoutParams.WRAP_CONTENT); in getView()
/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/hostsidetests/theme/app/src/android/theme/app/
DReferenceViewGroup.java66 } else if (value == LayoutParams.WRAP_CONTENT) { in getMeasureSpec()
/cts/tests/tests/text/src/android/text/method/cts/
DPasswordTransformationMethodTest.java85 LayoutParams.WRAP_CONTENT)); in setUp()
87 LayoutParams.WRAP_CONTENT)); in setUp()
DScrollingMovementMethodTest.java99 new ViewGroup.LayoutParams(width, ViewGroup.LayoutParams.WRAP_CONTENT)); in testOnTouchEventHorizontalMotion()
202 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
304 new ViewGroup.LayoutParams(width, ViewGroup.LayoutParams.WRAP_CONTENT));
419 new ViewGroup.LayoutParams(width, ViewGroup.LayoutParams.WRAP_CONTENT));
513 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
743 new ViewGroup.LayoutParams(width, ViewGroup.LayoutParams.WRAP_CONTENT)); in testHorizontalMovement()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DHifiUltrasoundSpeakerTestActivity.java132 popupView, LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); in onCreate()
135 instruView, LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); in onCreate()
DHifiUltrasoundTestActivity.java117 popupView, LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); in onCreate()

12