@Implements(android.hardware.HardwareBuffer.class) public class ShadowHardwareBuffer extends Object
Constructor | Description |
---|---|
ShadowHardwareBuffer() |
Modifier and Type | Method | Description |
---|---|---|
protected static long |
nCreateHardwareBuffer(int width,
int height,
int format,
int layers,
long usage) |
|
protected static int |
nGetFormat(long nativeObject) |
|
protected static int |
nGetHeight(long nativeObject) |
|
protected static int |
nGetLayers(long nativeObject) |
|
protected static long |
nGetUsage(long nativeObject) |
|
protected static int |
nGetWidth(long nativeObject) |
|
protected static long |
nReadHardwareBufferFromParcel(Parcel in) |
|
protected static void |
nWriteHardwareBufferToParcel(long nativeObject,
Parcel dest) |
@Implementation(minSdk=26) protected static long nCreateHardwareBuffer(int width, int height, int format, int layers, long usage)
@Implementation(minSdk=26) protected static void nWriteHardwareBufferToParcel(long nativeObject, Parcel dest)
@Implementation(minSdk=26) protected static long nReadHardwareBufferFromParcel(Parcel in)
@Implementation(minSdk=26) protected static int nGetWidth(long nativeObject)
@Implementation(minSdk=26) protected static int nGetHeight(long nativeObject)
@Implementation(minSdk=26) protected static int nGetFormat(long nativeObject)
@Implementation(minSdk=26) protected static int nGetLayers(long nativeObject)
@Implementation(minSdk=26) protected static long nGetUsage(long nativeObject)