/frameworks/base/core/tests/coretests/src/android/widget/ |
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 416 setupEditText(/* height= */ 5 * LINE_HEIGHT, /* scrollY= */ 0, topPadding, bottomPadding); in testVisibleLineBounds_withPaddings_cutBottomLines() 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 [all …]
|
D | ScrollViewScenario.java | 195 public Params addPaddingToScrollView(int topPadding, int bottomPadding) { in addPaddingToScrollView() argument 196 mTopPadding = topPadding; in addPaddingToScrollView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardPreviewSmartspaceViewBinder.kt | 74 val topPadding = in bind() constant 82 smartspace.setTopPadding(topPadding) in bind()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSContainerImpl.java | 193 int topPadding = QSUtils.getQsHeaderSystemIconsAreaHeight(mContext); in updateResources() local 195 topPadding = LargeScreenHeaderHelper.getLargeScreenHeaderHeight(mContext); in updateResources() 200 mSceneContainerEnabled ? 0 : topPadding, in updateResources() 206 mSceneContainerEnabled ? 0 : topPadding, in updateResources()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/ |
D | AodPromotedNotificationSection.kt | 89 val topPadding = in applyConstraints() constant 107 connect(viewId, TOP, R.id.smart_space_barrier_bottom, BOTTOM, topPadding) in applyConstraints()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableView.java | 860 int topPadding = 0; in getRelativeTopPadding() local 862 topPadding += view.getTop(); in getRelativeTopPadding() 865 return topPadding; in getRelativeTopPadding() 868 return topPadding; in getRelativeTopPadding()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | QuickSettingsControllerImpl.java | 1396 float topPadding; in calculateNotificationsTopPadding() local 1413 topPadding = (int) MathUtils.lerp((float) getMinExpansionHeight(), in calculateNotificationsTopPadding() 1415 return topPadding; in calculateNotificationsTopPadding() 1417 topPadding = Math.max((int) mSizeChangeAnimator.getAnimatedValue(), in calculateNotificationsTopPadding() 1419 return topPadding; in calculateNotificationsTopPadding() 1423 topPadding = MathUtils.lerp((float) keyguardNotificationStaticPadding, in calculateNotificationsTopPadding() 1425 return topPadding; in calculateNotificationsTopPadding() 1427 topPadding = Math.max(mQsFrameTranslateController.getNotificationsTopPadding( in calculateNotificationsTopPadding() 1430 return topPadding; in calculateNotificationsTopPadding()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/ |
D | StackScrollAlgorithmTest.kt | 1176 ambientState.topPadding + ambientState.stackTranslation in <lambda>() 1198 ambientState.stackTranslation = (-ambientState.topPadding).toFloat() in <lambda>() 1228 ambientState.stackTranslation = (-ambientState.topPadding).toFloat() in <lambda>() 1471 height = (ambientState.topPadding + ambientState.stackTranslation).toInt() in <lambda>() 1473 yTranslation = ambientState.topPadding + ambientState.stackTranslation in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | AmbientState.java | 531 public void setTopPadding(int topPadding) { in setTopPadding() argument 533 mTopPadding = topPadding; in setTopPadding()
|
D | NotificationStackScrollLayout.java | 1589 private float updateStackEndHeight(float height, float bottomMargin, float topPadding) { 1597 stackEndHeight = Math.max(0f, height - bottomMargin - topPadding); 2822 int topPadding = (int) qsHeight; in updateTopPadding() local 2824 if (topPadding + minStackHeight > getHeight()) { in updateTopPadding() 2825 mTopPaddingOverflow = topPadding + minStackHeight - getHeight(); in updateTopPadding() 2829 if (mAmbientState.getTopPadding() != topPadding) { in updateTopPadding() 2830 mAmbientState.setTopPadding(topPadding); in updateTopPadding()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | MaximizeMenu.kt | 578 val topPadding = menuPadding - in animateOpenMenu() constant 580 container.setPadding(menuPadding, topPadding, in animateOpenMenu() 662 val topPadding = menuPadding - in animateCloseMenu() constant 664 container.setPadding(menuPadding, topPadding, in animateCloseMenu()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/ui/composable/ |
D | QuickSettingsScene.kt | 283 val topPadding by in ContentScope() constant 315 top = topPadding.coerceAtLeast(0.dp), in ContentScope()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/ |
D | KeyguardPreviewRenderer.kt | 373 val topPadding: Int = in <lambda>() constant 385 it.setPaddingRelative(startPadding, topPadding, endPadding, 0) in <lambda>()
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 10402 int topPadding = mBuilder.mContext.getResources().getDimensionPixelSize( in makeExpandedContentView() local 10441 contentView.setViewPadding(rowIds[i], 0, topPadding, 0, 0); in makeExpandedContentView() 10453 topPadding = mBuilder.mContext.getResources().getDimensionPixelSize( in makeExpandedContentView() 10455 contentView.setViewPadding(onlyViewId, 0, topPadding, 0, 0); in makeExpandedContentView()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 6017 int topPadding = -1; 6090 topPadding = a.getDimensionPixelSize(attr, -1); 6609 topPadding = padding; 6622 topPadding = paddingVertical; 6663 topPadding >= 0 ? topPadding : mPaddingTop,
|