Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java388 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom(); in onLayout() local
395 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl); in onLayout()
401 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl); in onLayout()
405 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl); in onLayout()
411 x += positionChild(mMenuView, x, y, contentHeight, !isLayoutRtl); in onLayout()
DAbsActionBarView.java320 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { in positionChild() argument
323 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.java192 public void setContentHeight(int contentHeight) { in setContentHeight() argument
193 mContentHeight = contentHeight; in setContentHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationTemplateViewWrapper.java319 public void setContentHeight(int contentHeight, int minHeightHint) { in setContentHeight() argument
320 super.setContentHeight(contentHeight, minHeightHint); in setContentHeight()
322 mContentHeight = contentHeight; in setContentHeight()
DNotificationViewWrapper.java281 public void setContentHeight(int contentHeight, int minHeightHint) { in setContentHeight() argument
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DPerfTimeline.java123 int contentHeight = getHeight() - paddingTop - paddingBottom; in onDraw() local
/frameworks/base/core/java/android/widget/
DScrollView.java1360 final int contentHeight = getHeight() - mPaddingBottom - mPaddingTop; in computeVerticalScrollRange() local
1362 return contentHeight; in computeVerticalScrollRange()
1367 final int overscrollBottom = Math.max(0, scrollRange - contentHeight); in computeVerticalScrollRange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentView.java600 public void setContentHeight(int contentHeight) { in setContentHeight() argument
601 mUnrestrictedContentHeight = Math.max(contentHeight, getMinHeight()); in setContentHeight()
DExpandableNotificationRow.java2748 int contentHeight = Math.max(getMinHeight(), height);
2750 l.setContentHeight(contentHeight);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java2210 int contentHeight = mContentHeight;
2212 contentHeight = mHeadsUpInset + getTopHeadsUpPinnedHeight();
2214 int scrollRange = Math.max(0, contentHeight - mMaxLayoutHeight);
2216 scrollRange += Math.min(imeInset, Math.max(0, contentHeight - (getHeight() - imeInset)));