Package org.robolectric.shadows
Class ShadowNativeImageReaderSurfaceImage
java.lang.Object
org.robolectric.shadows.ShadowNativeImageReaderSurfaceImage
@Implements(className="android.media.ImageReader$SurfaceImage",
minSdk=28,
isInAndroidSdk=false,
shadowPicker=Picker.class,
callNativeMethodsByDefault=true)
public class ShadowNativeImageReaderSurfaceImage
extends Object
Shadow for
ImageReader.SurfaceImage
that is backed by native code.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Shadow picker forImageReader.SurfaceImage
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
nativeCreatePlanes
(int numPlanes, int readerFormat) protected Object
nativeCreatePlanes
(int numPlanes, int readerFormat, long readerUsage) protected int
nativeGetFormat
(int readerFormat) protected HardwareBuffer
protected int
protected int
-
Constructor Details
-
ShadowNativeImageReaderSurfaceImage
public ShadowNativeImageReaderSurfaceImage()
-
-
Method Details
-
nativeCreatePlanes
-
nativeCreatePlanes
@Implementation(minSdk=31, maxSdk=34) protected Object nativeCreatePlanes(int numPlanes, int readerFormat, long readerUsage) -
nativeGetWidth
-
nativeGetHeight
-
nativeGetFormat
-
nativeGetHardwareBuffer
-