Home
last modified time | relevance | path

Searched refs:topPadding (Results 1 – 14 of 14) 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.kt44 val topPadding = in bind() constant
57 smartspace.setTopPadding(topPadding) in bind()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSContainerImpl.java194 int topPadding = QSUtils.getQsHeaderSystemIconsAreaHeight(mContext); in updateResources() local
196 topPadding = in updateResources()
206 mSceneContainerEnabled ? 0 : topPadding, in updateResources()
212 mSceneContainerEnabled ? 0 : topPadding, in updateResources()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableView.java748 int topPadding = 0; in getRelativeTopPadding() local
750 topPadding += view.getTop(); in getRelativeTopPadding()
753 return topPadding; in getRelativeTopPadding()
756 return topPadding; in getRelativeTopPadding()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQuickSettingsControllerImpl.java1388 float topPadding; in calculateNotificationsTopPadding() local
1405 topPadding = (int) MathUtils.lerp((float) getMinExpansionHeight(), in calculateNotificationsTopPadding()
1407 return topPadding; in calculateNotificationsTopPadding()
1409 topPadding = Math.max((int) mSizeChangeAnimator.getAnimatedValue(), in calculateNotificationsTopPadding()
1411 return topPadding; in calculateNotificationsTopPadding()
1415 topPadding = MathUtils.lerp((float) keyguardNotificationStaticPadding, in calculateNotificationsTopPadding()
1417 return topPadding; in calculateNotificationsTopPadding()
1419 topPadding = Math.max(mQsFrameTranslateController.getNotificationsTopPadding( in calculateNotificationsTopPadding()
1422 return topPadding; in calculateNotificationsTopPadding()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithmTest.kt884 ambientState.topPadding + ambientState.stackTranslation in <lambda>()
905 ambientState.stackTranslation = (-ambientState.topPadding).toFloat() in <lambda>()
933 ambientState.stackTranslation = (-ambientState.topPadding).toFloat() in <lambda>()
1176 height = (ambientState.topPadding + ambientState.stackTranslation).toInt() in <lambda>()
1178 yTranslation = ambientState.topPadding + ambientState.stackTranslation in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DAmbientState.java441 public void setTopPadding(int topPadding) { in setTopPadding() argument
442 mTopPadding = topPadding; in setTopPadding()
DNotificationStackScrollLayout.java1369 private void setTopPadding(int topPadding, boolean animate) {
1370 if (getTopPadding() != topPadding) {
1371 mAmbientState.setTopPadding(topPadding);
1460 private float updateStackEndHeight(float height, float bottomMargin, float topPadding) {
1467 stackEndHeight = Math.max(0f, height - bottomMargin - topPadding);
2653 int topPadding = (int) qsHeight; in updateTopPadding() local
2655 if (topPadding + minStackHeight > getHeight()) { in updateTopPadding()
2656 mTopPaddingOverflow = topPadding + minStackHeight - getHeight(); in updateTopPadding()
2660 setTopPadding(topPadding, animate && !mKeyguardBypassEnabled); in updateTopPadding()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/ui/composable/
DQuickSettingsScene.kt254 val topPadding by in QuickSettingsScene() constant
288 top = topPadding.coerceAtLeast(0.dp), in QuickSettingsScene()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DMaximizeMenu.kt352 val topPadding = menuPadding - in animateOpenMenu() constant
354 rootView.setPadding(menuPadding, topPadding, in animateOpenMenu()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
DKeyguardPreviewRenderer.kt333 val topPadding: Int = in <lambda>() constant
342 it.setPaddingRelative(startPadding, topPadding, endPadding, 0) in <lambda>()
/frameworks/base/core/java/android/app/
DNotification.java9945 int topPadding = mBuilder.mContext.getResources().getDimensionPixelSize( in makeBigContentView() local
9984 contentView.setViewPadding(rowIds[i], 0, topPadding, 0, 0); in makeBigContentView()
9996 topPadding = mBuilder.mContext.getResources().getDimensionPixelSize( in makeBigContentView()
9998 contentView.setViewPadding(onlyViewId, 0, topPadding, 0, 0); in makeBigContentView()
/frameworks/base/core/java/android/view/
DView.java5969 int topPadding = -1;
6042 topPadding = a.getDimensionPixelSize(attr, -1);
6554 topPadding = padding;
6567 topPadding = paddingVertical;
6608 topPadding >= 0 ? topPadding : mPaddingTop,