/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ImageTile.java | 57 requireNonNull(mImage.getHardwareBuffer(), "image must be a hardware image"); in ImageTile() 74 canvas.drawBitmap(Bitmap.wrapHardwareBuffer(mImage.getHardwareBuffer(), COLOR_SPACE), in getDisplayList() 112 + ", buffer=" + mImage.getHardwareBuffer() + "}"; in toString()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipContentOverlay.java | 149 / mSnapshot.getHardwareBuffer().getWidth(); in attach() 151 / mSnapshot.getHardwareBuffer().getHeight(); in attach() 154 tx.setBuffer(mLeash, mSnapshot.getHardwareBuffer()); in attach() 208 tx.setBuffer(mLeash, mBitmap.getHardwareBuffer()); in attach()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | ScreenshotUtils.java | 65 if (buffer == null || buffer.getHardwareBuffer() == null) { in accept() 76 mTransaction.setBuffer(mScreenshot, buffer.getHardwareBuffer()); in accept()
|
D | TaskStackListenerImpl.java | 284 if (!snapshotConsumed && snapshot.getHardwareBuffer() != null) { in handleMessage() 285 snapshot.getHardwareBuffer().close(); in handleMessage()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | TaskSnapshotWindow.java | 182 layoutParams.format = snapshot.getHardwareBuffer().getFormat(); in create() 346 final HardwareBuffer snapshot = mSnapshot.getHardwareBuffer(); in setFrames() 372 if (mSnapshot.getHardwareBuffer() != null) { in drawSnapshot() 373 mSnapshot.getHardwareBuffer().close(); in drawSnapshot() 380 mTransaction.setBuffer(mSurfaceControl, mSnapshot.getHardwareBuffer()) in drawSizeMatchSnapshot() 386 final HardwareBuffer buffer = mSnapshot.getHardwareBuffer(); in drawSizeMismatchSnapshot() 427 mTransaction.setBuffer(childSurfaceControl, mSnapshot.getHardwareBuffer()); in drawSizeMismatchSnapshot() 452 final HardwareBuffer snapshot = mSnapshot.getHardwareBuffer(); in calculateSnapshotCrop() 475 final HardwareBuffer snapshot = mSnapshot.getHardwareBuffer(); in calculateSnapshotFrame()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | ThumbnailData.java | 75 try (final HardwareBuffer buffer = snapshot.getHardwareBuffer()) { in makeThumbnail() 82 + snapshot.getHardwareBuffer(), ex); in makeThumbnail()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/ |
D | AppTransitionAnimationSpecCompat.java | 39 mBuffer != null ? mBuffer.getHardwareBuffer() : null, mRect); in toAppTransitionAnimationSpec()
|
/frameworks/base/core/java/android/app/ |
D | TaskStackListener.java | 164 if (mIsRemote && snapshot != null && snapshot.getHardwareBuffer() != null) { in onTaskSnapshotChanged() 166 snapshot.getHardwareBuffer().close(); in onTaskSnapshotChanged()
|
D | SharedElementCallback.java | 188 HardwareBuffer hardwareBuffer = bitmap.getHardwareBuffer(); in onCaptureSharedElementSnapshot()
|
/frameworks/av/media/ndk/ |
D | NdkImagePriv.h | 84 media_status_t getHardwareBuffer(/*out*/AHardwareBuffer** buffer) const;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SurfaceFreezer.java | 95 : screenshotBuffer.getHardwareBuffer(); in freeze() 211 return GraphicBuffer.createFromHardwareBuffer(screenshotBuffer.getHardwareBuffer()); in createFromHardwareBufferInner()
|
D | TaskSnapshotController.java | 236 final HardwareBuffer buffer = snapshot.getHardwareBuffer(); in recordTaskSnapshot() 485 : screenshotBuffer.getHardwareBuffer(); 518 builder.setSnapshot(screenshotBuffer.getHardwareBuffer()); 615 topChild.mActivityComponent, hwBitmap.getHardwareBuffer(),
|
D | TaskSnapshotPersister.java | 410 if (TaskSnapshotController.isInvalidHardwareBuffer(mSnapshot.getHardwareBuffer())) { in writeBuffer() 415 mSnapshot.getHardwareBuffer(), mSnapshot.getColorSpace()); in writeBuffer()
|
D | BackNavigationController.java | 450 return backBuffer != null ? backBuffer.getHardwareBuffer() : null; in getActivitySnapshot() 460 return snapshot != null ? snapshot.getHardwareBuffer() : null; in getTaskSnapshot()
|
D | TaskSnapshotLoader.java | 177 final HardwareBuffer buffer = hwBitmap.getHardwareBuffer(); in loadTask()
|
D | DisplayHashController.java | 223 || screenshotHardwareBuffer.getHardwareBuffer() == null) { in generateDisplayHash() 229 generateDisplayHash(screenshotHardwareBuffer.getHardwareBuffer(), boundsInWindow, in generateDisplayHash()
|
/frameworks/base/media/java/android/media/ |
D | Image.java | 268 public HardwareBuffer getHardwareBuffer() { in getHardwareBuffer() method in Image
|
/frameworks/base/native/graphics/jni/ |
D | bitmap.cpp | 94 *outBuffer = bitmap.getHardwareBuffer(); in AndroidBitmap_getHardwareBuffer()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MyLittleTextureView.java | 82 Bitmap bitmap = Bitmap.wrapHardwareBuffer(image.getHardwareBuffer(), in onCreate()
|
/frameworks/base/libs/hwui/apex/include/android/graphics/ |
D | bitmap.h | 134 AHardwareBuffer* getHardwareBuffer() const { return ABitmap_getHardwareBuffer(mBitmap); } in getHardwareBuffer() function
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | RotationAnimationUtils.java | 127 return RotationAnimationUtils.getMedianBorderLuma(buffer.getHardwareBuffer(), in getLumaOfSurfaceControl()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | TaskStackChangeListeners.java | 356 if (snapshot.getHardwareBuffer() != null) { in handleMessage() 357 snapshot.getHardwareBuffer().close(); in handleMessage()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/screenshot/ |
D | FakeSession.java | 77 when(image.getHardwareBuffer()).thenReturn(mock(HardwareBuffer.class)); in mockImage()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | RotationAnimationUtilsTest.java | 151 return hwBitmap.getHardwareBuffer(); in swBitmapToHardwareBuffer()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ScreenshotRequest.java | 303 bundle.putParcelable(KEY_BUFFER, bitmap.getHardwareBuffer()); in hardwareBitmapToBundle()
|