Home
last modified time | relevance | path

Searched refs:getHardwareBuffer (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DImageTile.java57 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/
DPipContentOverlay.java149 / 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/
DScreenshotUtils.java65 if (buffer == null || buffer.getHardwareBuffer() == null) { in accept()
76 mTransaction.setBuffer(mScreenshot, buffer.getHardwareBuffer()); in accept()
DTaskStackListenerImpl.java284 if (!snapshotConsumed && snapshot.getHardwareBuffer() != null) { in handleMessage()
285 snapshot.getHardwareBuffer().close(); in handleMessage()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DTaskSnapshotWindow.java182 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/
DThumbnailData.java75 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/
DAppTransitionAnimationSpecCompat.java39 mBuffer != null ? mBuffer.getHardwareBuffer() : null, mRect); in toAppTransitionAnimationSpec()
/frameworks/base/core/java/android/app/
DTaskStackListener.java164 if (mIsRemote && snapshot != null && snapshot.getHardwareBuffer() != null) { in onTaskSnapshotChanged()
166 snapshot.getHardwareBuffer().close(); in onTaskSnapshotChanged()
DSharedElementCallback.java188 HardwareBuffer hardwareBuffer = bitmap.getHardwareBuffer(); in onCaptureSharedElementSnapshot()
/frameworks/av/media/ndk/
DNdkImagePriv.h84 media_status_t getHardwareBuffer(/*out*/AHardwareBuffer** buffer) const;
/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceFreezer.java95 : screenshotBuffer.getHardwareBuffer(); in freeze()
211 return GraphicBuffer.createFromHardwareBuffer(screenshotBuffer.getHardwareBuffer()); in createFromHardwareBufferInner()
DTaskSnapshotController.java236 final HardwareBuffer buffer = snapshot.getHardwareBuffer(); in recordTaskSnapshot()
485 : screenshotBuffer.getHardwareBuffer();
518 builder.setSnapshot(screenshotBuffer.getHardwareBuffer());
615 topChild.mActivityComponent, hwBitmap.getHardwareBuffer(),
DTaskSnapshotPersister.java410 if (TaskSnapshotController.isInvalidHardwareBuffer(mSnapshot.getHardwareBuffer())) { in writeBuffer()
415 mSnapshot.getHardwareBuffer(), mSnapshot.getColorSpace()); in writeBuffer()
DBackNavigationController.java450 return backBuffer != null ? backBuffer.getHardwareBuffer() : null; in getActivitySnapshot()
460 return snapshot != null ? snapshot.getHardwareBuffer() : null; in getTaskSnapshot()
DTaskSnapshotLoader.java177 final HardwareBuffer buffer = hwBitmap.getHardwareBuffer(); in loadTask()
DDisplayHashController.java223 || screenshotHardwareBuffer.getHardwareBuffer() == null) { in generateDisplayHash()
229 generateDisplayHash(screenshotHardwareBuffer.getHardwareBuffer(), boundsInWindow, in generateDisplayHash()
/frameworks/base/media/java/android/media/
DImage.java268 public HardwareBuffer getHardwareBuffer() { in getHardwareBuffer() method in Image
/frameworks/base/native/graphics/jni/
Dbitmap.cpp94 *outBuffer = bitmap.getHardwareBuffer(); in AndroidBitmap_getHardwareBuffer()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMyLittleTextureView.java82 Bitmap bitmap = Bitmap.wrapHardwareBuffer(image.getHardwareBuffer(), in onCreate()
/frameworks/base/libs/hwui/apex/include/android/graphics/
Dbitmap.h134 AHardwareBuffer* getHardwareBuffer() const { return ABitmap_getHardwareBuffer(mBitmap); } in getHardwareBuffer() function
/frameworks/base/services/core/java/com/android/server/wm/utils/
DRotationAnimationUtils.java127 return RotationAnimationUtils.getMedianBorderLuma(buffer.getHardwareBuffer(), in getLumaOfSurfaceControl()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTaskStackChangeListeners.java356 if (snapshot.getHardwareBuffer() != null) { in handleMessage()
357 snapshot.getHardwareBuffer().close(); in handleMessage()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/screenshot/
DFakeSession.java77 when(image.getHardwareBuffer()).thenReturn(mock(HardwareBuffer.class)); in mockImage()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DRotationAnimationUtilsTest.java151 return hwBitmap.getHardwareBuffer(); in swBitmapToHardwareBuffer()
/frameworks/base/core/java/com/android/internal/util/
DScreenshotRequest.java303 bundle.putParcelable(KEY_BUFFER, bitmap.getHardwareBuffer()); in hardwareBitmapToBundle()

123