aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-30Add translatable=false to the device listTadashi G. Takaoka1-1/+1
Bug: 5222586 Change-Id: I0a1dd27c6719d38f6344300fc027162cc47a2976
2011-08-29Add keyLetterSize and keyLabelSize as KeyboardView attributeTadashi G. Takaoka2-5/+25
Bug: 5023981 Change-Id: Iea7f8f340775cbb093c50d6e741b2f1476e9ac39
2011-08-29Clean up some MiniKeyboard.Builder codeTadashi G. Takaoka2-19/+12
Change-Id: I5832421cab3d496d4bb8a5e9902d0b5f4929fd0b
2011-08-29Add KeyboardActionListener.AdapterTadashi G. Takaoka3-17/+21
Change-Id: If13df42efffc7cef746c09d5abfe7a8619452a0b
2011-08-29Add guard to prevent possible IllegalStateExceptionTadashi G. Takaoka2-1/+4
Bug: 5227682 Change-Id: Iff93b425f52981b5e2c65e309b07bcfe4485eeb1
2011-08-29Fix a bug with synchronicity of spell checking/user dictJean Chalard3-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
2011-08-29Make PopupPanel decoupled with LatinKeyboardView and KeyboardTadashi G. Takaoka4-38/+54
Bug: 5023981 Change-Id: Ib4fd55d52718aa244178ca2313f5e8487378324f
2011-08-29Move locale-related utility methods to LocaleUtils.Jean Chalard12-60/+82
Change-Id: I7e9e6e5bc4486d8618d0213b112308c3d305c15e
2011-08-26Import revised translations.Eric Fischer41-259/+139
Change-Id: I9f822bcc46c870e6c01053b36a497e36849be8d6
2011-08-26Move debug information back to suggestions stripTadashi G. Takaoka2-11/+24
Change-Id: I8cfad5f780a481a251cc4f752bff3cda5ae3ffbe
2011-08-26Fix a bug for calculating the edit distancesatok1-1/+1
Change-Id: I4c2cd102c258ccdb2de18c53901f91c0f7c7a986
2011-08-26Do not put the suggestion span for obsolete suggestions.satok3-3/+4
Bug: 5219037 Change-Id: I0300fbc7e1cc97f0f8ba4d21e0e699d9fe66ed76
2011-08-26Fix "touch to save" colorsTadashi G. Takaoka5-80/+133
Bug: 5218662 Change-Id: I094b2ceb7438148eb5bdf620b188f598e8442a07
2011-08-26remove unnecessary condition check.Yusuke Nojima1-2/+1
Change-Id: I6e5e3dee0ca3aae0088dcb309da8be16d3842d47
2011-08-26Add spell checker subtypessatok1-4/+16
Change-Id: Id0dadb881a74c654c1c4fa972ee82f4238d66d4e
2011-08-26Wrap up popup mini keyboardTadashi G. Takaoka1-2/+11
Bug: 5218641 Change-Id: I88b3e7efa1f7c009c8a8e4f5453a5c4df2f91cfc
2011-08-25Allow sharing dictionaries between similar locales.Jean Chalard4-29/+259
Bug: 5058488 Change-Id: Ib12013f58afad957a8205b439f87480cc12ea06f
2011-08-25Add key preview icon of settings keyTadashi G. Takaoka4-1/+1
The new icon has been created just enlarging sym_keyboard_settings_holo.png to the size of other feedback icon. The icon should be designed properly by designer after. Bug: 4948171 Change-Id: I00b018e82ca93190fe87443c8ad8911b36551002
2011-08-24Add a debug variableJean Chalard1-0/+1
...that was missing Change-Id: Ia3b17909f295e0a93dee633c8d67c0e03840023e
2011-08-24Avoid unnecessary output to the system log.Jean Chalard1-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
2011-08-24Combine proximity and correctionssatok1-30/+36
bug: 4170136 Change-Id: I0a6d54c769b05f7a67f2f472d48a3e54fe3af475
2011-08-24Fix suggestions strip press state to align verticallyTadashi G. Takaoka4-4/+5
This change also tweaks more_suggestions_hint drawables to eliminate unnecessarily padding at the bottom. Bug: 5204563 Change-Id: If5ec731c9a490da0116a020e8fd405c7d025d707
2011-08-24Remove tablet specific suggestions updating delayTadashi G. Takaoka1-1/+0
Bug: 5100007 Change-Id: I3ab1bffbda4f8535489a2fcc41ffe33b43d1a96b
2011-08-24Call the decrypt/unzip routines upon copying a dictionary.Jean Chalard2-40/+143
Bug: 5095140 Change-Id: I7000f752bc9b7fd6a7af4839b2f225c085300128
2011-08-24Refactoring: cut out a method for caching a word listJean Chalard2-34/+44
This is preparation to have the decrypting/unzipping code moved over to LatinIME. Bug: 5095140 Change-Id: Ic3fdcc3de673b46cef2eb9ebe6a52cbdd614e50a
2011-08-24Implement "forceAscii" private IME optionTadashi G. Takaoka5-13/+50
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
2011-08-24Move some static methods from SubtypeSwitcher to UtilsTadashi G. Takaoka5-36/+36
Change-Id: I3ea8ffcdefcefaa82ae76a31bb65977009d8a040
2011-08-23Combine the skipped and transposed correctionsatok5-84/+162
bug: 4170136 Change-Id: I7b50b40478abf27f51ec5e001815ff4882f3e5e5
2011-08-23Rename LatinKeyboardBaseView to LatinKeyboardViewTadashi G. Takaoka8-26/+26
Bug: 5182291 Change-Id: I5089a14902b9f4ff1ab4f34e3f7a42aca5040d3e
2011-08-23Fix an excessive fallback problem.Jean Chalard1-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
2011-08-23Refactor and rename popup mini keyoard related classesTadashi G. Takaoka8-331/+304
Change-Id: Ia92ec4612090b03829db9a87ce68d701db6e15bc
2011-08-23Extract sudden jumping touch event hack into separate classTadashi G. Takaoka6-36/+80
Bug: 5182291 Change-Id: I6a88ed4df3ec98e31ea4966d82da56f7fca342ac
2011-08-23Remove password field special handlingTadashi G. Takaoka10-121/+6
Change-Id: Iaf1b4bbb54be7a4cade856d1ba363e976774f442
2011-08-23Remove screen orientation confirmation hackTadashi G. Takaoka1-56/+10
Bug: 4311428 Change-Id: Ie7e094ded9c7c1fe811b7eb97bc33ffecb29a73c
2011-08-23Fix a bug with the string pool.Jean Chalard2-2/+23
This also adds some optional debug code to detect more easily possible future occurrences of the same problem. Bug: 5195017 Change-Id: I2558b468e46f7090de868f1ec2dc9e24895d670f
2011-08-23Move some methods from LatinKeyboardView up into LatinKeyboardBaseViewTadashi G. Takaoka3-83/+84
Bug: 5182291 Change-Id: I699ecef6fb8ea492d96fca1939f51faf0aac7fa6
2011-08-22Import revised translations.Eric Fischer28-96/+60
Change-Id: If2817e3bd44c400cd290cba1c1977e38a68d73d0
2011-08-22Remove 7inch dedicated iconsTadashi G. Takaoka39-13/+6
This change also tweaks the size of letters and labels. Change-Id: Id3f04015778ebca5e8f6833bc695e221fe7a8079
2011-08-22Fix suggestions strip text colorsTadashi G. Takaoka3-16/+24
This change also shows the valid typed word in bold face. Bug: 5161713 Change-Id: I15355a11888fc8ef90ecc8b64a52eb08c1a2b367
2011-08-22Remove duplicates from the spell checker suggestions.Jean Chalard1-11/+21
Bug: 5175740 Change-Id: I592401b3b8c3074d70e06dc3a9919cc3cb47ba49
2011-08-22Remove hacks related to determine window widthTadashi G. Takaoka4-113/+3
Bug: 4311428 Change-Id: Ic93f264101d13963503fcd447a69bbffd06e69f3
2011-08-22Fix case sensitivity for the spell checker.Jean Chalard1-3/+31
The new behavior is as follows: - If the word in the dictionary is not fully lower case, then the exact case is required to match. - If the word in the dictionary is fully lower case, then any of the following patterns match: - fully lower case - only the first char capitalized - all caps Any other capitalization is rejected. This is probably what people want. If you type a name in all lower case, it should be marked as a typo, but if you type a word with a capital for emphasis or just because it's the start of the sentence, it should match a lower case word in the dictionary. If you have a spurious capital letter in the middle of a word because of a typo, it should be marked as such. Accents are not affected, and should not be. An accented letter is a different letter and a missing accent should be reported. We should maybe consider again for some common transpositions like the "ue" digraph for German, which is now considered a typo, but will suggest the correct diacritics as the first suggestion. Bug: 5145751 Change-Id: I651e24f13c90fb94700a1674ad380e95336e7dca
2011-08-22Settings key visibility should always follow the system default value,Ken Wakasa2-10/+13
by ignoring its preference value, when the "show settings key option" in the settings is disabled. Change-Id: I934be2d9eb0bf6bf731e03f5d9b752de4a7a1c7c
2011-08-19Move the dupes-removing method to the Utils classJean Chalard2-28/+35
This is preparation for bug: 5175740 Change-Id: I18b2042317f740cb1e021d3dfbf90ecfbb1a1d37
2011-08-19Fix last excessive char correction handlingsatok1-1/+6
Change-Id: Id1d46cd96e041fbbbee995093ef8ca56daa3b383
2011-08-19Refactor correction.cppsatok1-89/+89
Change-Id: I1275496e3e7d7124494994d3c52730ec8afdfad3
2011-08-19Have the spell checker use the User dictionary.Jean Chalard3-8/+23
Bug: 5175868 Change-Id: I165eee4c865caa5ee1daf3e0b1acde8788b996ef
2011-08-19Do the transposed correction and the excessive correction by one loopsatok4-64/+165
Change-Id: Idc7a3451a65f7b980e5c499e9083f67646b3a199
2011-08-19Remove "thisd" from the whitelistJean Chalard1-4/+0
Change-Id: Ie834cd87f4579f3df5935607a4b94648b7c145dd
2011-08-18A follow up to Id6e50398Ken Wakasa3-1/+3
bug: 5151430 Change-Id: I2cc91cc3f426ba1b42a1421344e1183ce35c60e0