Home
last modified time | relevance | path

Searched refs:onPreferenceClick (Results 1 – 25 of 123) sorted by relevance

12345

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/language/
DLanguageBasePreferenceControllerTest.java128 assertThat(mController.onPreferenceClick(new Preference(mContext))).isFalse(); in testOnPreferenceClick_noLocale_returnsFalse()
136 assertThat(mController.onPreferenceClick(preference)).isTrue(); in testOnPreferenceClick_hasMultipleChildLocales_returnsTrue()
144 mController.onPreferenceClick(preference); in testOnPreferenceClick_hasMultipleChildLocales_localeNotUpdated()
153 mController.onPreferenceClick(preference); in testOnPreferenceClick_hasMultipleChildLocales_neverCallsGoBack()
162 assertThat(mController.onPreferenceClick(preference)).isTrue(); in testOnPreferenceClick_hasSingleChildLocale_returnsTrue()
170 mController.onPreferenceClick(preference); in testOnPreferenceClick_hasSingleChildLocale_localeUpdated()
179 mController.onPreferenceClick(preference); in testOnPreferenceClick_hasSingleChildLocale_callsGoBack()
188 assertThat(mController.onPreferenceClick(preference)).isTrue(); in testOnPreferenceClick_noChildLocale_returnsTrue()
196 mController.onPreferenceClick(preference); in testOnPreferenceClick_noChildLocale_localeUpdated()
205 mController.onPreferenceClick(preference); in testOnPreferenceClick_noChildLocale_callsGoBack()
DLocalePreferenceProviderTest.java152 verify(listener).onPreferenceClick(mPreferenceGroup.getPreference(0)); in testClickListenerTriggered()
154 verify(listener).onPreferenceClick(mPreferenceGroup.getPreference(1)); in testClickListenerTriggered()
156 verify(listener).onPreferenceClick(mPreferenceGroup.getPreference(2)); in testClickListenerTriggered()
/packages/apps/Traceur/src/com/google/android/traceur/
DMainFragment.java92 public boolean onPreferenceClick(Preference preference) { in onCreate()
123 public boolean onPreferenceClick(Preference preference) { in onCreate()
136 public boolean onPreferenceClick(Preference preference) { in onCreate()
145 public boolean onPreferenceClick(Preference preference) { in onCreate()
/packages/apps/Settings/src/com/android/settings/notification/
DZenCustomRuleConfigSettings.java59 public boolean onPreferenceClick(Preference preference) { in onCreate()
73 public boolean onPreferenceClick(Preference preference) { in onCreate()
87 public boolean onPreferenceClick(Preference preference) { in onCreate()
DZenModeScheduleRuleSettings.java88 public boolean onPreferenceClick(Preference preference) { in onCreateInternal()
263 public boolean onPreferenceClick(Preference preference) { in TimePickerPreference()
DZenModeAddAutomaticRulePreferenceController.java61 public boolean onPreferenceClick(Preference preference) { in onPreferenceClick() method in ZenModeAddAutomaticRulePreferenceController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenCustomRuleConfigSettings.java59 public boolean onPreferenceClick(Preference preference) { in onCreate()
73 public boolean onPreferenceClick(Preference preference) { in onCreate()
87 public boolean onPreferenceClick(Preference preference) { in onCreate()
DZenModeScheduleRuleSettings.java88 public boolean onPreferenceClick(Preference preference) { in onCreateInternal()
263 public boolean onPreferenceClick(Preference preference) { in TimePickerPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkSummaryControllerTest.java132 mPreference.getOnPreferenceClickListener().onPreferenceClick(mPreference); in getSummary_noSubscriptions_correctSummaryAndClickHandler()
157 mPreference.getOnPreferenceClickListener().onPreferenceClick(mPreference); in getSummary_oneSubscription_correctSummaryAndClickHandler()
181 mPreference.getOnPreferenceClickListener().onPreferenceClick(mPreference); in getSummary_oneInactivePSim_correctSummaryAndClickHandler()
220 mPreference.getOnPreferenceClickListener().onPreferenceClick(mPreference); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment()
241 mPreference.getOnPreferenceClickListener().onPreferenceClick(mPreference); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment()
DMobileNetworkListControllerTest.java140 pref1.getOnPreferenceClickListener().onPreferenceClick(pref1); in displayPreference_twoSubscriptions_correctlySetup()
141 pref2.getOnPreferenceClickListener().onPreferenceClick(pref2); in displayPreference_twoSubscriptions_correctlySetup()
172 pref2.getOnPreferenceClickListener().onPreferenceClick(pref2); in displayPreference_oneActiveESimOneInactivePSim_correctlySetup()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DAccountsSettingsFragment.java192 public boolean onPreferenceClick(final Preference preference) { in enableSyncPreferences()
427 public boolean onPreferenceClick(final Preference preference) { in onPreferenceClick() method in AccountsSettingsFragment.SyncNowListener
438 public boolean onPreferenceClick(final Preference preference) { in onPreferenceClick() method in AccountsSettingsFragment.DeleteSyncDataListener
465 public boolean onPreferenceClick(final Preference preference) { in onPreferenceClick() method in AccountsSettingsFragment.EnableSyncClickListener
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DDisabledCheckBoxPreferenceTest.java82 verify(onClick, never()).onPreferenceClick(any()); in checkboxOnClick_checkboxDisabled()
95 verify(onClick, times(1)).onPreferenceClick(any()); in checkboxOnClick_checkboxEnabled()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DUsersEntryPreferenceControllerTest.java78 mPreference.getOnPreferenceClickListener().onPreferenceClick(mPreference)).isTrue(); in preferenceClicked_adminUser_handled()
96 mPreference.getOnPreferenceClickListener().onPreferenceClick(mPreference)).isTrue(); in preferenceClicked_nonAdminUser_handled()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java709 public boolean onPreferenceClick(Preference preference) { in loadSettings()
804 public boolean onPreferenceClick(final Preference preference) { in loadSettings()
866 public boolean onPreferenceClick(Preference preference) { in loadSettings()
880 public boolean onPreferenceClick(Preference preference) { in loadSettings()
893 public boolean onPreferenceClick(Preference preference) { in loadSettings()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DPreferredEngineOptionsPreferenceControllerTest.java132 assertThat(currentEngine.getOnPreferenceClickListener().onPreferenceClick( in performClick_currentEngine_returnFalse()
142 assertThat(otherEngine.getOnPreferenceClickListener().onPreferenceClick( in performClick_otherEngine_returnTrue()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountTypePreferenceLoader.java158 public boolean onPreferenceClick(Preference preference) { in updatePreferenceIntents()
227 public boolean onPreferenceClick(Preference preference) { in onPreferenceClick() method in AccountTypePreferenceLoader.FragmentStarter
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
DVoicemailSettingsFragment.java284 public boolean onPreferenceClick(Preference preference) { in setupVoicemailChangePinPreference()
304 public boolean onPreferenceClick(Preference preference) { in setupNotificationsPreference()
348 public boolean onPreferenceClick(Preference preference) { in setupAdvancedSettingsPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountTypePreferenceLoader.java158 public boolean onPreferenceClick(Preference preference) { in updatePreferenceIntents()
234 public boolean onPreferenceClick(Preference preference) { in onPreferenceClick() method in AccountTypePreferenceLoader.FragmentStarter
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DManagePermissionsFragment.java79 public boolean onPreferenceClick(Preference preference) { in onPreferenceClick() method in ManagePermissionsFragment
170 public boolean onPreferenceClick(Preference preference) { in updatePermissionsUi()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DPerSubscriptionSettingsActivity.java126 public boolean onPreferenceClick(Preference pref) { in onCreate()
147 public boolean onPreferenceClick(final Preference preference) { in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java171 preference.getOnPreferenceClickListener().onPreferenceClick(null); in bindPreference_noFragmentMetadata_shouldBindToProfileSelector()
188 preference.getOnPreferenceClickListener().onPreferenceClick(null); in bindPreference_noFragmentMetadataSingleUser_shouldBindToDirectLaunchIntent()
208 preference.getOnPreferenceClickListener().onPreferenceClick(null); in bindPreference_toInternalSettingActivity_shouldBindToDirectLaunchIntentAndNotLog()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DViewEmergencyContactsPreference.java52 public boolean onPreferenceClick(Preference preference) { in onBindContactView()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DSavedBluetoothDeviceUpdater.java53 public boolean onPreferenceClick(Preference preference) { in onPreferenceClick() method in SavedBluetoothDeviceUpdater
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DSavedBluetoothDeviceUpdater.java53 public boolean onPreferenceClick(Preference preference) { in onPreferenceClick() method in SavedBluetoothDeviceUpdater
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDevicePreference.java53 public boolean onPreferenceClick(final Preference preference) { in onPreferenceClick() method in UsbDevicePreference

12345