Searched refs:childParams (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PrintOptionsLayout.java | 85 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/ |
D | RelativeLayout.java | 547 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 …]
|
D | HorizontalScrollView.java | 1638 LayoutParams childParams = (LayoutParams) getChildAt(0).getLayoutParams(); in onLayout() local 1639 childMargins = childParams.leftMargin + childParams.rightMargin; in onLayout()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | ButtonBarLayout.java | 85 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/ |
D | GlobalActionsGridLayout.java | 65 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/ |
D | GlobalActionsGridLayoutTest.java | 145 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/core/java/android/net/vcn/persistablebundleutils/ |
D | TunnelConnectionParamsUtils.java | 98 final TunnelModeChildSessionParams childParams = in deserializeIkeParams() local 100 return new IkeTunnelConnectionParams(ikeParams, childParams); in deserializeIkeParams()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationBarInflaterView.java | 322 LayoutParams childParams = new LayoutParams(v.getLayoutParams()); in applySize() local 337 frame.addView(v, childParams); in applySize()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 17708 MultiPackageInstallParams(InstallParams parent, List<InstallParams> childParams) in MultiPackageInstallParams() argument 17711 if (childParams.size() == 0) { in MultiPackageInstallParams() 17714 mChildParams = childParams; in MultiPackageInstallParams() 17715 for (int i = 0; i < childParams.size(); i++) { in MultiPackageInstallParams() 17716 final InstallParams childParam = childParams.get(i); in MultiPackageInstallParams() 18041 final VerificationParams childParams = children.get(i); in MultiPackageVerificationParams() local 18042 childParams.mParentVerificationParams = this; in MultiPackageVerificationParams()
|