Package org.robolectric.shadows
Class ShadowNativeHardwareRendererObserver
java.lang.Object
org.robolectric.shadows.ShadowNativeHardwareRendererObserver
@Implements(value=android.graphics.HardwareRendererObserver.class, minSdk=30, shadowPicker=Picker.class, isInAndroidSdk=false) public class ShadowNativeHardwareRendererObserver extends Object
Shadow for
HardwareRendererObserver
that is backed by native code-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowNativeHardwareRendererObserver.Picker
Shadow picker forHardwareRendererObserver
. -
Field Summary
Fields Modifier and Type Field Description HardwareRendererObserverNatives
hardwareRendererObserverNatives
-
Constructor Summary
Constructors Constructor Description ShadowNativeHardwareRendererObserver()
-
Method Summary
Modifier and Type Method Description protected long
nCreateObserver()
protected long
nCreateObserver(boolean waitForPresentTime)
protected static long
nCreateObserver(WeakReference<HardwareRendererObserver> observer, boolean waitForPresentTime)
protected static int
nGetNextBuffer(long nativePtr, long[] data)
-
Field Details
-
Constructor Details
-
ShadowNativeHardwareRendererObserver
public ShadowNativeHardwareRendererObserver()
-
-
Method Details
-
nGetNextBuffer
-
nCreateObserver
-
nCreateObserver
-
nCreateObserver
@Implementation(minSdk=33) protected static long nCreateObserver(WeakReference<HardwareRendererObserver> observer, boolean waitForPresentTime)
-