Searched refs:contentHeight (Results 1 - 9 of 9) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DAbsActionBarView.java192 protected int positionChild(View child, int x, int y, int contentHeight) { argument
195 int childTop = y + (contentHeight - childHeight) / 2;
202 protected int positionChildInverse(View child, int x, int y, int contentHeight) { argument
205 int childTop = y + (contentHeight - childHeight) / 2;
H A DActionBarContextView.java380 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom();
386 x += positionChild(mClose, x, y, contentHeight);
392 x += positionChild(mTitleLayout, x, y, contentHeight);
396 x += positionChild(mCustomView, x, y, contentHeight);
402 x -= positionChildInverse(mMenuView, x, y, contentHeight);
H A DActionBarView.java1017 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom();
1019 if (contentHeight <= 0) {
1027 x += positionChild(homeLayout, x + leftOffset, y, contentHeight) + leftOffset;
1035 x += positionChild(mTitleLayout, x, y, contentHeight);
1046 x += positionChild(mListNavLayout, x, y, contentHeight) + mItemPadding;
1054 x += positionChild(mTabScrollView, x, y, contentHeight) + mItemPadding;
1062 positionChildInverse(mMenuView, menuLeft, y, contentHeight);
1068 positionChildInverse(mIndeterminateProgressView, menuLeft, y, contentHeight);
H A DScrollingTabContainerView.java184 public void setContentHeight(int contentHeight) { argument
185 mContentHeight = contentHeight;
/frameworks/base/core/java/com/android/internal/widget/
H A DAbsActionBarView.java236 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { argument
239 int childTop = y + (contentHeight - childHeight) / 2;
H A DActionBarContextView.java460 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom();
467 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl);
479 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl);
483 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl);
489 x += positionChild(mMenuView, x, y, contentHeight, !isLayoutRtl);
H A DActionBarView.java1116 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom();
1118 if (contentHeight <= 0) {
1145 next(x, startOffset, isLayoutRtl), y, contentHeight, isLayoutRtl);
1157 x += positionChild(mListNavLayout, x, y, contentHeight, isLayoutRtl);
1164 x += positionChild(mTabScrollView, x, y, contentHeight, isLayoutRtl);
1172 positionChild(mMenuView, menuStart, y, contentHeight, !isLayoutRtl);
1178 positionChild(mIndeterminateProgressView, menuStart, y, contentHeight, !isLayoutRtl);
H A DScrollingTabContainerView.java189 public void setContentHeight(int contentHeight) { argument
190 mContentHeight = contentHeight;
/frameworks/base/core/java/android/widget/
H A DScrollView.java1178 final int contentHeight = getHeight() - mPaddingBottom - mPaddingTop;
1180 return contentHeight;
1185 final int overscrollBottom = Math.max(0, scrollRange - contentHeight);

Completed in 117 milliseconds