Home
last modified time | relevance | path

Searched refs:handled (Results 1 – 25 of 122) sorted by relevance

12345

/frameworks/base/core/java/android/widget/
DDialerFilter.java108 boolean handled = false; in onKeyDown()
122 handled = mDigits.onKeyDown(keyCode, event); in onKeyDown()
123 handled &= mLetters.onKeyDown(keyCode, event); in onKeyDown()
127 handled = mLetters.onKeyDown(keyCode, event); in onKeyDown()
138 handled = mDigits.onKeyDown(keyCode, event); in onKeyDown()
142 handled = mDigits.onKeyDown(keyCode, event); in onKeyDown()
146 handled = mLetters.onKeyDown(keyCode, event); in onKeyDown()
156 handled = mLetters.onKeyDown(keyCode, event); in onKeyDown()
162 handled = true; in onKeyDown()
176 handled &= mDigits.onKeyDown(keyCode, event); in onKeyDown()
[all …]
DGridView.java1540 boolean handled = false; in commonKey()
1547 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_LEFT); in commonKey()
1553 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_RIGHT); in commonKey()
1559 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_UP); in commonKey()
1561 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey()
1567 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_DOWN); in commonKey()
1569 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_DOWN); in commonKey()
1576 handled = resurrectSelectionIfNeeded(); in commonKey()
1577 if (!handled in commonKey()
1580 handled = true; in commonKey()
[all …]
DListView.java2088 boolean handled = super.dispatchKeyEvent(event); in dispatchKeyEvent()
2089 if (!handled) { in dispatchKeyEvent()
2095 handled = onKeyDown(event.getKeyCode(), event); in dispatchKeyEvent()
2098 return handled; in dispatchKeyEvent()
2125 boolean handled = false; in commonKey()
2132 handled = resurrectSelectionIfNeeded(); in commonKey()
2133 if (!handled) { in commonKey()
2136 handled = true; in commonKey()
2143 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey()
2149 handled = resurrectSelectionIfNeeded(); in commonKey()
[all …]
/frameworks/base/core/java/android/inputmethodservice/
DAbstractInputMethodService.java135 boolean handled = event.dispatch(AbstractInputMethodService.this, in dispatchKeyEvent()
138 callback.finishedEvent(seq, handled); in dispatchKeyEvent()
147 boolean handled = onTrackballEvent(event); in dispatchTrackballEvent()
149 callback.finishedEvent(seq, handled); in dispatchTrackballEvent()
158 boolean handled = onGenericMotionEvent(event); in dispatchGenericMotionEvent()
160 callback.finishedEvent(seq, handled); in dispatchGenericMotionEvent()
DSoftInputWindow.java79 boolean handled = super.dispatchTouchEvent(temp); in dispatchTouchEvent()
81 return handled; in dispatchTouchEvent()
/frameworks/base/core/java/android/view/
DGestureDetector.java472 boolean handled = false; in onTouchEvent()
517 handled |= mDoubleTapListener.onDoubleTap(mCurrentDownEvent); in onTouchEvent()
519 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent()
543 handled |= mListener.onDown(ev); in onTouchEvent()
554 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent()
560 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
572 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
583 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent()
588 handled = mListener.onSingleTapUp(ev); in onTouchEvent()
600 handled = mListener.onFling(mCurrentDownEvent, ev, velocityX, velocityY); in onTouchEvent()
[all …]
DTouchDelegate.java111 boolean handled = false; in onTouchEvent()
149 handled = delegateView.dispatchTouchEvent(event); in onTouchEvent()
151 return handled; in onTouchEvent()
DInputEventReceiver.java48 private static native void nativeFinishInputEvent(int receiverPtr, int seq, boolean handled); in nativeFinishInputEvent() argument
136 public final void finishInputEvent(InputEvent event, boolean handled) { in finishInputEvent() argument
150 nativeFinishInputEvent(mReceiverPtr, seq, handled); in finishInputEvent()
DViewGroup.java1126 final boolean handled = notifyChildOfDrag(children[i]); in dispatchDragEvent()
1127 if (handled) { in dispatchDragEvent()
1425 boolean handled = false; in dispatchHoverEvent()
1483 handled |= dispatchTransformedGenericPointerEvent( in dispatchHoverEvent()
1491 handled |= dispatchTransformedGenericPointerEvent( in dispatchHoverEvent()
1495 handled |= dispatchTransformedGenericPointerEvent( in dispatchHoverEvent()
1499 handled |= dispatchTransformedGenericPointerEvent(event, child); in dispatchHoverEvent()
1502 if (handled) { in dispatchHoverEvent()
1516 handled |= dispatchTransformedGenericPointerEvent( in dispatchHoverEvent()
1538 boolean newHoveredSelf = !handled; in dispatchHoverEvent()
[all …]
/frameworks/base/core/java/android/text/method/
DBaseMovementMethod.java42 boolean handled = handleMovementKey(widget, text, keyCode, movementMetaState, event); in onKeyDown()
43 if (handled) { in onKeyDown()
47 return handled; in onKeyDown()
57 boolean handled = false; in onKeyOther()
62 handled = true; in onKeyOther()
64 if (handled) { in onKeyOther()
68 return handled; in onKeyOther()
107 boolean handled = false; in onGenericMotionEvent()
109 handled |= scrollLeft(widget, text, (int)Math.ceil(-hscroll)); in onGenericMotionEvent()
111 handled |= scrollRight(widget, text, (int)Math.ceil(hscroll)); in onGenericMotionEvent()
[all …]
DArrowKeyMovementMethod.java113 boolean handled = false; in pageUp()
124 handled = true; in pageUp()
129 return handled; in pageUp()
137 boolean handled = false; in pageDown()
148 handled = true; in pageDown()
153 return handled; in pageDown()
235 boolean handled = Touch.onTouchEvent(widget, buffer, event); in onTouchEvent()
251 if (isSelecting(buffer) && handled) { in onTouchEvent()
292 return handled; in onTouchEvent()
DBaseKeyListener.java152 boolean handled; in onKeyDown()
155 handled = backspace(view, content, keyCode, event); in onKeyDown()
158 handled = forwardDelete(view, content, keyCode, event); in onKeyDown()
161 handled = false; in onKeyDown()
165 if (handled) { in onKeyDown()
/frameworks/support/v4/java/android/support/v4/view/
DGestureDetectorCompat.java242 boolean handled = false; in onTouchEvent()
287 handled |= mDoubleTapListener.onDoubleTap(mCurrentDownEvent); in onTouchEvent()
289 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent()
313 handled |= mListener.onDown(ev); in onTouchEvent()
324 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent()
330 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
342 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent()
353 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent()
358 handled = mListener.onSingleTapUp(ev); in onTouchEvent()
372 handled = mListener.onFling(mCurrentDownEvent, ev, velocityX, velocityY); in onTouchEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java101 boolean handled = false; in onTouchEvent()
103 handled = mExpandHelper.onTouchEvent(ev); in onTouchEvent()
105 if (!handled) { in onTouchEvent()
106 handled = super.onTouchEvent(ev); in onTouchEvent()
108 return handled; in onTouchEvent()
/frameworks/base/include/android_runtime/
Dandroid_app_NativeActivity.h86 void finishEvent(AInputEvent* event, bool handled, bool didDefaultHandling);
94 void finishPreDispatch(int seq, bool handled);
123 bool handled; member
/frameworks/base/libs/androidfw/tests/
DInputPublisherAndConsumer_test.cpp118 bool handled = false; in PublishAndConsumeKeyEvent() local
119 status = mPublisher->receiveFinishedSignal(&finishedSeq, &handled); in PublishAndConsumeKeyEvent()
124 ASSERT_TRUE(handled) in PublishAndConsumeKeyEvent()
233 bool handled = true; in PublishAndConsumeMotionEvent() local
234 status = mPublisher->receiveFinishedSignal(&finishedSeq, &handled); in PublishAndConsumeMotionEvent()
239 ASSERT_FALSE(handled) in PublishAndConsumeMotionEvent()
DInputChannel_test.cpp95 clientReply.body.finished.handled = true; in TEST_F()
106 EXPECT_EQ(clientReply.body.finished.handled, serverReply.body.finished.handled) in TEST_F()
/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp191 finishNow = finish.handled; in getEvent()
250 void AInputQueue::finishEvent(AInputEvent* event, bool handled, bool didDefaultHandling) { in finishEvent() argument
252 handled ? 1 : 0, didDefaultHandling ? 1 : 0); in finishEvent()
254 if (!handled && !didDefaultHandling in finishEvent()
271 status_t res = mConsumer.sendFinishedSignal(inflight.finishSeq, handled); in finishEvent()
295 void AInputQueue::finishPreDispatch(int seq, bool handled) { in finishPreDispatch() argument
298 LOG_TRACE("finishPreDispatch: seq=%d handled=%d\n", seq, handled ? 1 : 0); in finishPreDispatch()
301 finish.handled = handled; in finishPreDispatch()
540 jboolean handled; in mainWorkCallback() local
542 handled = code->env->CallBooleanMethod(code->clazz, in mainWorkCallback()
[all …]
Dandroid_view_InputEventReceiver.cpp55 status_t finishInputEvent(uint32_t seq, bool handled);
106 status_t NativeInputEventReceiver::finishInputEvent(uint32_t seq, bool handled) { in finishInputEvent() argument
111 status_t status = mInputConsumer.sendFinishedSignal(seq, handled); in finishInputEvent()
264 jint seq, jboolean handled) { in nativeFinishInputEvent() argument
267 status_t status = receiver->finishInputEvent(seq, handled); in nativeFinishInputEvent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java207 boolean handled = false; in dispatchMessage()
210 handled = sms.isMwiDontStore(); in dispatchMessage()
212 Log.d(TAG, "Received voice mail indicator set SMS shouldStore=" + !handled); in dispatchMessage()
216 handled = sms.isMwiDontStore(); in dispatchMessage()
218 Log.d(TAG, "Received voice mail indicator clear SMS shouldStore=" + !handled); in dispatchMessage()
222 if (handled) { in dispatchMessage()
/frameworks/av/media/libstagefright/
DACodec.cpp3009 bool handled = false; in onMessageReceived() local
3016 handled = true; in onMessageReceived()
3023 handled = true; in onMessageReceived()
3038 handled = true; in onMessageReceived()
3048 handled = true; in onMessageReceived()
3056 return handled; in onMessageReceived()
3211 bool handled = false; in onMessageReceived() local
3217 handled = true; in onMessageReceived()
3224 handled = true; in onMessageReceived()
3236 handled = true; in onMessageReceived()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java172 boolean handled = false; in dispatchMessage()
186 handled = true; in dispatchMessage()
191 handled = true; in dispatchMessage()
194 handled = true; in dispatchMessage()
199 handled = true; in dispatchMessage()
202 if (handled) { in dispatchMessage()
/frameworks/base/core/java/com/android/internal/widget/
DWaveView.java496 boolean handled = false; in onTouchEvent()
502 handled = true; in onTouchEvent()
507 handled = true; in onTouchEvent()
521 handled = true; in onTouchEvent()
526 handled = true; in onTouchEvent()
530 return handled ? true : super.onTouchEvent(event); in onTouchEvent()
/frameworks/base/include/androidfw/
DInputTransport.h109 bool handled; member
303 status_t sendFinishedSignal(uint32_t seq, bool handled);
426 status_t sendUnchainedFinishedSignal(uint32_t seq, bool handled);
/frameworks/opt/vcard/tests/res/raw/
Dv21_winmo_65.vcf6 AGENT:Invalid line which must be handled correctly.

12345