Home
last modified time | relevance | path

Searched refs:topRadius (Results 1 – 9 of 9) sorted by relevance

/aosp14/frameworks/base/core/java/com/android/internal/policy/
H A DScreenDecorationsUtils.java49 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 DRoundable.kt364 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 DExpandableOutlineView.java104 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 DActivatableNotificationView.java593 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 DExpandable.kt456 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 DRoundedCorners.java134 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 DNotificationStackScrollLayout.java5650 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 DNotificationStackScrollLayoutController.java1621 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 DQuickSettingsController.java1287 int topRadius = mSplitShadeEnabled in applyClippingImmediately() local
1290 nsslLeft, nsslTop, nsslRight, nsslBottom, topRadius, bottomRadius); in applyClippingImmediately()