summaryrefslogtreecommitdiff
path: root/src/com/android/settings/inputmethod/GameControllerPreferenceController.java
AgeCommit message (Collapse)Author
2021-11-01Add highlight menu keys for all toggle pref controllers and custom slicesJason Chiu
Bug: 204695404 Test: manual, robotest build pass, unit Change-Id: Iad2e28ada8ddb766ffa7eff2c8dc581250cbd6f8
2018-08-28Sort importsFan Zhang
Having consistent import order will reduce chance of merge conflict between internal and external master Test: rebuild Change-Id: I0b1a170967ddcce7f388603fd521f6ed1eeba30b
2018-06-18Reorder and clean up imports.Fan Zhang
Test: rebuild Change-Id: I178485c84ae7146f991fd77b6d7504b029942a68
2018-05-09Establish permanently unavailable settingsMatthew Fritze
Distinguish between settings which are permanently unavailable on the device, and temporarily unavailable. This enables us to restrict which setting slices are exposed in onSliceGetDescendants. The primary changes in this CL are renaming: "DISABLED_UNSUPPORTED" -> "UNSUPPORTED_ON_DEVICE" to be more clear the the setting will cannot be accessed on the device, and, adding a new enum to encapsulate settings which are currently unavailable, but could be enabled in the future. Also remove UNAVAILABLE_UNKNOWN. Devs should never need this enum. Bug: 78910582 Bug: 79245656 Test: robotests Change-Id: I58821a6cfd6134b3b351657b6edf5f74ead00643
2018-04-25Fix a incorrect class cast in GameControllerPreferenceCtrlFan Zhang
Also convert the controller to TogglePrefCtrl, and register it in xml. Change-Id: Ifbc95364b47690117b2875cba1cdc4761ad205be Bug: 71972185 Test: make RunSettingsRoboTests
2018-04-20Migrate Settings to androidx.Aurimas Liutikas
Test: make Settings Bug: 76692459 Change-Id: I941dea40562170649bf056e675cc32e5163c0e39
2018-01-10Introduce boolean flags to show/hide items for Language & input.Ben Lin
This adds seven new boolean flags: config_show_phone_language config_show_virtual_keyboard_pref config_show_physical_keyboard_pref config_show_spellcheckers_settings config_show_tts_settings_summary config_show_pointer_speed config_show_vibrate_input_devices Which when individually set to false, will hide the item from "Language & input" in System. It will also hide them from surfacing in search results. Bug: 62379555 Test: Individual controller tests are all updated. Change-Id: I9ef1c3037b0bec6ffa5a627006507f4f16e534c4
2017-07-26Fix search indexing for game controller "use vibrator"Fan Zhang
Change-Id: I34848a58b5ac4cdf58c7dd5f40677b78e764f2dc Fix: 64035933 Test: robotests
2017-06-26Make PreferenceController a mixinTony Mantler
Bug: 62912136 Test: Existing tests in BaseSearchIndexProviderTest Change-Id: Ieda359806c09a019840b2005446c7ec8b61fdb00
2017-05-12Depend on SettingsLib's version of lifecycle and FooterMixin.Juan Lang
The implementations have been imported into SettingsLib. Setting's copy can now be removed, which this change also does. Test: Manually check battery status, which uses FooterMixin, looks OK. make RunSettingsLibRobotTests && make RunSettingsRoboTests && make RunSettingsGoogleRoboTests Change-Id: I6539605fdad80d156ff5ff249e68df4a1c412067
2016-11-07Refactor IMEAndLanguageSettings to use PreferenceControllerFan Zhang
Bug: 32642706 Bug: 32637613 Bug: 32643833 Test: RunSettingsRoboTests This change is necessary to test preference controlling logic, as well as making preferences reusable in other Preference pages in the new information architecture. Change-Id: I9e2fd2f6800579f005a5c303ed03ae06477006a6