Searched refs:handled (Results 1 - 25 of 68) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/view/
H A DIInputConnectionCallback.aidl30 void finishedEvent(int seq, boolean handled);
H A DIInputMethodCallback.aidl32 void finishedEvent(int seq, boolean handled);
/frameworks/base/core/java/android/inputmethodservice/
H A DAbstractInputMethodService.java135 boolean handled = event.dispatch(AbstractInputMethodService.this,
138 callback.finishedEvent(seq, handled);
147 boolean handled = onTrackballEvent(event);
149 callback.finishedEvent(seq, handled);
H A DSoftInputWindow.java79 boolean handled = super.dispatchTouchEvent(temp);
81 return handled;
/frameworks/base/core/java/android/view/
H A DTouchDelegate.java111 boolean handled = false;
149 handled = delegateView.dispatchTouchEvent(event);
151 return handled;
H A DGestureDetector.java467 boolean handled = false;
498 handled |= mDoubleTapListener.onDoubleTap(mCurrentDownEvent);
500 handled |= mDoubleTapListener.onDoubleTapEvent(ev);
524 handled |= mListener.onDown(ev);
535 handled |= mDoubleTapListener.onDoubleTapEvent(ev);
541 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY);
553 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY);
564 handled |= mDoubleTapListener.onDoubleTapEvent(ev);
569 handled = mListener.onSingleTapUp(ev);
580 handled
[all...]
H A DInputEventReceiver.java48 private static native void nativeFinishInputEvent(int receiverPtr, int seq, boolean handled); argument
100 * to indicate whether the event was handled. No new input events will be received
122 * Finishes an input event and indicates whether it was handled.
126 * @param handled True if the event was handled.
128 public final void finishInputEvent(InputEvent event, boolean handled) { argument
142 nativeFinishInputEvent(mReceiverPtr, seq, handled);
H A DScaleGestureDetector.java63 * as handled. If an event was not handled, the detector
65 * handled. This can be useful if an application, for example,
185 boolean handled = true;
187 handled = false;
339 if (!handled && mInputEventConsistencyVerifier != null) {
342 return handled;
H A DViewGroup.java158 // They might not have actually handled the hover event, but we will
164 // It might not have actually handled the hover event.
1129 final boolean handled = notifyChildOfDrag(children[i]);
1130 if (handled) {
1157 // We consider drag-ended to have been handled if one of our children
1420 boolean handled = false;
1478 handled |= dispatchTransformedGenericPointerEvent(
1486 handled |= dispatchTransformedGenericPointerEvent(
1490 handled |= dispatchTransformedGenericPointerEvent(
1494 handled |
[all...]
/frameworks/base/core/java/android/widget/
H A DDialerFilter.java108 boolean handled = false;
122 handled = mDigits.onKeyDown(keyCode, event);
123 handled &= mLetters.onKeyDown(keyCode, event);
127 handled = mLetters.onKeyDown(keyCode, event);
138 handled = mDigits.onKeyDown(keyCode, event);
142 handled = mDigits.onKeyDown(keyCode, event);
146 handled = mLetters.onKeyDown(keyCode, event);
156 handled = mLetters.onKeyDown(keyCode, event);
162 handled = true;
176 handled
[all...]
H A DListView.java2026 boolean handled = super.dispatchKeyEvent(event);
2027 if (!handled) {
2033 handled = onKeyDown(event.getKeyCode(), event);
2036 return handled;
2063 boolean handled = false;
2070 handled = resurrectSelectionIfNeeded();
2071 if (!handled) {
2074 handled = true;
2081 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP);
2087 handled
[all...]
H A DGridView.java1530 boolean handled = false;
1537 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_LEFT);
1543 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_RIGHT);
1549 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_UP);
1551 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP);
1557 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_DOWN);
1559 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN);
1566 handled = resurrectSelectionIfNeeded();
1567 if (!handled
1570 handled
[all...]
/frameworks/base/include/android_runtime/
H A Dandroid_app_NativeActivity.h55 * c. Input method eventually returns sequence # and whether it was handled.
58 * - finish any pre-dispatch events that the input method handled
61 * 3. Application calls finishEvent() with whether it was handled.
62 * - If handled is true, the event is finished.
63 * - If handled is false, the event is put on mUnhandledKeys, and:
86 void finishEvent(AInputEvent* event, bool handled, bool didDefaultHandling);
94 void finishPreDispatch(int seq, bool handled);
123 bool handled; member in struct:AInputQueue::finish_pre_dispatch
/frameworks/base/core/java/android/text/method/
H A DBaseKeyListener.java152 boolean handled;
155 handled = backspace(view, content, keyCode, event);
158 handled = forwardDelete(view, content, keyCode, event);
161 handled = false;
165 if (handled) {
H A DBaseMovementMethod.java42 boolean handled = handleMovementKey(widget, text, keyCode, movementMetaState, event);
43 if (handled) {
47 return handled;
57 boolean handled = false;
62 handled = true;
64 if (handled) {
68 return handled;
107 boolean handled = false;
109 handled |= scrollLeft(widget, text, (int)Math.ceil(-hscroll));
111 handled |
[all...]
H A DArrowKeyMovementMethod.java113 boolean handled = false;
124 handled = true;
129 return handled;
137 boolean handled = false;
148 handled = true;
153 return handled;
235 boolean handled = Touch.onTouchEvent(widget, buffer, event);
251 if (isSelecting(buffer) && handled) {
253 // handled will be true, if we're in select mode AND we're
292 return handled;
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSession.java35 void finishedEvent(int seq, boolean handled); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowView.java86 boolean handled = mExpandHelper.onTouchEvent(ev) ||
88 return handled;
/frameworks/base/core/jni/
H A Dandroid_view_InputEventReceiver.cpp55 status_t finishInputEvent(uint32_t seq, bool handled);
106 status_t NativeInputEventReceiver::finishInputEvent(uint32_t seq, bool handled) { argument
111 status_t status = mInputConsumer.sendFinishedSignal(seq, handled);
264 jint seq, jboolean handled) {
267 status_t status = receiver->finishInputEvent(seq, handled);
263 nativeFinishInputEvent(JNIEnv* env, jclass clazz, jint receiverPtr, jint seq, jboolean handled) argument
H A Dandroid_app_NativeActivity.cpp191 finishNow = finish.handled;
250 void AInputQueue::finishEvent(AInputEvent* event, bool handled, bool didDefaultHandling) { argument
251 LOG_TRACE("finishEvent: %p handled=%d, didDefaultHandling=%d", event,
252 handled ? 1 : 0, didDefaultHandling ? 1 : 0);
254 if (!handled && !didDefaultHandling
271 status_t res = mConsumer.sendFinishedSignal(inflight.finishSeq, handled);
295 void AInputQueue::finishPreDispatch(int seq, bool handled) { argument
298 LOG_TRACE("finishPreDispatch: seq=%d handled=%d\n", seq, handled ? 1 : 0);
301 finish.handled
540 jboolean handled; local
977 finishPreDispatchKeyEvent_native(JNIEnv* env, jobject clazz, jint handle, jint seq, jboolean handled) argument
[all...]
/frameworks/base/libs/androidfw/tests/
H A DInputChannel_test.cpp95 clientReply.body.finished.handled = true;
106 EXPECT_EQ(clientReply.body.finished.handled, serverReply.body.finished.handled)
H A DInputPublisherAndConsumer_test.cpp118 bool handled = false; local
119 status = mPublisher->receiveFinishedSignal(&finishedSeq, &handled);
124 ASSERT_TRUE(handled)
125 << "publisher receiveFinishedSignal should have set handled to consumer's reply";
233 bool handled = true; local
234 status = mPublisher->receiveFinishedSignal(&finishedSeq, &handled);
239 ASSERT_FALSE(handled)
240 << "publisher receiveFinishedSignal should have set handled to consumer's reply";
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCdmaSMSDispatcher.java164 boolean handled = false;
178 handled = true;
183 handled = true;
186 handled = true;
191 handled = true;
194 if (handled) {
212 // not yet been handled and also do not correspond to the two
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGsmSMSDispatcher.java89 * Other events are handled by {@link SMSDispatcher#handleMessage}.
208 boolean handled = false;
211 handled = sms.isMwiDontStore();
213 Log.d(TAG, "Received voice mail indicator set SMS shouldStore=" + !handled);
217 handled = sms.isMwiDontStore();
219 Log.d(TAG, "Received voice mail indicator clear SMS shouldStore=" + !handled);
223 if (handled) {
/frameworks/base/include/androidfw/
H A DInputTransport.h109 bool handled; member in struct:android::InputMessage::Body::Finished
240 * and whether the consumer handled the message.
297 * the message was handled by the consumer.
303 status_t sendFinishedSignal(uint32_t seq, bool handled);
341 // call to consume and that still needs to be handled.
426 status_t sendUnchainedFinishedSignal(uint32_t seq, bool handled);

Completed in 283 milliseconds

123