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

1 2 3 4

  /frameworks/base/tools/layoutlib/create/tests/mock_data/mock_android/view/
ViewGroup.java 21 public class MarginLayoutParams extends LayoutParams {
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/mock_android/view/
ViewGroup.java 21 public class MarginLayoutParams extends LayoutParams {
  /frameworks/support/v4/java/android/support/v4/view/
MarginLayoutParamsCompat.java 25 * {@link android.view.ViewGroup.MarginLayoutParams MarginLayoutParams} added after API 4.
29 int getMarginStart(ViewGroup.MarginLayoutParams lp);
30 int getMarginEnd(ViewGroup.MarginLayoutParams lp);
31 void setMarginStart(ViewGroup.MarginLayoutParams lp, int marginStart);
32 void setMarginEnd(ViewGroup.MarginLayoutParams lp, int marginEnd);
33 boolean isMarginRelative(ViewGroup.MarginLayoutParams lp);
34 int getLayoutDirection(ViewGroup.MarginLayoutParams lp);
35 void setLayoutDirection(ViewGroup.MarginLayoutParams lp, int layoutDirection);
36 void resolveLayoutDirection(ViewGroup.MarginLayoutParams lp, int layoutDirection)
    [all...]
  /frameworks/support/v4/jellybean-mr1/android/support/v4/view/
MarginLayoutParamsCompatJellybeanMr1.java 23 public static int getMarginStart(ViewGroup.MarginLayoutParams lp) {
27 public static int getMarginEnd(ViewGroup.MarginLayoutParams lp) {
31 public static void setMarginStart(ViewGroup.MarginLayoutParams lp, int marginStart) {
35 public static void setMarginEnd(ViewGroup.MarginLayoutParams lp, int marginEnd) {
39 public static boolean isMarginRelative(ViewGroup.MarginLayoutParams lp) {
43 public static int getLayoutDirection(ViewGroup.MarginLayoutParams lp) {
47 public static void setLayoutDirection(ViewGroup.MarginLayoutParams lp, int layoutDirection) {
51 public static void resolveLayoutDirection(ViewGroup.MarginLayoutParams lp,
  /frameworks/base/tools/layoutlib/create/tests/mock_data/mock_android/widget/
TableLayout.java 23 public class LayoutParams extends MarginLayoutParams {
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/mock_android/widget/
TableLayout.java 23 public class LayoutParams extends MarginLayoutParams {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
ViewLayoutUtils.java 21 import android.view.ViewGroup.MarginLayoutParams;
30 public static MarginLayoutParams newLayoutParam(final ViewGroup placer, final int width,
47 if (lp instanceof MarginLayoutParams) {
48 final MarginLayoutParams marginLayoutParams = (MarginLayoutParams)lp;
49 marginLayoutParams.width = w;
50 marginLayoutParams.height = h;
51 marginLayoutParams.setMargins(x, y, 0, 0);
  /cts/tests/tests/view/src/android/view/cts/
ViewGroup_MarginLayoutParamsTest.java 24 import android.view.ViewGroup.MarginLayoutParams;
33 private ViewGroup.MarginLayoutParams mMarginLayoutParams;
45 // create a new MarginLayoutParams instance
53 mMarginLayoutParams = new ViewGroup.MarginLayoutParams(mContext, p);
57 // create a new MarginLayoutParams instance
58 mMarginLayoutParams = new ViewGroup.MarginLayoutParams(320, 480);
62 // create a new MarginLayoutParams instance
63 MarginLayoutParams temp = new ViewGroup.MarginLayoutParams(320, 480);
64 mMarginLayoutParams = new ViewGroup.MarginLayoutParams(temp)
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowMarginLayoutParams.java 10 * Shadow for {@link ViewGroup.MarginLayoutParams} that simulates its implementation.
13 @Implements(ViewGroup.MarginLayoutParams.class)
17 private ViewGroup.MarginLayoutParams realMarginLayoutParams;
ShadowFrameLayout.java 20 setLayoutParams(new ViewGroup.MarginLayoutParams(0, 0));
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
MarginLayoutParamsTest.java 21 ViewGroup.MarginLayoutParams marginLayoutParams = new ViewGroup.MarginLayoutParams(0, 0);
22 marginLayoutParams.setMargins(1, 2, 3, 4);
23 assertThat(marginLayoutParams.leftMargin, equalTo(1));
24 assertThat(marginLayoutParams.topMargin, equalTo(2));
25 assertThat(marginLayoutParams.rightMargin, equalTo(3));
26 assertThat(marginLayoutParams.bottomMargin, equalTo(4));
FrameLayoutTest.java 31 assertThat(layoutParams, instanceOf(ViewGroup.MarginLayoutParams.class));
  /packages/apps/DeskClock/src/com/android/deskclock/
CircleButtonsLayout.java 91 MarginLayoutParams stopParams = (MarginLayoutParams) mStop.getLayoutParams();
99 MarginLayoutParams labelParams = (MarginLayoutParams) mLabel.getLayoutParams();
170 MarginLayoutParams leftParams = (MarginLayoutParams) mLeft.getLayoutParams();
173 MarginLayoutParams rightParams = (MarginLayoutParams) mRight.getLayoutParams();
  /frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
FrameLayoutMarginTest.java 65 ((ViewGroup.MarginLayoutParams) mLeftView.getLayoutParams()).leftMargin);
71 ((ViewGroup.MarginLayoutParams) mRightView.getLayoutParams()).rightMargin);
77 ((ViewGroup.MarginLayoutParams) mTopView.getLayoutParams()).topMargin);
83 ((ViewGroup.MarginLayoutParams) mBottomView.getLayoutParams()).bottomMargin);
  /cts/tests/tests/widget/src/android/widget/cts/
FrameLayout_LayoutParamsTest.java 29 import android.view.ViewGroup.MarginLayoutParams;
51 new LayoutParams(new MarginLayoutParams(mContext, attrs));
71 new LayoutParams((ViewGroup.MarginLayoutParams) null);
72 fail("did not throw NullPointerException when ViewGroup.MarginLayoutParams is null.");
LinearLayout_LayoutParamsTest.java 28 import android.view.ViewGroup.MarginLayoutParams;
47 MarginLayoutParams marginLayoutParams = new MarginLayoutParams(320, 480);
48 new LinearLayout.LayoutParams(marginLayoutParams);
RadioGroup_LayoutParamsTest.java 32 import android.view.ViewGroup.MarginLayoutParams;
85 mLayoutParams = new RadioGroup.LayoutParams(new MarginLayoutParams(100, 200));
94 MarginLayoutParams source = new MarginLayoutParams(10, 20);
110 new RadioGroup.LayoutParams((MarginLayoutParams) null);
112 + "MarginLayoutParams is null.");
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListViewHeight.java 62 ViewGroup.MarginLayoutParams lp;
63 lp = (ViewGroup.MarginLayoutParams) mInnerList.getLayoutParams();
78 ViewGroup.MarginLayoutParams lp;
79 lp = (ViewGroup.MarginLayoutParams) mInnerList.getLayoutParams();
  /frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
AbstractLayoutTest.java 54 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) v.getLayoutParams();
  /external/chromium_org/base/android/java/src/org/chromium/base/
ApiCompatibilityUtils.java 10 import android.view.ViewGroup.MarginLayoutParams;
74 * @see android.view.ViewGroup.MarginLayoutParams#setMarginEnd(int)
76 public static void setMarginEnd(MarginLayoutParams layoutParams, int end) {
85 * @see android.view.ViewGroup.MarginLayoutParams#getMarginEnd()
87 public static int getMarginEnd(MarginLayoutParams layoutParams) {
96 * @see android.view.ViewGroup.MarginLayoutParams#setMarginStart(int)
98 public static void setMarginStart(MarginLayoutParams layoutParams, int start) {
107 * @see android.view.ViewGroup.MarginLayoutParams#getMarginStart()
109 public static int getMarginStart(MarginLayoutParams layoutParams) {
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardPasswordView.java 143 if (params instanceof MarginLayoutParams) {
144 final MarginLayoutParams mlp = (MarginLayoutParams) params;
  /frameworks/base/tools/layoutlib/create/tests/data/
mock_android.jar 
  /packages/apps/Launcher3/src/com/android/launcher3/
Cling.java 187 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) vg.getLayoutParams();
206 ViewGroup.MarginLayoutParams lp =
207 (ViewGroup.MarginLayoutParams) bubble.getLayoutParams();
212 ViewGroup.MarginLayoutParams lp =
213 (ViewGroup.MarginLayoutParams) bubble.getLayoutParams();
218 ViewGroup.MarginLayoutParams lp =
219 (ViewGroup.MarginLayoutParams) bubble.getLayoutParams();
240 ViewGroup.MarginLayoutParams lp =
241 (ViewGroup.MarginLayoutParams) bubble.getLayoutParams()
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ActionBarContextView.java 284 return new ViewGroup.MarginLayoutParams(
290 return new ViewGroup.MarginLayoutParams(getContext(), attrs);
320 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) mClose
383 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) mClose
  /frameworks/base/core/java/com/android/internal/widget/
ActionBarContextView.java 314 return new MarginLayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
319 return new MarginLayoutParams(getContext(), attrs);
348 MarginLayoutParams lp = (MarginLayoutParams) mClose.getLayoutParams();
404 ((MarginLayoutParams) mClose.getLayoutParams()).leftMargin);
431 -mClose.getWidth() - ((MarginLayoutParams) mClose.getLayoutParams()).leftMargin);
463 MarginLayoutParams lp = (MarginLayoutParams) mClose.getLayoutParams();

Completed in 2496 milliseconds

1 2 3 4