Lines Matching refs:InputQueue
17 #define LOG_TAG "InputQueue"
48 InputQueue::InputQueue(jobject inputQueueObj, const sp<Looper>& looper,
56 InputQueue::~InputQueue() {
64 void InputQueue::attachLooper(Looper* looper, int ident,
76 void InputQueue::detachLooper() {
81 void InputQueue::detachLooperLocked() {
88 bool InputQueue::hasEvents() {
93 status_t InputQueue::getEvent(InputEvent** outEvent) {
115 bool InputQueue::preDispatchEvent(InputEvent* e) {
126 void InputQueue::finishEvent(InputEvent* event, bool handled) {
134 void InputQueue::handleMessage(const Message& message) {
140 ALOGW("InputQueue was finalized without being disposed");
163 void InputQueue::recycleInputEvent(InputEvent* event) {
167 KeyEvent* InputQueue::createKeyEvent() {
171 MotionEvent* InputQueue::createMotionEvent() {
175 void InputQueue::enqueueEvent(InputEvent* event) {
187 InputQueue* InputQueue::createQueue(jobject inputQueueObj, const sp<Looper>& looper) {
195 return new InputQueue(inputQueueObj, looper, pipeFds[0], pipeFds[1]);
204 sp<InputQueue> queue = InputQueue::createQueue(queueWeak, messageQueue->getLooper());
206 jniThrowRuntimeException(env, "InputQueue failed to initialize");
214 sp<InputQueue> queue = reinterpret_cast<InputQueue*>(ptr);
221 InputQueue* queue = reinterpret_cast<InputQueue*>(ptr);
239 sp<InputQueue> queue = reinterpret_cast<InputQueue*>(ptr);
259 static const char* const kInputQueuePathName = "android/view/InputQueue";