Home
last modified time | relevance | path

Searched refs:mBorderWidth (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DStyledCornersBitmapDrawable.java76 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 …]
DCircularBitmapDrawable.java45 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/
DTextRenderer.cpp265 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()
DTextRenderer.h40 mBorderWidth(10.0f), in TextRenderer()
121 float mBorderWidth; variable
/frameworks/base/services/core/java/com/android/server/wm/
DAccessibilityController.java504 private final float mBorderWidth; field in AccessibilityController.DisplayMagnifier.MagnifiedViewport
515 mBorderWidth = mContext.getResources().getDimension( in MagnifiedViewport()
517 mHalfBorderWidth = (int) Math.ceil(mBorderWidth / 2); in MagnifiedViewport()
518 mDrawBorderInset = (int) mBorderWidth / 2; in MagnifiedViewport()
795 mPaint.setStrokeWidth(mBorderWidth); in ViewportWindow()