Home
last modified time | relevance | path

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

123

/cts/tests/tests/widget/src/android/widget/cts/
DRadioGroupTest.java115 RadioGroup.LayoutParams.WRAP_CONTENT, RadioGroup.LayoutParams.WRAP_CONTENT)); in testInternalPassThroughHierarchyChangeListener()
128 RadioGroup.LayoutParams.WRAP_CONTENT, RadioGroup.LayoutParams.WRAP_CONTENT)); in testInternalCheckedStateTracker()
312 assertEquals(LayoutParams.WRAP_CONTENT, layoutParams.width); in testGenerateLayoutParams()
313 assertEquals(LayoutParams.WRAP_CONTENT, layoutParams.height); in testGenerateLayoutParams()
354 assertEquals(RadioGroup.LayoutParams.WRAP_CONTENT, p.width); in testGenerateDefaultLayoutParams()
355 assertEquals(RadioGroup.LayoutParams.WRAP_CONTENT, p.height); in testGenerateDefaultLayoutParams()
369 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT)); in testOnFinishInflate()
384 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()
DAdapterViewCtsActivity.java42 mView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
43 LayoutParams.WRAP_CONTENT)); in onCreate()
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()
DTwoLineListItemTest.java112 LayoutParams params = new LayoutParams(LayoutParams.WRAP_CONTENT, in testOnFinishInflate()
113 LayoutParams.WRAP_CONTENT); in testOnFinishInflate()
DTableRow_LayoutParamsTest.java148 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.height); in testSetBaseAttributes()
152 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.width); in testSetBaseAttributes()
163 assertEquals(TableLayout.LayoutParams.WRAP_CONTENT, mockLayoutParams.height); in testSetBaseAttributes()
DAbsoluteLayoutTest.java136 assertEquals(LayoutParams.WRAP_CONTENT, params.width); in testGenerateDefaultLayoutParams()
137 assertEquals(LayoutParams.WRAP_CONTENT, params.height); in testGenerateDefaultLayoutParams()
DFrameLayout_LayoutParamsTest.java66 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0); in testConstructor()
DDialerFilterTest.java407 RelativeLayout.LayoutParams.WRAP_CONTENT, in createMyDialerFilter()
408 RelativeLayout.LayoutParams.WRAP_CONTENT)); in createMyDialerFilter()
410 RelativeLayout.LayoutParams.WRAP_CONTENT, in createMyDialerFilter()
411 RelativeLayout.LayoutParams.WRAP_CONTENT)); in createMyDialerFilter()
DTabWidgetTest.java255 assertEquals(defaultLayoutParam.height, LayoutParams.WRAP_CONTENT); in testAddView()
258 assertEquals(defaultLayoutParam.height, LayoutParams.WRAP_CONTENT); in testAddView()
259 assertEquals(defaultLayoutParam.width, LayoutParams.WRAP_CONTENT); in testAddView()
/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/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/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/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/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()
/cts/tests/tests/view/src/android/view/animation/cts/
DGridLayoutAnimCtsActivity.java96 AbsListView.LayoutParams.WRAP_CONTENT, AbsListView.LayoutParams.WRAP_CONTENT); in getView()
/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/tests/text/src/android/text/method/cts/
DBaseMovementMethodTest.java20 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
147 setContentView(mTextView, WRAP_CONTENT); in testOnGenericMotionEvent_verticalScroll()
192 layout.addView(textView, new ViewGroup.LayoutParams(textWidth, WRAP_CONTENT)); in setContentView()
DTransformationMethodTest.java84 LayoutParams.WRAP_CONTENT)); in setup()
86 LayoutParams.WRAP_CONTENT)); in setup()
DScrollingMovementMethodTest.java116 new LayoutParams(width, LayoutParams.WRAP_CONTENT)); in testOnTouchEventHorizontalMotion()
210 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
313 new LayoutParams(width, LayoutParams.WRAP_CONTENT));
399 new LayoutParams(width, LayoutParams.WRAP_CONTENT)); in testOnKeyDownHorizontalMovement()
459 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in testVerticalMovement()
666 new LayoutParams(width, LayoutParams.WRAP_CONTENT)); in testHorizontalMovement()
DPasswordTransformationMethodTest.java104 LayoutParams.WRAP_CONTENT)); in setup()
106 LayoutParams.WRAP_CONTENT)); in setup()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DHifiUltrasoundSpeakerTestActivity.java138 popupView, LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); in onCreate()
141 instruView, LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); in onCreate()
/cts/hostsidetests/theme/app/src/android/theme/app/
DReferenceViewGroup.java66 } else if (value == LayoutParams.WRAP_CONTENT) { in getMeasureSpec()
/cts/tests/tests/view/src/android/view/cts/
DView_FocusHandlingTest.java539 mid.addView(but, ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT); in testFocusAfterDescendantsTransfer()
541 group.addView(mid, ViewGroup.LayoutParams.WRAP_CONTENT, in testFocusAfterDescendantsTransfer()
542 ViewGroup.LayoutParams.WRAP_CONTENT); in testFocusAfterDescendantsTransfer()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckTestActivity.java380 ViewGroup.LayoutParams.WRAP_CONTENT,
381 ViewGroup.LayoutParams.WRAP_CONTENT));

123