/aosp14/frameworks/base/core/java/com/android/internal/policy/ |
H A D | ScreenDecorationsUtils.java | 49 float topRadius = RoundedCorners.getRoundedCornerTopRadius(resources, displayUniqueId) in getWindowCornerRadius() local 51 if (topRadius == 0f) { in getWindowCornerRadius() 52 topRadius = defaultRadius; in getWindowCornerRadius() 62 return Math.min(topRadius, bottomRadius); in getWindowCornerRadius()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | Roundable.kt | 364 val topRadius = topRoundness * maxRadius regex 369 } else if (topRadius + bottomRadius > height) { 371 val overShoot = topRadius + bottomRadius - height 372 return topRadius - (overShoot * topRoundness / (topRoundness + bottomRoundness)) 375 return topRadius 381 val topRadius = topRoundness * maxRadius regex 386 } else if (topRadius + bottomRadius > height) { 388 val overShoot = topRadius + bottomRadius - height
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | ExpandableOutlineView.java | 104 float topRadius = mAlwaysRoundBothCorners ? getMaxRadius() : getTopCornerRadius(); in getClipPath() local 117 Math.max(getActualHeight() - mClipBottomAmount, (int) (top + topRadius))); in getClipPath() 129 if (!mImprovedHunAnimation.isEnabled() && (topRadius + bottomRadius > height)) { in getClipPath() 130 float overShoot = topRadius + bottomRadius - height; in getClipPath() 133 topRadius -= overShoot * currentTopRoundness in getClipPath() 138 getRoundedRectPath(left, top, right, bottom, topRadius, bottomRadius, mTmpPath); in getClipPath()
|
H A D | ActivatableNotificationView.java | 593 private void applyBackgroundRoundness(float topRadius, float bottomRadius) { in applyBackgroundRoundness() argument 594 mBackgroundNormal.setRadius(topRadius, bottomRadius); in applyBackgroundRoundness()
|
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/ |
H A D | Expandable.kt | 456 val topRadius = animatorState.topCornerRadius regex 458 if (topRadius == bottomRadius) { 460 val cornerRadius = CornerRadius(topRadius) 483 topStart = topRadius, 484 topEnd = topRadius,
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | RoundedCorners.java | 134 int topRadius = radii.first > 0 ? radii.first : 0; in fromRadii() local 137 topRadius = (int) (topRadius * physicalPixelDisplaySizeRatio + 0.5); in fromRadii() 143 i <= POSITION_TOP_RIGHT ? topRadius : bottomRadius, in fromRadii()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
H A D | NotificationStackScrollLayout.java | 5650 public void setRoundedClippingBounds(int left, int top, int right, int bottom, int topRadius, in setRoundedClippingBounds() argument 5654 && mBgCornerRadii[0] == topRadius && mBgCornerRadii[5] == bottomRadius) { in setRoundedClippingBounds() 5661 mBgCornerRadii[0] = topRadius; in setRoundedClippingBounds() 5662 mBgCornerRadii[1] = topRadius; in setRoundedClippingBounds() 5663 mBgCornerRadii[2] = topRadius; in setRoundedClippingBounds() 5664 mBgCornerRadii[3] = topRadius; in setRoundedClippingBounds() 5759 float topRadius = mLaunchAnimationParams.getTopCornerRadius(); 5761 mLaunchedNotificationRadii[0] = topRadius; 5762 mLaunchedNotificationRadii[1] = topRadius; 5763 mLaunchedNotificationRadii[2] = topRadius; [all …]
|
H A D | NotificationStackScrollLayoutController.java | 1621 public void setRoundedClippingBounds(int left, int top, int right, int bottom, int topRadius, 1623 mView.setRoundedClippingBounds(left, top, right, bottom, topRadius, bottomRadius);
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
H A D | QuickSettingsController.java | 1287 int topRadius = mSplitShadeEnabled in applyClippingImmediately() local 1290 nsslLeft, nsslTop, nsslRight, nsslBottom, topRadius, bottomRadius); in applyClippingImmediately()
|