Home
last modified time | relevance | path

Searched refs:mStrokeWidth (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/widget/
DDonutView.java55 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/
DDonutView.java55 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/
DPreviewBackground.java69 private float mStrokeWidth; field in PreviewBackground
144 mStrokeWidth = context.getResources().getDisplayMetrics().density; in setup()
147 float shadowRadius = radius + mStrokeWidth; in setup()
227 float shadowRadius = radius + mStrokeWidth; in drawShadow()
234 saveCount = canvas.saveLayer(offsetX - mStrokeWidth, offsetY, in drawShadow()
294 mPaint.setStrokeWidth(mStrokeWidth); in drawBackgroundStroke()
408 return mStrokeWidth; in getStrokeWidth()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlWheel.java77 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()
DZoomControlWheel.java60 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/
DMaterialProgressDrawable.java483 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()