Package org.robolectric.shadows
Class ShadowDisplayEventReceiver
- java.lang.Object
-
- org.robolectric.shadows.ShadowDisplayEventReceiver
-
@Implements(className="android.view.DisplayEventReceiver", isInAndroidSdk=false, looseSignatures=true) public class ShadowDisplayEventReceiver extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interface
ShadowDisplayEventReceiver.DisplayEventReceiverReflector
Reflector interface forDisplayEventReceiver
's internals.
-
Field Summary
Fields Modifier and Type Field Description protected DisplayEventReceiver
realReceiver
-
Constructor Summary
Constructors Constructor Description ShadowDisplayEventReceiver()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
dispose(boolean finalized)
protected static void
nativeDispose(int receiverPtr)
protected static void
nativeDispose(long receiverPtr)
protected static long
nativeInit(DisplayEventReceiver receiver, MessageQueue msgQueue)
protected static int
nativeInit(Object receiver, Object msgQueue)
protected static long
nativeInit(WeakReference<DisplayEventReceiver> receiver, MessageQueue msgQueue)
protected static long
nativeInit(WeakReference<DisplayEventReceiver> receiver, MessageQueue msgQueue, int vsyncSource)
protected static long
nativeInit(WeakReference<DisplayEventReceiver> receiver, MessageQueue msgQueue, int vsyncSource, int configChanged)
protected static void
nativeScheduleVsync(int receiverPtr)
protected static void
nativeScheduleVsync(long receiverPtr)
protected void
onVsync()
static void
reset()
-
-
-
Field Detail
-
realReceiver
@RealObject protected DisplayEventReceiver realReceiver
-
-
Method Detail
-
nativeInit
@Implementation(minSdk=26, maxSdk=29) protected static long nativeInit(WeakReference<DisplayEventReceiver> receiver, MessageQueue msgQueue, int vsyncSource)
-
nativeInit
@Implementation(minSdk=23, maxSdk=25) protected static long nativeInit(WeakReference<DisplayEventReceiver> receiver, MessageQueue msgQueue)
-
nativeInit
@Implementation(minSdk=20, maxSdk=22) protected static long nativeInit(DisplayEventReceiver receiver, MessageQueue msgQueue)
-
nativeInit
@Implementation(maxSdk=19) protected static int nativeInit(Object receiver, Object msgQueue)
-
nativeInit
@Implementation(minSdk=30) protected static long nativeInit(WeakReference<DisplayEventReceiver> receiver, MessageQueue msgQueue, int vsyncSource, int configChanged)
-
nativeDispose
@Implementation(minSdk=20) protected static void nativeDispose(long receiverPtr)
-
nativeDispose
@Implementation(maxSdk=19) protected static void nativeDispose(int receiverPtr)
-
nativeScheduleVsync
@Implementation(minSdk=20) protected static void nativeScheduleVsync(long receiverPtr)
-
nativeScheduleVsync
@Implementation(maxSdk=19) protected static void nativeScheduleVsync(int receiverPtr)
-
dispose
@Implementation(minSdk=17, maxSdk=30) protected void dispose(boolean finalized)
-
reset
@Resetter public static void reset()
-
onVsync
protected void onVsync()
-
-