/frameworks/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/layoutlib/create/tests/mock_data/mock_android/widget/ |
TableLayout.java | 23 public class LayoutParams extends MarginLayoutParams {
|
LinearLayout.java | 25 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 {
|
/frameworks/support/compat/java/android/support/v4/view/ |
MarginLayoutParamsCompat.java | 26 * {@link android.view.ViewGroup.MarginLayoutParams MarginLayoutParams} in a backwards compatible 41 public static int getMarginStart(ViewGroup.MarginLayoutParams lp) { 60 public static int getMarginEnd(ViewGroup.MarginLayoutParams lp) { 79 public static void setMarginStart(ViewGroup.MarginLayoutParams lp, int marginStart) { 98 public static void setMarginEnd(ViewGroup.MarginLayoutParams lp, int marginEnd) { 111 public static boolean isMarginRelative(ViewGroup.MarginLayoutParams lp) { 125 public static int getLayoutDirection(ViewGroup.MarginLayoutParams lp) { 149 public static void setLayoutDirection(ViewGroup.MarginLayoutParams lp, int layoutDirection) { 159 public static void resolveLayoutDirection(ViewGroup.MarginLayoutParams lp [all...] |
/frameworks/support/compat/tests/java/android/support/v4/view/ |
MarginLayoutParamsCompatTest.java | 33 ViewGroup.MarginLayoutParams mlp = new ViewGroup.MarginLayoutParams(0, 0); 55 ViewGroup.MarginLayoutParams mlp = new ViewGroup.MarginLayoutParams(0, 0); 68 ViewGroup.MarginLayoutParams mlp = new ViewGroup.MarginLayoutParams(0, 0); 90 ViewGroup.MarginLayoutParams mlp = new ViewGroup.MarginLayoutParams(0, 0); 109 ViewGroup.MarginLayoutParams mlp = new ViewGroup.MarginLayoutParams(0, 0) [all...] |
/external/robolectric/v1/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/v1/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));
|
/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);
|
/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);
|
/frameworks/base/core/java/com/android/internal/widget/ |
MediaNotificationView.java | 69 ViewGroup.MarginLayoutParams layoutParams = 70 (MarginLayoutParams) mRightIcon.getLayoutParams(); 88 ViewGroup.MarginLayoutParams params 89 = (MarginLayoutParams) mMainColumn.getLayoutParams(); 97 params = (MarginLayoutParams) mHeader.getLayoutParams(); 132 ViewGroup.MarginLayoutParams headerParams = 133 (MarginLayoutParams) mHeader.getLayoutParams();
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewGroup_MarginLayoutParamsTest.java | 32 import android.view.ViewGroup.MarginLayoutParams; 44 private ViewGroup.MarginLayoutParams mMarginLayoutParams; 53 // create a new MarginLayoutParams instance 61 mMarginLayoutParams = new ViewGroup.MarginLayoutParams(mContext, p); 65 // create a new MarginLayoutParams instance 66 mMarginLayoutParams = new ViewGroup.MarginLayoutParams(320, 480); 70 // create a new MarginLayoutParams instance 71 MarginLayoutParams temp = new ViewGroup.MarginLayoutParams(320, 480); 72 mMarginLayoutParams = new ViewGroup.MarginLayoutParams(temp) [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
HorizontalHoverCardSwitcher.java | 21 import android.view.ViewGroup.MarginLayoutParams; 49 MarginLayoutParams params = (MarginLayoutParams) view.getLayoutParams();
|
BrowseRowsFrameLayout.java | 50 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams();
|
GuidedActionsRelativeLayout.java | 53 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams)
|
/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();
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
CircleButtonsLayout.java | 62 final MarginLayoutParams resetAddParams = (MarginLayoutParams) mResetAddButton 71 MarginLayoutParams labelParams = (MarginLayoutParams) mLabel.getLayoutParams();
|
/cts/tests/tests/widget/src/android/widget/cts/ |
FrameLayout_LayoutParamsTest.java | 29 import android.view.ViewGroup.MarginLayoutParams; 68 new LayoutParams(new MarginLayoutParams(mContext, attrs)); 86 new LayoutParams((ViewGroup.MarginLayoutParams) null); 110 final MarginLayoutParams mlp = new MarginLayoutParams(
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
PrintOptionsLayout.java | 84 MarginLayoutParams childParams = (MarginLayoutParams) child.getLayoutParams(); 149 MarginLayoutParams childParams = (MarginLayoutParams) child.getLayoutParams(); 171 return new ViewGroup.MarginLayoutParams(getContext(), attrs);
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/ |
SetupGuidedStepFragment.java | 27 import android.view.ViewGroup.MarginLayoutParams; 60 MarginLayoutParams marginLayoutParams = (MarginLayoutParams) list.getLayoutParams(); 64 marginLayoutParams.rightMargin = doneButtonWidth; 66 marginLayoutParams.leftMargin = doneButtonWidth;
|
SetupMultiPaneFragment.java | 25 import android.view.ViewGroup.MarginLayoutParams; 67 ((MarginLayoutParams) doneButtonContainer.getLayoutParams()).rightMargin = 71 ((MarginLayoutParams) doneButtonContainer.getLayoutParams()).leftMargin =
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
AbstractLayoutTest.java | 60 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) v.getLayoutParams();
|