Home
last modified time | relevance | path

Searched refs:MarginLayoutParams (Results 1 – 25 of 110) sorted by relevance

12345

/frameworks/support/v4/java/android/support/v4/view/
DMarginLayoutParamsCompat.java29 int getMarginStart(ViewGroup.MarginLayoutParams lp); in getMarginStart()
30 int getMarginEnd(ViewGroup.MarginLayoutParams lp); in getMarginEnd()
31 void setMarginStart(ViewGroup.MarginLayoutParams lp, int marginStart); in setMarginStart()
32 void setMarginEnd(ViewGroup.MarginLayoutParams lp, int marginEnd); in setMarginEnd()
33 boolean isMarginRelative(ViewGroup.MarginLayoutParams lp); in isMarginRelative()
34 int getLayoutDirection(ViewGroup.MarginLayoutParams lp); in getLayoutDirection()
35 void setLayoutDirection(ViewGroup.MarginLayoutParams lp, int layoutDirection); in setLayoutDirection()
36 void resolveLayoutDirection(ViewGroup.MarginLayoutParams lp, int layoutDirection); in resolveLayoutDirection()
42 public int getMarginStart(ViewGroup.MarginLayoutParams lp) { in getMarginStart()
47 public int getMarginEnd(ViewGroup.MarginLayoutParams lp) { in getMarginEnd()
[all …]
/frameworks/support/v4/jellybean-mr1/android/support/v4/view/
DMarginLayoutParamsCompatJellybeanMr1.java23 public static int getMarginStart(ViewGroup.MarginLayoutParams lp) { in getMarginStart()
27 public static int getMarginEnd(ViewGroup.MarginLayoutParams lp) { in getMarginEnd()
31 public static void setMarginStart(ViewGroup.MarginLayoutParams lp, int marginStart) { in setMarginStart()
35 public static void setMarginEnd(ViewGroup.MarginLayoutParams lp, int marginEnd) { in setMarginEnd()
39 public static boolean isMarginRelative(ViewGroup.MarginLayoutParams lp) { in isMarginRelative()
43 public static int getLayoutDirection(ViewGroup.MarginLayoutParams lp) { in getLayoutDirection()
47 public static void setLayoutDirection(ViewGroup.MarginLayoutParams lp, int layoutDirection) { in setLayoutDirection()
51 public static void resolveLayoutDirection(ViewGroup.MarginLayoutParams lp, in resolveLayoutDirection()
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutMarginTest.java65 ((ViewGroup.MarginLayoutParams) mLeftView.getLayoutParams()).leftMargin); in testLeftMarginAligned()
71 ((ViewGroup.MarginLayoutParams) mRightView.getLayoutParams()).rightMargin); in testRightMarginAligned()
77 ((ViewGroup.MarginLayoutParams) mTopView.getLayoutParams()).topMargin); in testTopMarginAligned()
83 ((ViewGroup.MarginLayoutParams) mBottomView.getLayoutParams()).bottomMargin); in testBottomMarginAligned()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListViewHeight.java62 ViewGroup.MarginLayoutParams lp; in onCreate()
63 lp = (ViewGroup.MarginLayoutParams) mInnerList.getLayoutParams(); in onCreate()
78 ViewGroup.MarginLayoutParams lp; in onCreate()
79 lp = (ViewGroup.MarginLayoutParams) mInnerList.getLayoutParams(); in onCreate()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintOptionsLayout.java84 MarginLayoutParams childParams = (MarginLayoutParams) child.getLayoutParams(); in onMeasure()
149 MarginLayoutParams childParams = (MarginLayoutParams) child.getLayoutParams(); in onLayout()
171 return new ViewGroup.MarginLayoutParams(getContext(), attrs); in generateLayoutParams()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DHorizontalHoverCardSwitcher.java21 import android.view.ViewGroup.MarginLayoutParams;
50 MarginLayoutParams params = (MarginLayoutParams) view.getLayoutParams(); in onViewSelected()
DPlaybackControlsPresenter.java29 import android.view.ViewGroup.MarginLayoutParams;
91 ((MarginLayoutParams) mCurrentTime.getLayoutParams()).getMarginStart(); in ViewHolder()
93 ((MarginLayoutParams) mTotalTime.getLayoutParams()).getMarginEnd(); in ViewHolder()
274 MarginLayoutParams lp; in enableTimeMargins()
275 lp = (MarginLayoutParams) vh.mCurrentTime.getLayoutParams(); in enableTimeMargins()
279 lp = (MarginLayoutParams) vh.mTotalTime.getLayoutParams(); in enableTimeMargins()
DBrowseRowsFrameLayout.java46 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildWithMargins()
DFullWidthDetailsOverviewRowPresenter.java35 import android.view.ViewGroup.MarginLayoutParams;
672 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) in onLayoutLogo()
752 MarginLayoutParams lpFrame = in onLayoutOverviewFrame()
753 (MarginLayoutParams) viewHolder.getOverviewView().getLayoutParams(); in onLayoutOverviewFrame()
760 MarginLayoutParams lpDesc = (MarginLayoutParams) description.getLayoutParams(); in onLayoutOverviewFrame()
765 MarginLayoutParams lpActions = (MarginLayoutParams) action.getLayoutParams(); in onLayoutOverviewFrame()
DDetailsOverviewLogoPresenter.java9 import android.view.ViewGroup.MarginLayoutParams;
38 view.setLayoutParams(new ViewGroup.MarginLayoutParams(0, 0)); in onCreateViewHolder()
/frameworks/support/percent/src/android/support/percent/
DPercentLayoutHelper.java119 if (params instanceof ViewGroup.MarginLayoutParams) { in adjustChildren()
120 info.fillMarginLayoutParams((ViewGroup.MarginLayoutParams) params, in adjustChildren()
246 if (params instanceof ViewGroup.MarginLayoutParams) { in restoreOriginalParams()
247 info.restoreMarginLayoutParams((ViewGroup.MarginLayoutParams) params); in restoreOriginalParams()
332 /* package */ final ViewGroup.MarginLayoutParams mPreservedParams;
343 mPreservedParams = new ViewGroup.MarginLayoutParams(0, 0); in PercentLayoutInfo()
370 public void fillMarginLayoutParams(ViewGroup.MarginLayoutParams params, int widthHint, in fillMarginLayoutParams()
424 public void restoreMarginLayoutParams(ViewGroup.MarginLayoutParams params) { in restoreMarginLayoutParams()
DPercentFrameLayout.java121 public LayoutParams(MarginLayoutParams source) { in LayoutParams()
126 super((MarginLayoutParams) source); in LayoutParams()
/frameworks/support/percent/api/
Dcurrent.txt14 ctor public PercentFrameLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
32 method public void fillMarginLayoutParams(android.view.ViewGroup.MarginLayoutParams, int, int);
34 method public void restoreMarginLayoutParams(android.view.ViewGroup.MarginLayoutParams);
59 ctor public PercentRelativeLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
D23.txt14 ctor public PercentFrameLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
32 method public void fillMarginLayoutParams(android.view.ViewGroup.MarginLayoutParams, int, int);
34 method public void restoreMarginLayoutParams(android.view.ViewGroup.MarginLayoutParams);
59 ctor public PercentRelativeLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarContextView.java230 return new MarginLayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in generateDefaultLayoutParams()
235 return new MarginLayoutParams(getContext(), attrs); in generateLayoutParams()
264 MarginLayoutParams lp = (MarginLayoutParams) mClose.getLayoutParams(); in onMeasure()
326 MarginLayoutParams lp = (MarginLayoutParams) mClose.getLayoutParams(); in onLayout()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DAbstractLayoutTest.java60 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) v.getLayoutParams(); in animate()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java292 return new MarginLayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in generateDefaultLayoutParams()
297 return new MarginLayoutParams(getContext(), attrs); in generateLayoutParams()
326 MarginLayoutParams lp = (MarginLayoutParams) mClose.getLayoutParams(); in onMeasure()
389 MarginLayoutParams lp = (MarginLayoutParams) mClose.getLayoutParams(); in onLayout()
DDialogViewAnimator.java110 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onMeasure()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBrowseSupportFragment.java50 import android.view.ViewGroup.MarginLayoutParams;
694 MarginLayoutParams lp; in setRowsAlignedLeft()
697 lp = (MarginLayoutParams) containerList.getLayoutParams(); in setRowsAlignedLeft()
703 MarginLayoutParams lp; in setHeadersOnScreen()
706 lp = (MarginLayoutParams) containerList.getLayoutParams(); in setHeadersOnScreen()
926 MarginLayoutParams lp = (MarginLayoutParams) searchOrbView.getLayoutParams(); in setSearchOrbViewOnScreen()
DBrowseFragment.java48 import android.view.ViewGroup.MarginLayoutParams;
692 MarginLayoutParams lp; in setRowsAlignedLeft()
695 lp = (MarginLayoutParams) containerList.getLayoutParams(); in setRowsAlignedLeft()
701 MarginLayoutParams lp; in setHeadersOnScreen()
704 lp = (MarginLayoutParams) containerList.getLayoutParams(); in setHeadersOnScreen()
924 MarginLayoutParams lp = (MarginLayoutParams) searchOrbView.getLayoutParams(); in setSearchOrbViewOnScreen()
/frameworks/base/tools/layoutlib/create/tests/mock_data/mock_android/view/
DViewGroup.java21 public class MarginLayoutParams extends LayoutParams { class in ViewGroup
/frameworks/base/tools/layoutlib/create/tests/mock_data/mock_android/widget/
DTableLayout.java23 public class LayoutParams extends MarginLayoutParams {
DLinearLayout.java25 public class LayoutParams extends MarginLayoutParams {
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardPasswordView.java182 if (params instanceof MarginLayoutParams) { in onFinishInflate()
183 final MarginLayoutParams mlp = (MarginLayoutParams) params; in onFinishInflate()
/frameworks/base/core/java/android/widget/
DFrameLayout.java233 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onMeasure()
431 public static class LayoutParams extends MarginLayoutParams {
487 public LayoutParams(ViewGroup.MarginLayoutParams source) { in LayoutParams()

12345