Package org.robolectric.shadows
Class ShadowHardwareBuffer
java.lang.Object
org.robolectric.shadows.ShadowHardwareBuffer
@Implements(value=android.hardware.HardwareBuffer.class,
minSdk=26)
public class ShadowHardwareBuffer
extends Object
Shadow of android.hardware.HardwareBuffer.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
protected static void
nWriteHardwareBufferToParcel
(long nativeObject, Parcel dest)
-
Constructor Details
-
ShadowHardwareBuffer
public ShadowHardwareBuffer()
-
-
Method Details
-
nCreateHardwareBuffer
@Implementation(minSdk=26) protected static long nCreateHardwareBuffer(int width, int height, int format, int layers, long usage) -
nWriteHardwareBufferToParcel
@Implementation(minSdk=26) protected static void nWriteHardwareBufferToParcel(long nativeObject, Parcel dest) -
nReadHardwareBufferFromParcel
-
nGetWidth
-
nGetHeight
-
nGetFormat
-
nGetLayers
-
nGetUsage
-