Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/com/android/internal/widget/
DMediaNotificationView.java71 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()
DDecorCaptionView.java268 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()
DActionBarContextView.java294 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()
DNotificationActionListLayout.java133 MarginLayoutParams lp = (MarginLayoutParams) c.getLayoutParams(); in onMeasure()
244 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onLayout()
DMessagingLinearLayout.java232 if (lp instanceof MarginLayoutParams) { in generateLayoutParams()
233 copy.copyMarginsFrom((MarginLayoutParams) lp); in generateLayoutParams()
281 public static class LayoutParams extends MarginLayoutParams {
DDialogViewAnimator.java110 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onMeasure()
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutMarginTest.java66 ((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()
/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.java85 MarginLayoutParams childParams = (MarginLayoutParams) child.getLayoutParams(); in onMeasure()
157 MarginLayoutParams childParams = (MarginLayoutParams) child.getLayoutParams(); in onLayout()
179 return new ViewGroup.MarginLayoutParams(getContext(), attrs); in generateLayoutParams()
DPrintContentView.java286 MarginLayoutParams params = (MarginLayoutParams) mPrintButton.getLayoutParams(); in onLayout()
309 return new ViewGroup.MarginLayoutParams(getContext(), attrs); in generateLayoutParams()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java120 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()
/frameworks/base/core/java/android/widget/
DFrameLayout.java233 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()
DToolbar.java1629 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()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DAbstractLayoutTest.java60 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) v.getLayoutParams(); in animate()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DFillContentLayout.java87 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureIllustrationChild()
/frameworks/layoutlib/create/tests/mock_data/mock_android/view/
DViewGroup.java21 public class MarginLayoutParams extends LayoutParams { class in ViewGroup
/frameworks/layoutlib/create/tests/mock_data/mock_android/widget/
DTableLayout.java23 public class LayoutParams extends MarginLayoutParams {
DLinearLayout.java25 public class LayoutParams extends MarginLayoutParams {
/frameworks/layoutlib/create/tests/data/
Dmock_android.jarMETA-INF/ META-INF/MANIFEST.MF Android.mk mock_android/data/anotherDataFile ...
/frameworks/base/core/java/android/inputmethodservice/
DCompactExtractEditLayout.java80 ViewGroup.MarginLayoutParams lp = (MarginLayoutParams) v.getLayoutParams(); in setLayoutMarginBottom()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java129 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()
/frameworks/base/core/java/android/view/
DNotificationHeaderView.java145 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()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPasswordView.java165 if (params instanceof MarginLayoutParams) { in updateSwitchImeButton()
166 final MarginLayoutParams mlp = (MarginLayoutParams) params; in updateSwitchImeButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSContainerImpl.java97 MarginLayoutParams layoutParams = (MarginLayoutParams) mQSPanel.getLayoutParams(); in onMeasure()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java336 final ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) view.getLayoutParams(); in onApplyWindowInsets()

123