Home
last modified time | relevance | path

Searched refs:setRoundRect (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/
DOutline.java175 setRoundRect(left, top, right, bottom, 0.0f); in setRect()
190 public void setRoundRect(int left, int top, int right, int bottom, float radius) { in setRoundRect() method in Outline
208 public void setRoundRect(@NonNull Rect rect, float radius) { in setRoundRect() method in Outline
209 setRoundRect(rect.left, rect.top, rect.right, rect.bottom, radius); in setRoundRect()
251 setRoundRect(left, top, right, bottom, (bottom - top) / 2.0f); in setOval()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DOutlinePerfTest.java48 outline.setRoundRect(50, 50, 150, 150, 5); in testSetRoundRect()
DRenderNodePerfTest.java95 a.setRoundRect(0, 0, 100, 100, 10); in testSetOutline()
/frameworks/base/libs/hwui/tests/common/scenes/
DShadowShaderAnimation.cpp66 props.mutableOutline().setRoundRect(0, 0, width, height, 0, in createCard()
DShadowGrid2Animation.cpp60 props.mutableOutline().setRoundRect(0, 0, width, height, in createCard()
DShadowGridAnimation.cpp60 props.mutableOutline().setRoundRect(0, 0, width, height, in createCard()
DRoundRectClippingAnimation.cpp44 props.mutableOutline().setRoundRect(0, 0, props.getWidth(), in createContent()
DRecentsAnimation.cpp79 props.mutableOutline().setRoundRect(0, 0, width, height, dp(10), 1); in createCard()
DMagnifierAnimation.cpp90 props.mutableOutline().setRoundRect(0, 0, props.getWidth(), props.getHeight(), in createContent()
DTvApp.cpp161 props.mutableOutline().setRoundRect(0, 0, width, height, roundedCornerRadius(), 1); in createCard()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DClipOutlineActivity.java77 outline.setRoundRect(mRect, w / 2); in RegionView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/widgets/
DCommunalAppWidgetHostView.kt65 outline.setRoundRect(enforcedRectangle, enforcedCornerRadius) in getOutline()
/frameworks/base/libs/hwui/
DOutline.h33 void setRoundRect(int left, int top, int right, int bottom, float radius, float alpha) { in setRoundRect() function
/frameworks/base/libs/hwui/tests/unit/
DSkiaRenderPropertiesTests.cpp103 properties.mutableOutline().setRoundRect(10, 20, 30, 40, 5.0f, 0.5f); in TEST()
DRenderNodeDrawableTests.cpp328 properties.mutableOutline().setRoundRect(10, 10, 90, 90, 5, 1.0f); in RENDERTHREAD_TEST()
513 properties.mutableOutline().setRoundRect(10, 10, 390, 390, 0, 1.0f); in RENDERTHREAD_TEST()
1159 props.mutableOutline().setRoundRect(0, 0, 20, 20, 5, 1); in TEST()
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DRoundRectShape.java104 outline.setRoundRect((int) Math.ceil(rect.left), (int) Math.ceil(rect.top), in getOutline()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DBiometricViewSizeBinder.kt119 outline.setRoundRect( in <lambda>()
128 outline.setRoundRect( in <lambda>()
138 outline.setRoundRect( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/drawable/
DIlluminationDrawable.kt90 outline.setRoundRect(bounds, cornerRadius) in getOutline()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthPanelController.java74 outline.setRoundRect(left, top, right, bottom, mCornerRadius); in getOutline()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/
DGlassView.kt177 outline?.setRoundRect(Rect(0, 0, width, height), 100f) in getOutline()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarExpandedView.java144 outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), mCurrentCornerRadius); in onFinishInflate()
/frameworks/base/core/java/android/widget/
DMagnifier.java1090 outline.setRoundRect(0, 0, mContentWidth, contentHeight, 0); in updateContentFactors()
1161 outline.setRoundRect(0, 0, mContentWidth, mContentHeight, cornerRadius); in createRenderNodeForBitmap()
1187 outline.setRoundRect(0, 0, mContentWidth, mContentHeight, cornerRadius); in createRenderNodeForOverlay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaCarouselScrollHandler.kt207 outline?.setRoundRect( in getOutline()
/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java290 outline.setRoundRect(bounds.left + mOutlineInsets.left, in getOutline()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleExpandedView.java361 outline.setRoundRect(clip, mCornerRadius); in onFinishInflate()

12