Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionBarContextView.java324 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom(); in onLayout() local
331 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl); in onLayout()
336 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl); in onLayout()
340 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl); in onLayout()
346 x += positionChild(mMenuView, x, y, contentHeight, !isLayoutRtl); in onLayout()
DAbsActionBarView.java259 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { in positionChild() argument
262 int childTop = y + (contentHeight - childHeight) / 2; in positionChild()
DScrollingTabContainerView.java198 public void setContentHeight(int contentHeight) { in setContentHeight() argument
199 mContentHeight = contentHeight; in setContentHeight()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java386 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom(); in onLayout() local
393 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl); in onLayout()
399 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl); in onLayout()
403 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl); in onLayout()
409 x += positionChild(mMenuView, x, y, contentHeight, !isLayoutRtl); in onLayout()
DAbsActionBarView.java318 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { in positionChild() argument
321 int childTop = y + (contentHeight - childHeight) / 2; in positionChild()
DActionBarView.java1095 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom(); in onLayout() local
1097 if (contentHeight <= 0) { in onLayout()
1124 next(x, startOffset, isLayoutRtl), y, contentHeight, isLayoutRtl); in onLayout()
1136 x += positionChild(mListNavLayout, x, y, contentHeight, isLayoutRtl); in onLayout()
1143 x += positionChild(mTabScrollView, x, y, contentHeight, isLayoutRtl); in onLayout()
1151 positionChild(mMenuView, menuStart, y, contentHeight, !isLayoutRtl); in onLayout()
1157 positionChild(mIndeterminateProgressView, menuStart, y, contentHeight, !isLayoutRtl); in onLayout()
DScrollingTabContainerView.java189 public void setContentHeight(int contentHeight) { in setContentHeight() argument
190 mContentHeight = contentHeight; in setContentHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationTemplateViewWrapper.java235 public void setContentHeight(int contentHeight, int minHeightHint) { in setContentHeight() argument
236 super.setContentHeight(contentHeight, minHeightHint); in setContentHeight()
238 mContentHeight = contentHeight; in setContentHeight()
DNotificationViewWrapper.java164 public void setContentHeight(int contentHeight, int minHeightHint) { in setContentHeight() argument
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerLayoutTest.java239 final int contentHeight = mContentView.getHeight(); in testDrawerHeight() local
247 drawerLayoutHeight, contentHeight); in testDrawerHeight()
261 drawerLayoutHeight - drawerTopInset, contentHeight); in testDrawerHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DExpandableNotificationRow.java1495 int contentHeight = Math.max(getMinHeight(), height);
1496 mPrivateLayout.setContentHeight(contentHeight);
1497 mPublicLayout.setContentHeight(contentHeight);
DNotificationContentView.java422 public void setContentHeight(int contentHeight) { in setContentHeight() argument
423 mContentHeight = Math.max(Math.min(contentHeight, getHeight()), getMinHeight()); in setContentHeight()
/frameworks/base/core/java/android/widget/
DScrollView.java1252 final int contentHeight = getHeight() - mPaddingBottom - mPaddingTop; in computeVerticalScrollRange() local
1254 return contentHeight; in computeVerticalScrollRange()
1259 final int overscrollBottom = Math.max(0, scrollRange - contentHeight); in computeVerticalScrollRange()
/frameworks/support/core-ui/java/android/support/v4/widget/
DNestedScrollView.java1341 final int contentHeight = getHeight() - getPaddingBottom() - getPaddingTop(); in computeVerticalScrollRange() local
1343 return contentHeight; in computeVerticalScrollRange()
1348 final int overscrollBottom = Math.max(0, scrollRange - contentHeight); in computeVerticalScrollRange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java1727 int contentHeight = getContentHeight(); in getScrollRange() local
1728 int scrollRange = Math.max(0, contentHeight - mMaxLayoutHeight + mBottomStackPeekSize in getScrollRange()