Searched refs:mBorderWidth (Results 1 – 7 of 7) sorted by relevance
/frameworks/support/design/base/android/support/design/widget/ |
D | CircularBorderDrawable.java | 46 float mBorderWidth; field in CircularBorderDrawable 74 if (mBorderWidth != width) { in setBorderWidth() 75 mBorderWidth = width; in setBorderWidth() 107 final int borderWidth = Math.round(mBorderWidth); in getPadding() 132 return mBorderWidth > 0 ? PixelFormat.TRANSLUCENT : PixelFormat.TRANSPARENT; in getOpacity() 148 final float borderRatio = mBorderWidth / rect.height(); in createGradientShader()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | StyledCornersBitmapDrawable.java | 76 private float mBorderWidth; field in StyledCornersBitmapDrawable 97 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 …]
|
D | CircularBitmapDrawable.java | 45 private float mBorderWidth; field in CircularBitmapDrawable 63 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()
|
/frameworks/av/cmds/screenrecord/ |
D | TextRenderer.cpp | 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()
|
D | TextRenderer.h | 40 mBorderWidth(10.0f), in TextRenderer() 121 float mBorderWidth; variable
|
/frameworks/support/design/src/android/support/design/widget/ |
D | FloatingActionButton.java | 65 private int mBorderWidth; field in FloatingActionButton 96 mBorderWidth = a.getDimensionPixelSize(R.styleable.FloatingActionButton_borderWidth, 0); in FloatingActionButton() 136 mBackgroundTintMode, mRippleColor, mBorderWidth); in FloatingActionButton() 233 background, mBackgroundTint, mBackgroundTintMode, mRippleColor, mBorderWidth); in setBackgroundDrawable()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AccessibilityController.java | 419 private final float mBorderWidth; field in AccessibilityController.DisplayMagnifier.MagnifiedViewport 429 mBorderWidth = mContext.getResources().getDimension( in MagnifiedViewport() 431 mHalfBorderWidth = (int) Math.ceil(mBorderWidth / 2); in MagnifiedViewport() 432 mDrawBorderInset = (int) mBorderWidth / 2; in MagnifiedViewport() 675 mPaint.setStrokeWidth(mBorderWidth); in ViewportWindow()
|