History log of /packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c5655d4a5ebf9005c2d8ce85cdc32a452279ccf9 12-Apr-2018 Fan Zhang <zhfan@google.com> Fix a incorrect class cast in GameControllerPreferenceCtrl

Also convert the controller to TogglePrefCtrl, and register it in xml.

Change-Id: Ifbc95364b47690117b2875cba1cdc4761ad205be
Merged-In: Ifbc95364b47690117b2875cba1cdc4761ad205be
Fixes: 71972185
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
b5c651c9399aa53e0bef296a265a47c825fe12b2 30-Mar-2018 Fan Zhang <zhfan@google.com> Register most app info related controllers in xml

Bug: 77216595
Test: robotests
Change-Id: I79afa38820b7518d8b3112148802797ebcf6d184
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
f7843adabd4e8e1cc84a52721daabefa3a1410fd 22-Feb-2018 Fan Zhang <zhfan@google.com> More renaming in DashboardFragment

getPreferenceControllers() -> createPreferenceControllers() for the same
reason as in ag/3647936

Bug: 73668763
Test: robotests
Change-Id: I97670a91a2a38d1c844d1b9d37f4222c5e6f45a0
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
aed8994f6f50a6bc0adfaa92b499ebde3a8f2a76 22-Feb-2018 Fan Zhang <zhfan@google.com> Rename Indexable::getAllPreferenceControllers.

To getPreferenceControllers. "all" is redundant. Then internally, the
old getPreferenceControllers() is renamed to
createPreferenceControllers() to emphasize the controllers are created
from code (versus the ones created from xml).

Bug: 73668763
Test: robotest
Change-Id: Ifec46aefdc2a418031c8e152028b30bdcd396fc7
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
c28b46f2eaa5aa68bd0adf69085ba0991a548296 21-Dec-2017 Ben Lin <linben@google.com> Introduce boolean flags to show/hide items for Language & input.

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
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
8b14a1a7a6b37b6c5b30de0b505ce404da602567 17-Aug-2017 Doris Ling <dling@google.com> Change to use the expand button in support lib.

- functionality for hiding portions of the preferences in the preference
screen is added to the support lib. So, changing the settings
implementation to use the feature from the support lib instead.
- remove ProgressiveDisclosureMixin and the related code

Fixes: 63985174
Test: make RunSettingsRoboTests
Change-Id: Ib1d39b2db93d78a56c7adf90abcae5226f9564c2
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
231986ae9c914dcfbc32d49ab1e6a2ea9d77f92e 10-Oct-2017 Fan Zhang <zhfan@google.com> Hide "Lanauage" in search to avoid dupe results.

Change-Id: I607ac2150912bfa6ca05e6f977daab7fd90a9637
Fixes: 67515153
Test: robotests
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
6f60cddc9e4f9dfd932181765d6b75b2040b0ad7 15-Sep-2017 Doris Ling <dling@google.com> Add a new feature flag for the expand button in support lib.

- check the feature flag to determine whether to use the existing
progressive disclosure mixin or use the expand button in the support
library.
- add corresponding preference xml files that add the new preference
group attribute to use with the expand button in the support lib.

Bug: 63985174
Test: make RunSettingsRoboTests
Change-Id: Ida6eb6182a8066ad1413b7f6142512345fd914d0
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
e3535d9998363cbf352b5f8feb9277475e380944 03-Aug-2017 Fan Zhang <zhfan@google.com> Delete DynamicindexableContentMonitor & all refs to it

Convert input device search into a search query loader

And remove old logic from DynamicIndexableContentMonitor

Change-Id: If652b1ea7c8add9185bbd025055e14925d3a8eec
Bug: 64310452
Bug: 63831980
Test: robotests
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
204ca74397b394c6fcb93317ad820826971e16e1 19-Jul-2017 Doris Ling <dling@google.com> Move Gesture settings up one level.

Move System->Languages, input & gestures->Gestures to System->Gestures.

Change-Id: Ie81876208383f69ebf1a0465d76c760d7dd9d95d
Fix: 62276882
Test: make RunSettingsRoboTests
(cherry picked from commit 55ce7de7d06d9fd8ec153c4b6f5300fbe9349990)
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
11d240c300188abe6b7e483a0eb10fd3b30d483f 06-Jul-2017 Daniel Sheng <dsheng@google.com> Removed camera lift gesture settings UI.

Bug: 37154489
Test: make + manual + unit tests
Change-Id: I79e70dea12a65fefcb06aca3fd1891a95d856626
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
891ab1a713fb6878d99981ea5c0bbbaa1a6a46db 21-Jun-2017 Kevin Chyn <kchyn@google.com> Fix assist gesture settings summary

Bug: 62841640

Test: make -j RunSettingsRoboTests && manual testing of settings

Change-Id: I75ffce4ff1054dad6b2733a7d4f6bc7e526a8034
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
1d583e125faf3ae4c9cd82636d8f3ecf1cdec3aa 13-Jun-2017 Tony Mantler <nicoya@google.com> Make PreferenceController a mixin

Bug: 62912136
Test: Existing tests in BaseSearchIndexProviderTest
Change-Id: Ieda359806c09a019840b2005446c7ec8b61fdb00
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
7e06ed21053f2434bd16784b2f0f4640f0df950f 07-Jun-2017 Doris Ling <dling@google.com> Update text for Languages & Input.

- update preference title to include gesture
- if assist gesture is supported, set summary text to reflect assist
status

Change-Id: I79477f331ae447d2505a1519da09886bf07ba1a2
Fix: 62219660
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
742467ec9f384983f37d9a0e4e9775c27451816b 12-Apr-2017 Matthew Fritze <mfritze@google.com> Remove Language and Input duplicates

Change the keys in the Language and Input screen for the
gesture and tts-output settings so they can be disabled
in search. Then change the preference controllers to take
a key as input to avoid crashes on the other screens with
these settings.

Merge for: ag/2098173/

Test: make RunSettingsRoboTests
Bug: 33701673
Change-Id: I8bc0776131fcac5a6edf7e8271bc53252c2fc719
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
777ed2535a7fd6f618a0d12f381af99252283574 10-May-2017 Juan Lang <juanlang@google.com> Depend on SettingsLib's version of lifecycle and FooterMixin.

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
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
17b45add746590f99a10db401b96b3f5d3cd195d 04-May-2017 Fan Zhang <zhfan@google.com> Force refresh language & input fragment title onResume.

Fix: 37930106
Test: manual
It's necessary to refresh title because this page user can
change locale from here and fragment won't relaunch. Once
language changes, title must display in the new language.

Change-Id: I5fcaf36fd43e7f4fbbfddf3a77ffbcb9881470e3
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
4619ae065235f759789641f4622609491151e872 25-Apr-2017 Philip P. Moltmann <moltmann@google.com> Don't show autofill settings if not enabled

The non-indexable keys of language-and-input on my angler are:
game_controller_settings_category, gesture_assist,
gesture_double_tap_screen, default_autofill

Fixes: 35956220
Test: Disabled auto-fill and looked at settings: did not find
autofill button and could not find auto-fill in search
Settings robolectric test
Change-Id: I0923e707422d1b1de5153a63fa3a5fe4773c055d
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
1721b802c5da7602ffb92c72b36d72673271dab4 19-Apr-2017 Daniel Sheng <dsheng@google.com> Added settings UI for camera lift trigger gesture

Bug: 37154489
Test: manual + make RunSettingsRoboTests

- Added preference fragment for camera lift gesture
- Added activity alias for camera lift gesture setting
- Added resources + overlays for camera lift gesture setting
- Added config flag for limiting camera lift gesture setting for Pixel
- Added Robolectric tests for camera lift gesture settings classes

Change-Id: Ie4846cb1ea6b5279a19f20cb0299426f0d5cbb71
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
2a9255b33c3a36bad699375e9d36ed9395583bdc 24-Mar-2017 Fan Zhang <zhfan@google.com> Misc fixes for items under system setting

- Show summary under virtual keyboard: list all avaiable keyboards
- Set about phone subtext to device model string.
- Update DND Suggestion text

Change-Id: I20acffcf691d1354c7636f5851b376099844700f
Fix: 35959817
Fix: 36395109
Test: robotests
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
3a32ee6132e1020b302062d9f3b0bdc4f3cfb2af 22-Mar-2017 Fan Zhang <zhfan@google.com> Move autofill app picker from advanced app to language page

Change-Id: I38979e17e51bda92179ca5b7ba4293677aa18a96
Fix: 36130404
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
3720e0c4f1005242ff3b368b8f917eb5ca7d398b 21-Mar-2017 Fan Zhang <zhfan@google.com> Update system setting page subtext

- Move android version from about phone subtext to system update
- Updates strings for autofill, keyboard & input, factory reset, swipe
for notification
- Add a new pref category for spell checker and personal dictionary
- Display "None" if any default app is not selected
- Display current keyboard type as language subtext

Bug: 36395109
Test: make RunSettingsRoboTests
Change-Id: Id6ca94ea31e55f1c1ec04e47dcf657a25c35c7fe
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
f2cf2aea3777ef5298bb1131890552f5f619dd30 04-Mar-2017 Doris Ling <dling@google.com> Remove code that check for dashboard feature.

- remove DashboardFeatureProvider.isEnabled() and all relating code
and tests.

Bug: 35764802
Test: make RunSettingsRoboTests
Change-Id: If7796677abc8904b7436525836d50cdef38e37a4
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
a9831d40d081cc8c7ca32891e64c09b5e1d19abb 14-Feb-2017 Philip Quinn <pquinn@google.com> Add settings for the assist gesture.

Availability of the gesture is gated by a new FeatureProvider.

Test: make -j RunSettingsRoboTests; manual test on
supported/unsupported configurations.

Change-Id: I3529367a73e33370d5112b91d5144293ffa7fa22
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java
34cfd2e24f748d5f723023eb12e1e111229a136e 04-Feb-2017 Doris Ling <dling@google.com> Combine Language & region and Input & gestures in System settings.

Merge preferences into one page, and update test.

Bug: 34976047
Test: make RunSettingsRoboTests
Change-Id: I5f15192e42f6054c02d4c8ffa9f25db3075da409
/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java