@Implements(className="android.view.DisplayEventReceiver", isInAndroidSdk=false, looseSignatures=true) public class ShadowDisplayEventReceiver extends Object
Modifier and Type | Field and Description |
---|---|
protected DisplayEventReceiver |
receiver |
Constructor and Description |
---|
ShadowDisplayEventReceiver() |
Modifier and Type | Method and Description |
---|---|
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 void |
nativeScheduleVsync(int receiverPtr) |
protected static void |
nativeScheduleVsync(long receiverPtr) |
protected void |
onVsync() |
@RealObject protected DisplayEventReceiver receiver
@Implementation(minSdk=26) protected static long nativeInit(WeakReference<DisplayEventReceiver> receiver, MessageQueue msgQueue, int vsyncSource)
@Implementation(minSdk=23, maxSdk=25) protected static long nativeInit(WeakReference<DisplayEventReceiver> receiver, MessageQueue msgQueue)
@Implementation(minSdk=20, maxSdk=22) protected static long nativeInit(DisplayEventReceiver receiver, MessageQueue msgQueue)
@Implementation(maxSdk=19) protected static int nativeInit(Object receiver, Object msgQueue)
@Implementation(minSdk=20) protected static void nativeDispose(long receiverPtr)
@Implementation(maxSdk=19) protected static void nativeDispose(int receiverPtr)
@Implementation(minSdk=20) protected static void nativeScheduleVsync(long receiverPtr)
@Implementation(maxSdk=19) protected static void nativeScheduleVsync(int receiverPtr)
protected void onVsync()