Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarContextView.java467 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom(); in onLayout() local
474 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl); in onLayout()
486 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl); in onLayout()
490 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl); in onLayout()
496 x += positionChild(mMenuView, x, y, contentHeight, !isLayoutRtl); in onLayout()
DAbsActionBarView.java241 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { in positionChild() argument
244 int childTop = y + (contentHeight - childHeight) / 2; in positionChild()
DScrollingTabContainerView.java195 public void setContentHeight(int contentHeight) { in setContentHeight() argument
196 mContentHeight = contentHeight; in setContentHeight()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java473 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom(); in onLayout() local
480 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl); in onLayout()
492 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl); in onLayout()
496 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl); in onLayout()
502 x += positionChild(mMenuView, x, y, contentHeight, !isLayoutRtl); in onLayout()
DAbsActionBarView.java257 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { in positionChild() argument
260 int childTop = y + (contentHeight - childHeight) / 2; in positionChild()
DActionBarView.java1102 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom(); in onLayout() local
1104 if (contentHeight <= 0) { in onLayout()
1131 next(x, startOffset, isLayoutRtl), y, contentHeight, isLayoutRtl); in onLayout()
1143 x += positionChild(mListNavLayout, x, y, contentHeight, isLayoutRtl); in onLayout()
1150 x += positionChild(mTabScrollView, x, y, contentHeight, isLayoutRtl); in onLayout()
1158 positionChild(mMenuView, menuStart, y, contentHeight, !isLayoutRtl); in onLayout()
1164 positionChild(mIndeterminateProgressView, menuStart, y, contentHeight, !isLayoutRtl); in onLayout()
DScrollingTabContainerView.java188 public void setContentHeight(int contentHeight) { in setContentHeight() argument
189 mContentHeight = contentHeight; in setContentHeight()
/frameworks/base/core/java/android/widget/
DScrollView.java1212 final int contentHeight = getHeight() - mPaddingBottom - mPaddingTop; in computeVerticalScrollRange() local
1214 return contentHeight; in computeVerticalScrollRange()
1219 final int overscrollBottom = Math.max(0, scrollRange - contentHeight); in computeVerticalScrollRange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java1234 int contentHeight = getContentHeight(); in getScrollRange() local
1236 scrollRange = Math.max(0, contentHeight - mMaxLayoutHeight + mBottomStackPeekSize in getScrollRange()