Home
last modified time | relevance | path

Searched refs:roundedCornerRadius (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/support/cardview/src/main/java/androidx/cardview/widget/
DCardViewBaseImpl.java46 float roundedCornerRadius = cornerRadius + .5f; in initStatic()
47 mCornerRect.set(-roundedCornerRadius, -roundedCornerRadius, roundedCornerRadius, in initStatic()
48 roundedCornerRadius); in initStatic()
50 canvas.translate(bounds.left + roundedCornerRadius, in initStatic()
51 bounds.top + roundedCornerRadius); in initStatic()
64 canvas.drawRect(bounds.left + roundedCornerRadius - 1f, bounds.top, in initStatic()
65 bounds.right - roundedCornerRadius + 1f, in initStatic()
66 bounds.top + roundedCornerRadius, paint); in initStatic()
68 canvas.drawRect(bounds.left + roundedCornerRadius - 1f, in initStatic()
69 bounds.bottom - roundedCornerRadius, in initStatic()
[all …]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DRoundedRectHelperApi21.java44 public static void setClipToRoundedOutline(View view, boolean clip, int roundedCornerRadius) { in setClipToRoundedOutline() argument
49 ViewOutlineProvider provider = sRoundedRectProvider.get(roundedCornerRadius); in setClipToRoundedOutline()
51 provider = new RoundedRectOutlineProvider(roundedCornerRadius); in setClipToRoundedOutline()
53 sRoundedRectProvider.put(roundedCornerRadius, provider); in setClipToRoundedOutline()
DShadowOverlayContainer.java111 float unfocusedZ, float focusedZ, int roundedCornerRadius) { in ShadowOverlayContainer() argument
115 initialize(shadowType, hasColorDimOverlay, roundedCornerRadius); in ShadowOverlayContainer()
207 … int roundedCornerRadius = roundedCorners ? getContext().getResources().getDimensionPixelSize( in initialize() local
209 initialize(shadowType, hasColorDimOverlay, roundedCornerRadius); in initialize()
215 void initialize(int shadowType, boolean hasColorDimOverlay, int roundedCornerRadius) { in initialize() argument
220 mRoundedCornerRadius = roundedCornerRadius; in initialize()
221 mRoundedCorners = roundedCornerRadius > 0; in initialize()
DShadowOverlayHelper.java198 private int roundedCornerRadius = 0; // 0 for default value field in ShadowOverlayHelper.Options
208 public Options roundedCornerRadius(int roundedCornerRadius){ in roundedCornerRadius() argument
209 this.roundedCornerRadius = roundedCornerRadius; in roundedCornerRadius()
232 return roundedCornerRadius; in getRoundedCornerRadius()
DShadowHelperApi21.java41 View shadowContainer, float unfocusedZ, float focusedZ, int roundedCornerRadius) { in addDynamicShadow() argument
42 if (roundedCornerRadius > 0) { in addDynamicShadow()
44 roundedCornerRadius); in addDynamicShadow()
DShadowHelper.java28 View shadowContainer, float unfocusedZ, float focusedZ, int roundedCornerRadius) { in addDynamicShadow() argument
31 shadowContainer, unfocusedZ, focusedZ, roundedCornerRadius); in addDynamicShadow()
/frameworks/base/libs/hwui/tests/common/scenes/
DTvApp.cpp141 virtual float roundedCornerRadius() { return dp(2); } in roundedCornerRadius() function in TvApp
155 props.mutableOutline().setRoundRect(0, 0, width, height, roundedCornerRadius(), 1); in createCard()
238 virtual float roundedCornerRadius() override { return dp(0); } in roundedCornerRadius() function in TvAppNoRoundedCorner
255 virtual float roundedCornerRadius() override { return dp(0); } in roundedCornerRadius() function in TvAppNoRoundedCornerColorFilter
/frameworks/support/leanback/api/
Dcurrent.txt2921 method public androidx.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
/frameworks/support/leanback/api_legacy/
Dcurrent.txt2909 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
D27.0.0.txt2924 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
D27.1.0.txt2909 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
D28.0.0-alpha1.txt2909 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
D26.1.0.txt3001 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
D26.0.0.txt3001 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
/frameworks/support/api/
D25.2.0.txt3770 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
D25.0.0.txt3413 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
D24.2.0.txt3359 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
D23.1.1.txt2522 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
D25.4.0.txt4187 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
D23.2.1.txt2823 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
D26.0.0-alpha1.txt4562 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
D23.2.0.txt2823 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
D23.4.0.txt2825 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
D23.1.0.txt2519 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);
D25.3.0.txt4139 …od public android.support.v17.leanback.widget.ShadowOverlayHelper.Options roundedCornerRadius(int);

12