Home
last modified time | relevance | path

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

1234

/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickStatusBarHeader.java96 MarginLayoutParams qqsLP = (MarginLayoutParams) mHeaderQsPanel.getLayoutParams(); in updateResources()
126 MarginLayoutParams lp = (MarginLayoutParams) view.getLayoutParams(); in setContentMargins()
DQSFooterView.java115 MarginLayoutParams lp = (MarginLayoutParams) getLayoutParams(); in updateResources()
127 MarginLayoutParams lp = (MarginLayoutParams) mEditButton.getLayoutParams(); in updateEditButtonResources()
/frameworks/base/core/java/android/view/
DNotificationTopLineView.java126 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()
/frameworks/base/core/java/com/android/internal/widget/
DNotificationActionListLayout.java137 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()
DMessagingLinearLayout.java315 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 {
DNotificationOptimizedLinearLayout.java167 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()
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()
DViewGroupFader.java22 import android.view.ViewGroup.MarginLayoutParams;
263 MarginLayoutParams lp = (MarginLayoutParams) view.getLayoutParams(); in setViewPropertiesByPosition()
DDialogViewAnimator.java110 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onMeasure()
/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()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DAbstractLayoutTest.java60 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) v.getLayoutParams(); in animate()
/frameworks/base/core/tests/coretests/src/android/view/
DViewAttachTest.java120 final ViewGroup.MarginLayoutParams lp = new ViewGroup.MarginLayoutParams(1, 1); in testRoundScrollbarsWithMargins()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DFillContentLayout.java87 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureIllustrationChild()
/frameworks/layoutlib/create/tests/res/mock_data/mock_android/view/
DViewGroup.java21 public class MarginLayoutParams extends LayoutParams { class in ViewGroup
/frameworks/layoutlib/create/tests/res/mock_data/mock_android/widget/
DTableLayout.java23 public class LayoutParams extends MarginLayoutParams {
DLinearLayout.java25 public class LayoutParams extends MarginLayoutParams {
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardMessageArea.java77 ViewGroup.MarginLayoutParams lp = in onConfigChanged()
78 (ViewGroup.MarginLayoutParams) mContainer.getLayoutParams(); in onConfigChanged()
DKeyguardPasswordViewController.java33 import android.view.ViewGroup.MarginLayoutParams;
304 if (params instanceof MarginLayoutParams) { in updateSwitchImeButton()
305 final MarginLayoutParams mlp = (MarginLayoutParams) params; in updateSwitchImeButton()
/frameworks/layoutlib/create/tests/res/data/
Dmock_android.jarMETA-INF/ META-INF/MANIFEST.MF README.md mock_android/ mock_android/data ...
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DLetterboxEduWindowManager.java30 import android.view.ViewGroup.MarginLayoutParams;
153 MarginLayoutParams marginParams = (MarginLayoutParams) dialogContainer.getLayoutParams(); in updateDialogMargins()
/frameworks/base/core/java/android/inputmethodservice/
DCompactExtractEditLayout.java80 ViewGroup.MarginLayoutParams lp = (MarginLayoutParams) v.getLayoutParams(); in setLayoutMarginBottom()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DEditTextActivity.java70 ViewGroup.MarginLayoutParams layoutParams = in onCreate()
71 (ViewGroup.MarginLayoutParams) view.getLayoutParams(); in onCreate()

1234