/frameworks/base/core/java/android/hardware/ |
D | HardwareBuffer.java | 46 public final class HardwareBuffer implements Parcelable, AutoCloseable { class 160 public static HardwareBuffer create( in create() 163 if (!HardwareBuffer.isSupportedFormat(format)) { in create() 184 return new HardwareBuffer(nativeObject); in create() 201 if (!HardwareBuffer.isSupportedFormat(format)) { in isSupported() 227 public static HardwareBuffer createFromGraphicBuffer(@NonNull GraphicBuffer graphicBuffer) { in createFromGraphicBuffer() 229 return new HardwareBuffer(nativeObject); in createFromGraphicBuffer() 237 private HardwareBuffer(long nativeObject) { in HardwareBuffer() method in HardwareBuffer 240 ClassLoader loader = HardwareBuffer.class.getClassLoader(); in HardwareBuffer() 379 public static final @android.annotation.NonNull Parcelable.Creator<HardwareBuffer> CREATOR = [all …]
|
D | HardwareBuffer.aidl | 19 parcelable HardwareBuffer;
|
D | SystemSensorManager.java | 65 long nativeInstance, long size, int channelType, int fd, HardwareBuffer buffer); in nativeCreateDirectChannel() 557 MemoryFile memoryFile, HardwareBuffer hardwareBuffer) { in createDirectChannelImpl() 584 if (hardwareBuffer.getFormat() != HardwareBuffer.BLOB) { in createDirectChannelImpl() 595 if ((hardwareBuffer.getUsage() & HardwareBuffer.USAGE_SENSOR_DIRECT_DATA) == 0) { in createDirectChannelImpl()
|
D | SensorManager.java | 930 public SensorDirectChannel createDirectChannel(HardwareBuffer mem) { in createDirectChannel() 936 MemoryFile memoryFile, HardwareBuffer hardwareBuffer); in createDirectChannelImpl()
|
/frameworks/av/media/codec2/vndk/include/ |
D | types.h | 107 using HardwareBuffer = ::android::hardware::graphics::common::V1_2:: variable 108 HardwareBuffer; 115 bool b2h(sp<GraphicBuffer> const& from, HardwareBuffer* to, 120 bool h2b(HardwareBuffer const& from, sp<GraphicBuffer>* to);
|
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/ |
D | types.h | 106 using HardwareBuffer = ::android::hardware::graphics::common::V1_2:: variable 107 HardwareBuffer; 114 bool b2h(sp<GraphicBuffer> const& from, HardwareBuffer* to, 119 bool h2b(HardwareBuffer const& from, sp<GraphicBuffer>* to);
|
D | B2HGraphicBufferProducer.h | 47 using ::android::hardware::graphics::common::V1_2::HardwareBuffer; 72 HardwareBuffer const& buffer,
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MyLittleTextureView.java | 29 import android.hardware.HardwareBuffer; 48 HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE | HardwareBuffer.USAGE_GPU_COLOR_OUTPUT); in onCreate()
|
/frameworks/base/media/java/android/media/ |
D | Image.java | 22 import android.hardware.HardwareBuffer; 223 public HardwareBuffer getHardwareBuffer() { in getHardwareBuffer()
|
D | ImageReader.java | 23 import android.hardware.HardwareBuffer; 24 import android.hardware.HardwareBuffer.Usage; 135 format == ImageFormat.PRIVATE ? 0 : HardwareBuffer.USAGE_CPU_READ_OFTEN); in newInstance() 882 public HardwareBuffer getHardwareBuffer() { in getHardwareBuffer() 1031 private synchronized native HardwareBuffer nativeGetHardwareBuffer(); in nativeGetHardwareBuffer()
|
D | ImageWriter.java | 26 import android.hardware.HardwareBuffer; 755 public HardwareBuffer getHardwareBuffer() { in getHardwareBuffer() 883 private synchronized native HardwareBuffer nativeGetHardwareBuffer(); in nativeGetHardwareBuffer()
|
/frameworks/native/libs/gui/bufferqueue/2.0/ |
D | B2HGraphicBufferProducer.cpp | 88 HardwareBuffer hBuffer{}; in requestBuffer() 147 HardwareBuffer hBuffer{}; in detachNextBuffer() 160 HardwareBuffer const& hBuffer, in attachBuffer()
|
D | types.cpp | 260 bool b2h(sp<GraphicBuffer> const& from, HardwareBuffer* to, in b2h() 280 bool h2b(HardwareBuffer const& from, sp<GraphicBuffer>* to) { in h2b()
|
D | H2BGraphicBufferProducer.cpp | 90 HardwareBuffer const& hBuffer, in requestBuffer() 201 HardwareBuffer const& hBuffer, in detachNextBuffer() 220 HardwareBuffer hBuffer{}; in attachBuffer()
|
/frameworks/base/core/java/android/app/ |
D | SharedElementCallback.java | 27 import android.hardware.HardwareBuffer; 249 bitmap = Bitmap.wrapHardwareBuffer(HardwareBuffer.createFromGraphicBuffer(buffer), in onCreateSnapshotView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | AsyncSensorManager.java | 20 import android.hardware.HardwareBuffer; 107 HardwareBuffer hardwareBuffer) { in createDirectChannelImpl()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/ |
D | FakeSensorManager.java | 20 import android.hardware.HardwareBuffer; 145 HardwareBuffer hardwareBuffer) { in createDirectChannelImpl()
|
/frameworks/av/media/codec2/vndk/ |
D | types.cpp | 267 bool b2h(sp<GraphicBuffer> const& from, HardwareBuffer* to, in b2h() 287 bool h2b(HardwareBuffer const& from, sp<GraphicBuffer>* to) { in h2b()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 27 import android.hardware.HardwareBuffer; 753 public static Bitmap wrapHardwareBuffer(@NonNull HardwareBuffer hardwareBuffer, in wrapHardwareBuffer() 755 if ((hardwareBuffer.getUsage() & HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE) == 0) { in wrapHardwareBuffer() 772 try (HardwareBuffer hb = HardwareBuffer.createFromGraphicBuffer(graphicBuffer)) { in wrapHardwareBuffer() 2276 private static native Bitmap nativeWrapHardwareBufferBitmap(HardwareBuffer buffer, in nativeWrapHardwareBufferBitmap()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | BitmapTest.java | 19 import android.hardware.HardwareBuffer; 249 Bitmap.wrapHardwareBuffer(HardwareBuffer.createFromGraphicBuffer(buffer), null); in testWrapHardwareBufferWithSrgbColorSpace() 263 HardwareBuffer.createFromGraphicBuffer(buffer), in testWrapHardwareBufferWithDisplayP3ColorSpace()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Bitmap_Delegate.java | 33 import android.hardware.HardwareBuffer; 625 /*package*/ static Bitmap nativeWrapHardwareBufferBitmap(HardwareBuffer buffer, in nativeWrapHardwareBufferBitmap()
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 48 using HBuffer = ::android::hardware::graphics::common::V1_2::HardwareBuffer;
|
/frameworks/base/api/ |
D | removed.txt | 268 public final class HardwareBuffer implements java.lang.AutoCloseable android.os.Parcelable {
|
/frameworks/base/non-updatable-api/ |
D | removed.txt | 268 public final class HardwareBuffer implements java.lang.AutoCloseable android.os.Parcelable {
|
/frameworks/base/config/ |
D | preloaded-classes | 1400 android.hardware.HardwareBuffer$1 1401 android.hardware.HardwareBuffer
|