/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | DelayedTransition.java | 50 LayoutParams.WRAP_CONTENT)); in onCreate() 52 button2.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate() 56 button1.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate() 57 LayoutParams.WRAP_CONTENT)); in onCreate() 59 button2.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate() 60 LayoutParams.WRAP_CONTENT)); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | CreateViewTest.java | 20 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT; 87 vert.addView(text, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout5() 96 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout6() 100 vert.addView(two, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout6() 104 vert.addView(three, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout6() 108 vert.addView(four, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout6() 112 vert.addView(five, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout6() 116 vert.addView(six, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0)); in testLayout6()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | DisplayListLayersActivity.java | 33 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT; 45 WRAP_CONTENT, WRAP_CONTENT); in onCreate() 47 WRAP_CONTENT, WRAP_CONTENT); in onCreate() 48 addChild(root, createButton(root), WRAP_CONTENT, WRAP_CONTENT); in onCreate()
|
D | TextGammaActivity.java | 42 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT in onCreate() 59 LinearLayout.LayoutParams.WRAP_CONTENT, in onCreate() 60 LinearLayout.LayoutParams.WRAP_CONTENT in onCreate() 93 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT in onCreate()
|
D | PictureCaptureDemo.java | 57 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); in onCreate() 72 inner.addView(iv1, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); in onCreate() 78 inner.addView(iv2, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); in onCreate() 81 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in onCreate()
|
D | GlyphCacheActivity.java | 44 layout.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate() 45 ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate() 59 textview.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in createTextView() 60 ViewGroup.LayoutParams.WRAP_CONTENT)); in createTextView()
|
D | TextureViewActivity.java | 92 FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT, in onCreate() 95 FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT, in onCreate()
|
D | NinePatchesActivity.java | 33 b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT, in onCreate() 34 FrameLayout.LayoutParams.WRAP_CONTENT, Gravity.CENTER)); in onCreate()
|
D | TimeDialogActivity.java | 35 b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT, in onCreate() 36 FrameLayout.LayoutParams.WRAP_CONTENT, Gravity.CENTER)); in onCreate()
|
D | MarqueeActivity.java | 43 100, LinearLayout.LayoutParams.WRAP_CONTENT)); in onCreate() 51 100, LinearLayout.LayoutParams.WRAP_CONTENT); in onCreate()
|
D | GetBitmapActivity.java | 75 FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT, in onCreate()
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
D | LinearLayoutTest.java | 25 import static android.widget.LinearLayout.LayoutParams.WRAP_CONTENT; 36 LayoutParams lp = new LayoutParams(WRAP_CONTENT, WRAP_CONTENT); in create()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | VerticalFocusSearch.java | 106 ViewGroup.LayoutParams.WRAP_CONTENT)); in makeWide() 123 ViewGroup.LayoutParams.WRAP_CONTENT, in addSkinny() 130 ViewGroup.LayoutParams.WRAP_CONTENT, in addSkinny() 137 ViewGroup.LayoutParams.WRAP_CONTENT)); in addSkinny()
|
D | HorizontalFocusSearch.java | 97 ViewGroup.LayoutParams.WRAP_CONTENT, in makeTall() 106 ViewGroup.LayoutParams.WRAP_CONTENT, in addShort() 113 ViewGroup.LayoutParams.WRAP_CONTENT, in addShort() 120 ViewGroup.LayoutParams.WRAP_CONTENT, in addShort()
|
D | ListWithFooterViewAndNewLabels.java | 50 ViewGroup.LayoutParams.WRAP_CONTENT, in onCreate() 51 ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate()
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | EffectsTest.java | 184 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set() 188 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set() 192 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set() 196 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set() 200 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set() 204 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in set()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ScrollingTabContainerView.java | 81 addView(mTabLayout, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in ScrollingTabContainerView() 151 addView(mTabSpinner, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in performCollapse() 169 addView(mTabLayout, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in performExpand() 203 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.MATCH_PARENT)); in createTabLayout() 211 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.MATCH_PARENT)); in createSpinner() 448 LayoutParams lp = new LayoutParams(LayoutParams.WRAP_CONTENT, in update() 449 LayoutParams.WRAP_CONTENT); in update() 468 LayoutParams lp = new LayoutParams(LayoutParams.WRAP_CONTENT, in update() 469 LayoutParams.WRAP_CONTENT); in update()
|
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/ |
D | TaskOrganizerMultiWindowTest.java | 57 ViewGroup.LayoutParams.WRAP_CONTENT, ratio-0.02f); in onTouch() 60 ViewGroup.LayoutParams.WRAP_CONTENT, 1-ratio-0.02f); in onTouch() 70 ViewGroup.LayoutParams.WRAP_CONTENT, 0.48f); in SplitLayout() 73 ViewGroup.LayoutParams.WRAP_CONTENT, 0.48f); in SplitLayout()
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | SurfaceCompositionMeasuringActivity.java | 304 ViewGroup.LayoutParams.WRAP_CONTENT, in onCreate() 305 ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate() 312 ViewGroup.LayoutParams.WRAP_CONTENT, in onCreate() 313 ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate() 319 ViewGroup.LayoutParams.WRAP_CONTENT, in onCreate() 320 ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate() 358 ViewGroup.LayoutParams.WRAP_CONTENT, in createButton() 359 ViewGroup.LayoutParams.WRAP_CONTENT)); in createButton()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListItemFactory.java | 161 ViewGroup.LayoutParams.WRAP_CONTENT); in button() 201 ViewGroup.LayoutParams.WRAP_CONTENT); in text() 253 ViewGroup.LayoutParams.WRAP_CONTENT, 1.0f); in doubleText() 262 ViewGroup.LayoutParams.WRAP_CONTENT, in doubleText()
|
/frameworks/base/core/java/android/widget/ |
D | ListPopupWindow.java | 77 private int mDropDownHeight = ViewGroup.LayoutParams.WRAP_CONTENT; 78 private int mDropDownWidth = ViewGroup.LayoutParams.WRAP_CONTENT; 155 public static final int WRAP_CONTENT = ViewGroup.LayoutParams.WRAP_CONTENT; field in ListPopupWindow 560 if (height < 0 && ViewGroup.LayoutParams.WRAP_CONTENT != height in setHeight() 655 } else if (mDropDownWidth == ViewGroup.LayoutParams.WRAP_CONTENT) { in show() 675 } else if (mDropDownHeight == ViewGroup.LayoutParams.WRAP_CONTENT) { in show() 692 if (mDropDownWidth == ViewGroup.LayoutParams.WRAP_CONTENT) { in show() 703 if (mDropDownHeight == ViewGroup.LayoutParams.WRAP_CONTENT) { in show() 1278 case ViewGroup.LayoutParams.WRAP_CONTENT: in buildDropDown()
|
D | RadioGroup.java | 273 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); in generateDefaultLayoutParams() 344 width = WRAP_CONTENT; in setBaseAttributes() 350 height = WRAP_CONTENT; in setBaseAttributes()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedSwitchPreferenceTest.java | 70 ViewGroup.LayoutParams.WRAP_CONTENT); in onBindViewHolder_notSetIconSize_shouldHaveCorrectLayoutParam() 72 ViewGroup.LayoutParams.WRAP_CONTENT); in onBindViewHolder_notSetIconSize_shouldHaveCorrectLayoutParam()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
D | RvBoxAdapter.java | 68 ViewGroup.LayoutParams.WRAP_CONTENT, in onCreateViewHolder() 69 ViewGroup.LayoutParams.WRAP_CONTENT); in onCreateViewHolder()
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestActivity.java | 156 LinearLayout.LayoutParams.WRAP_CONTENT)); in addLabelToRoot() 161 LinearLayout.LayoutParams.WRAP_CONTENT)); in addChildToRoot() 196 view.setLayoutParams(new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, in addCanvasBitmap() 197 LinearLayout.LayoutParams.WRAP_CONTENT)); in addCanvasBitmap()
|