aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/SettingsValues.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make still more members of the Builder final.Jean Chalard2012-03-131-0/+4
| | | | Change-Id: Ic455f97247da5e40d4939555ab639ecffef36e2d
* Make some more Builder attributes final.Jean Chalard2012-03-131-4/+6
| | | | Change-Id: I3132b7fe4ee97c566736bfc21c3783cfc79fc7ff
* Make the suggested word list final in Builder.Jean Chalard2012-03-131-4/+2
| | | | Change-Id: I2ddfab00dc8c141fc989a051f16eb2b3571b7e86
* Make an add into a set.Jean Chalard2012-03-131-2/+2
| | | | | | | | | This method now only sets words, so it should be named set. The functionality is identical since there are no more places where the list is reused. This will also allow to make the list final in an upcoming change. Change-Id: I25b0c7d7f13c3fa5d89806f01f48f1026769603f
* Remove a useless parameter.Jean Chalard2012-03-131-7/+11
| | | | Change-Id: I7625bf17158c207ad7e8cd496bef825704173c4c
* Kill methods with side-effects, take 2Jean Chalard2012-03-131-7/+14
| | | | | | ...working this time Change-Id: I80e377e6250d3817f1e067a551bca2a557740764
* Revert "Kill methods with side-effects"Jean Chalard2012-03-121-14/+7
| | | This reverts commit ca0e04868891c461a3e6f30bf15d209d622c8349
* Kill methods with side-effectsJean Chalard2012-03-121-7/+14
| | | | Change-Id: I42baeec68eb2540e7d8f8538ae2dceeef5594391
* Split Utils class to StringUtils, SubtypeUtils, and JniUtilsTadashi G. Takaoka2012-03-081-2/+2
| | | | Change-Id: I09e91675fe7d573dad8c933ad513b21d7e409144
* Add language switch key only to the phone layoutsTadashi G. Takaoka2012-03-071-0/+24
| | | | | Bug: 5759092 Change-Id: Ic7d7d4812976654c0e85fecabd1128eadfc52c5c
* Correct special space handling of punctuationJean Chalard2012-03-061-1/+8
| | | | | | | | | | This fixes two defects: - One where some separators should promote a phantom space to a real space. This bug had a unit test but wasn't tracked. - One where French punctuations would behave incorrectly. Tracked Bug: 6113693 Change-Id: Ia7f86fc960e00141757632ab2c9bce9168dd6966
* Rename resources to reflect current usageJean Chalard2012-02-211-18/+18
| | | | | Bug: 6010403 Change-Id: Ia02ff31007296fdf6901504f238dfd9e4621f658
* Settings key always exists in more keys of shortcut/f1 keyTadashi G. Takaoka2012-02-171-19/+0
| | | | | | | | | This change also * Fix comman/f1 key for Arabic keyboard. * Removes "show settings key option" and related stuff. * Renames and simplifies F2 key to shortcut key on 7 inch tablet. Change-Id: Ib1cf99ad00d9780a2f0d170260e756771e161521
* Some more simplificationJean Chalard2012-02-091-4/+0
| | | | | | | Remove useless method calls, and ultimately remove useless method. Change-Id: I3f353b1b37460d5e9ceae5cb5dde3fff0da81c21
* Fix string iterations in a couple places.Jean Chalard2012-02-031-1/+4
| | | | | | | | Seems I didn't get how to iterate on a String correctly >.> Talk about a big bug. Anyway, I think it's working now. Bug: 5955228 Change-Id: I988c900cf2a16c44b9505cfd4f77c7cda7e592f0
* Move CSV parser to KeySpecParserTadashi G. Takaoka2012-02-021-1/+1
| | | | Change-Id: I424fb47bc70e9b6aaa5a16ae9b2500d23da75c26
* Make KeySpecParser and CSV parser code point awareTadashi G. Takaoka2012-02-021-5/+5
| | | | | | This change also renames MoreKeySpecParser to KeySpecParser Change-Id: I35733cdbb344f16b57ffa2cfe79055c089b4e409
* Use MoreKeySpecParser to parse puctuations strip resourcesTadashi G. Takaoka2012-02-011-8/+37
| | | | | | | | | | | This change also * Doesn't use Key.getRtlParenthesisCode to get correct parentheses code in RTL context. Intead uses the outputText feature of moreKeys specification. * Move CVS string parser from KeyStyles to Utils. Bug: 5948247 Change-Id: I45752c7d01b4f7d3f3da900b110a2185b336a1f0
* Get rid of Resource reference from KeyboardView, LatinKeyboardView and ↵Tadashi G. Takaoka2012-01-261-2/+3
| | | | | | | | | | | | | | | | | | | | | | PointerTracker This change introduces the following attributes. * KeyboardView - keyPreviewLingerTimeout * LatinKeboardView - keyHysteresisDistance - touchNoiseThresholdTime - touchNoiseThresholdDistance - slidingKeyInputEnable - keyRepeatStartTimeout - keyRepeatInterval - longPressKeyTimeout - longPressShiftKeyTimeout - longPressSpaceKeyTimeout - ignoreSpecialKeyTimeout - showMiniKeyboardAtTouchedPoint Change-Id: I25159a87289b12447e20031add173523070e9b03
* Don't cache resource value that depends on orientationTadashi G. Takaoka2012-01-161-2/+4
| | | | | Bug: 5794655 Change-Id: Ib324366c772e20bb54aba63c2f4540dc0f9de515
* Add a sanity checkJean Chalard2012-01-121-0/+8
| | | | | | | | | Check if any character is both a magic space swapper and a magic space stripper for the current language, and throw an exception if found. Since this is expensive, it's done only in debug mode. Change-Id: Ibd166db87c91495b76878ea0e4f420a62c7bb276
* Cleanup unused variables and parametersTadashi G. Takaoka2011-12-151-9/+12
| | | | Change-Id: Iad756a7a775c93f3344c6962e7b3456ef8339490
* Move a settings var to the settings classJean Chalard2011-12-121-0/+2
| | | | Change-Id: I1331ad6dec3a9d64a77e314f8a1f4c29282df31b
* Resolve TODOs: add members to hold preferencesJean Chalard2011-12-091-3/+9
| | | | Change-Id: I34f6c76bf9318e1fbe8eb5ffab6772a98ff824e0
* Resolve TODOs: add some members to store prefsJean Chalard2011-12-091-8/+19
| | | | Change-Id: Idf09cb5d801e8008eb63cbb5138058faeb7db136
* Resolve TODOs: add members to store raw settingsJean Chalard2011-12-091-17/+17
| | | | Change-Id: I481eadb6a73faf239e24d05b7e220fcb01194fa4
* Read options in the declaration orderJean Chalard2011-12-091-3/+2
| | | | Change-Id: I1a7c4d0bcaedad6d4045c36c79280c23234db5b3
* Straighten out prefs reading codeJean Chalard2011-12-091-19/+30
| | | | Change-Id: Ibf9113a8ef07ac720100ee32d2e5ef321e8ddd98
* Straighten out members extracted from resources.Jean Chalard2011-12-091-23/+29
| | | | Change-Id: I9b9602ec5b379b44b0f0663d4f065dbcf88fd352
* Match constant names to option namesJean Chalard2011-12-091-4/+4
| | | | Change-Id: I7586fa342d7a39412d656890f7b525139c45ea4a
* Reorder members in SettingsValues.Jean Chalard2011-12-091-11/+17
| | | | | | | Reorder so that they match the order in the preference xml file. Also add TODOs for missing raw variables. Change-Id: I06332c131a624d6c359512d75c808f3f7313fa91
* Move settings variables to the settings classJean Chalard2011-12-091-3/+13
| | | | Change-Id: Ifa7033a84b08ea626eb44cf6d04ba8e28c250bea
* Move settings method from Utils to SettingsValuesJean Chalard2011-12-091-1/+35
| | | | Change-Id: I633378a41f63cd492b8c9345d550e07254df5e5a
* Extract Settings.Values to a new classJean Chalard2011-12-091-0/+244
This is pretty much automatic refactoring. Thanks Eclipse! Change-Id: I8ccd24d11878445c836347e9c487c91461eee9cd