Home
last modified time | relevance | path

Searched refs:WRAP_CONTENT (Results 1 – 25 of 47) 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()
DWindowTest.java594 mWindow.setLayout(WindowManager.LayoutParams.WRAP_CONTENT, in testSetLayout()
595 WindowManager.LayoutParams.WRAP_CONTENT); in testSetLayout()
597 assertEquals(WindowManager.LayoutParams.WRAP_CONTENT, attrs.width); in testSetLayout()
598 assertEquals(WindowManager.LayoutParams.WRAP_CONTENT, attrs.height); in testSetLayout()
/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()
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()
DAbsoluteLayoutTest.java130 assertEquals(LayoutParams.WRAP_CONTENT, params.width); in testGenerateDefaultLayoutParams()
131 assertEquals(LayoutParams.WRAP_CONTENT, params.height); in testGenerateDefaultLayoutParams()
DFrameLayout_LayoutParamsTest.java50 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0); in testConstructor()
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()
DTabWidgetTest.java247 assertEquals(defaultLayoutParam.height, LayoutParams.WRAP_CONTENT); in testAddView()
250 assertEquals(defaultLayoutParam.height, LayoutParams.WRAP_CONTENT); in testAddView()
251 assertEquals(defaultLayoutParam.width, LayoutParams.WRAP_CONTENT); in testAddView()
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()
DLinearLayoutTest.java261 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, param.width); in testGenerateDefaultLayoutParams()
262 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, param.height); in testGenerateDefaultLayoutParams()
269 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, param.height); in testGenerateDefaultLayoutParams()
DFrameLayoutTest.java192 ViewGroup.LayoutParams.WRAP_CONTENT); in testGenerateLayoutParams1()
198 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, params.height); in testGenerateLayoutParams1()
/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/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/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()
/cts/tests/tests/text/src/android/text/method/cts/
DScrollingMovementMethodTest.java100 new ViewGroup.LayoutParams(width, ViewGroup.LayoutParams.WRAP_CONTENT)); in testOnTouchEventHorizontalMotion()
203 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
305 new ViewGroup.LayoutParams(width, ViewGroup.LayoutParams.WRAP_CONTENT));
420 new ViewGroup.LayoutParams(width, ViewGroup.LayoutParams.WRAP_CONTENT));
514 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
746 new ViewGroup.LayoutParams(width, ViewGroup.LayoutParams.WRAP_CONTENT)); in testHorizontalMovement()
DPasswordTransformationMethodTest.java95 LayoutParams.WRAP_CONTENT)); in setUp()
97 LayoutParams.WRAP_CONTENT)); in setUp()
/cts/hostsidetests/theme/app/src/android/theme/app/
DReferenceViewGroup.java66 } else if (value == LayoutParams.WRAP_CONTENT) { in getMeasureSpec()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckTestActivity.java381 ViewGroup.LayoutParams.WRAP_CONTENT, in showOpenCVLibaryLicenseDisplayButton()
382 ViewGroup.LayoutParams.WRAP_CONTENT)); in showOpenCVLibaryLicenseDisplayButton()

12