Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/window/
DPictureInPictureSurfaceTransaction.java48 public final float mCornerRadius; field in PictureInPictureSurfaceTransaction
62 mCornerRadius = in.readFloat(); in PictureInPictureSurfaceTransaction()
81 mCornerRadius = cornerRadius; in PictureInPictureSurfaceTransaction()
88 other.mFloat9, other.mRotation, other.mCornerRadius, other.mShadowRadius, in PictureInPictureSurfaceTransaction()
102 return mCornerRadius > 0; in hasCornerRadiusSet()
129 && Objects.equals(mCornerRadius, that.mCornerRadius) in equals()
139 mRotation, mCornerRadius, mShadowRadius, mWindowCrop, in hashCode()
154 out.writeFloat(mCornerRadius); in writeToParcel()
168 + " cornerRadius=" + mCornerRadius in toString()
189 tx.setCornerRadius(surfaceControl, surfaceTransaction.mCornerRadius); in apply()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedSurfaceTransactionHelper.java37 private final float mCornerRadius; field in OneHandedSurfaceTransactionHelper
44 mCornerRadius = res.getDimension(com.android.internal.R.dimen.rounded_corner_radius) in OneHandedSurfaceTransactionHelper()
78 tx.setCornerRadius(leash, mCornerRadius); in round()
95 pw.println(mCornerRadius); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthPanelController.java62 private float mCornerRadius; field in AuthPanelController
74 outline.setRoundRect(left, top, right, bottom, mCornerRadius); in getOutline()
172 ValueAnimator cornerAnimator = ValueAnimator.ofFloat(mCornerRadius, cornerRadius); in updateForContentDimensions()
174 mCornerRadius = (float) animation.getAnimatedValue(); in updateForContentDimensions()
199 mCornerRadius = cornerRadius; in updateForContentDimensions()
217 mCornerRadius = context.getResources() in AuthPanelController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scrim/
DScrimDrawable.java54 private float mCornerRadius; field in ScrimDrawable
151 if (radius == mCornerRadius) { in setRoundedCorners()
154 mCornerRadius = radius; in setRoundedCorners()
184 mConcaveInfo.setCornerRadius(mCornerRadius); in setBottomEdgeConcave()
218 } else if (mCornerRadiusEnabled && mCornerRadius > 0) { in draw()
219 float topEdgeRadius = mCornerRadius; in draw()
220 float bottomEdgeRadius = mBottomEdgeRadius == -1.0 ? mCornerRadius : mBottomEdgeRadius; in draw()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDropZoneView.java67 private float mCornerRadius; field in DropZoneView
106 mCornerRadius = ScreenDecorationsUtils.getWindowCornerRadius(context); in DropZoneView()
127 mCornerRadius = ScreenDecorationsUtils.getWindowCornerRadius(getContext()); in onThemeChange()
273 mCornerRadius * mMarginPercent, in onDraw()
274 mCornerRadius * mMarginPercent, in onDraw()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DCrossTaskBackAnimation.java85 private float mCornerRadius; field in CrossTaskBackAnimation
132 mCornerRadius = ScreenDecorationsUtils.getWindowCornerRadius(mContext); in loadResources()
207 applyTransform(mClosingTarget.leash, mClosingCurrentRect, mCornerRadius); in updateGestureBackProgress()
208 applyTransform(mEnteringTarget.leash, mEnteringCurrentRect, mCornerRadius); in updateGestureBackProgress()
231 applyTransform(mClosingTarget.leash, mClosingCurrentRect, mCornerRadius);
241 applyTransform(mEnteringTarget.leash, mEnteringCurrentRect, mCornerRadius);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/
DPipSurfaceTransactionHelper.java40 private int mCornerRadius; field in PipSurfaceTransactionHelper
53 mCornerRadius = context.getResources().getDimensionPixelSize(R.dimen.pip_corner_radius); in onDensityOrFontScaleChanged()
228 tx.setCornerRadius(leash, applyCornerRadius ? mCornerRadius : 0); in round()
240 tx.setCornerRadius(leash, mCornerRadius * scale); in round()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipSurfaceTransactionHelper.java40 private int mCornerRadius; field in PipSurfaceTransactionHelper
53 mCornerRadius = context.getResources().getDimensionPixelSize(R.dimen.pip_corner_radius); in onDensityOrFontScaleChanged()
231 tx.setCornerRadius(leash, applyCornerRadius ? mCornerRadius : 0); in round()
243 tx.setCornerRadius(leash, mCornerRadius * scale); in round()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/
DPipSurfaceTransactionHelper.java32 private final int mCornerRadius; field in PipSurfaceTransactionHelper
41 mCornerRadius = cornerRadius; in PipSurfaceTransactionHelper()
159 return mCornerRadius * scale; in getScaledCornerRadius()
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java49 private final float mCornerRadius; field in SubtitleView
123mCornerRadius = res.getDimensionPixelSize(com.android.internal.R.dimen.subtitle_corner_radius); in SubtitleView()
311 final float cornerRadius = mCornerRadius; in onDraw()
/frameworks/base/core/java/android/view/
DSurfaceView.java274 float mCornerRadius; field in SurfaceView
633 if (mCornerRadius > 0f && !isAboveParent()) { in setClipBounds()
657 if (mCornerRadius > 0f) { in clearSurfaceViewPort()
667 mCornerRadius, in clearSurfaceViewPort()
668 mCornerRadius, in clearSurfaceViewPort()
684 mCornerRadius = cornerRadius; in setCornerRadius()
685 if (mCornerRadius > 0f && mRoundedViewportPaint == null) { in setCornerRadius()
700 return mCornerRadius; in getCornerRadius()
1007 surfaceUpdateTransaction.setCornerRadius(mSurfaceControl, mCornerRadius); in performSurfaceTransaction()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleFlyoutView.java79 private final float mCornerRadius; field in BubbleFlyoutView
184 mCornerRadius = ta.getDimensionPixelSize(0, 0); in BubbleFlyoutView()
579 + mCornerRadius * (1 - mPercentTransitionedToDot); in getInterpolatedRadius()
DBubbleExpandedView.java177 private float mCornerRadius = 0f; field in BubbleExpandedView
361 outline.setRoundRect(clip, mCornerRadius); in onFinishInflate()
546 mCornerRadius = supportsRoundedCorners ? ta.getDimensionPixelSize(0, 0) : 0; in applyThemeAttrs()
556 mTaskView.setCornerRadius(mCornerRadius); in applyThemeAttrs()
745 mExpandedViewContainer.getBottom() - mBottomClip - mCornerRadius + translationY; in setContentTranslationY()
DBubbleStackView.java282 private int mCornerRadius; field in BubbleStackView
929 mCornerRadius = ta.getDimensionPixelSize(0, 0); in BubbleStackView()
976 mAnimatingOutSurfaceView.setCornerRadius(supportsRoundedCorners ? mCornerRadius : 0); in BubbleStackView()
1336 outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), mCornerRadius); in setUpManageMenu()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DWindowDecoration.java413 startT.setCornerRadius(mTaskSurface, params.mCornerRadius); in updateTaskSurface()
414 finishT.setCornerRadius(mTaskSurface, params.mCornerRadius); in updateTaskSurface()
675 int mCornerRadius; field in WindowDecoration.RelayoutParams
690 mCornerRadius = 0; in reset()
DDesktopModeWindowDecoration.java359 new DragResizeWindowGeometry(mRelayoutParams.mCornerRadius, in updateDragResizeListener()
485 relayoutParams.mCornerRadius =
/frameworks/base/core/java/android/widget/
DMagnifier.java176 params.mCornerRadius = getDeviceDefaultDialogCornerRadius(context); in createBuilderWithOldMagnifierDefaults()
223 mWindowCornerRadius = params.mCornerRadius; in Magnifier()
1409 private @FloatRange(from = 0f) float mCornerRadius; field in Magnifier.Builder
1436 mCornerRadius = resources.getDimension(R.dimen.default_magnifier_corner_radius); in applyDefaults()
1505 mCornerRadius = cornerRadius; in setCornerRadius()
/frameworks/base/services/core/java/com/android/server/wm/
DPinnedTaskController.java277 t.setCornerRadius(leash, pipTx.mCornerRadius); in startSeamlessRotationIfNeeded()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDesktopModeWindowDecorationTests.java224 assertThat(relayoutParams.mCornerRadius).isGreaterThan(0); in updateRelayoutParams_noSysPropFlagsSet_roundedCornersAreEnabled()
DWindowDecorationTests.java150 mRelayoutParams.mCornerRadius = CORNER_RADIUS; in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java374 MathUtils.lerp(mCornerRadius / 2.0f, mCornerRadius,
462 private int mCornerRadius; field in NotificationStackScrollLayout
968 mCornerRadius = res.getDimensionPixelSize(R.dimen.notification_corner_radius); in initView()
1008 if (mCornerRadius != newRadius) { in updateCornerRadius()
1009 mCornerRadius = newRadius; in updateCornerRadius()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt86011 Lcom/android/internal/widget/SubtitleView;->mCornerRadius:F