Home
last modified time | relevance | path

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

123

/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/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/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/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/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/core/
DBaseLayoutController.java192 boolean handled = false; in onCarUiInsetsChanged()
195 handled = true; in onCarUiInsetsChanged()
201 handled = true; in onCarUiInsetsChanged()
209 handled = true; in onCarUiInsetsChanged()
215 if (!handled) { in onCarUiInsetsChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wallpaper/
DWallpaperTypePreferenceControllerTest.java63 final boolean handled = mController.handlePreferenceTreeClick(mPreference); in testHandlePreferenceTreeClick_intentNull_shouldDoNothing()
65 assertThat(handled).isFalse(); in testHandlePreferenceTreeClick_intentNull_shouldDoNothing()
71 final boolean handled = mController.handlePreferenceTreeClick(mPreference); in testHandlePreferenceTreeClick_shouldLaunchIntent()
73 assertThat(handled).isTrue(); in testHandlePreferenceTreeClick_shouldLaunchIntent()
/packages/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/toolbar/
DClickBlockingView.java68 final boolean handled = super.onTouchEvent(ev); in onTouchEvent()
69 if (action == MotionEvent.ACTION_DOWN && !handled) { in onTouchEvent()
94 final boolean handled = super.onHoverEvent(ev); in onHoverEvent()
95 if (action == MotionEvent.ACTION_HOVER_ENTER && !handled) { in onHoverEvent()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/baselayout/
DClickBlockingView.java68 final boolean handled = super.onTouchEvent(ev); in onTouchEvent()
69 if (action == MotionEvent.ACTION_DOWN && !handled) { in onTouchEvent()
94 final boolean handled = super.onHoverEvent(ev); in onHoverEvent()
95 if (action == MotionEvent.ACTION_HOVER_ENTER && !handled) { in onHoverEvent()
/packages/apps/Launcher3/src/com/android/launcher3/
DCheckLongPressHelper.java120 boolean handled; in triggerLongPress()
122 handled = mListener.onLongClick(mView); in triggerLongPress()
124 handled = mView.performLongClick(); in triggerLongPress()
126 if (handled) { in triggerLongPress()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryOptimizationPreferenceControllerTest.java81 final boolean handled = mController.handlePreferenceTreeClick(mPreference); in testHandlePreferenceTreeClick_OptimizationPreference_HandleClick()
83 assertThat(handled).isTrue(); in testHandlePreferenceTreeClick_OptimizationPreference_HandleClick()
91 final boolean handled = mController.handlePreferenceTreeClick(mPreference); in testHandlePreferenceTreeClick_OtherPreference_NotHandleClick()
93 assertThat(handled).isFalse(); in testHandlePreferenceTreeClick_OtherPreference_NotHandleClick()
/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()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DActivityTracker.java83 boolean handled = false; in handleIntent()
89 handled = true; in handleIntent()
91 return handled; in handleIntent()
DTransformingTouchDelegate.java96 boolean handled = false; in onTouchEvent()
105 handled = mDelegateView.dispatchTouchEvent(event); in onTouchEvent()
108 return handled; in onTouchEvent()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarView.java242 boolean handled = delegateTouchIfNecessary(event); in onTouchEvent()
243 return super.onTouchEvent(event) || handled; in onTouchEvent()
280 boolean handled = false; in delegateTouchIfNecessary()
290 handled = mDelegateView.dispatchTouchEvent(event); in delegateTouchIfNecessary()
296 return handled; in delegateTouchIfNecessary()
/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/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/src/com/android/settings/biometrics/
DBiometricEnrollIntroduction.java304 final boolean handled = onSetOrConfirmCredentials(data); in onActivityResult()
305 if (!handled) { in onActivityResult()
324 final boolean handled = onSetOrConfirmCredentials(data); in onActivityResult()
325 if (!handled) { in onActivityResult()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DDeviceAdminAddCancelPreferenceControllerTest.java45 boolean handled = mController.handlePreferenceClicked(mPreference); in testHandlePreferenceClicked()
47 assertWithMessage("handlePreferenceClicked() result").that(handled).isTrue(); in testHandlePreferenceClicked()
DDeviceAdminAddActionPreferenceControllerTest.java138 boolean handled = mController.handlePreferenceClicked(mPreference); in handlePreferenceClicked()
139 assertWithMessage("handlePreferenceClicked() result").that(handled).isTrue(); in handlePreferenceClicked()
/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/services/Car/experimental/service/src/com/android/experimentalcar/
DTouchDriverAwarenessSupplier.java276 boolean handled = false; in onInputEvent()
288 handled = true; in onInputEvent()
291 finishInputEvent(event, handled); in onInputEvent()
/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()

123