Home
last modified time | relevance | path

Searched refs:cornerRadius (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarBackgroundRenderer.kt69 private val fullCornerRadius = context.cornerRadius.toFloat()
70 private var cornerRadius = fullCornerRadius variable
124 cornerRadius = fullCornerRadius * cornerRoundness in setCornerRoundness()
129 square.addRect(0f, 0f, cornerRadius, cornerRadius, Path.Direction.CW) in setCornerRoundness()
131 circle.addCircle(cornerRadius, 0f, cornerRadius, Path.Direction.CW) in setCornerRoundness()
135 circle.addCircle(0f, 0f, cornerRadius, Path.Direction.CW) in setCornerRoundness()
169 canvas.translate(0f, -cornerRadius) in drawPersistentBackground()
171 canvas.translate(0f, cornerRadius) in drawPersistentBackground()
172 canvas.translate(canvas.width - cornerRadius, -cornerRadius) in drawPersistentBackground()
DTaskbarDividerPopupView.kt164 backgroundMask.cornerRadius = background.cornerRadius in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskThumbnailViewDeprecated.java375 float cornerRadius) { in drawOnCanvas() argument
378 canvas.drawRoundRect(x, y, width, height, cornerRadius, cornerRadius, mClearPaint); in drawOnCanvas()
379 canvas.drawRoundRect(x, y, width, height, cornerRadius, cornerRadius, in drawOnCanvas()
387 canvas.drawRoundRect(x, y + 1, width, height - 1, cornerRadius, in drawOnCanvas()
388 cornerRadius, mBackgroundPaint); in drawOnCanvas()
396 canvas.drawRoundRect(x, y, width, height, cornerRadius, cornerRadius, mPaint); in drawOnCanvas()
400 float cornerRadiusX = cornerRadius; in drawOnCanvas()
401 float cornerRadiusY = cornerRadius; in drawOnCanvas()
403 cornerRadiusX = cornerRadius / getScaleX(); in drawOnCanvas()
404 cornerRadiusY = cornerRadius / getScaleY(); in drawOnCanvas()
DFloatingWidgetBackgroundView.java160 float cornerRadius = ((GradientDrawable) drawable).getCornerRadius(); in getMaxRadius() local
163 return Math.max(cornerRadius, (float) radiiMax); in getMaxRadius()
DTaskView.kt155 get() = currentFullscreenParams.cornerRadius in <lambda>()
471 currentFullscreenParams.cornerRadius.toInt(), in <lambda>()
487 currentFullscreenParams.cornerRadius.toInt(), in <lambda>()
1559 var cornerRadius = 0f in <lambda>() variable
1569 cornerRadius = computeTaskCornerRadius(context) in <lambda>()
1599 Utilities.mapRange(fullscreenProgress, cornerRadius, windowCornerRadius) / in <lambda>()
DRecentsView.java6270 public void onPipResourceDimensionsChanged(int cornerRadius, int shadowRadius) {
6272 mRecentsView.mPipCornerRadius = cornerRadius;
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBackground.java231 final int cornerRadius = (int) Math.ceil(mLauncher.getWindowCornerRadius()); in quickSwitch() local
234 startX = cornerRadius; in quickSwitch()
236 endX = mLauncher.getDevice().getDisplayWidth() - cornerRadius; in quickSwitch()
240 startX = mLauncher.getDevice().getDisplayWidth() - cornerRadius; in quickSwitch()
242 endX = cornerRadius; in quickSwitch()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DSlideInRemoteTransition.kt37 private val cornerRadius: Float, constant in com.android.quickstep.util.SlideInRemoteTransition
64 startT.setCrop(leash, chg.startAbsBounds).setCornerRadius(leash, cornerRadius) in startAnimation()
68 startT.setCrop(leash, chg.endAbsBounds).setCornerRadius(leash, cornerRadius) in startAnimation()
DSurfaceTransaction.java128 public float cornerRadius = 0; field in SurfaceTransaction.MockProperties
160 this.cornerRadius = radius; in setCornerRadius()
DTransformParams.java85 public TransformParams setCornerRadius(float cornerRadius) { in setCornerRadius() argument
86 mCornerRadius = cornerRadius; in setCornerRadius()
DSwipePipToHomeAnimator.java124 int cornerRadius, in SwipePipToHomeAnimator() argument
138 mSurfaceTransactionHelper = new PipSurfaceTransactionHelper(cornerRadius, shadowRadius); in SwipePipToHomeAnimator()
402 public Builder setCornerRadius(int cornerRadius) { in setCornerRadius() argument
403 mCornerRadius = cornerRadius; in setCornerRadius()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DClipIconView.java111 public void update(RectF rect, float progress, float shapeProgressStart, float cornerRadius, in update() argument
113 update(rect, progress, shapeProgressStart, cornerRadius, isOpening, container, dp, 255); in update()
120 public void update(RectF rect, float progress, float shapeProgressStart, float cornerRadius, in update() argument
149 update(rect, progress, shapeProgressStart, cornerRadius, isOpening, scale, minSize, dp); in update()
159 private void update(RectF rect, float progress, float shapeProgressStart, float cornerRadius, in update() argument
173 mTaskCornerRadius = cornerRadius / scale; in update()
DFloatingIconView.java152 float cornerRadius, boolean isOpening) { in update() argument
153 update(alpha, rect, progress, shapeProgressStart, cornerRadius, isOpening, 0); in update()
167 float cornerRadius, boolean isOpening, int taskViewDrawAlpha) { in update() argument
174 mClipIconView.update(rect, progress, shapeProgressStart, cornerRadius, isOpening, this, in update()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/task/thumbnail/
DTaskThumbnailView.kt70 private var cornerRadius: Float = TaskCornerRadius.get(context) in <lambda>() variable in com.android.quickstep.task.thumbnail.TaskThumbnailView
124 cornerRadius = TaskCornerRadius.get(context) in <lambda>()
141 cornerRadius, in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherBackAnimationController.java388 float cornerRadius = Utilities.mapRange( in updateBackProgress()
390 applyTransform(mCurrentRect, cornerRadius); in updateBackProgress()
396 private void applyTransform(RectF targetRect, float cornerRadius) { in applyTransform() argument
405 mTransaction.setCornerRadius(mBackTarget.leash, cornerRadius); in applyTransform()
443 float cornerRadius = Utilities.mapRange( in startTransition() local
455 cornerRadius, in startTransition()
DSwipeUpAnimationLogic.java449 float cornerRadius = Utilities.mapRange(progress, mStartRadius, mEndRadius); in onUpdate() local
458 .setCornerRadius(cornerRadius); in onUpdate()
472 mMatrix.mapRadius(cornerRadius), in onUpdate()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/
DSubtitleView.java275 final float cornerRadius = this.mCornerRadius; in onDraw() local
292 c.drawRoundRect(bounds, cornerRadius, cornerRadius, paint); in onDraw()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/
DUtils.java287 @NonNull Bitmap source, @NonNull float cornerRadius) { in convertCornerRadiusBitmap() argument
293 drawable.setCornerRadius(cornerRadius); in convertCornerRadiusBitmap()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/
DLibUtils.java287 @NonNull Bitmap source, @NonNull float cornerRadius) { in convertCornerRadiusBitmap() argument
293 drawable.setCornerRadius(cornerRadius); in convertCornerRadiusBitmap()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DActivityAllAppsContainerView.java300 float cornerRadius = Themes.getDialogCornerRadius(getContext()); in onFinishInflate() local
302 cornerRadius, in onFinishInflate()
303 cornerRadius, // Top left radius in px in onFinishInflate()
304 cornerRadius, in onFinishInflate()
305 cornerRadius, // Top right radius in px in onFinishInflate()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPhotoPickerActivity.java613 final float cornerRadius = in setRoundedCornersForBottomSheet() local
619 (int)(view.getHeight() + cornerRadius), cornerRadius); in setRoundedCornersForBottomSheet()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DSwipeUpGestureTutorialController.java480 mFakeTaskViewRadius = p.cornerRadius; in applySurfaceParams()
/packages/apps/Settings/src/com/android/settings/
DUtils.java1299 @NonNull Bitmap source, @NonNull float cornerRadius) { in convertCornerRadiusBitmap() argument
1305 drawable.setCornerRadius(cornerRadius); in convertCornerRadiusBitmap()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepTransitionManager.java1279 float cornerRadius = mDeviceProfile.isMultiWindowMode ? 0 : in getUnlockWindowAnimator() local
1290 .setCornerRadius(cornerRadius); in getUnlockWindowAnimator()