Home
last modified time | relevance | path

Searched refs:bottomRadius (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/com/android/internal/policy/
DScreenDecorationsUtils.java57 float bottomRadius = RoundedCorners.getRoundedCornerBottomRadius(resources, displayUniqueId) in getWindowCornerRadius() local
59 if (bottomRadius == 0f) { in getWindowCornerRadius()
60 bottomRadius = defaultRadius; in getWindowCornerRadius()
67 bottomRadius = bottomRadius * scale; in getWindowCornerRadius()
72 return Math.min(topRadius, bottomRadius); in getWindowCornerRadius()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DRoundable.kt343 val bottomRadius = bottomRoundness * maxRadius constant
347 } else if (topRadius + bottomRadius > height) {
349 val overShoot = topRadius + bottomRadius - height
360 val bottomRadius = bottomRoundness * maxRadius constant
364 } else if (topRadius + bottomRadius > height) {
366 val overShoot = topRadius + bottomRadius - height
367 return bottomRadius -
371 return bottomRadius
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableOutlineView.java125 float bottomRadius = mAlwaysRoundBothCorners ? getMaxRadius() : getBottomCornerRadius(); in getClipPath() local
126 if (!NotificationsImprovedHunAnimation.isEnabled() && (topRadius + bottomRadius > height)) { in getClipPath()
127 float overShoot = topRadius + bottomRadius - height; in getClipPath()
132 bottomRadius -= overShoot * currentBottomRoundness in getClipPath()
135 getRoundedRectPath(left, top, right, bottom, topRadius, bottomRadius, mTmpPath); in getClipPath()
DActivatableNotificationView.java668 private void applyBackgroundRoundness(float topRadius, float bottomRadius) { in applyBackgroundRoundness() argument
669 mBackgroundNormal.setRadius(topRadius, bottomRadius); in applyBackgroundRoundness()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/shared/model/
DShadeScrimShape.kt25 val bottomRadius: Int, constant in com.android.systemui.statusbar.notification.stack.shared.model.ShadeScrimShape
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/
DExpandable.kt457 val bottomRadius = animatorState.bottomCornerRadius in drawBackground() constant
458 if (topRadius == bottomRadius) { in drawBackground()
485 bottomStart = bottomRadius, in drawBackground()
486 bottomEnd = bottomRadius, in drawBackground()
/frameworks/base/core/java/android/view/
DRoundedCorners.java135 int bottomRadius = radii.second > 0 ? radii.second : 0; in fromRadii() local
138 bottomRadius = (int) (bottomRadius * physicalPixelDisplaySizeRatio + 0.5); in fromRadii()
143 i <= POSITION_TOP_RIGHT ? topRadius : bottomRadius, in fromRadii()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/
DNotificationStackAppearanceIntegrationTest.kt81 bottomRadius = 0 in <lambda>()
96 bottomRadius = 0 in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/
DNotifications.kt464 val bottomRadius = if (isBottomRounded) radius else 0.dp in toRoundedCornerShape() constant
468 bottomStart = bottomRadius, in toRoundedCornerShape()
469 bottomEnd = bottomRadius, in toRoundedCornerShape()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DNotificationScrollViewModel.kt132 bottomRadius = radius.takeIf { clipping.rounding.isBottomRounded } ?: 0 in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQuickSettingsControllerImpl.java1245 float bottomRadius = mSplitShadeEnabled ? screenCornerRadius : 0; in applyClippingImmediately() local
1247 bottomRadius = calculateBottomCornerRadius(bottomRadius); in applyClippingImmediately()
1249 mScrimController.setNotificationBottomRadius(bottomRadius); in applyClippingImmediately()
1305 int bottomRadius = mSplitShadeEnabled ? radius : 0; in applyClippingImmediately() local
1310 nsslLeft, nsslTop, nsslRight, nsslBottom, topRadius, bottomRadius); in applyClippingImmediately()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java5756 int bottomRadius) { in setRoundedClippingBounds() argument
5760 && mBgCornerRadii[0] == topRadius && mBgCornerRadii[5] == bottomRadius) { in setRoundedClippingBounds()
5771 mBgCornerRadii[4] = bottomRadius; in setRoundedClippingBounds()
5772 mBgCornerRadii[5] = bottomRadius; in setRoundedClippingBounds()
5773 mBgCornerRadii[6] = bottomRadius; in setRoundedClippingBounds()
5774 mBgCornerRadii[7] = bottomRadius; in setRoundedClippingBounds()
5890 float bottomRadius = mLaunchAnimationParams.getBottomCornerRadius();
5895 mLaunchedNotificationRadii[4] = bottomRadius;
5896 mLaunchedNotificationRadii[5] = bottomRadius;
5897 mLaunchedNotificationRadii[6] = bottomRadius;
[all …]
DNotificationStackScrollLayoutController.java1757 int bottomRadius) {
1759 mView.setRoundedClippingBounds(left, top, right, bottom, topRadius, bottomRadius);