Lines Matching defs:InputQueue
17 #define LOG_TAG "InputQueue"
46 InputQueue::InputQueue(jobject inputQueueObj, const sp<Looper>& looper,
54 InputQueue::~InputQueue() {
62 void InputQueue::attachLooper(Looper* looper, int ident,
74 void InputQueue::detachLooper() {
79 void InputQueue::detachLooperLocked() {
86 bool InputQueue::hasEvents() {
91 status_t InputQueue::getEvent(InputEvent** outEvent) {
113 bool InputQueue::preDispatchEvent(InputEvent* e) {
124 void InputQueue::finishEvent(InputEvent* event, bool handled) {
132 void InputQueue::handleMessage(const Message& message) {
138 ALOGW("InputQueue was finalized without being disposed");
161 void InputQueue::recycleInputEvent(InputEvent* event) {
165 KeyEvent* InputQueue::createKeyEvent() {
169 MotionEvent* InputQueue::createMotionEvent() {
173 void InputQueue::enqueueEvent(InputEvent* event) {
185 InputQueue* InputQueue::createQueue(jobject inputQueueObj, const sp<Looper>& looper) {
193 return new InputQueue(inputQueueObj, looper, pipeFds[0], pipeFds[1]);
202 sp<InputQueue> queue = InputQueue::createQueue(queueWeak, messageQueue->getLooper());
204 jniThrowRuntimeException(env, "InputQueue failed to initialize");
212 sp<InputQueue> queue = reinterpret_cast<InputQueue*>(ptr);
219 InputQueue* queue = reinterpret_cast<InputQueue*>(ptr);
237 sp<InputQueue> queue = reinterpret_cast<InputQueue*>(ptr);
257 static const char* const kInputQueuePathName = "android/view/InputQueue";