Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_view_InputQueue.cpp88 return mPendingEvents.size() > 0; in hasEvents()
94 if (!mPendingEvents.isEmpty()) { in getEvent()
95 *outEvent = mPendingEvents[0]; in getEvent()
96 mPendingEvents.removeAt(0); in getEvent()
99 if (mPendingEvents.isEmpty()) { in getEvent()
175 mPendingEvents.push(event); in enqueueEvent()
176 if (mPendingEvents.size() == 1) { in enqueueEvent()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java214 private final SparseArray<InputEvent> mPendingEvents = new SparseArray<InputEvent>(); field in IInputMethodSessionWrapper.ImeInputEventReceiver
229 mPendingEvents.put(seq, event); in onInputEvent()
245 int index = mPendingEvents.indexOfKey(seq); in finishedEvent()
247 InputEvent event = mPendingEvents.valueAt(index); in finishedEvent()
248 mPendingEvents.removeAt(index); in finishedEvent()
/frameworks/native/services/surfaceflinger/
DEventThread.cpp168 mPendingEvents.add(event); in onHotplugReceived()
229 eventPending = !mPendingEvents.isEmpty(); in waitForEvent()
232 *event = mPendingEvents[0]; in waitForEvent()
233 mPendingEvents.removeAt(0); in waitForEvent()
DEventThread.h122 Vector< DisplayEventReceiver::Event > mPendingEvents; variable
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java382 final SparseArray<PendingEvent> mPendingEvents = new SparseArray<PendingEvent>(20); field in InputMethodManager
1804 mPendingEvents.put(seq, p); in sendInputEventOnMainLooperLocked()
1806 mPendingEvents.size()); in sendInputEventOnMainLooperLocked()
1823 int index = mPendingEvents.indexOfKey(seq); in finishedInputEvent()
1828 p = mPendingEvents.valueAt(index); in finishedInputEvent()
1829 mPendingEvents.removeAt(index); in finishedInputEvent()
1830 Trace.traceCounter(Trace.TRACE_TAG_INPUT, PENDING_EVENT_COUNTER, mPendingEvents.size()); in finishedInputEvent()
1862 final int count = mPendingEvents.size(); in flushPendingEventsLocked()
1864 int seq = mPendingEvents.keyAt(i); in flushPendingEventsLocked()
/frameworks/base/include/android_runtime/
Dandroid_view_InputQueue.h79 Vector<InputEvent*> mPendingEvents; variable
/frameworks/base/media/java/android/media/tv/
DTvInputManager.java1130 private final SparseArray<PendingEvent> mPendingEvents = new SparseArray<PendingEvent>(20);
1589 mPendingEvents.put(seq, p);
1605 int index = mPendingEvents.indexOfKey(seq);
1610 p = mPendingEvents.valueAt(index);
1611 mPendingEvents.removeAt(index);
1643 final int count = mPendingEvents.size();
1645 int seq = mPendingEvents.keyAt(i);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java1935 final SparseArray<AccessibilityEvent> mPendingEvents = field in AccessibilityManagerService.Service
2669 AccessibilityEvent oldEvent = mPendingEvents.get(eventType); in notifyAccessibilityEvent()
2670 mPendingEvents.put(eventType, newEvent); in notifyAccessibilityEvent()
2701 event = mPendingEvents.get(eventType); in notifyAccessibilityEventInternal()
2722 mPendingEvents.remove(eventType); in notifyAccessibilityEventInternal()
2937 private PendingEvent mPendingEvents; field in AccessibilityManagerService.Service.KeyEventDispatcher
2990 pendingEvent.next = mPendingEvents; in addPendingEventLocked()
2991 mPendingEvents = pendingEvent; in addPendingEventLocked()
2997 PendingEvent current = mPendingEvents; in removePendingEventLocked()
3004 mPendingEvents = current.next; in removePendingEventLocked()
[all …]