Home
last modified time | relevance | path

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

12

/frameworks/native/libs/gui/
DDisplayEventReceiver.cpp35 DisplayEventReceiver::DisplayEventReceiver(ISurfaceComposer::VsyncSource vsyncSource) { in DisplayEventReceiver() function in android::DisplayEventReceiver
46 DisplayEventReceiver::~DisplayEventReceiver() { in ~DisplayEventReceiver()
49 status_t DisplayEventReceiver::initCheck() const { in initCheck()
55 int DisplayEventReceiver::getFd() const { in getFd()
62 status_t DisplayEventReceiver::setVsyncRate(uint32_t count) { in setVsyncRate()
73 status_t DisplayEventReceiver::requestNextVsync() { in requestNextVsync()
82 ssize_t DisplayEventReceiver::getEvents(DisplayEventReceiver::Event* events, in getEvents()
84 return DisplayEventReceiver::getEvents(mDataChannel.get(), events, count); in getEvents()
87 ssize_t DisplayEventReceiver::getEvents(gui::BitTube* dataChannel, in getEvents()
93 ssize_t DisplayEventReceiver::sendEvents(gui::BitTube* dataChannel, in sendEvents()
DAndroid.bp79 "DisplayEventReceiver.cpp",
/frameworks/native/services/displayservice/
DDisplayEventReceiver.cpp47 DisplayEventReceiver::AttachedEvent::AttachedEvent(const sp<IEventCallback> &callback) in AttachedEvent()
57 DisplayEventReceiver::AttachedEvent::~AttachedEvent() { in ~AttachedEvent()
63 bool DisplayEventReceiver::AttachedEvent::detach() { in detach()
71 bool DisplayEventReceiver::AttachedEvent::valid() const { in valid()
75 DisplayEventReceiver::FwkReceiver &DisplayEventReceiver::AttachedEvent::receiver() { in receiver()
79 int DisplayEventReceiver::AttachedEvent::handleEvent(int fd, int events, void* /* data */) { in handleEvent()
120 Return<Status> DisplayEventReceiver::init(const sp<IEventCallback>& callback) { in init()
132 Return<Status> DisplayEventReceiver::setVsyncRate(int32_t count) { in setVsyncRate()
143 Return<Status> DisplayEventReceiver::requestNextVsync() { in requestNextVsync()
154 Return<Status> DisplayEventReceiver::close() { in close()
DDisplayService.cpp27 return new DisplayEventReceiver(); in getEventReceiver()
DAndroid.bp22 "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.java37 public abstract class DisplayEventReceiver { class
65 private static native long nativeInit(WeakReference<DisplayEventReceiver> receiver, in nativeInit()
76 public DisplayEventReceiver(Looper looper) { in DisplayEventReceiver() method in DisplayEventReceiver
86 public DisplayEventReceiver(Looper looper, int vsyncSource) { in DisplayEventReceiver() method in DisplayEventReceiver
92 mReceiverPtr = nativeInit(new WeakReference<DisplayEventReceiver>(this), mMessageQueue, in DisplayEventReceiver()
DChoreographer.java19 import static android.view.DisplayEventReceiver.VSYNC_SOURCE_APP;
20 import static android.view.DisplayEventReceiver.VSYNC_SOURCE_SURFACE_FLINGER;
838 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()
328 mVSyncEvent[0].header.type = DisplayEventReceiver::DISPLAY_EVENT_VSYNC; in waitForEvent()
420 const DisplayEventReceiver::Event& event) { in postEvent()
421 ssize_t size = DisplayEventReceiver::sendEvents(&mChannel, &event, 1); in postEvent()
DEventThread.h62 status_t postEvent(const DisplayEventReceiver::Event& event);
99 DisplayEventReceiver::Event* event);
127 Vector< DisplayEventReceiver::Event > mPendingEvents;
128 DisplayEventReceiver::Event mVSyncEvent[DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES];
DMessageQueue.cpp151 DisplayEventReceiver::Event buffer[8]; in eventReceiver()
152 while ((n = DisplayEventReceiver::getEvents(&mEventTube, buffer, 8)) > 0) { in eventReceiver()
154 if (buffer[i].header.type == DisplayEventReceiver::DISPLAY_EVENT_VSYNC) { in eventReceiver()
/frameworks/base/libs/androidfw/
DDisplayEventDispatcher.cpp119 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in processPendingEvents()
124 const DisplayEventReceiver::Event& ev = buf[i]; in processPendingEvents()
126 case DisplayEventReceiver::DISPLAY_EVENT_VSYNC: in processPendingEvents()
134 case DisplayEventReceiver::DISPLAY_EVENT_HOTPLUG: in processPendingEvents()
/frameworks/native/include/gui/
DDisplayEventReceiver.h50 class DisplayEventReceiver {
87 DisplayEventReceiver(
95 ~DisplayEventReceiver();
/frameworks/native/services/displayservice/include/displayservice/
DDisplayEventReceiver.h37 class DisplayEventReceiver : public IDisplayEventReceiver {
45 using FwkReceiver = ::android::DisplayEventReceiver;
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp179 mDisplayEventReceiver = new DisplayEventReceiver(); in initializeDisplayEventReceiver()
245 static nsecs_t latestVsyncEvent(DisplayEventReceiver* receiver) { in latestVsyncEvent()
246 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in latestVsyncEvent()
251 const DisplayEventReceiver::Event& ev = buf[i]; in latestVsyncEvent()
253 case DisplayEventReceiver::DISPLAY_EVENT_VSYNC: in latestVsyncEvent()
DRenderThread.h36 class DisplayEventReceiver; variable
141 DisplayEventReceiver* mDisplayEventReceiver;
/frameworks/base/libs/androidfw/include/androidfw/
DDisplayEventDispatcher.h37 DisplayEventReceiver mReceiver;
/frameworks/base/libs/hwui/tests/common/
DTestContext.h65 DisplayEventReceiver mDisplayEventReceiver;
DTestContext.cpp126 DisplayEventReceiver::Event buf[100]; in waitForVsync()
/frameworks/base/libs/input/
DPointerController.h149 DisplayEventReceiver mDisplayEventReceiver;
DPointerController.cpp501 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in handleEvent()
504 if (buf[i].header.type == DisplayEventReceiver::DISPLAY_EVENT_VSYNC) { in handleEvent()
/frameworks/base/core/jni/
Dandroid_view_DisplayEventReceiver.cpp60 DisplayEventReceiver mReceiver;
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java35 import android.view.DisplayEventReceiver;
669 private final class HotplugDisplayEventReceiver extends DisplayEventReceiver {
/frameworks/base/
Dpreloaded-classes2363 android.view.DisplayEventReceiver
/frameworks/base/services/
Dprofile-classes2710 Landroid/view/DisplayEventReceiver;

12