HomeSort by relevance Sort by last modified time
    Searched refs:LayoutParams (Results 26 - 50 of 885) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/apps/Mms/src/com/android/mms/ui/
ComposeMessageActivityNoLockScreen.java 28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD |
29 WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
  /frameworks/base/core/tests/coretests/src/android/widget/focus/
ListOfEditTexts.java 47 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams(
48 ViewGroup.LayoutParams.MATCH_PARENT,
49 ViewGroup.LayoutParams.MATCH_PARENT));
54 new LinearLayout.LayoutParams(
55 ViewGroup.LayoutParams.MATCH_PARENT,
56 ViewGroup.LayoutParams.WRAP_CONTENT));
62 mListView.setLayoutParams(new ViewGroup.LayoutParams(
63 ViewGroup.LayoutParams.MATCH_PARENT,
64 ViewGroup.LayoutParams.MATCH_PARENT));
67 mListView.setLayoutParams((new LinearLayout.LayoutParams(
    [all...]
HorizontalFocusSearch.java 63 mLayout.setLayoutParams(new ViewGroup.LayoutParams(
64 ViewGroup.LayoutParams.MATCH_PARENT,
65 ViewGroup.LayoutParams.MATCH_PARENT));
96 button.setLayoutParams(new LinearLayout.LayoutParams(
97 ViewGroup.LayoutParams.WRAP_CONTENT,
98 ViewGroup.LayoutParams.MATCH_PARENT));
105 button.setLayoutParams(new LinearLayout.LayoutParams(
106 ViewGroup.LayoutParams.WRAP_CONTENT,
112 filler.setLayoutParams(new LinearLayout.LayoutParams(
113 ViewGroup.LayoutParams.WRAP_CONTENT
    [all...]
VerticalFocusSearch.java 70 mLayout.setLayoutParams(new ViewGroup.LayoutParams(
71 ViewGroup.LayoutParams.MATCH_PARENT,
72 ViewGroup.LayoutParams.MATCH_PARENT));
104 button.setLayoutParams(new LinearLayout.LayoutParams(
105 ViewGroup.LayoutParams.MATCH_PARENT,
106 ViewGroup.LayoutParams.WRAP_CONTENT));
121 button.setLayoutParams(new LinearLayout.LayoutParams(
123 ViewGroup.LayoutParams.WRAP_CONTENT,
128 filler.setLayoutParams(new LinearLayout.LayoutParams(
130 ViewGroup.LayoutParams.WRAP_CONTENT
    [all...]
  /frameworks/base/core/java/android/widget/
TableRow.java 40 * {@link android.widget.TableLayout.LayoutParams#MATCH_PARENT} and
41 * {@link android.widget.TableLayout.LayoutParams#WRAP_CONTENT}.</p>
44 * Also see {@link TableRow.LayoutParams android.widget.TableRow.LayoutParams}
164 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams();
166 if (layoutParams.column >= virtualCount) {
167 virtualCount = layoutParams.column;
170 for (int j = 0; j < layoutParams.span; j++)
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
AbsoluteLayoutTest.java 32 import android.widget.AbsoluteLayout.LayoutParams;
45 private LayoutParams mAbsoluteLayoutParams;
56 mAbsoluteLayoutParams = new LayoutParams(DEFAULT_WIDTH, DEFAULT_HEIGHT,
87 ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams(1, 2);
88 assertFalse(mMyAbsoluteLayout.checkLayoutParams(layoutParams));
100 LayoutParams params = (LayoutParams) layout.generateLayoutParams(getAttributeSet());
103 assertEquals(LayoutParams.MATCH_PARENT, params.width)
    [all...]
TableLayout_LayoutParamsTest.java 34 * Test {@link TableLayout.LayoutParams}.
46 new TableLayout.LayoutParams(mTargetContext, null);
48 TableLayout.LayoutParams layoutParams = new TableLayout.LayoutParams(200, 300);
49 assertEquals(TableLayout.LayoutParams.MATCH_PARENT, layoutParams.width);
50 assertEquals(300, layoutParams.height);
51 TableLayout.LayoutParams oldParams = layoutParams;
    [all...]
RadioGroup_LayoutParamsTest.java 34 import android.widget.RadioGroup.LayoutParams;
39 * Test {@link LayoutParams}.
42 private LayoutParams mLayoutParams;
51 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE);
56 mLayoutParams = new RadioGroup.LayoutParams(Integer.MAX_VALUE, Integer.MIN_VALUE);
61 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE,
67 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE,
73 mLayoutParams = new RadioGroup.LayoutParams(new ViewGroup.LayoutParams(40, 60));
79 new RadioGroup.LayoutParams((ViewGroup.LayoutParams) null)
    [all...]
  /frameworks/support/v4/java/android/support/v4/app/
NoSaveStateFrameLayout.java 33 ViewGroup.LayoutParams childParams = child.getLayoutParams();
37 NoSaveStateFrameLayout.LayoutParams lp = new NoSaveStateFrameLayout.LayoutParams(
38 ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT);
  /frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
FakeBackgroundService.java 77 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
79 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
80 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE
81 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS
82 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED,
83 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
84 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE
85 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS
86 | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED
87 | WindowManager.LayoutParams.FLAG_DIM_BEHIND)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListItemISVAndButton.java 49 isv.setLayoutParams(new LinearLayout.LayoutParams(
50 ViewGroup.LayoutParams.MATCH_PARENT,
54 final LinearLayout.LayoutParams buttonLp =
55 new LinearLayout.LayoutParams(
56 ViewGroup.LayoutParams.MATCH_PARENT,
65 filler.setLayoutParams(new LinearLayout.LayoutParams(
66 ViewGroup.LayoutParams.MATCH_PARENT,
  /frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
BigEditTextActivityScrollablePanScan.java 39 getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
43 mRootView.setLayoutParams(new ViewGroup.LayoutParams(
44 ViewGroup.LayoutParams.MATCH_PARENT,
45 ViewGroup.LayoutParams.MATCH_PARENT));
49 mLayout.setLayoutParams(new ViewGroup.LayoutParams(
50 ViewGroup.LayoutParams.MATCH_PARENT,
51 ViewGroup.LayoutParams.MATCH_PARENT));
BigEditTextActivityScrollableResize.java 39 getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
43 mRootView.setLayoutParams(new ViewGroup.LayoutParams(
44 ViewGroup.LayoutParams.MATCH_PARENT,
45 ViewGroup.LayoutParams.MATCH_PARENT));
49 mLayout.setLayoutParams(new ViewGroup.LayoutParams(
50 ViewGroup.LayoutParams.MATCH_PARENT,
51 ViewGroup.LayoutParams.MATCH_PARENT));
  /packages/experimental/Bummer/src/com/android/dreams/bummer/
Bummer.java 40 mFrame.setLayoutParams(new ViewGroup.LayoutParams(
41 ViewGroup.LayoutParams.MATCH_PARENT,
42 ViewGroup.LayoutParams.MATCH_PARENT
54 final FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(
55 ViewGroup.LayoutParams.WRAP_CONTENT,
56 ViewGroup.LayoutParams.WRAP_CONTENT
  /development/samples/ApiDemos/src/com/example/android/apis/app/
RotationAnimation.java 25 import android.view.WindowManager.LayoutParams;
33 private int mRotationAnimation = LayoutParams.ROTATION_ANIMATION_ROTATE;
59 mRotationAnimation = LayoutParams.ROTATION_ANIMATION_ROTATE;
62 mRotationAnimation = LayoutParams.ROTATION_ANIMATION_CROSSFADE;
65 mRotationAnimation = LayoutParams.ROTATION_ANIMATION_JUMPCUT;
76 WindowManager.LayoutParams winParams = win.getAttributes();
78 winParams.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN;
80 winParams.flags &= ~WindowManager.LayoutParams.FLAG_FULLSCREEN;
87 WindowManager.LayoutParams winParams = win.getAttributes();
SecureWindowActivity.java 30 * a secure surface using {@link WindowManager.LayoutParams#FLAG_SECURE}.
68 getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE,
69 WindowManager.LayoutParams.FLAG_SECURE);
TranslucentBlurActivity.java 47 getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND,
48 WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
  /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));
  /frameworks/base/core/tests/coretests/src/com/android/internal/widget/
SizeAdaptiveLayoutTest.java 81 SizeAdaptiveLayout.LayoutParams lp =
82 (SizeAdaptiveLayout.LayoutParams) mLargeView.getLayoutParams();
98 SizeAdaptiveLayout.LayoutParams lp =
99 (SizeAdaptiveLayout.LayoutParams) mSmallView.getLayoutParams();
115 SizeAdaptiveLayout.LayoutParams lp =
116 (SizeAdaptiveLayout.LayoutParams) mSmallView.getLayoutParams();
132 SizeAdaptiveLayout.LayoutParams lp =
133 (SizeAdaptiveLayout.LayoutParams) mLargeView.getLayoutParams();
151 SizeAdaptiveLayout.LayoutParams lp =
152 (SizeAdaptiveLayout.LayoutParams) mLargeView.getLayoutParams()
    [all...]
  /cts/tests/src/android/widget/cts/
AdapterViewStubActivity.java 24 import android.view.ViewGroup.LayoutParams;
43 mView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
44 LayoutParams.WRAP_CONTENT));
  /development/samples/ApiDemos/src/com/example/android/apis/view/
ScrollView2.java 41 LinearLayout.LayoutParams p = new LinearLayout.LayoutParams(
42 LinearLayout.LayoutParams.MATCH_PARENT,
43 LinearLayout.LayoutParams.WRAP_CONTENT
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowLinearLayout.java 10 setLayoutParams(new LinearLayout.LayoutParams(0, 0));
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
LinearLayoutTest.java 17 ViewGroup.LayoutParams layoutParams = new LinearLayout(null).getLayoutParams();
19 assertThat(layoutParams, instanceOf(LinearLayout.LayoutParams.class));
25 LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(1, 2);
  /frameworks/base/core/tests/coretests/src/android/view/
CreateViewTest.java 24 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
25 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
48 new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0));
56 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0));
59 vert.addView(two, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0));
62 vert.addView(three, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0));
65 vert.addView(four, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0));
68 vert.addView(five, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0));
71 vert.addView(six, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0));
86 vert.addView(text, new LinearLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT, 0))
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewGroup_LayoutParamsTest.java 29 import android.view.ViewGroup.LayoutParams;
36 private ViewGroup.LayoutParams mLayoutParams;
44 new ViewGroup.LayoutParams(mContext, parser);
46 LayoutParams temp = new ViewGroup.LayoutParams(320, 480);
48 new ViewGroup.LayoutParams(temp);
66 private class MockLayoutParams extends LayoutParams {
75 public MockLayoutParams(LayoutParams source) {

Completed in 1193 milliseconds

12 3 4 5 6 7 8 91011>>