/frameworks/base/core/java/android/widget/ |
D | DialerFilter.java | 106 boolean handled = false; in onKeyDown() 120 handled = mDigits.onKeyDown(keyCode, event); in onKeyDown() 121 handled &= mLetters.onKeyDown(keyCode, event); in onKeyDown() 125 handled = mLetters.onKeyDown(keyCode, event); in onKeyDown() 136 handled = mDigits.onKeyDown(keyCode, event); in onKeyDown() 140 handled = mDigits.onKeyDown(keyCode, event); in onKeyDown() 144 handled = mLetters.onKeyDown(keyCode, event); in onKeyDown() 154 handled = mLetters.onKeyDown(keyCode, event); in onKeyDown() 160 handled = true; in onKeyDown() 174 handled &= mDigits.onKeyDown(keyCode, event); in onKeyDown() [all …]
|
D | GridView.java | 1651 boolean handled = false; in commonKey() 1655 handled = resurrectSelectionIfNeeded(); in commonKey() 1656 if (!handled && event.getRepeatCount() == 0 && getChildCount() > 0) { in commonKey() 1658 handled = true; in commonKey() 1662 if (!handled && action != KeyEvent.ACTION_UP) { in commonKey() 1666 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_LEFT); in commonKey() 1672 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_RIGHT); in commonKey() 1678 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_UP); in commonKey() 1680 handled = resurrectSelectionIfNeeded() || fullScroll(FOCUS_UP); in commonKey() 1686 handled = resurrectSelectionIfNeeded() || arrowScroll(FOCUS_DOWN); in commonKey() [all …]
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | AbstractInputMethodService.java | 139 boolean handled = event.dispatch(AbstractInputMethodService.this, in dispatchKeyEvent() 142 callback.finishedEvent(seq, handled); in dispatchKeyEvent() 152 boolean handled = onTrackballEvent(event); in dispatchTrackballEvent() 154 callback.finishedEvent(seq, handled); in dispatchTrackballEvent() 164 boolean handled = onGenericMotionEvent(event); in dispatchGenericMotionEvent() 166 callback.finishedEvent(seq, handled); in dispatchGenericMotionEvent()
|
/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 …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | KeyEventDispatcher.java | 170 public void setOnKeyEventResult(Service service, boolean handled, int sequence) { in setOnKeyEventResult() argument 175 if (handled && !pendingEvent.handled) { in setOnKeyEventResult() 176 pendingEvent.handled = handled; in setOnKeyEventResult() 216 pendingEvent.handled = false; in obtainPendingEventLocked() 249 if (!pendingEvent.handled) { in removeReferenceToPendingEventLocked() 279 boolean handled; field in KeyEventDispatcher.PendingKeyEvent
|
/frameworks/support/compat/java/android/support/v4/view/ |
D | GestureDetectorCompat.java | 251 boolean handled = false; in onTouchEvent() 296 handled |= mDoubleTapListener.onDoubleTap(mCurrentDownEvent); in onTouchEvent() 298 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent() 323 handled |= mListener.onDown(ev); in onTouchEvent() 334 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent() 340 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent() 352 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent() 363 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent() 368 handled = mListener.onSingleTapUp(ev); in onTouchEvent() 384 handled = mListener.onFling(mCurrentDownEvent, ev, velocityX, velocityY); in onTouchEvent() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandler.java | 122 boolean handled = false; in dispatchMessageRadioSpecific() 125 handled = sms.isMwiDontStore(); in dispatchMessageRadioSpecific() 126 if (DBG) log("Received voice mail indicator set SMS shouldStore=" + !handled); in dispatchMessageRadioSpecific() 129 handled = sms.isMwiDontStore(); in dispatchMessageRadioSpecific() 130 if (DBG) log("Received voice mail indicator clear SMS shouldStore=" + !handled); in dispatchMessageRadioSpecific() 132 if (handled) { in dispatchMessageRadioSpecific()
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 518 boolean handled = false; in onTouchEvent() 563 handled |= mDoubleTapListener.onDoubleTap(mCurrentDownEvent); in onTouchEvent() 565 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent() 590 handled |= mListener.onDown(ev); in onTouchEvent() 601 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent() 607 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent() 619 handled = mListener.onScroll(mCurrentDownEvent, ev, scrollX, scrollY); in onTouchEvent() 630 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent() 635 handled = mListener.onSingleTapUp(ev); in onTouchEvent() 650 handled = mListener.onFling(mCurrentDownEvent, ev, velocityX, velocityY); in onTouchEvent() [all …]
|
D | TouchDelegate.java | 111 boolean handled = false; in onTouchEvent() 149 handled = delegateView.dispatchTouchEvent(event); in onTouchEvent() 151 return handled; in onTouchEvent()
|
D | InputEventSender.java | 109 public void onInputEventFinished(int seq, boolean handled) { in onInputEventFinished() argument 140 private void dispatchInputEventFinished(int seq, boolean handled) { in dispatchInputEventFinished() argument 141 onInputEventFinished(seq, handled); in dispatchInputEventFinished()
|
D | InputEventReceiver.java | 50 private static native void nativeFinishInputEvent(long receiverPtr, int seq, boolean handled); in nativeFinishInputEvent() argument 139 public final void finishInputEvent(InputEvent event, boolean handled) { in finishInputEvent() argument 153 nativeFinishInputEvent(mReceiverPtr, seq, handled); in finishInputEvent()
|
D | InputQueue.java | 103 private void finishInputEvent(long id, boolean handled) { in finishInputEvent() argument 108 e.mCallback.onFinishedInputEvent(e.mToken, handled); in finishInputEvent() 159 void onFinishedInputEvent(Object token, boolean handled); in onFinishedInputEvent() argument
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | PreferenceFragmentCompat.java | 467 boolean handled = false; in onPreferenceTreeClick() 469 handled = ((OnPreferenceStartFragmentCallback) getCallbackFragment()) in onPreferenceTreeClick() 472 if (!handled && getActivity() instanceof OnPreferenceStartFragmentCallback){ in onPreferenceTreeClick() 473 handled = ((OnPreferenceStartFragmentCallback) getActivity()) in onPreferenceTreeClick() 476 return handled; in onPreferenceTreeClick() 493 boolean handled = false; in onNavigateToScreen() 495 handled = ((OnPreferenceStartScreenCallback) getCallbackFragment()) in onNavigateToScreen() 498 if (!handled && getActivity() instanceof OnPreferenceStartScreenCallback) { in onNavigateToScreen() 616 boolean handled = false; in onDisplayPreferenceDialog() 618 handled = ((OnPreferenceDisplayDialogCallback) getCallbackFragment()) in onDisplayPreferenceDialog() [all …]
|
/frameworks/base/core/jni/ |
D | android_view_InputEventReceiver.cpp | 58 status_t finishInputEvent(uint32_t seq, bool handled); 68 bool handled; member 118 status_t NativeInputEventReceiver::finishInputEvent(uint32_t seq, bool handled) { in finishInputEvent() argument 123 status_t status = mInputConsumer.sendFinishedSignal(seq, handled); in finishInputEvent() 132 finish.handled = handled; in finishInputEvent() 179 status_t status = mInputConsumer.sendFinishedSignal(finish.seq, finish.handled); in handleEvent() 370 jint seq, jboolean handled) { in nativeFinishInputEvent() argument 373 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()
|
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
D | PreferenceFragment.java | 478 boolean handled = false; in onPreferenceTreeClick() 480 handled = ((OnPreferenceStartFragmentCallback) getCallbackFragment()) in onPreferenceTreeClick() 483 if (!handled && getActivity() instanceof OnPreferenceStartFragmentCallback){ in onPreferenceTreeClick() 484 handled = ((OnPreferenceStartFragmentCallback) getActivity()) in onPreferenceTreeClick() 487 return handled; in onPreferenceTreeClick() 504 boolean handled = false; in onNavigateToScreen() 506 handled = ((OnPreferenceStartScreenCallback) getCallbackFragment()) in onNavigateToScreen() 509 if (!handled && getActivity() instanceof OnPreferenceStartScreenCallback) { in onNavigateToScreen() 627 boolean handled = false; in onDisplayPreferenceDialog() 629 handled = ((OnPreferenceDisplayDialogCallback) getCallbackFragment()) in onDisplayPreferenceDialog() [all …]
|
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/ |
D | LeanbackSettingsRootView.java | 54 boolean handled = false; in dispatchKeyEvent() 57 handled = mOnBackKeyListener.onKey(this, event.getKeyCode(), event); in dispatchKeyEvent() 59 return handled || super.dispatchKeyEvent(event); in dispatchKeyEvent()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | PlaybackControlGlue.java | 205 boolean handled = false; 207 handled = dispatchAction((Action) object, null); 209 if (!handled && mExternalOnItemViewClickedListener != null) { 496 boolean handled = false; 518 handled = true; 521 handled = true; 524 handled = true; 541 handled = true; 558 handled = true; 560 return handled;
|
D | PlaybackControlSupportGlue.java | 207 boolean handled = false; 209 handled = dispatchAction((Action) object, null); 211 if (!handled && mExternalOnItemViewClickedListener != null) { 498 boolean handled = false; 520 handled = true; 523 handled = true; 526 handled = true; 543 handled = true; 560 handled = true; 562 return handled;
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 119 bool handled = false; in PublishAndConsumeKeyEvent() local 120 status = mPublisher->receiveFinishedSignal(&finishedSeq, &handled); in PublishAndConsumeKeyEvent() 125 ASSERT_TRUE(handled) in PublishAndConsumeKeyEvent() 235 bool handled = true; in PublishAndConsumeMotionEvent() local 236 status = mPublisher->receiveFinishedSignal(&finishedSeq, &handled); in PublishAndConsumeMotionEvent() 241 ASSERT_FALSE(handled) in PublishAndConsumeMotionEvent()
|
D | InputChannel_test.cpp | 96 clientReply.body.finished.handled = true; in TEST_F() 107 EXPECT_EQ(clientReply.body.finished.handled, serverReply.body.finished.handled) in TEST_F()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GuidedActionAdapter.java | 409 boolean handled = false; in onKey() 457 return handled; in onKey() 471 boolean handled = false; in onEditorAction() 475 handled = true; in onEditorAction() 479 handled = true; in onEditorAction() 482 return handled; in onEditorAction()
|
D | GuidedActionAdapterGroup.java | 165 boolean handled = false; in fillAndGoNext() 173 handled = focusToNextAction(adapter, avh.getAction(), nextActionId); in fillAndGoNext() 175 if (!handled) { in fillAndGoNext() 177 handled = true; in fillAndGoNext()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | AbsActionBarView.java | 101 final boolean handled = super.onTouchEvent(ev); in onTouchEvent() 102 if (action == MotionEvent.ACTION_DOWN && !handled) { in onTouchEvent() 125 final boolean handled = super.onHoverEvent(ev); in onHoverEvent() 126 if (action == MotionEventCompat.ACTION_HOVER_ENTER && !handled) { in onHoverEvent()
|