/frameworks/base/core/java/android/widget/ |
D | DialerFilter.java | 111 boolean handled = false; in onKeyDown() 125 handled = mDigits.onKeyDown(keyCode, event); in onKeyDown() 126 handled &= mLetters.onKeyDown(keyCode, event); in onKeyDown() 130 handled = mLetters.onKeyDown(keyCode, event); in onKeyDown() 141 handled = mDigits.onKeyDown(keyCode, event); in onKeyDown() 145 handled = mDigits.onKeyDown(keyCode, event); in onKeyDown() 149 handled = mLetters.onKeyDown(keyCode, event); in onKeyDown() 159 handled = mLetters.onKeyDown(keyCode, event); in onKeyDown() 165 handled = true; in onKeyDown() 179 handled &= mDigits.onKeyDown(keyCode, event); in onKeyDown() [all …]
|
D | GridView.java | 1672 boolean handled = false; in commonKey() 1676 handled = resurrectSelectionIfNeeded(); in commonKey() 1677 if (!handled && event.getRepeatCount() == 0 && getChildCount() > 0) { in commonKey() 1679 handled = true; in commonKey() 1683 if (!handled && action != KeyEvent.ACTION_UP) { in commonKey() 1687 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_LEFT); in commonKey() 1693 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_RIGHT); in commonKey() 1699 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_UP); in commonKey() 1701 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey() 1707 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_DOWN); in commonKey() [all …]
|
D | ListView.java | 2348 boolean handled = super.dispatchKeyEvent(event); in dispatchKeyEvent() 2349 if (!handled) { in dispatchKeyEvent() 2355 handled = onKeyDown(event.getKeyCode(), event); in dispatchKeyEvent() 2358 return handled; in dispatchKeyEvent() 2385 boolean handled = false; in commonKey() 2389 handled = resurrectSelectionIfNeeded(); in commonKey() 2390 if (!handled && event.getRepeatCount() == 0 && getChildCount() > 0) { in commonKey() 2392 handled = true; in commonKey() 2397 if (!handled && action != KeyEvent.ACTION_UP) { in commonKey() 2401 handled = resurrectSelectionIfNeeded(); in commonKey() [all …]
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | AbstractInputMethodService.java | 144 boolean handled = event.dispatch(AbstractInputMethodService.this, in dispatchKeyEvent() 147 callback.finishedEvent(seq, handled); in dispatchKeyEvent() 157 boolean handled = onTrackballEvent(event); in dispatchTrackballEvent() 159 callback.finishedEvent(seq, handled); in dispatchTrackballEvent() 169 boolean handled = onGenericMotionEvent(event); in dispatchGenericMotionEvent() 171 callback.finishedEvent(seq, handled); in dispatchGenericMotionEvent()
|
D | MultiClientInputMethodClientCallbackAdaptor.java | 166 boolean handled = false; in onInputEvent() 170 handled = keyEvent.dispatch(mKeyEventCallbackAdaptor, mDispatcherState, in onInputEvent() 175 handled = mClientCallback.onTrackballEvent(motionEvent); in onInputEvent() 177 handled = mClientCallback.onGenericMotionEvent(motionEvent); in onInputEvent() 181 finishInputEvent(event, handled); in onInputEvent()
|
/frameworks/base/core/java/android/view/ |
D | TouchDelegate.java | 117 boolean handled = false; in onTouchEvent() 151 handled = mDelegateView.dispatchTouchEvent(event); in onTouchEvent() 153 return handled; in onTouchEvent() 178 boolean handled = false; in onTouchExplorationHoverEvent() 205 handled = mDelegateView.dispatchHoverEvent(event); in onTouchExplorationHoverEvent() 207 return handled; in onTouchExplorationHoverEvent()
|
D | GestureDetector.java | 566 boolean handled = false; in onTouchEvent() 614 handled |= mDoubleTapListener.onDoubleTap(mCurrentDownEvent); in onTouchEvent() 616 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent() 648 handled |= mListener.onDown(ev); in onTouchEvent() 665 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent() 704 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent() 718 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent() 741 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent() 748 handled = mListener.onSingleTapUp(ev); in onTouchEvent() 763 handled = mListener.onFling(mCurrentDownEvent, ev, velocityX, velocityY); in onTouchEvent() [all …]
|
D | InputEventSender.java | 111 public void onInputEventFinished(int seq, boolean handled) { in onInputEventFinished() argument 153 private void dispatchInputEventFinished(int seq, boolean handled) { in dispatchInputEventFinished() argument 154 onInputEventFinished(seq, handled); in dispatchInputEventFinished()
|
D | InputQueue.java | 106 private void finishInputEvent(long id, boolean handled) { in finishInputEvent() argument 111 e.mCallback.onFinishedInputEvent(e.mToken, handled); in finishInputEvent() 162 void onFinishedInputEvent(Object token, boolean handled); in onFinishedInputEvent() argument
|
D | InputEventReceiver.java | 56 private static native void nativeFinishInputEvent(long receiverPtr, int seq, boolean handled); in nativeFinishInputEvent() argument 193 public final void finishInputEvent(InputEvent event, boolean handled) { in finishInputEvent() argument 207 nativeFinishInputEvent(mReceiverPtr, seq, handled); in finishInputEvent()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/span/ |
D | LinkSpan.java | 106 boolean handled = false; in dispatchClick() 108 handled = ((OnLinkClickListener) view).onLinkClick(this); in dispatchClick() 110 if (!handled) { in dispatchClick() 114 handled = true; in dispatchClick() 117 return handled; in dispatchClick()
|
/frameworks/base/core/java/android/text/method/ |
D | ArrowKeyMovementMethod.java | 113 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() 236 boolean handled = Touch.onTouchEvent(widget, buffer, event); in onTouchEvent() 239 return handled; in onTouchEvent() 246 return handled; in onTouchEvent() 259 if (isSelecting(buffer) && handled) { in onTouchEvent() [all …]
|
D | BaseMovementMethod.java | 42 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 …]
|
D | BaseKeyListener.java | 476 boolean handled; in onKeyDown() 479 handled = backspace(view, content, keyCode, event); in onKeyDown() 482 handled = forwardDelete(view, content, keyCode, event); in onKeyDown() 485 handled = false; in onKeyDown() 489 if (handled) { in onKeyDown()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | MagnificationGestureDetector.java | 115 boolean handled = false; in onTouch() 121 handled |= mOnGestureListener.onStart(rawX, rawY); in onTouch() 128 handled |= notifyDraggingGestureIfNeeded(rawX, rawY); in onTouch() 133 handled |= mOnGestureListener.onSingleTap(); in onTouch() 137 handled |= mOnGestureListener.onFinish(rawX, rawY); in onTouch() 141 return handled; in onTouch()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | KeyEventDispatcher.java | 164 public void setOnKeyEventResult(KeyEventFilter keyEventFilter, boolean handled, int sequence) { in setOnKeyEventResult() argument 169 if (handled && !pendingEvent.handled) { in setOnKeyEventResult() 170 pendingEvent.handled = handled; in setOnKeyEventResult() 229 pendingEvent.handled = false; in obtainPendingEventLocked() 262 if (!pendingEvent.handled) { in removeReferenceToPendingEventLocked() 292 boolean handled; field in KeyEventDispatcher.PendingKeyEvent
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandler.java | 182 boolean handled = false; in dispatchMessageRadioSpecific() 185 handled = sms.isMwiDontStore(); in dispatchMessageRadioSpecific() 186 if (DBG) log("Received voice mail indicator set SMS shouldStore=" + !handled); in dispatchMessageRadioSpecific() 189 handled = sms.isMwiDontStore(); in dispatchMessageRadioSpecific() 190 if (DBG) log("Received voice mail indicator clear SMS shouldStore=" + !handled); in dispatchMessageRadioSpecific() 192 if (handled) { in dispatchMessageRadioSpecific()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragInputEventReceiver.java | 58 boolean handled = false; in onInputEvent() 106 handled = true; in onInputEvent() 110 finishInputEvent(event, handled); in onInputEvent()
|
/frameworks/base/tests/Input/src/com/android/test/input/ |
D | InputEventSenderAndReceiverTest.kt | 77 data class FinishedSignal(val seq: Int, val handled: Boolean) constant in FinishedSignal 83 override fun onInputEventFinished(seq: Int, handled: Boolean) { in onInputEventFinished() 84 mFinishedSignals.put(FinishedSignal(seq, handled)) in onInputEventFinished() 136 assertEquals(TestInputEventSender.FinishedSignal(seq, handled = true), finishedSignal) in testSendAndReceiveKey()
|
/frameworks/base/core/jni/ |
D | android_view_InputQueue.cpp | 126 void InputQueue::finishEvent(InputEvent* event, bool handled) { in finishEvent() argument 128 mFinishedEvents.push(key_value_pair_t<InputEvent*, bool>(event, handled)); in finishEvent() 145 bool handled; in handleMessage() local 152 handled = mFinishedEvents[0].getValue(); in handleMessage() 156 reinterpret_cast<jlong>(event), handled); in handleMessage()
|
D | android_view_InputEventReceiver.cpp | 83 status_t finishInputEvent(uint32_t seq, bool handled); 95 bool handled; member 154 status_t NativeInputEventReceiver::finishInputEvent(uint32_t seq, bool handled) { in finishInputEvent() argument 161 .handled = handled, in finishInputEvent() 219 status = mInputConsumer.sendFinishedSignal(finish.seq, finish.handled); in processOutboundEvents() 469 toString(finish.handled)); in dump() 524 jint seq, jboolean handled) { in nativeFinishInputEvent() argument 527 status_t status = receiver->finishInputEvent(seq, handled); in nativeFinishInputEvent()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipInputConsumer.java | 72 boolean handled = true; in onInputEvent() 75 handled = mListener.onInputEvent(event); in onInputEvent() 78 finishInputEvent(event, handled); in onInputEvent()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | InputConsumerController.java | 74 boolean handled = true; in onInputEvent() 77 handled = mListener.onInputEvent(event); in onInputEvent() 80 finishInputEvent(event, handled); in onInputEvent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AbsActionBarView.java | 118 final boolean handled = super.onTouchEvent(ev); in onTouchEvent() 119 if (action == MotionEvent.ACTION_DOWN && !handled) { in onTouchEvent() 142 final boolean handled = super.onHoverEvent(ev); in onHoverEvent() 143 if (action == MotionEvent.ACTION_HOVER_ENTER && !handled) { in onHoverEvent()
|
/frameworks/native/libs/input/tests/ |
D | InputChannel_test.cpp | 104 clientReply.body.finished.handled = true; in TEST_F() 115 EXPECT_EQ(clientReply.body.finished.handled, serverReply.body.finished.handled) in TEST_F()
|