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

/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarContextView.java386 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom();
393 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl);
399 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl);
403 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl);
409 x += positionChild(mMenuView, x, y, contentHeight, !isLayoutRtl);
H A DAbsActionBarView.java318 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { argument
321 int childTop = y + (contentHeight - childHeight) / 2;
H A DActionBarView.java1095 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom();
1097 if (contentHeight <= 0) {
1124 next(x, startOffset, isLayoutRtl), y, contentHeight, isLayoutRtl);
1136 x += positionChild(mListNavLayout, x, y, contentHeight, isLayoutRtl);
1143 x += positionChild(mTabScrollView, x, y, contentHeight, isLayoutRtl);
1151 positionChild(mMenuView, menuStart, y, contentHeight, !isLayoutRtl);
1157 positionChild(mIndeterminateProgressView, menuStart, y, contentHeight, !isLayoutRtl);
H A DScrollingTabContainerView.java188 public void setContentHeight(int contentHeight) { argument
189 mContentHeight = contentHeight;
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DActionBarContextView.java326 final int contentHeight = b - t - getPaddingTop() - getPaddingBottom();
333 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl);
338 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl);
342 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl);
348 x += positionChild(mMenuView, x, y, contentHeight, !isLayoutRtl);
H A DAbsActionBarView.java259 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { argument
262 int childTop = y + (contentHeight - childHeight) / 2;
H A DScrollingTabContainerView.java198 public void setContentHeight(int contentHeight) { argument
199 mContentHeight = contentHeight;
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
H A DPageIndicatorView.java586 int contentHeight = (int) Math.ceil(maxRadius * 2);
587 contentHeight = (int) (contentHeight + mDotShadowDy);
588 totalHeight = contentHeight + getPaddingTop() + getPaddingBottom();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationTemplateViewWrapper.java305 public void setContentHeight(int contentHeight, int minHeightHint) { argument
306 super.setContentHeight(contentHeight, minHeightHint);
308 mContentHeight = contentHeight;
H A DNotificationViewWrapper.java156 public void setContentHeight(int contentHeight, int minHeightHint) { argument
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
H A DPerfTimeline.java123 int contentHeight = getHeight() - paddingTop - paddingBottom;
128 // paddingTop + (contentHeight + mTextHeight) / 2,
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
H A DDrawerLayoutTest.java265 final int contentHeight = mContentView.getHeight();
273 drawerLayoutHeight, contentHeight);
294 drawerLayoutHeight - drawerTopInset, contentHeight);
/frameworks/base/core/java/android/widget/
H A DScrollView.java1254 final int contentHeight = getHeight() - mPaddingBottom - mPaddingTop;
1256 return contentHeight;
1261 final int overscrollBottom = Math.max(0, scrollRange - contentHeight);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationContentView.java567 public void setContentHeight(int contentHeight) { argument
568 mUnrestrictedContentHeight = Math.max(contentHeight, getMinHeight());
H A DExpandableNotificationRow.java2482 int contentHeight = Math.max(getMinHeight(), height);
2484 l.setContentHeight(contentHeight);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java2044 int contentHeight = getContentHeight();
2045 int scrollRange = Math.max(0, contentHeight - mMaxLayoutHeight);

Completed in 219 milliseconds