Home
last modified time | relevance | path

Searched refs:mPendingEvents (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/jni/
Dandroid_view_InputQueue.cpp91 return mPendingEvents.size() > 0; in hasEvents()
97 if (!mPendingEvents.isEmpty()) { in getEvent()
98 *outEvent = mPendingEvents[0]; in getEvent()
99 mPendingEvents.removeAt(0); in getEvent()
102 if (mPendingEvents.isEmpty()) { in getEvent()
178 mPendingEvents.push(event); in enqueueEvent()
179 if (mPendingEvents.size() == 1) { in enqueueEvent()
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp254 mPendingEvents.emplace_back(event); in postEvent()
259 auto size = DisplayEventReceiver::sendEvents(&mChannel, mPendingEvents.data(), in postEvent()
260 mPendingEvents.size()); in postEvent()
261 mPendingEvents.clear(); in postEvent()
429 mPendingEvents.push_back(makeVSync(mVSyncState->displayId, wakeupTime, ++mVSyncState->count, in onVsync()
437 mPendingEvents.push_back(makeHotplug(displayId, systemTime(), connected)); in onHotplugReceived()
444 mPendingEvents.push_back(makeHotplugError(systemTime(), errorCode)); in onHotplugConnectionError()
451 mPendingEvents.push_back(makeModeChanged(mode)); in onModeChanged()
460 mPendingEvents.push_back(makeFrameRateOverrideEvent(displayId, frameRateOverride)); in onFrameRateOverridesChanged()
462 mPendingEvents.push_back(makeFrameRateOverrideFlushEvent(displayId)); in onFrameRateOverridesChanged()
[all …]
DEventThread.h96 std::vector<DisplayEventReceiver::Event> mPendingEvents; variable
233 std::deque<DisplayEventReceiver::Event> mPendingEvents GUARDED_BY(mMutex);
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java236 private final SparseArray<InputEvent> mPendingEvents = new SparseArray<InputEvent>(); field in IInputMethodSessionWrapper.ImeInputEventReceiver
251 mPendingEvents.put(seq, event); in onInputEvent()
267 int index = mPendingEvents.indexOfKey(seq); in finishedEvent()
269 InputEvent event = mPendingEvents.valueAt(index); in finishedEvent()
270 mPendingEvents.removeAt(index); in finishedEvent()
DInputMethodService.java395 private RingBuffer<MotionEvent> mPendingEvents; field in InputMethodService
2734 if (mPendingEvents == null) { in onStylusHandwritingMotionEvent()
2735 mPendingEvents = new RingBuffer(MotionEvent.class, MAX_EVENTS_BUFFER); in onStylusHandwritingMotionEvent()
2737 mPendingEvents.append(motionEvent); in onStylusHandwritingMotionEvent()
2740 if (mPendingEvents != null && !mPendingEvents.isEmpty()) { in onStylusHandwritingMotionEvent()
2741 for (MotionEvent event : mPendingEvents.toArray()) { in onStylusHandwritingMotionEvent()
2747 mPendingEvents.clear(); in onStylusHandwritingMotionEvent()
/frameworks/base/media/java/android/media/tv/ad/
DTvAdManager.java625 private final SparseArray<PendingEvent> mPendingEvents = new SparseArray<>(20); field in TvAdManager.Session
767 final int count = mPendingEvents.size(); in flushPendingEventsLocked()
769 int seq = mPendingEvents.keyAt(i); in flushPendingEventsLocked()
1065 mPendingEvents.put(seq, p); in sendInputEventOnMainLooperLocked()
1082 int index = mPendingEvents.indexOfKey(seq); in finishedInputEvent()
1087 p = mPendingEvents.valueAt(index); in finishedInputEvent()
1088 mPendingEvents.removeAt(index); in finishedInputEvent()
/frameworks/base/core/jni/include/android_runtime/
Dandroid_view_InputQueue.h79 Vector<InputEvent*> mPendingEvents; variable
/frameworks/base/media/java/android/media/tv/interactive/
DTvInteractiveAppManager.java1093 private final SparseArray<PendingEvent> mPendingEvents = new SparseArray<>(20); field in TvInteractiveAppManager.Session
1851 final int count = mPendingEvents.size(); in flushPendingEventsLocked()
1853 int seq = mPendingEvents.keyAt(i); in flushPendingEventsLocked()
1929 mPendingEvents.put(seq, p); in sendInputEventOnMainLooperLocked()
1946 int index = mPendingEvents.indexOfKey(seq); in finishedInputEvent()
1951 p = mPendingEvents.valueAt(index); in finishedInputEvent()
1952 mPendingEvents.removeAt(index); in finishedInputEvent()
/frameworks/base/media/java/android/media/tv/
DTvInputManager.java2969 private final SparseArray<PendingEvent> mPendingEvents = new SparseArray<>(20);
3925 mPendingEvents.put(seq, p);
3941 int index = mPendingEvents.indexOfKey(seq);
3946 p = mPendingEvents.valueAt(index);
3947 mPendingEvents.removeAt(index);
3979 final int count = mPendingEvents.size();
3981 int seq = mPendingEvents.keyAt(i);
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java692 private final SparseArray<PendingEvent> mPendingEvents = new SparseArray<>(20); field in InputMethodManager
4213 mPendingEvents.put(seq, p); in sendInputEventOnMainLooperLocked()
4215 mPendingEvents.size()); in sendInputEventOnMainLooperLocked()
4236 int index = mPendingEvents.indexOfKey(seq); in finishedInputEvent()
4241 p = mPendingEvents.valueAt(index); in finishedInputEvent()
4242 mPendingEvents.removeAt(index); in finishedInputEvent()
4243 Trace.traceCounter(Trace.TRACE_TAG_INPUT, PENDING_EVENT_COUNTER, mPendingEvents.size()); in finishedInputEvent()
4276 final int count = mPendingEvents.size(); in flushPendingEventsLocked()
4278 int seq = mPendingEvents.keyAt(i); in flushPendingEventsLocked()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java221 final SparseArray<AccessibilityEvent> mPendingEvents = new SparseArray<>(); field in AbstractAccessibilityServiceConnection
1780 final AccessibilityEvent oldEvent = mPendingEvents.get(eventType); in notifyAccessibilityEvent()
1781 mPendingEvents.put(eventType, newEvent); in notifyAccessibilityEvent()
1876 event = mPendingEvents.get(eventType); in notifyAccessibilityEventInternal()
1880 mPendingEvents.remove(eventType); in notifyAccessibilityEventInternal()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt31462 Landroid/media/tv/TvInputManager$Session;->mPendingEvents:Landroid/util/SparseArray;
59885 Landroid/view/inputmethod/InputMethodManager;->mPendingEvents:Landroid/util/SparseArray;