Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/
DGridTaskViewThumbnail.java50 mCornerRadius = getResources().getDimensionPixelSize( in GridTaskViewThumbnail()
107 final int l = Math.max(0, outerRight - mCornerRadius); in updateThumbnailOutline()
114 mRestBackgroundOutline.lineTo(r, b - mCornerRadius); // C in updateThumbnailOutline()
115 mRestBackgroundOutline.arcTo(r - 2 * mCornerRadius, b - 2 * mCornerRadius, r, b, in updateThumbnailOutline()
125 final int t = Math.max(0, thumbnailHeight - mCornerRadius); in updateThumbnailOutline()
130 mRestBackgroundOutline.lineTo(r, b - mCornerRadius); // C in updateThumbnailOutline()
131 mRestBackgroundOutline.arcTo(r - 2 * mCornerRadius, b - 2 * mCornerRadius, r, b, in updateThumbnailOutline()
133 mRestBackgroundOutline.lineTo(l + mCornerRadius, b); // E in updateThumbnailOutline()
134 mRestBackgroundOutline.arcTo(l, b - 2 * mCornerRadius, l + 2 * mCornerRadius, b, in updateThumbnailOutline()
149 outPath.lineTo(outerRight, outerBottom - mCornerRadius); in createThumbnailPath()
[all …]
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java56 float mCornerRadius; field in FakeShadowDrawable
94 mCornerRadius = LegacyRecentsImpl.getConfiguration().isGridEnabled ? in FakeShadowDrawable()
139 int vOffset = (int) Math.ceil(calculateVerticalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding()
141 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding()
188 final float edgeShadowTop = -mCornerRadius - mShadowSize; in drawShadow()
189 final float inset = mCornerRadius + mInsetShadow + mRawShadowSize / 2; in drawShadow()
198 mCardBounds.width() - 2 * inset, -mCornerRadius, in drawShadow()
209 mCardBounds.width() - 2 * inset, -mCornerRadius + mShadowSize, in drawShadow()
220 mCardBounds.height() - 2 * inset, -mCornerRadius, mEdgeShadowPaint); in drawShadow()
230 mCardBounds.height() - 2 * inset, -mCornerRadius, mEdgeShadowPaint); in drawShadow()
[all …]
DTaskViewThumbnail.java74 protected int mCornerRadius; field in TaskViewThumbnail
114 mCornerRadius = res.getDimensionPixelSize(R.dimen.recents_task_view_rounded_corners_radius); in TaskViewThumbnail()
149 canvas.drawRoundRect(0, 0, viewWidth, viewHeight, mCornerRadius, mCornerRadius, in onDraw()
154 topOffset = mTaskBar.getHeight() - mCornerRadius; in onDraw()
160 canvas.drawRoundRect(Math.max(0, thumbnailWidth - mCornerRadius), topOffset, in onDraw()
162 mCornerRadius, mCornerRadius, mBgFillPaint); in onDraw()
166 canvas.drawRoundRect(0, Math.max(topOffset, thumbnailHeight - mCornerRadius), in onDraw()
168 mCornerRadius, mCornerRadius, mBgFillPaint); in onDraw()
173 mCornerRadius, mCornerRadius, mDrawPaint); in onDraw()
175 canvas.drawRoundRect(0, 0, viewWidth, viewHeight, mCornerRadius, mCornerRadius, in onDraw()
DAnimateableViewBounds.java38 protected int mCornerRadius; field in AnimateableViewBounds
43 mCornerRadius = cornerRadius; in AnimateableViewBounds()
57 if (mCornerRadius > 0) { in getOutline()
61 mCornerRadius); in getOutline()
DTaskViewHeader.java127 2 * Math.max(mHighlightHeight, mCornerRadius), in draw()
128 mCornerRadius, mCornerRadius, mHighlightPaint); in draw()
132 getHeight() + mCornerRadius, in draw()
133 mCornerRadius, mCornerRadius, mBackgroundPaint); in draw()
164 int mCornerRadius; field in TaskViewHeader
215 mCornerRadius = LegacyRecentsImpl.getConfiguration().isGridEnabled ? in TaskViewHeader()
361 canvas.drawRoundRect(0, 0, mTaskViewRect.width(), getHeight() + mCornerRadius, in onDrawForeground()
362 mCornerRadius, mCornerRadius, mDimLayerPaint); in onDrawForeground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleFlyoutView.java65 private final float mCornerRadius; field in BubbleFlyoutView
168 mCornerRadius = ta.getDimensionPixelSize(1, 0); in BubbleFlyoutView()
323 + mCornerRadius * (1 - mPercentTransitionedToDot); in renderBackground()
391 + mCornerRadius * (1 - mPercentTransitionedToDot); in getOutline()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DActivityLaunchAnimator.java134 private float mCornerRadius; field in ActivityLaunchAnimator.AnimationRunner
207 mCornerRadius = MathUtils.lerp(mNotificationCornerRadius, in onAnimationStart()
274 app.prefixOrderIndex, mCornerRadius, true /* visible */); in applyParamsToWindow()
/frameworks/base/core/java/android/view/
DSurfaceView.java180 float mCornerRadius; field in SurfaceView
557 if (mCornerRadius > 0f) { in clearSurfaceViewPort()
560 mCornerRadius, mCornerRadius, mRoundedViewportPaint); in clearSurfaceViewPort()
574 mCornerRadius = cornerRadius; in setCornerRadius()
575 if (mCornerRadius > 0f && mRoundedViewportPaint == null) { in setCornerRadius()
815 mSurfaceControl.setCornerRadius(mCornerRadius); in updateSurface()
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java49 private final float mCornerRadius; field in SubtitleView
122mCornerRadius = res.getDimensionPixelSize(com.android.internal.R.dimen.subtitle_corner_radius); in SubtitleView()
310 final float cornerRadius = mCornerRadius; in onDraw()
/frameworks/base/core/java/android/widget/
DMagnifier.java160 params.mCornerRadius = getDeviceDefaultDialogCornerRadius(context); in createBuilderWithOldMagnifierDefaults()
201 mWindowCornerRadius = params.mCornerRadius; in Magnifier()
1139 private @FloatRange(from = 0f) float mCornerRadius; field in Magnifier.Builder
1163 mCornerRadius = resources.getDimension(R.dimen.default_magnifier_corner_radius); in applyDefaults()
1231 mCornerRadius = cornerRadius; in setCornerRadius()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java414 MathUtils.lerp(mCornerRadius / 2.0f, mCornerRadius,
468 private int mCornerRadius; field in NotificationStackScrollLayout
680 if (mCornerRadius != newRadius) { in onOverlayChanged()
681 mCornerRadius = newRadius; in onOverlayChanged()
904 mCornerRadius, mCornerRadius, mBackgroundPaint);
917 mCornerRadius, mCornerRadius, mBackgroundPaint);
943 mCornerRadius, mCornerRadius, mBackgroundPaint);
993 mCornerRadius = res.getDimensionPixelSize(
1157 Float clipEnd = clipStart + mCornerRadius;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt101087 Lcom/android/internal/widget/SubtitleView;->mCornerRadius:F