/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/ |
D | PipSurfaceTransactionHelper.java | 40 public PipSurfaceTransactionHelper(int cornerRadius, int shadowRadius) { in PipSurfaceTransactionHelper() argument 41 mCornerRadius = cornerRadius; in PipSurfaceTransactionHelper() 54 final float cornerRadius = getScaledCornerRadius(sourceBounds, destinationBounds); in scale() local 57 .setCornerRadius(leash, cornerRadius) in scale() 60 mTmpFloat9, 0 /* rotation */, cornerRadius, mShadowRadius, sourceBounds); in scale() 72 final float cornerRadius = getScaledCornerRadius(sourceBounds, destinationBounds); in scale() local 75 .setCornerRadius(leash, cornerRadius) in scale() 78 mTmpFloat9, degree, cornerRadius, mShadowRadius, sourceBounds); in scale() 107 final float cornerRadius = getScaledCornerRadius(mTmpDestinationRect, destinationBounds); in scaleAndCrop() local 111 .setCornerRadius(leash, cornerRadius) in scaleAndCrop() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | DragResizeInputListener.java | 170 int cornerRadius = mCornerSize / 2; in setGeometry() local 172 mResizeHandleThickness - cornerRadius, in setGeometry() 173 mResizeHandleThickness - cornerRadius, in setGeometry() 174 mResizeHandleThickness + cornerRadius, in setGeometry() 175 mResizeHandleThickness + cornerRadius in setGeometry() 180 mWidth - mResizeHandleThickness - cornerRadius, in setGeometry() 181 mResizeHandleThickness - cornerRadius, in setGeometry() 182 mWidth - mResizeHandleThickness + cornerRadius, in setGeometry() 183 mResizeHandleThickness + cornerRadius in setGeometry() 188 mResizeHandleThickness - cornerRadius, in setGeometry() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | PathSpecCornerPathRenderer.java | 83 int cornerRadius; in getCornerPath() local 89 cornerRadius = mTopCornerRadius; in getCornerPath() 95 cornerRadius = mTopCornerRadius; in getCornerPath() 101 cornerRadius = mBottomCornerRadius; in getCornerPath() 108 cornerRadius = mBottomCornerRadius; in getCornerPath() 118 mMatrix.preScale(cornerRadius / mPathScale, cornerRadius / mPathScale); in getCornerPath()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerTypeAndRenderTypeTransaction_test.cpp | 190 const float cornerRadius = 20.0f; in TEST_P() local 194 Transaction().setCornerRadius(layer, cornerRadius).apply(); in TEST_P() 219 const float cornerRadius = 20.0f; in TEST_P() local 224 Transaction().setCornerRadius(child, cornerRadius).reparent(child, parent).show(child).apply(); in TEST_P() 247 const float cornerRadius = 20.0f; in TEST_P() local 254 .setCornerRadius(parent, cornerRadius) in TEST_P() 282 const float cornerRadius = 20.0f; in TEST_P() local 289 .setCornerRadius(parent, cornerRadius) in TEST_P() 299 shot->expectColor(Rect(0, size / 2, right, static_cast<int>(bottom - cornerRadius)), in TEST_P() 321 const float cornerRadius = 120.0f; in TEST_P() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/ |
D | IlluminationDrawable.kt | 51 var cornerRadius = 0f variable 83 cornerRadius, in draw() 84 cornerRadius, in draw() 90 outline.setRoundRect(bounds, cornerRadius) in getOutline() 111 cornerRadius = in updateStateFromTypedArray() 112 a.getDimension(R.styleable.IlluminationDrawable_cornerRadius, cornerRadius) in updateStateFromTypedArray() 226 fun setCornerRadiusOverride(cornerRadius: Float?) { in setCornerRadiusOverride() 227 cornerRadiusOverride = cornerRadius ?: -1f in setCornerRadiusOverride()
|
/frameworks/base/core/java/android/view/ |
D | SyncRtSurfaceTransactionApplier.java | 120 t.setCornerRadius(params.surface, params.cornerRadius); in applyParams() 169 float cornerRadius; field in SyncRtSurfaceTransactionApplier.SurfaceParams.Builder 229 this.cornerRadius = radius; in withCornerRadius() 270 cornerRadius, backgroundBlurRadius, visible, mergeTransaction); in build() 275 Rect windowCrop, int layer, float cornerRadius, in SurfaceParams() argument 283 this.cornerRadius = cornerRadius; in SurfaceParams() 298 public final float cornerRadius; field in SyncRtSurfaceTransactionApplier.SurfaceParams
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | MediaContainerView.kt | 33 var cornerRadius = 0f variable 49 cornerRadius = context.resources in updateResources() 68 clipPath.addRoundRect(clipRect, cornerRadius, cornerRadius, Path.Direction.CW) in onDraw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | CornerDrawable.kt | 30 class CornerDrawable(val wrapped: Drawable, val cornerRadius: Float) : DrawableWrapper(wrapped) { constant in com.android.systemui.controls.ui.CornerDrawable 55 path.addRoundRect(r, cornerRadius, cornerRadius, Path.Direction.CW) in updatePath()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/ |
D | MediaProjectionTaskView.kt | 61 private val cornerRadius = constant 100 cornerRadius.toFloat(), in onDraw() 101 cornerRadius.toFloat(), in onDraw() 116 cornerRadius.toFloat(), in onDraw() 117 cornerRadius.toFloat(), in onDraw()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
D | DefaultTransitionHandler.java | 420 final float cornerRadius; in startAnimation() local 425 cornerRadius = displayContext == null ? 0 in startAnimation() 428 cornerRadius = 0; in startAnimation() 460 change.getEndRelOffset(), cornerRadius, clipRect)); in startAnimation() 464 change.getEndRelOffset(), cornerRadius, clipRect); in startAnimation() 469 cornerRadius); in startAnimation() 626 @Nullable Point position, float cornerRadius, @Nullable Rect clipRect) { in startSurfaceAnimation() argument 638 position, cornerRadius, clipRect); in startSurfaceAnimation() 644 position, cornerRadius, clipRect); in startSurfaceAnimation() 685 TransitionInfo.AnimationOptions options, float cornerRadius) { in attachThumbnail() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/fsi/ |
D | FsiChromeViewBinder.kt | 40 var cornerRadius: Int = context.resources.getDimensionPixelSize( in <lambda>() variable in com.android.systemui.statusbar.notification.fsi.FsiChromeViewBinder 88 vm.taskView.cornerRadius = cornerRadius.toFloat() in <lambda>()
|
D | FsiChromeView.kt | 38 private val cornerRadius: Float = constant 77 cornerRadius in onFinishInflate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | NumPadAnimatorTest.kt | 51 verify(background).cornerRadius = 50f in testOnLayout() 54 verify(background, never()).cornerRadius = anyFloat() in testOnLayout()
|
/frameworks/native/libs/renderengine/skia/ |
D | SkiaGLRenderEngine.cpp | 1279 const SkRect& insetCrop, const vec2& cornerRadius, in intersectionIsRoundRect() argument 1291 const bool requiredWidth = bounds.width() > (cornerRadius.x * 2); in intersectionIsRoundRect() 1292 const bool requiredHeight = bounds.height() > (cornerRadius.y * 2); in intersectionIsRoundRect() 1301 radii[0].set(cornerRadius.x, cornerRadius.y); in intersectionIsRoundRect() 1310 radii[1].set(cornerRadius.x, cornerRadius.y); in intersectionIsRoundRect() 1319 radii[2].set(cornerRadius.x, cornerRadius.y); in intersectionIsRoundRect() 1328 radii[3].set(cornerRadius.x, cornerRadius.y); in intersectionIsRoundRect() 1341 const vec2& cornerRadius) { in getBoundsAndClip() argument 1346 if (cornerRadius.x > 0 && cornerRadius.y > 0) { in getBoundsAndClip() 1349 return {SkRRect::MakeRectXY(bounds, cornerRadius.x, cornerRadius.y), clip}; in getBoundsAndClip() [all …]
|
/frameworks/base/core/java/android/window/ |
D | PictureInPictureSurfaceTransaction.java | 69 @Nullable float[] float9, float rotation, float cornerRadius, float shadowRadius, in PictureInPictureSurfaceTransaction() argument 81 mCornerRadius = cornerRadius; in PictureInPictureSurfaceTransaction() 235 public Builder setCornerRadius(float cornerRadius) { in setCornerRadius() argument 236 mCornerRadius = cornerRadius; in setCornerRadius()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthPanelController.java | 135 final float cornerRadius = mUseFullScreen ? 0 : mContext.getResources() in updateForContentDimensions() local 146 ValueAnimator cornerAnimator = ValueAnimator.ofFloat(mCornerRadius, cornerRadius); in updateForContentDimensions() 173 mCornerRadius = cornerRadius; in updateForContentDimensions()
|
/frameworks/base/core/java/com/android/internal/graphics/drawable/ |
D | BackgroundBlurDrawable.java | 155 public void setCornerRadius(float cornerRadius) { in setCornerRadius() argument 156 setCornerRadius(cornerRadius, cornerRadius, cornerRadius, cornerRadius); in setCornerRadius()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | IPipAnimationListener.aidl | 35 void onPipResourceDimensionsChanged(int cornerRadius, int shadowRadius); in onPipResourceDimensionsChanged() argument
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/ |
D | Expandable.kt | 461 val cornerRadius = CornerRadius(topRadius) in drawBackground() constant 464 drawRoundRect(color, cornerRadius = cornerRadius) in drawBackground() 477 cornerRadius = cornerRadius.shrink(halfStroke), in drawBackground()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/people/ui/compose/ |
D | PeopleScreen.kt | 208 val cornerRadius = dimensionResource(R.dimen.people_space_widget_radius) in Tile() constant 209 val topCornerRadius = if (withTopCornerRadius) cornerRadius else 0.dp in Tile() 210 val bottomCornerRadius = if (withBottomCornerRadius) cornerRadius else 0.dp in Tile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/ |
D | KeyboardBacklightDialog.kt | 44 val cornerRadius: Float, in <lambda>() constant in RootProperties 98 cornerRadius = in <lambda>() 174 /* outerRadii= */ FloatArray(8) { rootProperties.cornerRadius }, in <lambda>()
|
/frameworks/av/media/libstagefright/renderfright/include/renderengine/private/ |
D | Description.h | 54 float cornerRadius = 0; member
|
/frameworks/native/libs/renderengine/include/renderengine/private/ |
D | Description.h | 55 float cornerRadius = 0; member
|
/frameworks/base/core/java/android/widget/ |
D | Magnifier.java | 991 final float zoom, final int ramp, final float elevation, final float cornerRadius, in InternalPopupWindow() argument 1039 cornerRadius in InternalPopupWindow() 1043 cornerRadius in InternalPopupWindow() 1151 final float elevation, final float cornerRadius) { in createRenderNodeForBitmap() argument 1161 outline.setRoundRect(0, 0, mContentWidth, mContentHeight, cornerRadius); in createRenderNodeForBitmap() 1178 private RenderNode createRenderNodeForOverlay(final String name, final float cornerRadius) { in createRenderNodeForOverlay() argument 1187 outline.setRoundRect(0, 0, mContentWidth, mContentHeight, cornerRadius); in createRenderNodeForOverlay() 1502 public Builder setCornerRadius(@Px @FloatRange(from = 0) float cornerRadius) { in setCornerRadius() 1503 Preconditions.checkArgumentNonNegative(cornerRadius, in setCornerRadius() 1505 mCornerRadius = cornerRadius; in setCornerRadius()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SubtitleView.java | 311 final float cornerRadius = mCornerRadius; in onDraw() local 324 c.drawRoundRect(bounds, cornerRadius, cornerRadius, paint); in onDraw()
|