HomeSort by relevance Sort by last modified time
    Searched refs:marginLayoutParams (Results 1 - 3 of 3) sorted by null

  /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));
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
ViewLayoutUtils.java 21 import android.view.ViewGroup.MarginLayoutParams;
33 public static MarginLayoutParams newLayoutParam(final ViewGroup placer, final int width,
50 if (lp instanceof MarginLayoutParams) {
51 final MarginLayoutParams marginLayoutParams = (MarginLayoutParams)lp;
52 marginLayoutParams.width = w;
53 marginLayoutParams.height = h;
54 marginLayoutParams.setMargins(x, y, 0, 0);
  /cts/tests/tests/widget/src/android/widget/cts/
LinearLayout_LayoutParamsTest.java 26 import android.view.ViewGroup.MarginLayoutParams;
46 MarginLayoutParams marginLayoutParams = new MarginLayoutParams(320, 480);
47 new LinearLayout.LayoutParams(marginLayoutParams);

Completed in 1118 milliseconds