Home
last modified time | relevance | path

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

123

/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/
DAdapterViewCtsActivity.java42 mView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
43 LayoutParams.WRAP_CONTENT)); in onCreate()
DRadioGroupTest.java116 RadioGroup.LayoutParams.WRAP_CONTENT, RadioGroup.LayoutParams.WRAP_CONTENT)); in testInternalPassThroughHierarchyChangeListener()
129 RadioGroup.LayoutParams.WRAP_CONTENT, RadioGroup.LayoutParams.WRAP_CONTENT)); in testInternalCheckedStateTracker()
313 assertEquals(LayoutParams.WRAP_CONTENT, layoutParams.width); in testGenerateLayoutParams()
314 assertEquals(LayoutParams.WRAP_CONTENT, layoutParams.height); in testGenerateLayoutParams()
355 assertEquals(RadioGroup.LayoutParams.WRAP_CONTENT, p.width); in testGenerateDefaultLayoutParams()
356 assertEquals(RadioGroup.LayoutParams.WRAP_CONTENT, p.height); in testGenerateDefaultLayoutParams()
370 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT)); in testOnFinishInflate()
385 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()
DTwoLineListItemTest.java112 LayoutParams params = new LayoutParams(LayoutParams.WRAP_CONTENT, in testOnFinishInflate()
113 LayoutParams.WRAP_CONTENT); in testOnFinishInflate()
DFrameLayout_LayoutParamsTest.java66 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0); in testConstructor()
DAbsoluteLayoutTest.java136 assertEquals(LayoutParams.WRAP_CONTENT, params.width); in testGenerateDefaultLayoutParams()
137 assertEquals(LayoutParams.WRAP_CONTENT, params.height); in testGenerateDefaultLayoutParams()
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()
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()
DLinearLayout_LayoutParamsTest.java52 assertEquals(LayoutParams.WRAP_CONTENT, linearLayoutParams.height); in testConstructor()
/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/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/app/shared/src/android/app/stubs/shared/
DNotificationHostActivity.kt30 val height = intent.getIntExtra(EXTRA_HEIGHT, LayoutParams.WRAP_CONTENT) in onCreate()
/cts/tests/tests/text/src/android/text/method/cts/
DTransformationMethodTest.java84 LayoutParams.WRAP_CONTENT)); in setup()
86 LayoutParams.WRAP_CONTENT)); in setup()
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()
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/hostsidetests/theme/app/src/android/theme/app/
DReferenceViewGroup.java66 } else if (value == LayoutParams.WRAP_CONTENT) { in getMeasureSpec()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
DCtsBaseInputMethod.java28 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
92 textView.setLayoutParams(new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT)); in createInputViewInternal()
/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()

123