Home
last modified time | relevance | path

Searched refs:childTop (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DAbsActionBarView.java223 int childTop = y + (contentHeight - childHeight) / 2; in positionChild() local
225 child.layout(x, childTop, x + childWidth, childTop + childHeight); in positionChild()
233 int childTop = y + (contentHeight - childHeight) / 2; in positionChildInverse() local
235 child.layout(x - childWidth, childTop, x, childTop + childHeight); in positionChildInverse()
/frameworks/base/core/java/android/widget/
DLinearLayout.java450 int childTop = mBaselineChildTop; in getBaseline() local
457 childTop = mBottom - mTop - mPaddingBottom - mTotalLength; in getBaseline()
461 childTop += ((mBottom - mTop - mPaddingTop - mPaddingBottom) - in getBaseline()
469 return childTop + lp.topMargin + childBaseline; in getBaseline()
1416 int childTop; in layoutVertical() local
1434 childTop = mPaddingTop + mBottom - mTop - mTotalLength; in layoutVertical()
1439 childTop = mPaddingTop + (mBottom - mTop - mTotalLength) / 2; in layoutVertical()
1444 childTop = mPaddingTop; in layoutVertical()
1451 childTop += measureNullChild(i); in layoutVertical()
1482 childTop += mDividerHeight; in layoutVertical()
[all …]
DFrameLayout.java390 int childTop; in onLayout() local
418 childTop = parentTop + lp.topMargin; in onLayout()
421 childTop = parentTop + (parentBottom - parentTop - height) / 2 + in onLayout()
425 childTop = parentBottom - height - lp.bottomMargin; in onLayout()
428 childTop = parentTop + lp.topMargin; in onLayout()
431 child.layout(childLeft, childTop, childLeft + width, childTop + height); in onLayout()
DAbsoluteLayout.java119 int childTop = mPaddingTop + lp.y; in onLayout() local
120 child.layout(childLeft, childTop, in onLayout()
122 childTop + child.getMeasuredHeight()); in onLayout()
DGallery.java890 int childTop = calculateTop(child, true); in setUpChild() local
891 int childBottom = childTop + child.getMeasuredHeight(); in setUpChild()
902 child.layout(childLeft, childTop, childRight, childBottom); in setUpChild()
915 int childTop = 0; in calculateTop() local
919 childTop = mSpinnerPadding.top; in calculateTop()
924 childTop = mSpinnerPadding.top + (availableSpace / 2); in calculateTop()
927 childTop = myHeight - mSpinnerPadding.bottom - childHeight; in calculateTop()
930 return childTop; in calculateTop()
DSlidingDrawer.java323 int childTop; in onLayout() local
329 childTop = mExpanded ? mTopOffset : height - childHeight + mBottomOffset; in onLayout()
335 childTop = (height - childHeight) / 2; in onLayout()
342 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
DSpinner.java415 int childTop = mSpinnerPadding.top in setUpChild() local
418 int childBottom = childTop + child.getMeasuredHeight(); in setUpChild()
424 child.layout(childLeft, childTop, childRight, childBottom); in setUpChild()
DListView.java1858 final int childTop = flowDown ? y : y - h; in setupChild() local
1862 final int childBottom = childTop + h; in setupChild()
1863 child.layout(childrenLeft, childTop, childRight, childBottom); in setupChild()
1866 child.offsetTopAndBottom(childTop - child.getTop()); in setupChild()
2551 final int childTop = child.getTop(); in relayoutMeasuredItem() local
2552 final int childBottom = childTop + h; in relayoutMeasuredItem()
2553 child.layout(childLeft, childTop, childRight, childBottom); in relayoutMeasuredItem()
DGridView.java1409 final int childTop = flow ? y : y - h; in setupChild() local
1430 final int childBottom = childTop + h; in setupChild()
1431 child.layout(childLeft, childTop, childRight, childBottom); in setupChild()
1434 child.offsetTopAndBottom(childTop - child.getTop()); in setupChild()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java914 int childTop = getPaddingTop();
916 + ":" + childLeft + "," + childTop + " " + child.getMeasuredWidth()
918 child.layout(childLeft, childTop,
920 childTop + child.getMeasuredHeight());