/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 | 1671 boolean handled = false; in commonKey() 1675 handled = resurrectSelectionIfNeeded(); in commonKey() 1676 if (!handled && event.getRepeatCount() == 0 && getChildCount() > 0) { in commonKey() 1678 handled = true; in commonKey() 1682 if (!handled && action != KeyEvent.ACTION_UP) { in commonKey() 1686 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_LEFT); in commonKey() 1692 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_RIGHT); in commonKey() 1698 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_UP); in commonKey() 1700 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey() 1706 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 | 143 boolean handled = event.dispatch(AbstractInputMethodService.this, in dispatchKeyEvent() 146 callback.finishedEvent(seq, handled); in dispatchKeyEvent() 156 boolean handled = onTrackballEvent(event); in dispatchTrackballEvent() 158 callback.finishedEvent(seq, handled); in dispatchTrackballEvent() 168 boolean handled = onGenericMotionEvent(event); in dispatchGenericMotionEvent() 170 callback.finishedEvent(seq, handled); in dispatchGenericMotionEvent()
|
D | MultiClientInputMethodClientCallbackAdaptor.java | 164 boolean handled = false; in onInputEvent() 168 handled = keyEvent.dispatch(mKeyEventCallbackAdaptor, mDispatcherState, in onInputEvent() 173 handled = mClientCallback.onTrackballEvent(motionEvent); in onInputEvent() 175 handled = mClientCallback.onGenericMotionEvent(motionEvent); in onInputEvent() 179 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 | 548 boolean handled = false; in onTouchEvent() 596 handled |= mDoubleTapListener.onDoubleTap(mCurrentDownEvent); in onTouchEvent() 598 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent() 630 handled |= mListener.onDown(ev); in onTouchEvent() 647 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent() 686 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent() 700 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent() 723 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent() 730 handled = mListener.onSingleTapUp(ev); in onTouchEvent() 745 handled = mListener.onFling(mCurrentDownEvent, ev, velocityX, velocityY); in onTouchEvent() [all …]
|
D | InputEventSender.java | 110 public void onInputEventFinished(int seq, boolean handled) { in onInputEventFinished() argument 142 private void dispatchInputEventFinished(int seq, boolean handled) { in dispatchInputEventFinished() argument 143 onInputEventFinished(seq, handled); in dispatchInputEventFinished()
|
D | InputEventReceiver.java | 51 private static native void nativeFinishInputEvent(long receiverPtr, int seq, boolean handled); in nativeFinishInputEvent() argument 141 public final void finishInputEvent(InputEvent event, boolean handled) { in finishInputEvent() argument 155 nativeFinishInputEvent(mReceiverPtr, seq, handled); in finishInputEvent()
|
D | InputQueue.java | 105 private void finishInputEvent(long id, boolean handled) { in finishInputEvent() argument 110 e.mCallback.onFinishedInputEvent(e.mToken, handled); in finishInputEvent() 161 void onFinishedInputEvent(Object token, boolean handled); in onFinishedInputEvent() argument
|
/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/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/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/base/core/jni/ |
D | android_view_InputEventReceiver.cpp | 59 status_t finishInputEvent(uint32_t seq, bool handled); 69 bool handled; member 119 status_t NativeInputEventReceiver::finishInputEvent(uint32_t seq, bool handled) { in finishInputEvent() argument 124 status_t status = mInputConsumer.sendFinishedSignal(seq, handled); in finishInputEvent() 133 finish.handled = handled; in finishInputEvent() 180 status_t status = mInputConsumer.sendFinishedSignal(finish.seq, finish.handled); in handleEvent() 373 jint seq, jboolean handled) { in nativeFinishInputEvent() argument 376 status_t status = receiver->finishInputEvent(seq, handled); in nativeFinishInputEvent()
|
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_InputEventSender.cpp | 191 bool handled; in receiveFinishedSignals() local 192 status_t status = mInputPublisher.receiveFinishedSignal(&publishedSeq, &handled); in receiveFinishedSignals() 213 getInputChannelName().c_str(), seq, handled ? "true" : "false", in receiveFinishedSignals() 229 jint(seq), jboolean(handled)); in receiveFinishedSignals()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandler.java | 187 boolean handled = false; in dispatchMessageRadioSpecific() 190 handled = sms.isMwiDontStore(); in dispatchMessageRadioSpecific() 191 if (DBG) log("Received voice mail indicator set SMS shouldStore=" + !handled); in dispatchMessageRadioSpecific() 194 handled = sms.isMwiDontStore(); in dispatchMessageRadioSpecific() 195 if (DBG) log("Received voice mail indicator clear SMS shouldStore=" + !handled); in dispatchMessageRadioSpecific() 197 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/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | InputConsumerController.java | 72 boolean handled = true; in onInputEvent() 75 handled = mListener.onInputEvent(event); in onInputEvent() 78 finishInputEvent(event, handled); in onInputEvent()
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 121 bool handled = false; in PublishAndConsumeKeyEvent() local 122 status = mPublisher->receiveFinishedSignal(&finishedSeq, &handled); in PublishAndConsumeKeyEvent() 127 ASSERT_TRUE(handled) in PublishAndConsumeKeyEvent() 241 bool handled = true; in PublishAndConsumeMotionEvent() local 242 status = mPublisher->receiveFinishedSignal(&finishedSeq, &handled); in PublishAndConsumeMotionEvent() 247 ASSERT_FALSE(handled) in PublishAndConsumeMotionEvent()
|
D | InputChannel_test.cpp | 98 clientReply.body.finished.handled = true; in TEST_F() 109 EXPECT_EQ(clientReply.body.finished.handled, serverReply.body.finished.handled) in TEST_F()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AbsActionBarView.java | 117 final boolean handled = super.onTouchEvent(ev); in onTouchEvent() 118 if (action == MotionEvent.ACTION_DOWN && !handled) { in onTouchEvent() 141 final boolean handled = super.onHoverEvent(ev); in onHoverEvent() 142 if (action == MotionEvent.ACTION_HOVER_ENTER && !handled) { in onHoverEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowView.java | 446 boolean handled = false; in onTouchEvent() 448 handled = !mService.isPulsing(); in onTouchEvent() 450 if ((mDragDownHelper.isDragDownEnabled() && !handled) || mDragDownHelper.isDraggingDown()) { in onTouchEvent() 452 handled = mDragDownHelper.onTouchEvent(ev); in onTouchEvent() 454 if (!handled) { in onTouchEvent() 455 handled = super.onTouchEvent(ev); in onTouchEvent() 458 if (!handled && (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL)) { in onTouchEvent() 461 return handled; in onTouchEvent()
|