/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ScreenDecorHwcLayer.kt | 339 var degree: Int 343 degree = getRoundedCornerRotationDegree(90 * i) 344 canvas.rotate(degree.toFloat()) 346 getRoundedCornerTranslationX(degree).toFloat(), 347 getRoundedCornerTranslationY(degree).toFloat()) 375 private fun getRoundedCornerTranslationX(degree: Int): Int { 376 return when (degree) { 380 else -> throw IllegalArgumentException("Incorrect degree: $degree") 384 private fun getRoundedCornerTranslationY(degree: Int): Int { 385 return when (degree) { [all …]
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/ |
H A D | PipSurfaceTransactionHelper.java | 66 float degree, float positionX, float positionY) { in scale() argument 71 mTmpTransform.postRotate(degree, 0, 0); in scale() 78 mTmpFloat9, degree, cornerRadius, mShadowRadius, sourceBounds); in scale() 120 float degree, float positionX, float positionY) { in scaleAndRotate() argument 129 mTmpTransform.setRotate(degree, 0, 0); in scaleAndRotate() 134 if (degree < 0) { in scaleAndRotate() 147 mTmpFloat9, degree, cornerRadius, mShadowRadius, mTmpDestinationRect); in scaleAndRotate()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
H A D | PipAnimationController.java | 691 final float degree, x, y; in ofBounds() local 694 degree = 90 * (1 - fraction); in ofBounds() 699 degree = -90 * (1 - fraction); in ofBounds() 706 degree = 90 * fraction; in ofBounds() 710 degree = -90 * fraction; in ofBounds() 719 insets, degree, x, y, isOutPipDirection, in ofBounds()
|
H A D | PipTransition.java | 663 final int degree, x, y; in startExitAnimation() local 665 degree = 90; in startExitAnimation() 669 degree = -90; in startExitAnimation() 674 pipLeash, endBounds, endBounds, new Rect(), degree, x, y, in startExitAnimation() 707 final int degree, x, y; in startExpandAndRotationAnimation() local 709 degree = 90; in startExpandAndRotationAnimation() 713 degree = -90; in startExpandAndRotationAnimation() 718 endBounds, startBounds, new Rect(), degree, x, y, true /* isExpanding */, in startExpandAndRotationAnimation()
|
/aosp14/frameworks/base/core/proto/android/service/ |
H A D | battery.proto | 53 // Battery temperature in tenths of a degree Centigrade
|
/aosp14/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
H A D | KeyButtonDrawable.java | 59 public void setValue(KeyButtonDrawable drawable, float degree) { 60 drawable.setRotation(degree);
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
H A D | KeyButtonDrawable.java | 55 public void setValue(KeyButtonDrawable drawable, float degree) { 56 drawable.setRotation(degree);
|
/aosp14/frameworks/base/packages/SystemUI/docs/ |
H A D | physics-animation-layout.md | 45 …tion that takes momentum into account. For example, if a path makes a 90 degree turn to the right,…
|
/aosp14/frameworks/base/core/proto/android/providers/settings/ |
H A D | secure.proto | 344 // The degree of location access enabled by the user.
|