/aosp14/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | EditTextCursorAnchorInfoTest.java | 396 int topPadding = LINE_HEIGHT; in testVisibleLineBounds_withPaddings_allVisible() local 398 setupEditText(/* height= */ 100, /* scrollY= */ 0, topPadding, bottomPadding); in testVisibleLineBounds_withPaddings_allVisible() 405 expectedLineBounds.forEach(rectF -> rectF.offset(0f, topPadding)); in testVisibleLineBounds_withPaddings_allVisible() 414 int topPadding = LINE_HEIGHT; in testVisibleLineBounds_withPaddings_cutBottomLines() local 423 expectedLineBounds.forEach(rectF -> rectF.offset(0f, topPadding)); in testVisibleLineBounds_withPaddings_cutBottomLines() 433 int topPadding = LINE_HEIGHT; in testVisibleLineBounds_withPaddings_scrolled() local 437 topPadding, bottomPadding); in testVisibleLineBounds_withPaddings_scrolled() 444 expectedLineBounds.forEach(rectF -> rectF.offset(0f, topPadding - scrollY)); in testVisibleLineBounds_withPaddings_scrolled() 454 int topPadding = LINE_HEIGHT; in testVisibleLineBounds_withPadding_partiallyVisible() local 458 topPadding, bottomPadding); in testVisibleLineBounds_withPadding_partiallyVisible() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSContainerImpl.java | 157 int topPadding = QSUtils.getQsHeaderSystemIconsAreaHeight(mContext); in updateResources() local 159 topPadding = mContext.getResources() in updateResources() 164 topPadding, in updateResources() local
|
/aosp14/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ScrollViewScenario.java | 194 public Params addPaddingToScrollView(int topPadding, int bottomPadding) { in addPaddingToScrollView() argument 195 mTopPadding = topPadding; in addPaddingToScrollView()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | ExpandableView.java | 719 int topPadding = 0; in getRelativeTopPadding() local 721 topPadding += view.getTop(); in getRelativeTopPadding() 724 return topPadding; in getRelativeTopPadding() 727 return topPadding; in getRelativeTopPadding()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
H A D | StackScrollAlgorithmTest.kt | 698 childHunView.viewState.yTranslation = ambientState.topPadding + 720 ambientState.stackTranslation = -ambientState.topPadding 751 ambientState.stackTranslation = -ambientState.topPadding 955 height = (ambientState.topPadding + ambientState.stackTranslation).toInt() 958 ambientState.topPadding + ambientState.stackTranslation
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
H A D | QuickSettingsController.java | 1366 float topPadding; in calculateNotificationsTopPadding() local 1383 topPadding = (int) MathUtils.lerp((float) getMinExpansionHeight(), in calculateNotificationsTopPadding() 1385 return topPadding; in calculateNotificationsTopPadding() 1387 topPadding = Math.max((int) mSizeChangeAnimator.getAnimatedValue(), in calculateNotificationsTopPadding() 1389 return topPadding; in calculateNotificationsTopPadding() 1393 topPadding = MathUtils.lerp((float) keyguardNotificationStaticPadding, in calculateNotificationsTopPadding() 1395 return topPadding; in calculateNotificationsTopPadding() 1397 topPadding = Math.max(mQsFrameTranslateController.getNotificationsTopPadding( in calculateNotificationsTopPadding() 1400 return topPadding; in calculateNotificationsTopPadding()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
H A D | AmbientState.java | 425 public void setTopPadding(int topPadding) { in setTopPadding() argument 426 mTopPadding = topPadding; in setTopPadding()
|
H A D | NotificationStackScrollLayout.java | 1321 private void setTopPadding(int topPadding, boolean animate) { 1322 if (mTopPadding != topPadding) { 1324 mTopPadding = topPadding; 1402 private float updateStackEndHeight(float height, float bottomMargin, float topPadding) { 1409 stackEndHeight = Math.max(0f, height - bottomMargin - topPadding); 2643 int topPadding = (int) qsHeight; 2645 if (topPadding + minStackHeight > getHeight()) { 2646 mTopPaddingOverflow = topPadding + minStackHeight - getHeight(); 2650 setTopPadding(topPadding, animate && !mKeyguardBypassEnabled);
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/ |
H A D | KeyguardPreviewRenderer.kt | 276 val topPadding: Int = 291 it.setPaddingRelative(startPadding, topPadding, endPadding, 0)
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | Notification.java | 9028 int topPadding = mBuilder.mContext.getResources().getDimensionPixelSize( in makeBigContentView() local 9066 contentView.setViewPadding(rowIds[i], 0, topPadding, 0, 0); in makeBigContentView() 9078 topPadding = mBuilder.mContext.getResources().getDimensionPixelSize( in makeBigContentView() 9080 contentView.setViewPadding(onlyViewId, 0, topPadding, 0, 0); in makeBigContentView()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | View.java | 5655 int topPadding = -1; 5730 topPadding = a.getDimensionPixelSize(attr, -1); 6253 topPadding = padding; 6266 topPadding = paddingVertical; 6307 topPadding >= 0 ? topPadding : mPaddingTop,
|