Searched refs:MarginLayoutParams (Results 1 – 25 of 98) sorted by relevance
1234
66 ((ViewGroup.MarginLayoutParams) mLeftView.getLayoutParams()).leftMargin); in testLeftMarginAligned()72 ((ViewGroup.MarginLayoutParams) mRightView.getLayoutParams()).rightMargin); in testRightMarginAligned()78 ((ViewGroup.MarginLayoutParams) mTopView.getLayoutParams()).topMargin); in testTopMarginAligned()84 ((ViewGroup.MarginLayoutParams) mBottomView.getLayoutParams()).bottomMargin); in testBottomMarginAligned()
62 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()
85 MarginLayoutParams childParams = (MarginLayoutParams) child.getLayoutParams(); in onMeasure()157 MarginLayoutParams childParams = (MarginLayoutParams) child.getLayoutParams(); in onLayout()179 return new ViewGroup.MarginLayoutParams(getContext(), attrs); in generateLayoutParams()
96 MarginLayoutParams qqsLP = (MarginLayoutParams) mHeaderQsPanel.getLayoutParams(); in updateResources()126 MarginLayoutParams lp = (MarginLayoutParams) view.getLayoutParams(); in setContentMargins()
115 MarginLayoutParams lp = (MarginLayoutParams) getLayoutParams(); in updateResources()127 MarginLayoutParams lp = (MarginLayoutParams) mEditButton.getLayoutParams(); in updateEditButtonResources()
126 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onMeasure()188 MarginLayoutParams params = (MarginLayoutParams) child.getLayoutParams(); in onLayout()240 return new MarginLayoutParams(getContext(), attrs); in generateLayoutParams()477 MarginLayoutParams params = (MarginLayoutParams) view.getLayoutParams(); in getHorizontalMargins()
137 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureAndReturnEvenlyDividedWidth()194 MarginLayoutParams lp = (MarginLayoutParams) c.getLayoutParams(); in measureAndGetUsedWidth()351 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onLayout()
315 if (lp instanceof MarginLayoutParams) { in generateLayoutParams()316 copy.copyMarginsFrom((MarginLayoutParams) lp); in generateLayoutParams()371 MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in getBaseline()407 public static class LayoutParams extends MarginLayoutParams {
167 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in requiresNegativeMarginHandlingForHorizontalLinearLayout()379 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureVerticalOptimized()404 final MarginLayoutParams lp = (MarginLayoutParams) weightedChildView.getLayoutParams(); in measureVerticalOptimized()
294 return new MarginLayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in generateDefaultLayoutParams()299 return new MarginLayoutParams(getContext(), attrs); in generateLayoutParams()328 MarginLayoutParams lp = (MarginLayoutParams) mClose.getLayoutParams(); in onMeasure()391 MarginLayoutParams lp = (MarginLayoutParams) mClose.getLayoutParams(); in onLayout()
22 import android.view.ViewGroup.MarginLayoutParams;263 MarginLayoutParams lp = (MarginLayoutParams) view.getLayoutParams(); in setViewPropertiesByPosition()
110 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onMeasure()
233 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onMeasure()398 } else if (lp instanceof MarginLayoutParams) { in generateLayoutParams()399 return new LayoutParams((MarginLayoutParams) lp); in generateLayoutParams()429 public static class LayoutParams extends MarginLayoutParams {484 public LayoutParams(@NonNull ViewGroup.MarginLayoutParams source) { in LayoutParams()
60 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) v.getLayoutParams(); in animate()
120 final ViewGroup.MarginLayoutParams lp = new ViewGroup.MarginLayoutParams(1, 1); in testRoundScrollbarsWithMargins()
87 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureIllustrationChild()
21 public class MarginLayoutParams extends LayoutParams { class in ViewGroup
23 public class LayoutParams extends MarginLayoutParams {
25 public class LayoutParams extends MarginLayoutParams {
77 ViewGroup.MarginLayoutParams lp = in onConfigChanged()78 (ViewGroup.MarginLayoutParams) mContainer.getLayoutParams(); in onConfigChanged()
33 import android.view.ViewGroup.MarginLayoutParams;304 if (params instanceof MarginLayoutParams) { in updateSwitchImeButton()305 final MarginLayoutParams mlp = (MarginLayoutParams) params; in updateSwitchImeButton()
META-INF/ META-INF/MANIFEST.MF README.md mock_android/ mock_android/data ...
30 import android.view.ViewGroup.MarginLayoutParams;153 MarginLayoutParams marginParams = (MarginLayoutParams) dialogContainer.getLayoutParams(); in updateDialogMargins()
80 ViewGroup.MarginLayoutParams lp = (MarginLayoutParams) v.getLayoutParams(); in setLayoutMarginBottom()
70 ViewGroup.MarginLayoutParams layoutParams = in onCreate()71 (ViewGroup.MarginLayoutParams) view.getLayoutParams(); in onCreate()