aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * Check the magic number of a decoded fileJean Chalard2011-08-311-6/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Checking the magic number of a file upon decoding is necessary, because if the file is corrupt and we don't check it, we will fall back to a simple copy of the corrupted file. Latin IME would realize this and would not crash, but would not use the corrupted dictionary. If this happened to be a main dictionary, then the user would lose the ability to use the correct built-in dictionary. Not the same, but kinda similar to Bug: 5223031 Change-Id: Ic2783dc9dd5f3dcf2865623d9452765fe3778db7
* | Get rid of MeasureSpec.UNSPECIFIEDTadashi G. Takaoka2011-08-313-19/+21
| | | | | | | | | | Bug: 5023981 Change-Id: I14ded3c3d554ac72b66f190110652f54d91df954
* | Add outputText and icon to the Key constructorTadashi G. Takaoka2011-08-302-10/+19
|/ | | | | | | This is a follow up change for I737bacb1. Bug: 5023981 Change-Id: I980e3e993c81afe4fbdb95c9c263d7aa52aff66c
* Merge "Cleanup keyboard related code a bit"Tadashi G. Takaoka2011-08-303-3/+18
|\
| * Cleanup keyboard related code a bitTadashi G. Takaoka2011-08-303-3/+18
| | | | | | | | Change-Id: I04f1014ab3b115bd457e25a267d2e46d306c8a0e
* | Add Key constructor for suggestions paneTadashi G. Takaoka2011-08-303-17/+25
| | | | | | | | | | Bug: 5023981 Change-Id: I737bacb1a6bb40f70be65d6eff85614afe6c79ed
* | Revert "Add hintLabel to Key constructor"Tadashi G. Takaoka2011-08-302-4/+4
|/ | | | | | | This reverts commit be34d973349909196dc3427a5653f4e119092ea7. Bug: 5023981 Change-Id: I34f75cde035f04a9a82c9259442ed0e255cb7118
* Add hintLabel to Key constructorTadashi G. Takaoka2011-08-302-9/+8
| | | | | | | | This change also partialy reverts I5832421c, because of incorrect popup mini key width calculation. Bug: 5023981 Change-Id: I1acde090c01d3d861fcc5559cad81e638de2c2bb
* Fix another mismatched attribute in KeyboardViewTadashi G. Takaoka2011-08-301-6/+4
| | | | | | | This is a followup of Iea7f8f34. Bug: 5023981 Change-Id: I1135383ff0f0a2b8a5940d0d5c407fd01706a7f7
* Fix mismatched attribute in KeyboardViewTadashi G. Takaoka2011-08-301-1/+1
| | | | | | | This is a followup of Iea7f8f34. Bug: 5023981 Change-Id: Ice6d949581aea7ca68799be2b91ff28234dd88d6
* Merge "Add keyLetterSize and keyLabelSize as KeyboardView attribute"Tadashi G. Takaoka2011-08-291-4/+19
|\
| * Add keyLetterSize and keyLabelSize as KeyboardView attributeTadashi G. Takaoka2011-08-291-4/+19
| | | | | | | | | | Bug: 5023981 Change-Id: Iea7f8f340775cbb093c50d6e741b2f1476e9ac39
* | Clean up some MiniKeyboard.Builder codeTadashi G. Takaoka2011-08-292-19/+12
|/ | | | Change-Id: I5832421cab3d496d4bb8a5e9902d0b5f4929fd0b
* Merge "Add KeyboardActionListener.Adapter"Tadashi G. Takaoka2011-08-293-17/+21
|\
| * Add KeyboardActionListener.AdapterTadashi G. Takaoka2011-08-293-17/+21
| | | | | | | | Change-Id: If13df42efffc7cef746c09d5abfe7a8619452a0b
* | Merge "Fix a bug with synchronicity of spell checking/user dict"Jean Chalard2011-08-293-4/+54
|\ \
| * | Fix a bug with synchronicity of spell checking/user dictJean Chalard2011-08-293-4/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a race condition that would end up with the spell checker not finding some words in the user dictionary when it just booted. Bug: 5194627 Change-Id: I1ba911cc53e6ae3b111d54a6f91d1d5feef3f5de
* | | Add guard to prevent possible IllegalStateExceptionTadashi G. Takaoka2011-08-292-1/+4
| |/ |/| | | | | | | Bug: 5227682 Change-Id: Iff93b425f52981b5e2c65e309b07bcfe4485eeb1
* | Merge "Make PopupPanel decoupled with LatinKeyboardView and Keyboard"Tadashi G. Takaoka2011-08-294-38/+54
|\ \ | |/ |/|
| * Make PopupPanel decoupled with LatinKeyboardView and KeyboardTadashi G. Takaoka2011-08-294-38/+54
| | | | | | | | | | Bug: 5023981 Change-Id: Ib4fd55d52718aa244178ca2313f5e8487378324f
* | Merge "Move locale-related utility methods to LocaleUtils."Jean Chalard2011-08-2811-58/+80
|\ \ | |/ |/|
| * Move locale-related utility methods to LocaleUtils.Jean Chalard2011-08-2911-58/+80
| | | | | | | | Change-Id: I7e9e6e5bc4486d8618d0213b112308c3d305c15e
* | Merge "Move debug information back to suggestions strip"Tadashi G. Takaoka2011-08-261-7/+13
|\ \
| * | Move debug information back to suggestions stripTadashi G. Takaoka2011-08-261-7/+13
| | | | | | | | | | | | Change-Id: I8cfad5f780a481a251cc4f752bff3cda5ae3ffbe
* | | Do not put the suggestion span for obsolete suggestions.satok2011-08-263-3/+4
|/ / | | | | | | | | | | Bug: 5219037 Change-Id: I0300fbc7e1cc97f0f8ba4d21e0e699d9fe66ed76
* | Merge "Fix "touch to save" colors"Tadashi G. Takaoka2011-08-261-31/+62
|\ \ | |/ |/|
| * Fix "touch to save" colorsTadashi G. Takaoka2011-08-261-31/+62
| | | | | | | | | | Bug: 5218662 Change-Id: I094b2ceb7438148eb5bdf620b188f598e8442a07
* | Wrap up popup mini keyboardTadashi G. Takaoka2011-08-261-2/+11
|/ | | | | Bug: 5218641 Change-Id: I88b3e7efa1f7c009c8a8e4f5453a5c4df2f91cfc
* Allow sharing dictionaries between similar locales.Jean Chalard2011-08-254-29/+259
| | | | | Bug: 5058488 Change-Id: Ib12013f58afad957a8205b439f87480cc12ea06f
* Add a debug variableJean Chalard2011-08-241-0/+1
| | | | | | ...that was missing Change-Id: Ia3b17909f295e0a93dee633c8d67c0e03840023e
* Avoid unnecessary output to the system log.Jean Chalard2011-08-241-1/+3
| | | | | | | | | | | | | | | | | | The message this removes gets printed under normal conditions. Normally dictionary files are compressed then crypted, but not compressed a second time; however LatinIME tries to open a compressed-crypted-compressed file first, because it could not do it afterwards and we want to support this case. So under normal operations, the first method LatinIME tries is actually expected to fail. Also, if we decide to stop compressing or/and encrypting dicts LatinIME supports it as a valid use case. It should not print errors to the log. If the file cannot be open at all, then it is an unexpected case, and Latin IME still reports to the log. Change-Id: Ic5228c51365a101af1d03e2c893484d3050b5a1c
* Merge "Fix suggestions strip press state to align vertically"Tadashi G. Takaoka2011-08-241-4/+5
|\
| * Fix suggestions strip press state to align verticallyTadashi G. Takaoka2011-08-241-4/+5
| | | | | | | | | | | | | | | | This change also tweaks more_suggestions_hint drawables to eliminate unnecessarily padding at the bottom. Bug: 5204563 Change-Id: If5ec731c9a490da0116a020e8fd405c7d025d707
* | Call the decrypt/unzip routines upon copying a dictionary.Jean Chalard2011-08-242-40/+143
| | | | | | | | | | Bug: 5095140 Change-Id: I7000f752bc9b7fd6a7af4839b2f225c085300128
* | Merge "Refactoring: cut out a method for caching a word list"Jean Chalard2011-08-232-34/+44
|\ \ | |/ |/|
| * Refactoring: cut out a method for caching a word listJean Chalard2011-08-242-34/+44
| | | | | | | | | | | | | | | | This is preparation to have the decrypting/unzipping code moved over to LatinIME. Bug: 5095140 Change-Id: Ic3fdcc3de673b46cef2eb9ebe6a52cbdd614e50a
* | Merge "Move some static methods from SubtypeSwitcher to Utils"Tadashi G. Takaoka2011-08-235-36/+36
|\ \
| * | Move some static methods from SubtypeSwitcher to UtilsTadashi G. Takaoka2011-08-245-36/+36
| |/ | | | | | | Change-Id: I3ea8ffcdefcefaa82ae76a31bb65977009d8a040
* / Implement "forceAscii" private IME optionTadashi G. Takaoka2011-08-244-11/+30
|/ | | | | | | | | | | | | This change also introduces "AsciiCapable" extra value for subtype that indicates the subtype can input any ASCII code point from its keyboard layout. Only if the input field has "forceAscii" private IME option and the current subtype doesn't have "AsciiCapable" extra value, the en_US keyboard layout will be used for the input field. Bug: 3384942 Change-Id: I25e2553e37ecb5002df1164e45f6273845fe463b
* Merge "Fix an excessive fallback problem."Jean Chalard2011-08-231-18/+4
|\
| * Fix an excessive fallback problem.Jean Chalard2011-08-231-18/+4
| | | | | | | | | | | | | | | | | | LatinIME has several fallbacks to ensure a dictionary is used. However, it should now be possible to deactivate the main dictionary through the dictionary pack settings. In this case, Latin IME should not fallback to the built-in dictionary. Change-Id: Ibd992ad89793169f04a968b40781fce819b87b6f
* | Rename LatinKeyboardBaseView to LatinKeyboardViewTadashi G. Takaoka2011-08-238-26/+26
| | | | | | | | | | Bug: 5182291 Change-Id: I5089a14902b9f4ff1ab4f34e3f7a42aca5040d3e
* | Refactor and rename popup mini keyoard related classesTadashi G. Takaoka2011-08-237-329/+302
|/ | | | Change-Id: Ia92ec4612090b03829db9a87ce68d701db6e15bc
* Merge "Extract sudden jumping touch event hack into separate class"Tadashi G. Takaoka2011-08-235-36/+53
|\
| * Extract sudden jumping touch event hack into separate classTadashi G. Takaoka2011-08-235-36/+53
| | | | | | | | | | Bug: 5182291 Change-Id: I6a88ed4df3ec98e31ea4966d82da56f7fca342ac
* | Merge "Remove password field special handling"Tadashi G. Takaoka2011-08-232-12/+1
|\ \
| * | Remove password field special handlingTadashi G. Takaoka2011-08-232-12/+1
| |/ | | | | | | Change-Id: Iaf1b4bbb54be7a4cade856d1ba363e976774f442
* | Merge "Remove screen orientation confirmation hack"Tadashi G. Takaoka2011-08-231-56/+10
|\ \
| * | Remove screen orientation confirmation hackTadashi G. Takaoka2011-08-231-56/+10
| |/ | | | | | | | | Bug: 4311428 Change-Id: Ie7e094ded9c7c1fe811b7eb97bc33ffecb29a73c
* | Merge "Fix a bug with the string pool."Jean Chalard2011-08-222-2/+23
|\ \ | |/ |/|