Searched refs:MarginLayoutParams (Results 1 – 25 of 56) sorted by relevance
123
71 ViewGroup.MarginLayoutParams layoutParams = in onMeasure()72 (MarginLayoutParams) mRightIcon.getLayoutParams(); in onMeasure()90 ViewGroup.MarginLayoutParams params in onMeasure()91 = (MarginLayoutParams) mMainColumn.getLayoutParams(); in onMeasure()106 params = (MarginLayoutParams) mHeader.getLayoutParams(); in onMeasure()144 ViewGroup.MarginLayoutParams headerParams = in resetHeaderIndention()145 (MarginLayoutParams) mHeader.getLayoutParams(); in resetHeaderIndention()
268 if (!(params instanceof MarginLayoutParams)) { in addView()375 return new MarginLayoutParams(getContext(), attrs); in generateLayoutParams()380 return new MarginLayoutParams(MarginLayoutParams.MATCH_PARENT, in generateDefaultLayoutParams()381 MarginLayoutParams.MATCH_PARENT); in generateDefaultLayoutParams()386 return new MarginLayoutParams(p); in generateLayoutParams()391 return p instanceof MarginLayoutParams; in checkLayoutParams()
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()
133 MarginLayoutParams lp = (MarginLayoutParams) c.getLayoutParams(); in onMeasure()244 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onLayout()
232 if (lp instanceof MarginLayoutParams) { in generateLayoutParams()233 copy.copyMarginsFrom((MarginLayoutParams) lp); in generateLayoutParams()281 public static class LayoutParams extends MarginLayoutParams {
110 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onMeasure()
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()
286 MarginLayoutParams params = (MarginLayoutParams) mPrintButton.getLayoutParams(); in onLayout()309 return new ViewGroup.MarginLayoutParams(getContext(), attrs); in generateLayoutParams()
120 MarginLayoutParams params = (MarginLayoutParams) mList.getLayoutParams(); in updateEdgeMargin()132 MarginLayoutParams params = (MarginLayoutParams) mSeparatedView.getLayoutParams(); in updateEdgeMargin()376 MarginLayoutParams params = (MarginLayoutParams) v.getLayoutParams(); in rotateLeft()385 MarginLayoutParams params = (MarginLayoutParams) v.getLayoutParams(); in rotateRight()394 MarginLayoutParams params = (MarginLayoutParams) v.getLayoutParams(); in swapLeftAndTop()494 MarginLayoutParams params = (MarginLayoutParams) mSeparatedView.getLayoutParams(); in updatePaddingAndGravityIfTooTall()
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()
1629 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildConstrained()1654 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildCollapseMargins()2181 final MarginLayoutParams mlp = (MarginLayoutParams) v.getLayoutParams(); in getHorizontalMargins()2186 final MarginLayoutParams mlp = (MarginLayoutParams) v.getLayoutParams(); in getVerticalMargins()2201 } else if (p instanceof MarginLayoutParams) { in generateLayoutParams()2202 return new LayoutParams((MarginLayoutParams) p); in generateLayoutParams()2354 public LayoutParams(MarginLayoutParams source) { in LayoutParams()
60 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) v.getLayoutParams(); in animate()
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 {
META-INF/ META-INF/MANIFEST.MF Android.mk mock_android/data/anotherDataFile ...
80 ViewGroup.MarginLayoutParams lp = (MarginLayoutParams) v.getLayoutParams(); in setLayoutMarginBottom()
129 MarginLayoutParams lp = (MarginLayoutParams) mMultiUserAvatar.getLayoutParams(); in onConfigurationChanged()135 lp = (MarginLayoutParams) mMultiUserSwitch.getLayoutParams(); in onConfigurationChanged()143 lp = (MarginLayoutParams) mSystemIconsContainer.getLayoutParams(); in onConfigurationChanged()156 lp = (MarginLayoutParams) mCarrierLabel.getLayoutParams(); in onConfigurationChanged()161 lp = (MarginLayoutParams) getLayoutParams(); in onConfigurationChanged()
145 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onMeasure()209 MarginLayoutParams params = (MarginLayoutParams) child.getLayoutParams(); in onLayout()243 return new ViewGroup.MarginLayoutParams(getContext(), attrs); in generateLayoutParams()
165 if (params instanceof MarginLayoutParams) { in updateSwitchImeButton()166 final MarginLayoutParams mlp = (MarginLayoutParams) params; in updateSwitchImeButton()
97 MarginLayoutParams layoutParams = (MarginLayoutParams) mQSPanel.getLayoutParams(); in onMeasure()
336 final ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) view.getLayoutParams(); in onApplyWindowInsets()