Searched refs:childParams (Results 1 – 10 of 10) sorted by relevance
85 MarginLayoutParams childParams = (MarginLayoutParams) child.getLayoutParams(); in onMeasure() local90 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() local159 final int childStart = cellStart + childParams.getMarginStart(); in onLayout()[all …]
547 final LayoutParams childParams = (LayoutParams) child.getLayoutParams(); in onMeasure() local549 || compareLayoutPosition(childParams, baselineParams) < 0) { in onMeasure()551 baselineParams = childParams; in onMeasure()907 private void applyHorizontalSizeRules(LayoutParams childParams, int myWidth, int[] rules) { in applyHorizontalSizeRules() argument916 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 …]
1713 LayoutParams childParams = (LayoutParams) getChildAt(0).getLayoutParams(); in onLayout() local1714 childMargins = childParams.leftMargin + childParams.rightMargin; in onLayout()
85 LayoutParams childParams = (LayoutParams) child.getLayoutParams(); in setStacked() local87 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()
65 ViewGroup.LayoutParams childParams = firstChild.getLayoutParams(); in updateSeparatedItemSize() local68 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()
145 ViewGroup.LayoutParams childParams = firstView.getLayoutParams(); in testUpdateSeparatedItemSize() local146 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()
98 final TunnelModeChildSessionParams childParams = in deserializeIkeParams() local100 return new IkeTunnelConnectionParams(ikeParams, childParams); in deserializeIkeParams()
268 LayoutParams childParams = new LayoutParams(v.getLayoutParams()); in applySize() local283 frame.addView(v, childParams); in applySize()
340 LayoutParams childParams = new LayoutParams(v.getLayoutParams()); in applySize() local355 frame.addView(v, childParams); in applySize()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...