Home
last modified time | relevance | path

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

123

/packages/apps/Messaging/src/com/android/messaging/util/
DTintDrawableWrapper.java51 boolean handled = super.setState(stateSet); in setState()
52 handled = updateTint(stateSet) || handled; in setState()
53 return handled; in setState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wallpaper/
DWallpaperTypePreferenceControllerTest.java64 final boolean handled = mController.handlePreferenceTreeClick(mPreference); in testHandlePreferenceTreeClick_intentNull_shouldDoNothing()
66 assertThat(handled).isFalse(); in testHandlePreferenceTreeClick_intentNull_shouldDoNothing()
72 final boolean handled = mController.handlePreferenceTreeClick(mPreference); in testHandlePreferenceTreeClick_shouldLaunchIntent()
74 assertThat(handled).isTrue(); in testHandlePreferenceTreeClick_shouldLaunchIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DMockLocationAppPreferenceControllerTest.java110 final boolean handled = in onActivityResult_fooPrevAppBarNewApp_shouldRemoveFooAndSetBarAsMockLocationApp()
113 assertThat(handled).isTrue(); in onActivityResult_fooPrevAppBarNewApp_shouldRemoveFooAndSetBarAsMockLocationApp()
122 final boolean handled = mController.onActivityResult(30983150 /* request code */, in onActivityResult_incorrectCode_shouldReturnFalse()
125 assertThat(handled).isFalse(); in onActivityResult_incorrectCode_shouldReturnFalse()
133 final boolean handled = mController.handlePreferenceTreeClick(mPreference); in handlePreferenceTreeClick_samePreferenceKey_shouldLaunchActivity()
135 assertThat(handled).isTrue(); in handlePreferenceTreeClick_samePreferenceKey_shouldLaunchActivity()
DShortcutManagerThrottlingPreferenceControllerTest.java76 final boolean handled = mController.handlePreferenceTreeClick(mPreference); in handlePreferenceTreeClick_correctPreferenceKey_shouldResetThrottling()
78 assertThat(handled).isTrue(); in handlePreferenceTreeClick_correctPreferenceKey_shouldResetThrottling()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardController.java434 boolean handled = true; in handleKeyDownEvent()
438 handled = onDirectionalMove(LeanbackKeyboardContainer.DIRECTION_LEFT); in handleKeyDownEvent()
441 handled = onDirectionalMove(LeanbackKeyboardContainer.DIRECTION_RIGHT); in handleKeyDownEvent()
444 handled = onDirectionalMove(LeanbackKeyboardContainer.DIRECTION_UP); in handleKeyDownEvent()
447 handled = onDirectionalMove(LeanbackKeyboardContainer.DIRECTION_DOWN); in handleKeyDownEvent()
483 handled = false; in handleKeyDownEvent()
486 return handled; in handleKeyDownEvent()
521 boolean handled = true; in handleKeyUpEvent()
559 handled = false; in handleKeyUpEvent()
562 return handled; in handleKeyUpEvent()
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
DVvm3EventHandler.java113 boolean handled = false; in handleEvent()
116 handled = handleConfigurationEvent(context, status, event); in handleEvent()
119 handled = handleDataChannelEvent(status, event); in handleEvent()
122 handled = handleNotificationChannelEvent(status, event); in handleEvent()
125 handled = handleOtherEvent(status, event); in handleEvent()
130 if (!handled) { in handleEvent()
/packages/apps/Launcher3/src/com/android/launcher3/
DCheckLongPressHelper.java147 boolean handled; in triggerLongPress()
149 handled = mListener.onLongClick(mView); in triggerLongPress()
151 handled = mView.performLongClick(); in triggerLongPress()
153 if (handled) { in triggerLongPress()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DTwoPanelSettingsRootView.java51 boolean handled = false; in dispatchKeyEvent()
58 handled = mOnBackKeyListener.onKey(this, event.getKeyCode(), event); in dispatchKeyEvent()
60 return handled || super.dispatchKeyEvent(event); in dispatchKeyEvent()
DTwoPanelSettingsFrameLayout.java79 boolean handled = false; in dispatchTouchEvent()
81 handled = mOnDispatchTouchListener.onDispatchTouch(this, ev); in dispatchTouchEvent()
83 return handled || super.dispatchTouchEvent(ev); in dispatchTouchEvent()
/packages/services/Car/service/src/com/android/car/audio/
DMediaRequestHandler.java274 boolean handled = false; in handleMediaAudioRequest()
285 handled = true; in handleMediaAudioRequest()
295 if (!handled) { in handleMediaAudioRequest()
305 boolean handled = false; in broadcastToCallbacks()
317 handled = true; in broadcastToCallbacks()
329 return handled; in broadcastToCallbacks()
366 boolean handled = false; in informMediaAudioRequestCallbackAndApprovers()
378 handled = true; in informMediaAudioRequestCallbackAndApprovers()
390 return handled; in informMediaAudioRequestCallbackAndApprovers()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DTransformingTouchDelegate.java96 boolean handled = false; in onTouchEvent()
105 handled = mDelegateView.dispatchTouchEvent(event); in onTouchEvent()
108 return handled; in onTouchEvent()
DActivityTracker.java88 boolean handled = false; in handleIntent()
97 handled = true; in handleIntent()
99 return handled; in handleIntent()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DNetworkState.java197 boolean handled = true; in onPreferenceTreeClick()
218 handled = false; in onPreferenceTreeClick()
220 handled = super.onPreferenceTreeClick(key, status) | handled; in onPreferenceTreeClick()
225 return handled; in onPreferenceTreeClick()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DCheckableImageButton.java158 final boolean handled = super.performClick(); in performClick()
159 if (!handled) { in performClick()
164 return handled; in performClick()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DOverviewInputConsumer.java89 boolean handled = false; in onMotionEvent()
91 handled = mTarget.proxyTouchEvent(ev, mStartingInActivityBounds); in onMotionEvent()
96 if (!mTargetHandledTouch && handled) { in onMotionEvent()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttCheckableButton.java163 final boolean handled = super.performClick(); in performClick()
164 if (!handled) { in performClick()
169 return handled; in performClick()
/packages/services/Telephony/src/com/android/phone/
DEmergencyShortcutButton.java146 boolean handled = super.dispatchTouchEvent(event); in dispatchTouchEvent()
147 if (mPendingTouchEvent == event && handled) { in dispatchTouchEvent()
150 return handled; in dispatchTouchEvent()
DEmergencyInfoGroup.java201 boolean handled = super.dispatchTouchEvent(event); in dispatchTouchEvent()
202 if (mPendingTouchEvent == event && handled) { in dispatchTouchEvent()
205 return handled; in dispatchTouchEvent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsHearingAidsPresetsControllerTest.java135 boolean handled = mController.onPreferenceChange(presetPreference, in onPreferenceChange_keyMatched_verifyStatusUpdated()
138 assertThat(handled).isTrue(); in onPreferenceChange_keyMatched_verifyStatusUpdated()
146 boolean handled = mController.onPreferenceChange( in onPreferenceChange_keyNotMatched_doNothing()
149 assertThat(handled).isFalse(); in onPreferenceChange_keyNotMatched_doNothing()
/packages/apps/TV/src/com/android/tv/dialog/
DFullscreenDialogFragment.java90 boolean handled = super.dispatchKeyEvent(event); in dispatchKeyEvent()
91 return handled || ((View) mDialogView).dispatchKeyEvent(event); in dispatchKeyEvent()
/packages/services/Car/experimental/service/src/com/android/experimentalcar/
DTouchDriverAwarenessSupplier.java275 boolean handled = false; in onInputEvent()
287 handled = true; in onInputEvent()
290 finishInputEvent(event, handled); in onInputEvent()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPickerPanel.java494 boolean handled = false; in onTouch()
502 handled = true; in onTouch()
509 handled = true; in onTouch()
513 if (!handled) { in onTouch()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DCheckableLabeledButton.java205 final boolean handled = super.performClick(); in performClick()
206 if (!handled) { in performClick()
211 return handled; in performClick()
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricEnrollIntroduction.java383 final boolean handled = onSetOrConfirmCredentials(data); in onActivityResult()
384 if (!handled) { in onActivityResult()
405 final boolean handled = onSetOrConfirmCredentials(data); in onActivityResult()
406 if (!handled) { in onActivityResult()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DFocusManager.java498 boolean handled = mTextListener.onKeyDown(doc.itemView, mSearchString, keyCode, event); in handleKey()
502 handled = true; in handleKey()
505 if (handled) { in handleKey()
514 return handled; in handleKey()

123