Searched refs:mBackColorSurface (Results 1 – 2 of 2) sorted by relevance
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
H A D | ScreenRotationAnimation.java | 99 private SurfaceControl mBackColorSurface; field in ScreenRotationAnimation 181 mBackColorSurface = new SurfaceControl.Builder(session) in ScreenRotationAnimation() 189 t.setLayer(mBackColorSurface, -1); in ScreenRotationAnimation() 190 t.setColor(mBackColorSurface, new float[]{mStartLuma, mStartLuma, mStartLuma}); in ScreenRotationAnimation() 191 t.show(mBackColorSurface); in ScreenRotationAnimation() 361 applyColor(startColor, endColor, rgbTmpFloat, fraction, mBackColorSurface, t); in startColorAnimation() 366 applyColor(startColor, endColor, rgbTmpFloat, 1f /* fraction */, mBackColorSurface, in startColorAnimation() 373 applyColor(startColor, endColor, rgbTmpFloat, 1f /* fraction */, mBackColorSurface, in startColorAnimation() 390 if (mBackColorSurface != null && mBackColorSurface.isValid()) { in kill() 391 t.remove(mBackColorSurface); in kill()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | ScreenRotationAnimation.java | 114 private SurfaceControl mBackColorSurface; field in ScreenRotationAnimation 223 mBackColorSurface = displayContent.makeChildSurface(null) in ScreenRotationAnimation() 256 t.reparent(mBackColorSurface, displayContent.getSurfaceControl()); in ScreenRotationAnimation() 261 t.setLayer(mBackColorSurface, -1); in ScreenRotationAnimation() 263 t.setAlpha(mBackColorSurface, 1); in ScreenRotationAnimation() 267 t.show(mBackColorSurface); in ScreenRotationAnimation() 523 if (mBackColorSurface != null) { in kill() 524 if (mBackColorSurface.isValid()) { in kill() 525 t.remove(mBackColorSurface); in kill() 527 mBackColorSurface = null; in kill() [all …]
|