Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/policy/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableOutlineView.java90 float topRadius = mAlwaysRoundBothCorners ? getMaxRadius() : getTopCornerRadius(); in getClipPath() local
103 Math.max(getActualHeight() - mClipBottomAmount, (int) (top + topRadius))); in getClipPath()
115 if (topRadius + bottomRadius > height) { in getClipPath()
116 float overShoot = topRadius + bottomRadius - height; in getClipPath()
119 topRadius -= overShoot * currentTopRoundness in getClipPath()
124 getRoundedRectPath(left, top, right, bottom, topRadius, bottomRadius, mTmpPath); in getClipPath()
DActivatableNotificationView.java653 private void applyBackgroundRoundness(float topRadius, float bottomRadius) { in applyBackgroundRoundness() argument
654 mBackgroundNormal.setRadius(topRadius, bottomRadius); in applyBackgroundRoundness()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/
DExpandable.kt457 val topRadius = animatorState.topCornerRadius in drawBackground() constant
459 if (topRadius == bottomRadius) { in drawBackground()
461 val cornerRadius = CornerRadius(topRadius) in drawBackground()
484 topStart = topRadius, in drawBackground()
485 topEnd = topRadius, in drawBackground()
/frameworks/base/core/java/android/view/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java5771 public void setRoundedClippingBounds(int left, int top, int right, int bottom, int topRadius, in setRoundedClippingBounds() argument
5775 && mBgCornerRadii[0] == topRadius && mBgCornerRadii[5] == bottomRadius) { in setRoundedClippingBounds()
5782 mBgCornerRadii[0] = topRadius; in setRoundedClippingBounds()
5783 mBgCornerRadii[1] = topRadius; in setRoundedClippingBounds()
5784 mBgCornerRadii[2] = topRadius; in setRoundedClippingBounds()
5785 mBgCornerRadii[3] = topRadius; in setRoundedClippingBounds()
5880 float topRadius = mLaunchAnimationParams.getTopCornerRadius();
5882 mLaunchedNotificationRadii[0] = topRadius;
5883 mLaunchedNotificationRadii[1] = topRadius;
5884 mLaunchedNotificationRadii[2] = topRadius;
[all …]
DNotificationStackScrollLayoutController.java1571 public void setRoundedClippingBounds(int left, int top, int right, int bottom, int topRadius,
1573 mView.setRoundedClippingBounds(left, top, right, bottom, topRadius, bottomRadius);
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQuickSettingsController.java1191 int topRadius = mSplitShadeEnabled in applyClippingImmediately() local
1194 nsslLeft, nsslTop, nsslRight, nsslBottom, topRadius, bottomRadius); in applyClippingImmediately()