HomeSort by relevance Sort by last modified time
    Searched refs:WRAP_CONTENT (Results 1 - 25 of 521) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
StaggeredGridLayoutManagerWrapContentTest.java 23 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
68 mWrapContentConfig.toLayoutParams(WRAP_CONTENT, WRAP_CONTENT);
70 new MeasureBehavior(10, 10, WRAP_CONTENT, WRAP_CONTENT),
71 new MeasureBehavior(10, 15, WRAP_CONTENT, WRAP_CONTENT),
72 new MeasureBehavior(10, 20, WRAP_CONTENT, WRAP_CONTENT),
73 new MeasureBehavior(20, 10, WRAP_CONTENT, WRAP_CONTENT
    [all...]
GridLayoutManagerWrapContentTest.java 24 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
96 mWrapContentConfig.toLayoutParams(WRAP_CONTENT, WRAP_CONTENT);
98 new MeasureBehavior(10, 10, WRAP_CONTENT, MATCH_PARENT)
116 mWrapContentConfig.toLayoutParams(WRAP_CONTENT, WRAP_CONTENT);
118 new MeasureBehavior(10, 10, MATCH_PARENT, WRAP_CONTENT)
131 mWrapContentConfig.toLayoutParams(WRAP_CONTENT, WRAP_CONTENT);
133 new MeasureBehavior(10, 10, WRAP_CONTENT, WRAP_CONTENT)
    [all...]
LinearLayoutManagerWrapContentWithAspectRatioTest.java 35 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
111 ViewGroup.LayoutParams.WRAP_CONTENT,
112 ViewGroup.LayoutParams.WRAP_CONTENT);
132 WRAP_CONTENT, WRAP_CONTENT).aspectRatio(testOrientation, mRatio);
134 testOrientation == HORIZONTAL ? MATCH_PARENT : WRAP_CONTENT,
135 testOrientation == VERTICAL ? MATCH_PARENT : WRAP_CONTENT)
138 testOrientation == HORIZONTAL ? MATCH_PARENT : WRAP_CONTENT,
139 testOrientation == VERTICAL ? MATCH_PARENT : WRAP_CONTENT)
GridLayoutManagerWrapContentWithAspectRatioTest.java 34 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
95 mWrapContentConfig.toLayoutParams(WRAP_CONTENT, WRAP_CONTENT);
118 mTestOrientation == HORIZONTAL ? MATCH_PARENT : WRAP_CONTENT,
119 mTestOrientation == VERTICAL ? MATCH_PARENT : WRAP_CONTENT);
123 mTestOrientation == VERTICAL ? 30 : 10, WRAP_CONTENT, WRAP_CONTENT);
204 mTestOrientation == HORIZONTAL ? MATCH_PARENT : WRAP_CONTENT,
205 mTestOrientation == VERTICAL ? MATCH_PARENT : WRAP_CONTENT);
209 mTestOrientation == VERTICAL ? 15 : 10, WRAP_CONTENT, WRAP_CONTENT)
    [all...]
  /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DelayedTransition.java 50 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));
  /frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
LinearLayoutTest.java 25 import static android.widget.LinearLayout.LayoutParams.WRAP_CONTENT;
36 LayoutParams lp = new LayoutParams(WRAP_CONTENT, WRAP_CONTENT);
  /cts/tests/tests/permission/src/android/permission/cts/
PermissionStubActivity.java 37 mListView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
38 LayoutParams.WRAP_CONTENT));
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
NinePatchesActivity.java 33 b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT,
34 FrameLayout.LayoutParams.WRAP_CONTENT, Gravity.CENTER));
GlyphCacheActivity.java 44 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));
DisplayListLayersActivity.java 33 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);
TextGammaActivity.java 42 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
TimeDialogActivity.java 35 b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT,
36 FrameLayout.LayoutParams.WRAP_CONTENT, Gravity.CENTER));
MarqueeActivity.java 43 100, LinearLayout.LayoutParams.WRAP_CONTENT));
51 100, LinearLayout.LayoutParams.WRAP_CONTENT);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
BridgeConstants.java 51 public final static String WRAP_CONTENT = "wrap_content";
  /cts/tests/tests/widget/src/android/widget/cts/
AdapterViewCtsActivity.java 43 mView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
44 LayoutParams.WRAP_CONTENT));
  /frameworks/base/core/tests/coretests/src/android/view/
CreateViewTest.java 25 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));
  /cts/tests/tests/view/src/android/view/cts/
TouchDelegateTest.java 33 private static final int WRAP_CONTENT = ViewGroup.LayoutParams.WRAP_CONTENT;
60 mActivity.addContentView(mButton, new LinearLayout.LayoutParams(WRAP_CONTENT,
61 WRAP_CONTENT));
  /development/ndk/platforms/android-17/samples/Teapot/src/com/sample/teapot/
TeapotNativeActivity.java 103 LayoutParams.WRAP_CONTENT,
104 LayoutParams.WRAP_CONTENT);
107 MarginLayoutParams params = new MarginLayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
  /development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/moreteapots/
MoreTeapotsNativeActivity.java 114 LayoutParams.WRAP_CONTENT,
115 LayoutParams.WRAP_CONTENT);
118 MarginLayoutParams params = new MarginLayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
  /frameworks/base/core/tests/coretests/src/android/widget/focus/
HorizontalFocusSearch.java 97 ViewGroup.LayoutParams.WRAP_CONTENT,
106 ViewGroup.LayoutParams.WRAP_CONTENT,
113 ViewGroup.LayoutParams.WRAP_CONTENT,
120 ViewGroup.LayoutParams.WRAP_CONTENT,
VerticalFocusSearch.java 106 ViewGroup.LayoutParams.WRAP_CONTENT));
123 ViewGroup.LayoutParams.WRAP_CONTENT,
130 ViewGroup.LayoutParams.WRAP_CONTENT,
137 ViewGroup.LayoutParams.WRAP_CONTENT));
GoneParentFocusedChild.java 73 ViewGroup.LayoutParams.WRAP_CONTENT,
74 ViewGroup.LayoutParams.WRAP_CONTENT));
  /development/samples/ApiDemos/src/com/example/android/apis/app/
NotificationDisplay.java 57 RelativeLayout.LayoutParams.WRAP_CONTENT,
58 RelativeLayout.LayoutParams.WRAP_CONTENT);
  /development/samples/devbytes/graphics/BitmapScaling/src/com/example/android/bitmapscaling/
BitmapScaling.java 70 scaledImageView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
71 LayoutParams.WRAP_CONTENT));
  /frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
TestResultActivity.java 55 mTextView, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));

Completed in 1057 milliseconds

1 2 3 4 5 6 7 8 91011>>