aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/settings (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use fragment for advanced preference screenTadashi G. Takaoka2014-07-282-202/+248
| | | | | Bug: 16522808 Change-Id: If4a2ad7a7dfecc7019bf78ad37d93fa8f37cf21e
* Refactor Debug settings to use SubScreenFragmentTadashi G. Takaoka2014-07-282-265/+286
| | | | | Bug: 16522808 Change-Id: I741e2fbc5f0a62c7d4ae00e603eef52cc2a6d086
* Use fragment for text correction preference screenTadashi G. Takaoka2014-07-282-70/+123
| | | | | Bug: 16522808 Change-Id: Ia8ce83b0e69cc8157f7b8cefcfeb863eb85ee4b4
* Use fragment for gesture typing preference screenTadashi G. Takaoka2014-07-282-4/+45
| | | | | Bug: 16522808 Change-Id: Ib8c2997466bb006c6b5d4e980344507b822d0023
* Use fragment for multi lingual preference screenTadashi G. Takaoka2014-07-283-32/+89
| | | | | Bug: 16522808 Change-Id: I0bfac43513e1fb85b5d4c07f56dd4c5b82f75ed1
* Use fragment for input preference screenTadashi G. Takaoka2014-07-274-22/+219
| | | | | | | | | This CL introduces a common abstract class, SunScreenFragment, for PreferenceFragment that implements a PreferenceScreen of the main settings preference screen. Bug: 16522808 Change-Id: I11fba71b5e9f96208b261e0c0314de8a41720d0f
* Make "Show correction suggestions" as a binary optionTadashi G. Takaoka2014-07-273-42/+27
| | | | | | | | | | | | Formerly "Show correction suggestions" had three options, "always show", "show in portrait mode", and "always hide". The reason behind "show in portrait mode" was that there may not be enough screen estate in landscape mode to show suggestions. Because recent phone devices have relatively large screen, we decide to remove "show in portrait mode" option. Bug: 15780939 Change-Id: I896d737452c3893d43ce20bd88127f10c1eb3d83
* Remove unnecessary DebugSettingsActivity, use fragment directlyTadashi G. Takaoka2014-07-233-55/+2
| | | | | | | This CL must be checked in together with I1db2e848ab. Bug: 16522808 Change-Id: I08a1b0c300c504def609cbb53462d215d1ead15c
* Rename ProductionFlag to ProductionFlagsTadashi G. Takaoka2014-07-161-2/+2
| | | | Change-Id: I5da2dbf8828fa0e176e7c2496392a5f561ebfe20
* Use SwitchPreference for spell checker settingTadashi G. Takaoka2014-07-161-2/+2
| | | | | | | This is a follow up of I1f7214c689. Bug: 15781377 Change-Id: I7289b8b724e086da80ab3849cc567560c1a8502d
* Use SwitchPreference on API versions newer than KitKatTadashi G. Takaoka2014-07-133-4/+87
| | | | | Bug: 15781377 Change-Id: I1f7214c689006b1088249783eb614b6f0fbf2ee7
* Move phrase gesture from additional features to public.Keisuke Kuroyanagi2014-07-082-1/+36
| | | | | Bug: 15758242 Change-Id: I703dc2703afdf9402c5d2ac27411b74ece993dba
* Additional subtype ID should be independent of OS-versionYohei Yukawa2014-07-041-4/+6
| | | | | | | | | | | | | | | | | | | | | This CL consolidates the initialization logic for additional subtypes so that each additional subtypes can have predictable subtype ID regardless of OS version. Previously subtype IDs for additional subtypes are calculated differently depending on the running OS version with hoping it minimizes the risk of compatibility issues. However, it is getting harder and harder to maintain slightly different logic between OSes. Thus we decided to unify the logic into that in KitKat even though it may causes some breaking changes. Note that the actual extra values that are used to instantiate InputMethodSubtype object are still determined on the fly depending on the running OS version. However these actual extra values are no longer used for the subtype ID calculation. BUG: 16000850 Change-Id: Id3c262386a7bc7ed75966b1395a50171abe550d3
* Reorganize Keyboard settings screenTadashi G. Takaoka2014-06-233-67/+81
| | | | | | | This CL must be checked in together with Ie45df15b18. Bug: 11866784 Change-Id: I44d6ceb45108be135e3eaa361f4ee2c83f04fb57
* Revert "Reorganize Keyboard settings screen"Ken Wakasa2014-06-233-73/+67
| | | | | | | | | | | | This reverts commit 339929ba16e4f68fb216ebe49dd3575e563ee8ab. Bug: 11866784 Bug: 13888366 Bug: 15781377 This doesn't build with LOCAL_SDK_VERSION := 19 for UnbundledLatinImeGoogle. Change-Id: Idf8bd335b076152265f245f578dadf651e291878
* Reorganize Keyboard settings screenTadashi G. Takaoka2014-06-223-67/+73
| | | | | | | | | This CL must be checked in together with I6ebfbeb4e8. Bug: 11866784 Bug: 15781377 Bug: 13888366 Change-Id: I57d47ab174d03121a604fd0dbf553795de0ab9b8
* Hide voice input key from URI, Email, Number, and Phone layoutTadashi G. Takaoka2014-06-181-2/+1
| | | | | Bug: 15709298 Change-Id: I05d9433d4e1c2cc475a2136cc97bc32bde6fc745
* Merge "Block offensive words in native code."Keisuke Kuroyanagi2014-06-101-1/+6
|\
| * Block offensive words in native code.Keisuke Kuroyanagi2014-06-121-1/+6
| | | | | | | | | | | | Bug: 15300452 Change-Id: Ic6c91c47453e19fb5db2c62b66659619e72b1ecf
* | Fix logic to show suggestionsTadashi G. Takaoka2014-06-111-0/+2
|/ | | | | Bug: 15531465 Change-Id: Ic7fe5743ad3767cdaed699e5e2d1ebcaa75e22c2
* Make dump dictionary settings easily extensible.Keisuke Kuroyanagi2014-06-101-24/+16
| | | | | | | This adds "Dump contextual dictionary". Bug: 14161647 Change-Id: I41a6d6e131d9d8c300ac0120d903d46d88bb3346
* Always update voice key visibilityTadashi G. Takaoka2014-06-061-1/+5
| | | | | Bug: 15128166 Change-Id: Ie15724c323efa3b102f6aebddc3bda210aad1727
* Remove unused supportsSwitchingToShortcutIme attributeTadashi G. Takaoka2014-06-061-1/+2
| | | | Change-Id: I51c5247ac925a158facb79057f704b763b903552
* Merge "Rename some boolean variables for readability"Tadashi G. Takaoka2014-06-051-6/+6
|\
| * Rename some boolean variables for readabilityTadashi G. Takaoka2014-06-051-6/+6
| | | | | | | | Change-Id: I434cf507e68349b9893ac084645986d6b3d7da91
* | Refactor show voice key preferece migration codeTadashi G. Takaoka2014-06-051-8/+8
|/ | | | Change-Id: I4f13e85a3db1ba4adf36c596cb23827bdcf93ae7
* Add a preference item for metrics loggingYohei Yukawa2014-06-041-0/+15
| | | | | BUG: 14324207 Change-Id: Idc8582655bc73cb24e416e8ba78470209b2ff702
* Remove LatinImeLogger and UsabilityStudyLogUtilsTadashi G. Takaoka2014-05-292-40/+11
| | | | | | | This CL must be checked in together with Ie52007dc5c. Bug: 15318007 Change-Id: Ie665f296e43b5485ae8ba7e949aa262794ee0dcc
* Remove researcher loggerTadashi G. Takaoka2014-05-292-6/+0
| | | | | | | This CL must be checked in together with I5cc76807e3. Bug: 15318007 Change-Id: I61423c3377ddc299fb332e742d6626c2e47145bb
* Keep showing important notice when "show correction suggestions" is offTadashi G. Takaoka2014-05-261-2/+3
| | | | | | | | | | | When 1. The important notice message is shown on the suggestions strip. 2. And the "Show correction suggestions" settings is off. we will keep showing the important notice message on the suggestion strip. Bug: 13741460 Change-Id: I411007ab1e5e6959b6cdba7a6601a84635259313
* Merge "Enable "show language switch key" settings on K and before"Tadashi G. Takaoka2014-05-233-10/+18
|\
| * Enable "show language switch key" settings on K and beforeTadashi G. Takaoka2014-05-243-11/+19
| | | | | | | | | | | | | | | | | | "Show language switch key" and "Switch to other IME" settings are enabled on KitKat and before. On L and later, its preference settings UI gets hide and the settings values are forcibly set to true. Bug: 14854377 Change-Id: I10456408452280a1b7688fd1f168933937666c9f
* | Use Java 7 diamond operatorTadashi G. Takaoka2014-05-242-7/+4
|/ | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Simplify StatsUtilsYohei Yukawa2014-05-152-1/+4
| | | | | | | | | | | With this CL, the implementation of StatsUtils no longer needs to know how to read settings from the system. Insted, the LatinIME class is now responsible for notifying StatsUtils whenever the settings is changed. BUG: 14324207 Change-Id: Ic3d26ec31c8d2c082d3e7487b578b323aad2f960
* Add initial reordering rules for MyanmarJean Chalard2014-05-121-1/+2
| | | | | Bug: 13945569 Change-Id: Ib546ba110e87bf72afa7f42c878cc5f638bff6c7
* Refactor KeyboardThemeTadashi G. Takaoka2014-05-122-3/+24
| | | | | | | | | | | | | | | | | | | | | This CL introduces two preference keys in addition to the existing one. - pref_keyboard_theme: The new preference key that is used only in the preference settings. - pref_keyboard_layout_20110916: The previous preference key that holds keyboard color scheme settings. This is superseded by the next key. - pref_keyboard_theme_20140509: The new preference key that holds keyboard theme settings. This value is forcibly reset to LMP theme on a LMP device. On a KitKat and previous device, the settings of the pref_keyboard_layout_20110916 is carried on into this preference. This CL must be checked in together with Id7b3ddd8aa. Change-Id: I2d55602d026e30b38d8f822d2124f5c5e4a9a812
* Revert "Refactor KeyboardTheme"Ken Wakasa2014-05-092-24/+3
| | | | | | | | This reverts commit 19688b584bb903192559196a0e3836bc4c957696. Build breakage. Change-Id: I95d4be1578824eaee5a2fb08ec277250727ac668
* Refactor KeyboardThemeTadashi G. Takaoka2014-05-092-3/+24
| | | | | | | | | | | | | | | | | | | | | This CL introduces two preference keys in addition to the existing one. - pref_keyboard_theme: The new preference key that is used only in the preference settings. - pref_keyboard_layout_20110916: The previous preference key that holds keyboard color scheme settings. This is superseded by the next key. - pref_keyboard_theme_20140509: The new preference key that holds keyboard theme settings. This value is forcibly reset to LMP theme on a LMP device. On a KitKat and previous device, the settings of the pref_keyboard_layout_20110916 is carried on into this preference. This CL must be checked in together with Ifcedeabbec. Change-Id: Ibe75146e2c1c7eebf964ca86550baf244fedb79a
* Introduce clustering punctuationJean Chalard2014-05-011-0/+7
| | | | | Bug: 10081730 Change-Id: If198fa3df68ecb267da0a278da41fd509d6165f1
* Move some advanced settings to debug settingsTadashi G. Takaoka2014-04-254-51/+51
| | | | | | | | This CL moves "Show slide indicator" and "Key long press delay" advanced options to the debug settings. Bug: 11866784 Change-Id: Iec16e09ba6e7c9f82ce0fa73a0d75766b843b44b
* Use KeyboardTheme id insteand of indexTadashi G. Takaoka2014-04-141-37/+0
| | | | | | | This CL must be checked in together with I771216f8bd. Bug: 14042743 Change-Id: I45c3acf9242985fb03721a9a6d377fbccc8e2019
* Refactor KeyboardTheme as top-level classTadashi G. Takaoka2014-04-141-2/+2
| | | | | | | This CL should be checked in together with I63e33388f9. Bug: 14042743 Change-Id: I13f0a45bac6f19e006bf1280a36173e52d6d7160
* Use platform default theme for activities and dialogsTadashi G. Takaoka2014-04-041-1/+3
| | | | | Bug: 13698528 Change-Id: Ib904c911452525e3749c0eb287434b504576db5f
* Check null before passing to Integer.parseIntYohei Yukawa2014-03-241-0/+3
| | | | | | | | | | | Just after user data is cleared, user preference associated with PREF_KEYBOARD_LAYOUT is always empty. In such case, we might want to return the default value immediately, rather than calling Integer.parseInt(null) and catching NumberFormatException unnecessarily. BUG: 13472379 Change-Id: I8dca9a22780d057013c032bd1f56e730dcada3ce
* Remove reference of KeyboardTextsSet from SpacingAndPunctuationsTadashi G. Takaoka2014-03-201-4/+1
| | | | Change-Id: I76a8fcbd2466bcaf9cd85501af270db5aa913999
* [IL126] Move a setting value to SettingsValuesJean Chalard2014-03-191-0/+2
| | | | | Bug: 8636060 Change-Id: I7cb082df13a10cf5a3aa5786e6a9599376652dee
* Guard possible NumberFormatExceptionTadashi G. Takaoka2014-03-182-11/+23
| | | | | Bug: 13472379 Change-Id: Ib7640b3d8816d8d7fb4747d2288eedd94bc49b06
* Remove "Use only personalization dictionary".Keisuke Kuroyanagi2014-02-272-7/+0
| | | | | Bug: 13216198 Change-Id: I20ce61c4a10c360e028bf6427f632cc5299763e4
* Change important notice version preference fileTadashi G. Takaoka2014-02-201-4/+0
| | | | | | | This CL also reset the notice version to 1. This CL must be checked in together with Iea8d9ff038. Change-Id: I838f7b5b295388d64d6aba90f50b06654eba16e5
* Fix build due to Ib4c472756fTadashi G. Takaoka2014-02-201-1/+1
| | | | Change-Id: I27aad91d3f821b5c0d6a3c6405b4a9d03c5bd814