Home
last modified time | relevance | path

Searched refs:DisplayEventReceiver (Results 1 – 22 of 22) sorted by relevance

/frameworks/native/libs/gui/
DDisplayEventReceiver.cpp34 DisplayEventReceiver::DisplayEventReceiver() { in DisplayEventReceiver() function in android::DisplayEventReceiver
44 DisplayEventReceiver::~DisplayEventReceiver() { in ~DisplayEventReceiver()
47 status_t DisplayEventReceiver::initCheck() const { in initCheck()
53 int DisplayEventReceiver::getFd() const { in getFd()
60 status_t DisplayEventReceiver::setVsyncRate(uint32_t count) { in setVsyncRate()
71 status_t DisplayEventReceiver::requestNextVsync() { in requestNextVsync()
80 ssize_t DisplayEventReceiver::getEvents(DisplayEventReceiver::Event* events, in getEvents()
82 return DisplayEventReceiver::getEvents(mDataChannel, events, count); in getEvents()
85 ssize_t DisplayEventReceiver::getEvents(const sp<BitTube>& dataChannel, in getEvents()
91 ssize_t DisplayEventReceiver::sendEvents(const sp<BitTube>& dataChannel, in sendEvents()
DAndroid.mk54 DisplayEventReceiver.cpp \
/frameworks/native/services/surfaceflinger/tests/vsync/
Dvsync.cpp25 DisplayEventReceiver* q = (DisplayEventReceiver*)data; in receiver()
28 DisplayEventReceiver::Event buffer[1]; in receiver()
34 if (buffer[i].header.type == DisplayEventReceiver::DISPLAY_EVENT_VSYNC) { in receiver()
52 DisplayEventReceiver myDisplayEvent; in main()
/frameworks/base/core/java/android/view/
DDisplayEventReceiver.java36 public abstract class DisplayEventReceiver { class
47 private static native long nativeInit(WeakReference<DisplayEventReceiver> receiver, in nativeInit()
57 public DisplayEventReceiver(Looper looper) { in DisplayEventReceiver() method in DisplayEventReceiver
63 mReceiverPtr = nativeInit(new WeakReference<DisplayEventReceiver>(this), mMessageQueue); in DisplayEventReceiver()
DChoreographer.java798 private final class FrameDisplayEventReceiver extends DisplayEventReceiver
/frameworks/native/services/surfaceflinger/
DEventThread.cpp56 mVSyncEvent[i].header.type = DisplayEventReceiver::DISPLAY_EVENT_VSYNC; in EventThread()
159 mVSyncEvent[0].header.type = DisplayEventReceiver::DISPLAY_EVENT_VSYNC; in onVSyncEvent()
172 DisplayEventReceiver::Event event; in onHotplugReceived()
173 event.header.type = DisplayEventReceiver::DISPLAY_EVENT_HOTPLUG; in onHotplugReceived()
183 DisplayEventReceiver::Event event; in threadLoop()
214 DisplayEventReceiver::Event* event) in waitForEvent()
325 mVSyncEvent[0].header.type = DisplayEventReceiver::DISPLAY_EVENT_VSYNC; in waitForEvent()
415 const DisplayEventReceiver::Event& event) { in postEvent()
416 ssize_t size = DisplayEventReceiver::sendEvents(mChannel, &event, 1); in postEvent()
DEventThread.h61 status_t postEvent(const DisplayEventReceiver::Event& event);
98 DisplayEventReceiver::Event* event);
126 Vector< DisplayEventReceiver::Event > mPendingEvents;
127 DisplayEventReceiver::Event mVSyncEvent[DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES];
DMessageQueue.cpp171 DisplayEventReceiver::Event buffer[8]; in eventReceiver()
172 while ((n = DisplayEventReceiver::getEvents(mEventTube, buffer, 8)) > 0) { in eventReceiver()
174 if (buffer[i].header.type == DisplayEventReceiver::DISPLAY_EVENT_VSYNC) { in eventReceiver()
/frameworks/base/libs/androidfw/
DDisplayEventDispatcher.cpp118 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in processPendingEvents()
123 const DisplayEventReceiver::Event& ev = buf[i]; in processPendingEvents()
125 case DisplayEventReceiver::DISPLAY_EVENT_VSYNC: in processPendingEvents()
133 case DisplayEventReceiver::DISPLAY_EVENT_HOTPLUG: in processPendingEvents()
/frameworks/native/include/gui/
DDisplayEventReceiver.h40 class DisplayEventReceiver {
77 DisplayEventReceiver();
84 ~DisplayEventReceiver();
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp173 mDisplayEventReceiver = new DisplayEventReceiver(); in initializeDisplayEventReceiver()
214 static nsecs_t latestVsyncEvent(DisplayEventReceiver* receiver) { in latestVsyncEvent()
215 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in latestVsyncEvent()
220 const DisplayEventReceiver::Event& ev = buf[i]; in latestVsyncEvent()
222 case DisplayEventReceiver::DISPLAY_EVENT_VSYNC: in latestVsyncEvent()
DRenderThread.h35 class DisplayEventReceiver; variable
131 DisplayEventReceiver* mDisplayEventReceiver;
/frameworks/base/libs/hwui/tests/common/
DTestContext.h49 DisplayEventReceiver mDisplayEventReceiver;
DTestContext.cpp87 DisplayEventReceiver::Event buf[100]; in waitForVsync()
/frameworks/base/include/androidfw/
DDisplayEventDispatcher.h36 DisplayEventReceiver mReceiver;
/frameworks/base/core/jni/
Dandroid_view_DisplayEventReceiver.cpp65 DisplayEventReceiver mReceiver;
/frameworks/base/libs/input/
DPointerController.h148 DisplayEventReceiver mDisplayEventReceiver;
DPointerController.cpp477 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in handleEvent()
480 if (buf[i].header.type == DisplayEventReceiver::DISPLAY_EVENT_VSYNC) { in handleEvent()
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java35 import android.view.DisplayEventReceiver;
645 private final class HotplugDisplayEventReceiver extends DisplayEventReceiver {
/frameworks/rs/
DrsContext.cpp322 DisplayEventReceiver displayEvent; in threadProc()
323 DisplayEventReceiver::Event eventBuffer[1]; in threadProc()
/frameworks/base/
Dpreloaded-classes2056 android.view.DisplayEventReceiver
Dcompiled-classes-phone4235 android.view.DisplayEventReceiver