Home
last modified time | relevance | path

Searched refs:mCornerRadius (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
DFanSpeedBar.java57 private float mCornerRadius; field in FanSpeedBar
94 mCornerRadius = (barHeight - 2 * insetHeight) / 2; in init()
155 offButtonBg.setCornerRadii(new float[]{mCornerRadius, mCornerRadius, 0, 0, in onFinishInflate()
156 0, 0, mCornerRadius, mCornerRadius}); in onFinishInflate()
161 maxButtonBg.setCornerRadii(new float[]{0, 0, mCornerRadius, mCornerRadius, in onFinishInflate()
162 mCornerRadius, mCornerRadius, 0, 0}); in onFinishInflate()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DThumbnailDrawable.java50 private final int mCornerRadius; field in ThumbnailDrawable
57 mCornerRadius = (int) res.getDimension(R.dimen.task_thumbnail_corner_radius); in ThumbnailDrawable()
81 canvas.drawRoundRect(mDestRect, mCornerRadius, mCornerRadius, mPaint); in draw()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DLiveTileOverlay.java43 private float mCornerRadius; field in LiveTileOverlay
58 mCornerRadius = cornerRadius; in update()
102 canvas.drawRoundRect(mCurrentRect, mCornerRadius, mCornerRadius, mPaint); in draw()
DTaskView.java159 private final float mCornerRadius; field in TaskView
213 mCornerRadius = TaskCornerRadius.get(context); in TaskView()
215 mCurrentFullscreenParams = new FullscreenDrawParams(mCornerRadius); in TaskView()
812 mCornerRadius, fullscreenCornerRadius) / getRecentsView().getScaleX()); in setFullscreenProgress()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAsyncImageView.java78 private final int mCornerRadius; field in AsyncImageView
110 mCornerRadius = attr.getDimensionPixelSize(R.styleable.AsyncImageView_cornerRadius, 0); in AsyncImageView()
377 if (mCornerRadius > 0) { in onDraw()
383 mRoundedCornerClipPath.addRoundRect(rect, mCornerRadius, mCornerRadius, in onDraw()
DAudioAttachmentView.java73 private final int mCornerRadius; field in AudioAttachmentView
101 mCornerRadius = context.getResources().getDimensionPixelSize( in AudioAttachmentView()
309 mRoundedCornerClipPath.addRoundRect(rect, mCornerRadius, mCornerRadius, in onDraw()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemePreviewPage.java106 private final int mCornerRadius; field in ThemePreviewPage.ThemeCoverPage
121 mCornerRadius = cornerRadius; in ThemeCoverPage()
232 float cornerRadius = useRoundedQSB(mCornerRadius) in bindPreviewContent()
233 ? (float)qsb.getLayoutParams().height / 2 : mCornerRadius; in bindPreviewContent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DUsageGraph.java68 private final int mCornerRadius; field in UsageGraph
87 mCornerRadius = resources.getDimensionPixelSize(R.dimen.usage_graph_line_corner_radius); in UsageGraph()
88 mLinePaint.setPathEffect(new CornerPathEffect(mCornerRadius)); in UsageGraph()
221 return Math.abs(x2 - x1) >= mCornerRadius; in hasDiff()
/packages/apps/Settings/src/com/android/settings/widget/
DUsageGraph.java68 private final int mCornerRadius; field in UsageGraph
87 mCornerRadius = resources.getDimensionPixelSize(R.dimen.usage_graph_line_corner_radius); in UsageGraph()
88 mLinePaint.setPathEffect(new CornerPathEffect(mCornerRadius)); in UsageGraph()
221 return Math.abs(x2 - x1) >= mCornerRadius; in hasDiff()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/
DSubtitleView.java54 private final float mCornerRadius; field in SubtitleView
108 mCornerRadius = twoDpInPx; in SubtitleView()
275 final float cornerRadius = this.mCornerRadius; in onDraw()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeBundle.java325 @Dimension private int mCornerRadius; field in ThemeBundle.Builder
362 mColorAccentDark, mIcons, shapeDrawable, mCornerRadius, in createPreviewInfo()
454 mCornerRadius = radius; in setBottomSheetCornerRadius()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DThemeComponentOption.java422 private final int mCornerRadius; field in ThemeComponentOption.ShapeOption
435 mCornerRadius = cornerRadius; in ShapeOption()
498 builder.setShapePath(mPath).setBottomSheetCornerRadius(mCornerRadius); in buildStep()