/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarContextView.java | 386 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 D | AbsActionBarView.java | 318 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { argument 321 int childTop = y + (contentHeight - childHeight) / 2;
|
H A D | ActionBarView.java | 1095 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 D | ScrollingTabContainerView.java | 188 public void setContentHeight(int contentHeight) { argument 189 mContentHeight = contentHeight;
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | ActionBarContextView.java | 326 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 D | AbsActionBarView.java | 259 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { argument 262 int childTop = y + (contentHeight - childHeight) / 2;
|
H A D | ScrollingTabContainerView.java | 198 public void setContentHeight(int contentHeight) { argument 199 mContentHeight = contentHeight;
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/ |
H A D | PageIndicatorView.java | 586 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 D | NotificationTemplateViewWrapper.java | 305 public void setContentHeight(int contentHeight, int minHeightHint) { argument 306 super.setContentHeight(contentHeight, minHeightHint); 308 mContentHeight = contentHeight;
|
H A D | NotificationViewWrapper.java | 156 public void setContentHeight(int contentHeight, int minHeightHint) { argument
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
H A D | PerfTimeline.java | 123 int contentHeight = getHeight() - paddingTop - paddingBottom; 128 // paddingTop + (contentHeight + mTextHeight) / 2,
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/ |
H A D | DrawerLayoutTest.java | 265 final int contentHeight = mContentView.getHeight(); 273 drawerLayoutHeight, contentHeight); 294 drawerLayoutHeight - drawerTopInset, contentHeight);
|
/frameworks/base/core/java/android/widget/ |
H A D | ScrollView.java | 1254 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 D | NotificationContentView.java | 567 public void setContentHeight(int contentHeight) { argument 568 mUnrestrictedContentHeight = Math.max(contentHeight, getMinHeight());
|
H A D | ExpandableNotificationRow.java | 2482 int contentHeight = Math.max(getMinHeight(), height); 2484 l.setContentHeight(contentHeight);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | NotificationStackScrollLayout.java | 2044 int contentHeight = getContentHeight(); 2045 int scrollRange = Math.max(0, contentHeight - mMaxLayoutHeight);
|