Home
last modified time | relevance | path

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

12345678910

/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/dagger/
DRegisteredComplicationsModule.java70 ViewGroup.LayoutParams.WRAP_CONTENT, in provideClockTimeLayoutParams()
77 ViewGroup.LayoutParams.WRAP_CONTENT, in provideClockTimeLayoutParams()
92 ViewGroup.LayoutParams.WRAP_CONTENT, in provideHomeControlsChipLayoutParams()
93 ViewGroup.LayoutParams.WRAP_CONTENT, in provideHomeControlsChipLayoutParams()
107 ViewGroup.LayoutParams.WRAP_CONTENT, in provideMediaEntryLayoutParams()
108 ViewGroup.LayoutParams.WRAP_CONTENT, in provideMediaEntryLayoutParams()
128 ViewGroup.LayoutParams.WRAP_CONTENT, in provideOpenHubLayoutParams()
129 ViewGroup.LayoutParams.WRAP_CONTENT, in provideOpenHubLayoutParams()
142 ViewGroup.LayoutParams.WRAP_CONTENT, in provideSmartspaceLayoutParams()
143 ViewGroup.LayoutParams.WRAP_CONTENT, in provideSmartspaceLayoutParams()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DStretchShaderActivity.java245 LinearLayout.LayoutParams.WRAP_CONTENT, in onCreate()
246 LinearLayout.LayoutParams.WRAP_CONTENT in onCreate()
251 ViewGroup.LayoutParams.WRAP_CONTENT in onCreate()
257 LinearLayout.LayoutParams.WRAP_CONTENT, in onCreate()
258 LinearLayout.LayoutParams.WRAP_CONTENT in onCreate()
263 ViewGroup.LayoutParams.WRAP_CONTENT in onCreate()
269 LinearLayout.LayoutParams.WRAP_CONTENT, in onCreate()
270 LinearLayout.LayoutParams.WRAP_CONTENT in onCreate()
276 ViewGroup.LayoutParams.WRAP_CONTENT in onCreate()
281 LinearLayout.LayoutParams.WRAP_CONTENT, in onCreate()
[all …]
DDisplayListLayersActivity.java33 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()
DPictureCaptureDemo.java58 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); in onCreate()
73 inner.addView(iv1, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); in onCreate()
79 inner.addView(iv2, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); in onCreate()
85 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); in onCreate()
88 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); in onCreate()
DTextGammaActivity.java42 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()
DColorBitmapActivity.java179 LinearLayout.LayoutParams.WRAP_CONTENT, in onCreate()
180 LinearLayout.LayoutParams.WRAP_CONTENT)); in onCreate()
183 LinearLayout.LayoutParams.WRAP_CONTENT, in onCreate()
184 LinearLayout.LayoutParams.WRAP_CONTENT)); in onCreate()
187 LinearLayout.LayoutParams.WRAP_CONTENT, in onCreate()
188 LinearLayout.LayoutParams.WRAP_CONTENT)); in onCreate()
191 LinearLayout.LayoutParams.WRAP_CONTENT, in onCreate()
192 LinearLayout.LayoutParams.WRAP_CONTENT)); in onCreate()
195 LinearLayout.LayoutParams.WRAP_CONTENT, in onCreate()
196 LinearLayout.LayoutParams.WRAP_CONTENT)); in onCreate()
[all …]
DGlyphCacheActivity.java44 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()
DSurfaceViewAlphaActivity.java130 LinearLayout.LayoutParams.WRAP_CONTENT, in onCreate()
131 LinearLayout.LayoutParams.WRAP_CONTENT)); in onCreate()
135 LinearLayout.LayoutParams.WRAP_CONTENT)); in onCreate()
146 LinearLayout.LayoutParams.WRAP_CONTENT, in onCreate()
147 LinearLayout.LayoutParams.WRAP_CONTENT)); in onCreate()
DTextureViewActivity.java92 FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT, in onCreate()
95 FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT, in onCreate()
DNinePatchesActivity.java33 b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT, in onCreate()
34 FrameLayout.LayoutParams.WRAP_CONTENT, Gravity.CENTER)); in onCreate()
DTimeDialogActivity.java35 b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT, in onCreate()
36 FrameLayout.LayoutParams.WRAP_CONTENT, Gravity.CENTER)); in onCreate()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DDelayedTransition.java50 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/
DCreateViewTest.java20 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/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuMessageView.java20 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
73 new LayoutParams(/* width= */ 0, WRAP_CONTENT, /* weight= */ 1)); in MenuMessageView()
74 addView(mUndoButton, Index.UNDO_BUTTON, new LayoutParams(WRAP_CONTENT, WRAP_CONTENT)); in MenuMessageView()
97 final FrameLayout.LayoutParams containerParams = new FrameLayout.LayoutParams(WRAP_CONTENT, in onAttachedToWindow()
98 WRAP_CONTENT); in onAttachedToWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/
DKeyguardIndicationArea.kt26 import android.view.ViewGroup.LayoutParams.WRAP_CONTENT
44 addView(indicationTopRow(), LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT))
47 LinearLayout.LayoutParams(WRAP_CONTENT, WRAP_CONTENT).apply { in <lambda>()
/frameworks/base/tests/UpdatableSystemFontTest/EmojiRenderingTestApp/src/com/android/emojirenderingtestapp/
DEmojiRenderingTestActivity.java20 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
40 container.addView(emojiTextView, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT)); in onCreate()
44 container.addView(serifTextView, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT)); in onCreate()
DGetAvailableFontsTestActivity.java20 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
50 container.addView(textView, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT)); in onCreate()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DLinearLayoutTest.java25 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/
DHorizontalFocusSearch.java97 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()
DVerticalFocusSearch.java106 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()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEffectsTest.java184 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/services/core/java/com/android/server/input/debug/
DFocusEventDebugView.java21 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
183 LayoutParams scrollerLayoutParams = new LayoutParams(WRAP_CONTENT, WRAP_CONTENT); in handleUpdateShowKeyPresses()
191 LayoutParams modifierLayoutParams = new LayoutParams(WRAP_CONTENT, WRAP_CONTENT); in handleUpdateShowKeyPresses()
217 LayoutParams valueLayoutParams = new LayoutParams(WRAP_CONTENT, WRAP_CONTENT); in handleUpdateShowRotaryInput()
442 mPressedKeyLayoutParams = new MarginLayoutParams(WRAP_CONTENT, WRAP_CONTENT); in PressedKeyContainer()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DSmartSpaceSection.kt146 FrameLayout.LayoutParams.WRAP_CONTENT, in <lambda>()
175 FrameLayout.LayoutParams.WRAP_CONTENT, in <lambda>()
176 FrameLayout.LayoutParams.WRAP_CONTENT, in <lambda>()
202 FrameLayout.LayoutParams.WRAP_CONTENT, in <lambda>()
203 FrameLayout.LayoutParams.WRAP_CONTENT, in <lambda>()
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java82 addView(mTabLayout, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in ScrollingTabContainerView()
152 addView(mTabSpinner, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in performCollapse()
170 addView(mTabLayout, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in performExpand()
204 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.MATCH_PARENT)); in createTabLayout()
212 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.MATCH_PARENT)); in createSpinner()
449 LayoutParams lp = new LayoutParams(LayoutParams.WRAP_CONTENT, in update()
450 LayoutParams.WRAP_CONTENT); in update()
469 LayoutParams lp = new LayoutParams(LayoutParams.WRAP_CONTENT, in update()
470 LayoutParams.WRAP_CONTENT); in update()
/frameworks/base/tests/SurfaceControlViewHostTest/src/com/android/test/viewembed/
DSurfaceControlViewHostSyncTest.java82 content.addView(button, new FrameLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in onCreate()
83 ViewGroup.LayoutParams.WRAP_CONTENT, Gravity.LEFT | Gravity.BOTTOM)); in onCreate()
85 new FrameLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in onCreate()
86 ViewGroup.LayoutParams.WRAP_CONTENT, Gravity.RIGHT | Gravity.BOTTOM)); in onCreate()

12345678910