Searched refs:WRAP_CONTENT (Results 1 - 25 of 146) sorted by relevance

123456

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridgeConstants.java50 public final static String WRAP_CONTENT = "wrap_content"; field in class:BridgeConstants
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DDelayedTransition.java50 LayoutParams.WRAP_CONTENT));
52 button2.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
56 button1.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
57 LayoutParams.WRAP_CONTENT));
59 button2.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
60 LayoutParams.WRAP_CONTENT));
H A DHierarchicalMove.java100 int widthSpec = wide ? LayoutParams.WRAP_CONTENT : LayoutParams.MATCH_PARENT;
101 LayoutParams params = new LayoutParams(widthSpec, LayoutParams.WRAP_CONTENT);
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DLinearLayoutTest.java25 import static android.widget.LinearLayout.LayoutParams.WRAP_CONTENT;
36 LayoutParams lp = new LayoutParams(WRAP_CONTENT, WRAP_CONTENT);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DNinePatchesActivity.java33 b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT,
34 FrameLayout.LayoutParams.WRAP_CONTENT, Gravity.CENTER));
H A DGlyphCacheActivity.java44 layout.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
45 ViewGroup.LayoutParams.WRAP_CONTENT));
59 textview.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
60 ViewGroup.LayoutParams.WRAP_CONTENT));
H A DDisplayListLayersActivity.java33 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
45 WRAP_CONTENT, WRAP_CONTENT);
47 WRAP_CONTENT, WRAP_CONTENT);
48 addChild(root, createButton(root), WRAP_CONTENT, WRAP_CONTENT);
H A DTextGammaActivity.java42 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT
59 LinearLayout.LayoutParams.WRAP_CONTENT,
60 LinearLayout.LayoutParams.WRAP_CONTENT
93 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT
H A DTimeDialogActivity.java35 b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT,
36 FrameLayout.LayoutParams.WRAP_CONTENT, Gravity.CENTER));
H A DMarqueeActivity.java43 100, LinearLayout.LayoutParams.WRAP_CONTENT));
51 100, LinearLayout.LayoutParams.WRAP_CONTENT);
H A DTextureViewActivity.java92 FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT,
95 FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT,
H A DGetBitmapActivity.java75 FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT,
H A DRevealActivity.java73 layout.addView(spinner, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
/frameworks/base/core/tests/coretests/src/android/view/
H A DCreateViewTest.java25 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
86 vert.addView(text, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0));
95 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0));
99 vert.addView(two, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0));
103 vert.addView(three, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0));
107 vert.addView(four, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0));
111 vert.addView(five, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0));
115 vert.addView(six, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0));
/frameworks/volley/tests/src/com/android/volley/toolbox/
H A DNetworkImageViewTest.java18 mNIV.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DHorizontalFocusSearch.java97 ViewGroup.LayoutParams.WRAP_CONTENT,
106 ViewGroup.LayoutParams.WRAP_CONTENT,
113 ViewGroup.LayoutParams.WRAP_CONTENT,
120 ViewGroup.LayoutParams.WRAP_CONTENT,
H A DVerticalFocusSearch.java106 ViewGroup.LayoutParams.WRAP_CONTENT));
123 ViewGroup.LayoutParams.WRAP_CONTENT,
130 ViewGroup.LayoutParams.WRAP_CONTENT,
137 ViewGroup.LayoutParams.WRAP_CONTENT));
H A DGoneParentFocusedChild.java73 ViewGroup.LayoutParams.WRAP_CONTENT,
74 ViewGroup.LayoutParams.WRAP_CONTENT));
H A DListOfEditTexts.java56 ViewGroup.LayoutParams.WRAP_CONTENT));
86 ViewGroup.LayoutParams.WRAP_CONTENT));
H A DListWithFooterViewAndNewLabels.java49 ViewGroup.LayoutParams.WRAP_CONTENT,
50 ViewGroup.LayoutParams.WRAP_CONTENT));
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListSetSelection.java55 LinearLayout.LayoutParams.WRAP_CONTENT
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEffectsTest.java184 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
188 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
192 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
196 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
200 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
204 LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DRowContainerView.java51 setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
/frameworks/volley/src/com/android/volley/toolbox/
H A DNetworkImageView.java109 wrapWidth = getLayoutParams().width == LayoutParams.WRAP_CONTENT;
110 wrapHeight = getLayoutParams().height == LayoutParams.WRAP_CONTENT;
143 // Calculate the max image width / height to use while ignoring WRAP_CONTENT dimens.
/frameworks/base/core/java/android/widget/
H A DRadioGroup.java240 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
257 * the children to {@link #WRAP_CONTENT} when they are not specified in the
303 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} and the child's
304 * height to {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}
318 width = WRAP_CONTENT;
324 height = WRAP_CONTENT;

Completed in 9193 milliseconds

123456