Searched refs:borderWidth (Results 1 – 6 of 6) sorted by relevance
/frameworks/support/design/base/android/support/design/widget/ |
D | CircularBorderDrawable.java | 114 final int borderWidth = Math.round(mBorderWidth); in getPadding() local 115 padding.set(borderWidth, borderWidth, borderWidth, borderWidth); in getPadding()
|
D | FloatingActionButtonImpl.java | 111 PorterDuff.Mode backgroundTintMode, int rippleColor, int borderWidth) { in setBackgroundDrawable() argument 129 if (borderWidth > 0) { in setBackgroundDrawable() 130 mBorderDrawable = createBorderDrawable(borderWidth, backgroundTint); in setBackgroundDrawable() 345 CircularBorderDrawable createBorderDrawable(int borderWidth, ColorStateList backgroundTint) { in createBorderDrawable() argument 353 borderDrawable.setBorderWidth(borderWidth); in createBorderDrawable()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | CircularBitmapDrawable.java | 70 public void setBorderWidth(final float borderWidth) { in setBorderWidth() argument 71 final boolean changed = mBorderPaint.getStrokeWidth() != borderWidth; in setBorderWidth() 72 mBorderPaint.setStrokeWidth(borderWidth); in setBorderWidth() 73 mBorderWidth = borderWidth; in setBorderWidth()
|
D | StyledCornersBitmapDrawable.java | 110 public void setBorderWidth(final float borderWidth) { in setBorderWidth() argument 111 final boolean changed = mBorderPaint.getStrokeWidth() != borderWidth; in setBorderWidth() 112 mBorderPaint.setStrokeWidth(borderWidth); in setBorderWidth() 113 mBorderWidth = borderWidth; in setBorderWidth()
|
/frameworks/support/design/lollipop/android/support/design/widget/ |
D | FloatingActionButtonLollipop.java | 51 PorterDuff.Mode backgroundTintMode, int rippleColor, int borderWidth) { in setBackgroundDrawable() argument 60 if (borderWidth > 0) { in setBackgroundDrawable() 61 mBorderDrawable = createBorderDrawable(borderWidth, backgroundTint); in setBackgroundDrawable()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 1099 final float borderWidth = 1f; in drawCircularIconOnCanvas() local 1100 setWorkPaintForBorder(borderWidth); in drawCircularIconOnCanvas() 1101 canvas.drawCircle(dst.centerX(), dst.centerY(), dst.width() / 2f - borderWidth / 2, in drawCircularIconOnCanvas() 1117 final float borderWidth = 1f; in drawRectanglularIconOnCanvas() local 1118 setWorkPaintForBorder(borderWidth); in drawRectanglularIconOnCanvas() 1148 private void setWorkPaintForBorder(float borderWidth) { in setWorkPaintForBorder() argument 1152 mWorkPaint.setStrokeWidth(borderWidth); in setWorkPaintForBorder()
|