Searched refs:mStrokeWidth (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Settings/src/com/android/settings/widget/ |
D | DonutView.java | 55 private float mStrokeWidth; field in DonutView 78 mStrokeWidth = resources.getDimension(R.dimen.storage_donut_thickness); in DonutView() 90 mStrokeWidth = styledAttrs.getDimensionPixelSize(R.styleable.DonutView_thickness, in DonutView() 91 (int) mStrokeWidth); in DonutView() 99 mBackgroundCircle.setStrokeWidth(mStrokeWidth); in DonutView() 106 mFilledArc.setStrokeWidth(mStrokeWidth); in DonutView() 154 0 + mStrokeWidth, in drawDonut() 155 0 + mStrokeWidth, in drawDonut() 156 getWidth() - mStrokeWidth, in drawDonut() 157 getHeight() - mStrokeWidth, in drawDonut() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | DonutView.java | 55 private float mStrokeWidth; field in DonutView 78 mStrokeWidth = resources.getDimension(R.dimen.storage_donut_thickness); in DonutView() 90 mStrokeWidth = styledAttrs.getDimensionPixelSize(R.styleable.DonutView_thickness, in DonutView() 91 (int) mStrokeWidth); in DonutView() 99 mBackgroundCircle.setStrokeWidth(mStrokeWidth); in DonutView() 106 mFilledArc.setStrokeWidth(mStrokeWidth); in DonutView() 154 0 + mStrokeWidth, in drawDonut() 155 0 + mStrokeWidth, in drawDonut() 156 getWidth() - mStrokeWidth, in drawDonut() 157 getHeight() - mStrokeWidth, in drawDonut() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewBackground.java | 69 private float mStrokeWidth; field in PreviewBackground 163 mStrokeWidth = context.getResources().getDisplayMetrics().density; in setup() 166 float shadowRadius = radius + mStrokeWidth; in setup() 246 float shadowRadius = radius + mStrokeWidth; in drawShadow() 253 saveCount = canvas.saveLayer(offsetX - mStrokeWidth, offsetY, in drawShadow() 313 mPaint.setStrokeWidth(mStrokeWidth); in drawBackgroundStroke() 427 return mStrokeWidth; in getStrokeWidth()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | IndicatorControlWheel.java | 77 private int mStrokeWidth; field in IndicatorControlWheel 160 mStrokeWidth = Util.dpToPixel(IndicatorControlWheelContainer.STROKE_WIDTH); in initialize() 161 mWheelRadius = mShutterButtonRadius + mStrokeWidth * 0.5; in initialize() 264 if ((radius <= (mWheelRadius + mStrokeWidth)) && (radius > mShutterButtonRadius)) { in dispatchTouchEvent() 451 float outerR = (float) (mShutterButtonRadius + mStrokeWidth + in onDraw()
|
D | ZoomControlWheel.java | 60 private int mStrokeWidth; field in ZoomControlWheel 82 mStrokeWidth = Util.dpToPixel(IndicatorControlWheelContainer.STROKE_WIDTH); in ZoomControlWheel() 83 mWheelRadius = mShutterButtonRadius + mStrokeWidth * 0.5; in ZoomControlWheel()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | MaterialProgressDrawable.java | 483 private float mStrokeWidth = 5.0f; field in MaterialProgressDrawable.Ring 658 return mStrokeWidth; in getStrokeWidth() 665 mStrokeWidth = strokeWidth; in setStrokeWidth() 719 insets = (float) Math.ceil(mStrokeWidth / 2.0f); in setInsets()
|