Package org.robolectric.shadows
Class ShadowNativeImageReaderSurfaceImage
java.lang.Object
org.robolectric.shadows.ShadowNativeImageReaderSurfaceImage
@Implements(className="android.media.ImageReader$SurfaceImage",
minSdk=28,
looseSignatures=true,
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
(Object numPlanes, Object readerFormat) protected Object
nativeCreatePlanes
(Object numPlanes, Object readerFormat, Object readerUsage) protected int
nativeGetFormat
(int readerFormat) protected HardwareBuffer
protected int
protected int
-
Constructor Details
-
ShadowNativeImageReaderSurfaceImage
public ShadowNativeImageReaderSurfaceImage()
-
-
Method Details
-
nativeCreatePlanes
@Implementation(maxSdk=30) protected Object nativeCreatePlanes(Object numPlanes, Object readerFormat) -
nativeCreatePlanes
-
nativeGetWidth
-
nativeGetHeight
-
nativeGetFormat
-
nativeGetHardwareBuffer
-