Home
last modified time | relevance | path

Searched refs:cornerRadius (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/
DPipSurfaceTransactionHelper.java40 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/packages/SystemUI/src/com/android/systemui/assist/ui/
DPathSpecCornerPathRenderer.java83 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/
DLayerTypeAndRenderTypeTransaction_test.cpp190 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/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragResizeInputListener.java228 int cornerRadius = mCornerSize / 2; in setGeometry() local
230 -cornerRadius, in setGeometry()
231 -cornerRadius, in setGeometry()
232 cornerRadius, in setGeometry()
233 cornerRadius); in setGeometry()
237 mTaskWidth - cornerRadius, in setGeometry()
238 -cornerRadius, in setGeometry()
239 mTaskWidth + cornerRadius, in setGeometry()
240 cornerRadius); in setGeometry()
244 -cornerRadius, in setGeometry()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
DIlluminationDrawable.kt51 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/
DSyncRtSurfaceTransactionApplier.java120 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/
DMediaContainerView.kt34 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/
DCornerDrawable.kt30 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/
DMediaProjectionTaskView.kt61 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/common/bubbles/
DBubblePopupDrawable.kt52 val cornerRadius: Float, in <lambda>() constant in com.android.wm.shell.common.bubbles.BubblePopupDrawable.Config
166 path.addRoundRect(contentRect, config.cornerRadius, config.cornerRadius, Path.Direction.CW) in <lambda>()
174 translationX = translationX.coerceIn(config.cornerRadius, in <lambda>()
175 bounds.width() - config.cornerRadius - config.arrowWidth) in <lambda>()
/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.cpp112 const SkRect& insetCrop, const android::vec2& cornerRadius, in intersectionIsRoundRect() argument
124 const bool requiredWidth = bounds.width() > (cornerRadius.x * 2); in intersectionIsRoundRect()
125 const bool requiredHeight = bounds.height() > (cornerRadius.y * 2); in intersectionIsRoundRect()
134 radii[0].set(cornerRadius.x, cornerRadius.y); in intersectionIsRoundRect()
143 radii[1].set(cornerRadius.x, cornerRadius.y); in intersectionIsRoundRect()
152 radii[2].set(cornerRadius.x, cornerRadius.y); in intersectionIsRoundRect()
161 radii[3].set(cornerRadius.x, cornerRadius.y); in intersectionIsRoundRect()
174 const android::vec2& cornerRadius) { in getBoundsAndClip() argument
179 if (cornerRadius.x > 0 && cornerRadius.y > 0) { in getBoundsAndClip()
182 return {SkRRect::MakeRectXY(bounds, cornerRadius.x, cornerRadius.y), clip}; in getBoundsAndClip()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DDefaultTransitionHandler.java475 final float cornerRadius; in startAnimation() local
480 cornerRadius = displayContext == null ? 0 in startAnimation()
483 cornerRadius = 0; in startAnimation()
507 mTransactionPool, mMainExecutor, change.getEndRelOffset(), cornerRadius, in startAnimation()
512 cornerRadius); in startAnimation()
739 @NonNull ShellExecutor mainExecutor, @Nullable Point position, float cornerRadius, in buildSurfaceAnimation() argument
752 position, cornerRadius, clipRect); in buildSurfaceAnimation()
758 position, cornerRadius, clipRect); in buildSurfaceAnimation()
798 TransitionInfo.AnimationOptions options, float cornerRadius) { in attachThumbnail() argument
804 cornerRadius); in attachThumbnail()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DNumPadAnimatorTest.kt51 verify(background).cornerRadius = 50f in testOnLayout()
54 verify(background, never()).cornerRadius = anyFloat() in testOnLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusOverlayHoverListener.kt110 private var cornerRadius = 0f variable
140 setCornerRadius(cornerRadius) in onHover()
153 cornerRadius = resources.getDimension(R.dimen.status_icons_hover_state_background_radius) in updateResources()
/frameworks/base/core/java/android/window/
DPictureInPictureSurfaceTransaction.java69 @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/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/appcompat/
DLetterboxRule.kt46 val cornerRadius: Int? in <lambda>() constant in com.android.wm.shell.flicker.appcompat.LetterboxRule
51 val radius = cornerRadius in <lambda>()
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DBackgroundBlurDrawable.java155 public void setCornerRadius(float cornerRadius) { in setCornerRadius() argument
156 setCornerRadius(cornerRadius, cornerRadius, cornerRadius, cornerRadius); in setCornerRadius()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthPanelController.java161 final float cornerRadius = mUseFullScreen ? 0 : mContext.getResources() in updateForContentDimensions() local
172 ValueAnimator cornerAnimator = ValueAnimator.ofFloat(mCornerRadius, cornerRadius); in updateForContentDimensions()
199 mCornerRadius = cornerRadius; in updateForContentDimensions()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DIPipAnimationListener.aidl35 void onPipResourceDimensionsChanged(int cornerRadius, int shadowRadius); in onPipResourceDimensionsChanged() argument
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/people/ui/compose/
DPeopleScreen.kt194 val cornerRadius = dimensionResource(R.dimen.people_space_widget_radius) in Tile() constant
195 val topCornerRadius = if (withTopCornerRadius) cornerRadius else 0.dp in Tile()
196 val bottomCornerRadius = if (withBottomCornerRadius) cornerRadius else 0.dp in Tile()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/
DExpandable.kt460 val cornerRadius = CornerRadius(topRadius) in drawBackground() constant
463 drawRoundRect(color, cornerRadius = cornerRadius) in drawBackground()
476 cornerRadius = cornerRadius.shrink(halfStroke), in drawBackground()
/frameworks/av/media/libstagefright/renderfright/include/renderengine/private/
DDescription.h54 float cornerRadius = 0; member
/frameworks/native/libs/renderengine/include/renderengine/private/
DDescription.h55 float cornerRadius = 0; member
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/
DKeyboardBacklightDialog.kt50 val cornerRadius: Float, in <lambda>() constant in RootProperties
116 cornerRadius = in <lambda>()
208 /* outerRadii= */ FloatArray(8) { rootProperties.cornerRadius }, in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblePopupViewExt.kt39 cornerRadius = attrs.getDimension(1, 0f), in BubblePopupView()

123