Home
last modified time | relevance | path

Searched refs:topPadding (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
DEditTextCursorAnchorInfoTest.java396 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 …]
DScrollViewScenario.java195 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/
DKeyguardPreviewSmartspaceViewBinder.kt74 val topPadding = in bind() constant
82 smartspace.setTopPadding(topPadding) in bind()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSContainerImpl.java193 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/
DAodPromotedNotificationSection.kt89 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/
DExpandableView.java860 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/
DQuickSettingsControllerImpl.java1396 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/
DStackScrollAlgorithmTest.kt1176 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/
DAmbientState.java531 public void setTopPadding(int topPadding) { in setTopPadding() argument
533 mTopPadding = topPadding; in setTopPadding()
DNotificationStackScrollLayout.java1589 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/
DMaximizeMenu.kt578 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/
DQuickSettingsScene.kt283 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/
DKeyguardPreviewRenderer.kt373 val topPadding: Int = in <lambda>() constant
385 it.setPaddingRelative(startPadding, topPadding, endPadding, 0) in <lambda>()
/frameworks/base/core/java/android/app/
DNotification.java10402 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/
DView.java6017 int topPadding = -1;
6090 topPadding = a.getDimensionPixelSize(attr, -1);
6609 topPadding = padding;
6622 topPadding = paddingVertical;
6663 topPadding >= 0 ? topPadding : mPaddingTop,