Home
last modified time | relevance | path

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

/frameworks/support/design/base/android/support/design/widget/
DCircularBorderDrawable.java47 float mBorderWidth; field in CircularBorderDrawable
78 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()
/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/support/design/src/android/support/design/widget/
DFloatingActionButton.java128 private int mBorderWidth; field in FloatingActionButton
163 mBorderWidth = a.getDimensionPixelSize(R.styleable.FloatingActionButton_borderWidth, 0); in FloatingActionButton()
176 mRippleColor, mBorderWidth); in FloatingActionButton()
/frameworks/base/services/core/java/com/android/server/wm/
DAccessibilityController.java436 private final float mBorderWidth; field in AccessibilityController.DisplayMagnifier.MagnifiedViewport
446 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()