aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/SettingsValues.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate auto-correction settings.Jean Chalard2012-06-121-1/+1
| | | | | | | | | | | | | For some reason, there were several ways, not exactly identical, to get this setting. The ones that used mAutoCorrectionEnabled would kick in when the input field was specifying no correction, so it would be a little strange (although harmless in the practice because the settings set in this way would not get used later, because the correct test would be done at that time). Also perform a very small refactoring Change-Id: Ica9f32b238d98009ae1852d3c1e940398f5d341c
* Move two methods in a more appropriate placeJean Chalard2012-06-121-0/+5
| | | | Change-Id: I512b04e23490413a44b1ca0517102fe2d9138df3
* Move suggestion strip visibility to SettingsValuesJean Chalard2012-06-081-0/+32
| | | | Change-Id: If34112c69acd5122d87554043d87d8f4dbdf5d15
* Accept a null input attributes for reading settings.Jean Chalard2012-06-081-1/+1
| | | | Change-Id: I11a8e1aca3541c35d2b39b27716687fcd8ff3dc6
* Move the correction mode to SettingsValue and make it finalJean Chalard2012-06-081-1/+11
| | | | | | At last this guy is final, at last Change-Id: I76911f8d47493f8a1719f75fc7e949be5d7da1a2
* Remove a slew of Eclipse warnings.Jean Chalard2012-06-081-1/+0
| | | | Change-Id: I03236386aea13fbd4fb8eaeee18e0008aa136502
* Forget user historysatok2012-05-281-0/+21
| | | | | | Bug: 4192129 Change-Id: Ic98398e5383093a1c24373849eadc48fc4d3626f
* Use "float" instead of "double"satok2012-05-161-5/+5
| | | | Change-Id: I93ed4d88ede4058f081dd8d634b00dfff4e96d07
* Do not set "SuggestionSpan"s for suggestions from the next word predicitionsatok2012-05-151-1/+2
| | | | | Bug: 6294817 Change-Id: I5010eafa5ba7e947743706adf7e722f4f0cfb415
* Add custom subtype settingsTadashi G. Takaoka2012-04-191-2/+0
| | | | | Bug: 4460018 Change-Id: I4919d79516dcf574be2761bbaf9adcdc381b2ddc
* Change predefined additional subtype format in preferenceTadashi G. Takaoka2012-04-191-4/+4
| | | | | | This change also refactor StringUtils class Change-Id: Ie0b4d169b21c260bf238d6fcc9ab0ee8bfd6b508
* Make predefined subtype configurable by XML resourceTadashi G. Takaoka2012-04-181-13/+11
| | | | Change-Id: I1f8486a1fb652f1e06789e7bfd2cc57273092234
* Cleanup InputMethodManagerCompatWrapperTadashi G. Takaoka2012-04-181-2/+3
| | | | Change-Id: Id3b84ee19bb504ed8fbb398e260cc663a5b5ae0d
* Fix typo of some methods' nameTadashi G. Takaoka2012-04-181-4/+4
| | | | | | Also changes some methods' argument type from Locale to String. Change-Id: Ib68b528a450dc68a01546483403230f76500bee4
* Utilize InputMethodSubtype and additional subtypeTadashi G. Takaoka2012-04-131-0/+18
| | | | | | | * Remove de_QY and fr_CH from supported subtypes * Add de-qwerty and fr-qwertz predefined additional subtypes instead. Change-Id: I49e8ba0299529302f2b91b4d018b07304cdd6897
* Generate KeyboardLabelsSet from donottranslate-more-keys.xmlTadashi G. Takaoka2012-04-111-1/+1
| | | | | | | | This change introduces makelabel tool that reads all languages' donottranslate-more-keys and generate KeyboardLabelsSet.java source file. The makelabel command must be invoked prior to compile LatinIME. Change-Id: I7515c7919c535e30f9c80a37bdc831d0f682cd43
* Update the names and default values of bigram options.Jean Chalard2012-04-051-3/+3
| | | | | | Bug: 6293595 Change-Id: I9978a1127c64b7a26a5ccf6f777366f7c4e214db
* Merge "Add RunInLocale class to guard locale switching"Tadashi G. Takaoka2012-04-031-12/+5
|\
| * Add RunInLocale class to guard locale switchingTadashi G. Takaoka2012-04-031-13/+5
| | | | | | | | | | Bug: 6128216 Change-Id: I8d9c75c773c3de886183b291ada7a3836295839b
* | Cleanup InputTypeCompatUtils to InputTypeUtilsTadashi G. Takaoka2012-04-031-3/+1
|/ | | | | Bug: 6129704 Change-Id: I45e19e456ef7c6e61fe877ea544fef1b9f896e95
* Combine candidate words and scoressatok2012-04-021-1/+2
| | | | | Bug: 5240798 Change-Id: Ie56c1c2cfd7f365e771fee88c1ed15012448feed
* Move VibratorCompatWrapper to VibratorUtils.Ken Wakasa2012-03-301-2/+2
| | | | | | bug: 6129704 Change-Id: Ib63f1ed2d610e27e14957cf8805ef884cae6adf6
* Refactor to memorize device dependent override parametersTadashi G. Takaoka2012-03-211-18/+5
| | | | Change-Id: I79482a8ef3846525669979a30dec183ea18138b5
* Cleanup proximity related codesatok2012-03-191-1/+0
| | | | | Bug: 4343280 Change-Id: I57c0f9e20d9d8911009ea97057251a7f7a81512f
* Small performance improvement by removing interface accesses.Ken Wakasa2012-03-171-2/+0
| | | | Change-Id: I6d91f3b086470b79306dbe2874db9748b9e0eb5f
* Add info for obsolete suggestions in SuggestedWordsJean Chalard2012-03-151-1/+2
| | | | Change-Id: I9684c7b08244b34853ce8a99b6e9d885389f6687
* Remove useless stuffJean Chalard2012-03-151-35/+0
| | | | Change-Id: I43dae30774c40a9d6e7396f8fa73ed4b82a7c777
* Remove a useless parameterJean Chalard2012-03-141-4/+2
| | | | Change-Id: I03005240238fb004c20b2df0d836796e2e8b307f
* Remove a useless methodJean Chalard2012-03-141-4/+4
| | | | Change-Id: I208dd2e725e37c2fb3cd51fe48194679e5912f6b
* Make the Builder privateJean Chalard2012-03-141-4/+2
| | | | Change-Id: I2184084f4b7729c4324f8291d548bd4c4c2872a1
* Make the Builder fully immutable at lastJean Chalard2012-03-131-2/+4
| | | | Change-Id: Ie399ca7a9e76ccab44a92bc378d11f92392fed2c
* 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