Searched refs:childSpace (Results 1 – 5 of 5) sorted by relevance
176 int childSpace = ownHeight - mPaddingTop - mPaddingBottom; in onLayout() local180 int baselineY = mPaddingTop + ((childSpace - (mMaxAscent + mMaxDescent)) / 2) + mMaxAscent; in onLayout()203 if (childSpace - childHeight > 0) { in onLayout()206 childTop = mPaddingTop + (childSpace - childHeight) / 2; in onLayout()209 childTop = mPaddingTop + ((childSpace - childHeight) / 2) in onLayout()
283 final int childSpace = width - paddingLeft - paddingRight; in onLayout() local333 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in onLayout()
282 final int childSpace = width - paddingLeft - mPaddingRight; in onLayout() local332 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in onLayout()
479 int childSpace = width - paddingLeft - mPaddingRight; in layoutVerticalOptimized() local522 paddingLeft + ((childSpace - childWidth) / 2) + lp.leftMargin in layoutVerticalOptimized()
1667 int childSpace = width - paddingLeft - mPaddingRight; in layoutVertical() local1710 childLeft = paddingLeft + ((childSpace - childWidth) / 2) in layoutVertical()1773 int childSpace = height - paddingTop - mPaddingBottom; in layoutHorizontal() local1853 childTop = paddingTop + ((childSpace - childHeight) / 2) in layoutHorizontal()