Searched refs:mBorderWidth (Results 1 – 7 of 7) sorted by relevance
47 float mBorderWidth; field in CircularBorderDrawable78 if (mBorderWidth != width) { in setBorderWidth()79 mBorderWidth = width; in setBorderWidth()114 final int borderWidth = Math.round(mBorderWidth); in getPadding()142 return mBorderWidth > 0 ? PixelFormat.TRANSLUCENT : PixelFormat.TRANSPARENT; in getOpacity()185 final float borderRatio = mBorderWidth / rect.height(); in createGradientShader()
76 private float mBorderWidth; field in StyledCornersBitmapDrawable97 mBorderPaint.setStrokeWidth(mBorderWidth); in StyledCornersBitmapDrawable()113 mBorderWidth = borderWidth; in setBorderWidth()249 float left = bounds.left + mBorderWidth / 2; in draw()250 float top = bounds.top + mBorderWidth / 2; in draw()251 float right = bounds.right - mBorderWidth / 2; in draw()252 float bottom = bounds.bottom - mBorderWidth / 2; in draw()401 float left = bounds.left + mBorderWidth / 2; in recalculatePath()402 float top = bounds.top + mBorderWidth / 2; in recalculatePath()403 float right = bounds.right - mBorderWidth / 2; in recalculatePath()[all …]
45 private float mBorderWidth; field in CircularBitmapDrawable63 mBorderPaint.setStrokeWidth(mBorderWidth); in CircularBitmapDrawable()73 mBorderWidth = borderWidth; in setBorderWidth()115 bounds.width() / 2f - mBorderWidth / 2, mBorderPaint); in onDrawPlaceholderOrProgress()158 dst.width() / 2f - mBorderWidth / 2, mBorderPaint); in onDrawCircularBitmap()
265 if (xpos < mBorderWidth) { in drawWrappedString()266 xpos = mBorderWidth; in drawWrappedString()268 if (ypos < mBorderWidth) { in drawWrappedString()269 ypos = mBorderWidth; in drawWrappedString()272 const size_t maxWidth = (mScreenWidth - mBorderWidth) - xpos; in drawWrappedString()275 xpos, mBorderWidth, mScreenWidth); in drawWrappedString()291 (float) (mScreenWidth - mBorderWidth - xposAdj)); in drawWrappedString()
40 mBorderWidth(10.0f), in TextRenderer()121 float mBorderWidth; variable
128 private int mBorderWidth; field in FloatingActionButton163 mBorderWidth = a.getDimensionPixelSize(R.styleable.FloatingActionButton_borderWidth, 0); in FloatingActionButton()176 mRippleColor, mBorderWidth); in FloatingActionButton()
436 private final float mBorderWidth; field in AccessibilityController.DisplayMagnifier.MagnifiedViewport446 mBorderWidth = mContext.getResources().getDimension( in MagnifiedViewport()448 mHalfBorderWidth = (int) Math.ceil(mBorderWidth / 2); in MagnifiedViewport()449 mDrawBorderInset = (int) mBorderWidth / 2; in MagnifiedViewport()698 mPaint.setStrokeWidth(mBorderWidth); in ViewportWindow()