Searched refs:childWidth (Results 1 – 6 of 6) sorted by relevance
594 final int childWidth = child.getMeasuredWidth();595 child.layout(childLeft, 0, childLeft + childWidth, child.getMeasuredHeight());596 childLeft += childWidth;642 final int childWidth = imageSize + child.getPaddingRight()647 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY),
146 final int childWidth = child.getMeasuredWidth(); in onLayout() local151 final int childLeft = (getWidth() - childWidth) / 2; in onLayout()156 final int childLeft = target.centerX() - (childWidth / 2); in onLayout()161 final int clampedChildLeft = clampDimension(childLeft, childWidth, getWidth()); in onLayout()
99 final int childWidth = child.getMeasuredWidth(); in onMeasure() local108 width = childWidth; in onMeasure()109 height = Math.round(childWidth * mRatio); in onMeasure()
228 int childWidth = params.resolveWidth(parentWidth); in onMeasure() local230 switch (childWidth) { in onMeasure()236 childWidth, MeasureSpec.EXACTLY); in onMeasure()
662 final int childWidth = getScaledMeasuredWidth(child); in onLayout() local672 childLeft += childWidth + mPageSpacing; in onLayout()1481 int childWidth = getScaledMeasuredWidth(layout); in getPageNearestToCenterOfScreen() local1482 int halfChildWidth = (childWidth / 2); in getPageNearestToCenterOfScreen()
244 int childWidth = child.getWidth(); in canScroll() local245 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ; in canScroll()