Home
last modified time | relevance | path

Searched refs:childParams (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintOptionsLayout.java85 MarginLayoutParams childParams = (MarginLayoutParams) child.getLayoutParams(); in onMeasure() local
90 columnWidth - childParams.getMarginStart() - childParams.getMarginEnd(), in onMeasure()
94 getPaddingStart() + getPaddingEnd() + width, childParams.width); in onMeasure()
98 getPaddingTop() + getPaddingBottom() + height, childParams.height); in onMeasure()
104 rowWidth += child.getMeasuredWidth() + childParams.getMarginStart() in onMeasure()
105 + childParams.getMarginEnd(); in onMeasure()
107 rowHeight = Math.max(rowHeight, child.getMeasuredHeight() + childParams.topMargin in onMeasure()
108 + childParams.bottomMargin); in onMeasure()
157 MarginLayoutParams childParams = (MarginLayoutParams) child.getLayoutParams(); in onLayout() local
159 final int childStart = cellStart + childParams.getMarginStart(); in onLayout()
[all …]
/frameworks/base/core/java/android/widget/
DRelativeLayout.java547 final LayoutParams childParams = (LayoutParams) child.getLayoutParams(); in onMeasure() local
549 || compareLayoutPosition(childParams, baselineParams) < 0) { in onMeasure()
551 baselineParams = childParams; in onMeasure()
907 private void applyHorizontalSizeRules(LayoutParams childParams, int myWidth, int[] rules) { in applyHorizontalSizeRules() argument
916 childParams.mLeft = VALUE_NOT_SET; in applyHorizontalSizeRules()
917 childParams.mRight = VALUE_NOT_SET; in applyHorizontalSizeRules()
921 childParams.mRight = anchorParams.mLeft - (anchorParams.leftMargin + in applyHorizontalSizeRules()
922 childParams.rightMargin); in applyHorizontalSizeRules()
923 } else if (childParams.alignWithParent && rules[LEFT_OF] != 0) { in applyHorizontalSizeRules()
925 childParams.mRight = myWidth - mPaddingRight - childParams.rightMargin; in applyHorizontalSizeRules()
[all …]
DHorizontalScrollView.java1614 LayoutParams childParams = (LayoutParams) getChildAt(0).getLayoutParams(); in onLayout() local
1615 childMargins = childParams.leftMargin + childParams.rightMargin; in onLayout()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DButtonBarLayout.java85 LayoutParams childParams = (LayoutParams) child.getLayoutParams(); in setStacked() local
87 child.setTag(R.id.suw_original_weight, childParams.weight); in setStacked()
88 childParams.weight = 0; in setStacked()
92 childParams.weight = weight; in setStacked()
95 child.setLayoutParams(childParams); in setStacked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsGridLayout.java65 ViewGroup.LayoutParams childParams = firstChild.getLayoutParams(); in updateSeparatedItemSize() local
68 childParams.width = ViewGroup.LayoutParams.MATCH_PARENT; in updateSeparatedItemSize()
69 childParams.height = ViewGroup.LayoutParams.MATCH_PARENT; in updateSeparatedItemSize()
71 childParams.width = ViewGroup.LayoutParams.WRAP_CONTENT; in updateSeparatedItemSize()
72 childParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in updateSeparatedItemSize()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsGridLayoutTest.java145 ViewGroup.LayoutParams childParams = firstView.getLayoutParams(); in testUpdateSeparatedItemSize() local
146 assertEquals(ViewGroup.LayoutParams.MATCH_PARENT, childParams.width); in testUpdateSeparatedItemSize()
147 assertEquals(ViewGroup.LayoutParams.MATCH_PARENT, childParams.height); in testUpdateSeparatedItemSize()
153 childParams = firstView.getLayoutParams(); in testUpdateSeparatedItemSize()
154 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, childParams.width); in testUpdateSeparatedItemSize()
155 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, childParams.height); in testUpdateSeparatedItemSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarInflaterView.java330 LayoutParams childParams = new LayoutParams(v.getLayoutParams()); in applySize() local
345 frame.addView(v, childParams); in applySize()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java14969 final InstallParams childParams = new InstallParams(activeInstallSessions.get(i));
14970 childParams.mParentInstallParams = this;
14971 this.mChildParams.add(childParams);