Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DActionBarContextView.java326 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom(); in onLayout() local
333 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl); in onLayout()
338 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl); in onLayout()
342 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl); in onLayout()
348 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.java188 public void setContentHeight(int contentHeight) { in setContentHeight() argument
189 mContentHeight = contentHeight; in setContentHeight()
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
DPageIndicatorView.java586 int contentHeight = (int) Math.ceil(maxRadius * 2); in onMeasure() local
587 contentHeight = (int) (contentHeight + mDotShadowDy); in onMeasure()
588 totalHeight = contentHeight + getPaddingTop() + getPaddingBottom(); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationTemplateViewWrapper.java305 public void setContentHeight(int contentHeight, int minHeightHint) { in setContentHeight() argument
306 super.setContentHeight(contentHeight, minHeightHint); in setContentHeight()
308 mContentHeight = contentHeight; in setContentHeight()
DNotificationViewWrapper.java156 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/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
DDrawerLayoutTest.java265 final int contentHeight = mContentView.getHeight(); in testDrawerHeight() local
273 drawerLayoutHeight, contentHeight); in testDrawerHeight()
294 drawerLayoutHeight - drawerTopInset, contentHeight); in testDrawerHeight()
/frameworks/base/core/java/android/widget/
DScrollView.java1254 final int contentHeight = getHeight() - mPaddingBottom - mPaddingTop; in computeVerticalScrollRange() local
1256 return contentHeight; in computeVerticalScrollRange()
1261 final int overscrollBottom = Math.max(0, scrollRange - contentHeight); in computeVerticalScrollRange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationContentView.java567 public void setContentHeight(int contentHeight) { in setContentHeight() argument
568 mUnrestrictedContentHeight = Math.max(contentHeight, getMinHeight()); in setContentHeight()
DExpandableNotificationRow.java2482 int contentHeight = Math.max(getMinHeight(), height);
2484 l.setContentHeight(contentHeight);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java2044 int contentHeight = getContentHeight();
2045 int scrollRange = Math.max(0, contentHeight - mMaxLayoutHeight);