Loading core/java/android/widget/Magnifier.java +3 −2 Original line number Diff line number Diff line Loading @@ -1021,7 +1021,8 @@ public final class Magnifier { .setCallsite("InternalPopupWindow") .build(); mBBQ = new BLASTBufferQueue("magnifier surface", mBbqSurfaceControl, mBBQ = new BLASTBufferQueue("magnifier surface", /*updateDestinationFrame*/ true); mBBQ.update(mBbqSurfaceControl, surfaceWidth, surfaceHeight, PixelFormat.TRANSLUCENT); mSurface = mBBQ.createSurface(); Loading graphics/java/android/graphics/BLASTBufferQueue.java +0 −6 Original line number Diff line number Diff line Loading @@ -66,12 +66,6 @@ public final class BLASTBufferQueue { } /** Create a new connection with the surface flinger. */ public BLASTBufferQueue(String name, SurfaceControl sc, int width, int height, @PixelFormat.Format int format) { this(name, true /* updateDestinationFrame */); update(sc, width, height, format); } public BLASTBufferQueue(String name, boolean updateDestinationFrame) { mNativeObject = nativeCreate(name, updateDestinationFrame); } Loading services/core/java/com/android/server/display/ColorFade.java +3 −2 Original line number Diff line number Diff line Loading @@ -643,8 +643,9 @@ final class ColorFade { .setSecure(isSecure) .setBLASTLayer(); mBLASTSurfaceControl = b.build(); mBLASTBufferQueue = new BLASTBufferQueue("ColorFade", mBLASTSurfaceControl, mDisplayWidth, mDisplayHeight, PixelFormat.TRANSLUCENT); mBLASTBufferQueue = new BLASTBufferQueue("ColorFade", /*updateDestinationFrame*/ true); mBLASTBufferQueue.update(mBLASTSurfaceControl, mDisplayWidth, mDisplayHeight, PixelFormat.TRANSLUCENT); mSurface = mBLASTBufferQueue.createSurface(); } return true; Loading services/core/java/com/android/server/wm/EmulatorDisplayOverlay.java +3 −2 Original line number Diff line number Diff line Loading @@ -77,8 +77,9 @@ class EmulatorDisplayOverlay { mOverlay = context.getDrawable( com.android.internal.R.drawable.emulator_circular_window_overlay); mBlastBufferQueue = new BLASTBufferQueue(TITLE, mSurfaceControl, mScreenSize.x, mScreenSize.y, PixelFormat.RGBA_8888); mBlastBufferQueue = new BLASTBufferQueue(TITLE, /* updateDestinationFrame */ true); mBlastBufferQueue.update(mSurfaceControl, mScreenSize.x, mScreenSize.y, PixelFormat.RGBA_8888); mSurface = mBlastBufferQueue.createSurface(); } Loading services/core/java/com/android/server/wm/StrictModeFlash.java +3 −2 Original line number Diff line number Diff line Loading @@ -63,8 +63,9 @@ class StrictModeFlash { mSurfaceControl = ctrl; mDrawNeeded = true; mBlastBufferQueue = new BLASTBufferQueue(TITLE, mSurfaceControl, 1 /* width */, 1 /* height */, PixelFormat.RGBA_8888); mBlastBufferQueue = new BLASTBufferQueue(TITLE, /* updateDestinationFrame */ true); mBlastBufferQueue.update(mSurfaceControl, 1 /* width */, 1 /* height */, PixelFormat.RGBA_8888); mSurface = mBlastBufferQueue.createSurface(); } Loading Loading
core/java/android/widget/Magnifier.java +3 −2 Original line number Diff line number Diff line Loading @@ -1021,7 +1021,8 @@ public final class Magnifier { .setCallsite("InternalPopupWindow") .build(); mBBQ = new BLASTBufferQueue("magnifier surface", mBbqSurfaceControl, mBBQ = new BLASTBufferQueue("magnifier surface", /*updateDestinationFrame*/ true); mBBQ.update(mBbqSurfaceControl, surfaceWidth, surfaceHeight, PixelFormat.TRANSLUCENT); mSurface = mBBQ.createSurface(); Loading
graphics/java/android/graphics/BLASTBufferQueue.java +0 −6 Original line number Diff line number Diff line Loading @@ -66,12 +66,6 @@ public final class BLASTBufferQueue { } /** Create a new connection with the surface flinger. */ public BLASTBufferQueue(String name, SurfaceControl sc, int width, int height, @PixelFormat.Format int format) { this(name, true /* updateDestinationFrame */); update(sc, width, height, format); } public BLASTBufferQueue(String name, boolean updateDestinationFrame) { mNativeObject = nativeCreate(name, updateDestinationFrame); } Loading
services/core/java/com/android/server/display/ColorFade.java +3 −2 Original line number Diff line number Diff line Loading @@ -643,8 +643,9 @@ final class ColorFade { .setSecure(isSecure) .setBLASTLayer(); mBLASTSurfaceControl = b.build(); mBLASTBufferQueue = new BLASTBufferQueue("ColorFade", mBLASTSurfaceControl, mDisplayWidth, mDisplayHeight, PixelFormat.TRANSLUCENT); mBLASTBufferQueue = new BLASTBufferQueue("ColorFade", /*updateDestinationFrame*/ true); mBLASTBufferQueue.update(mBLASTSurfaceControl, mDisplayWidth, mDisplayHeight, PixelFormat.TRANSLUCENT); mSurface = mBLASTBufferQueue.createSurface(); } return true; Loading
services/core/java/com/android/server/wm/EmulatorDisplayOverlay.java +3 −2 Original line number Diff line number Diff line Loading @@ -77,8 +77,9 @@ class EmulatorDisplayOverlay { mOverlay = context.getDrawable( com.android.internal.R.drawable.emulator_circular_window_overlay); mBlastBufferQueue = new BLASTBufferQueue(TITLE, mSurfaceControl, mScreenSize.x, mScreenSize.y, PixelFormat.RGBA_8888); mBlastBufferQueue = new BLASTBufferQueue(TITLE, /* updateDestinationFrame */ true); mBlastBufferQueue.update(mSurfaceControl, mScreenSize.x, mScreenSize.y, PixelFormat.RGBA_8888); mSurface = mBlastBufferQueue.createSurface(); } Loading
services/core/java/com/android/server/wm/StrictModeFlash.java +3 −2 Original line number Diff line number Diff line Loading @@ -63,8 +63,9 @@ class StrictModeFlash { mSurfaceControl = ctrl; mDrawNeeded = true; mBlastBufferQueue = new BLASTBufferQueue(TITLE, mSurfaceControl, 1 /* width */, 1 /* height */, PixelFormat.RGBA_8888); mBlastBufferQueue = new BLASTBufferQueue(TITLE, /* updateDestinationFrame */ true); mBlastBufferQueue.update(mSurfaceControl, 1 /* width */, 1 /* height */, PixelFormat.RGBA_8888); mSurface = mBlastBufferQueue.createSurface(); } Loading