aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-09-05Get rid of LinearLayoutCompatUtilsTadashi G. Takaoka2-74/+7
Change-Id: If0f63eaeb4539c0e03ef20190d2f9211a176babc
2011-09-05Only set LOOKS_LIKE_TYPO if the max score meets a thresholdJean Chalard2-23/+86
Bug: 5240463 Change-Id: I51e85edae57789d638aa1e12b82e6a75c49d33c7
2011-09-03Use separate View for key preview backingTadashi G. Takaoka6-9/+18
Bug: 5246982 Change-Id: Icec4281cb01771909fcece36647ee42ba179118c
2011-09-02Add logssatok1-0/+10
Change-Id: I640186c8be8013841b542e8cefa5f033eb7afc32
2011-09-02Squash MiniKeyboardKeyDetector and SuggestionsPaneKeyDetector into oneTadashi G. Takaoka3-96/+67
Bug: 5241105 Change-Id: I4c310373fb8b2426fb46205fa17a49a8346f8244
2011-09-02Move Row class into KeyboardBuilderTadashi G. Takaoka3-59/+33
This is a followup of I5929e656. Bug: 5245837 Change-Id: I06bc2774f77a2c5ddf0b6fe1b3ee70e9b3a7dd23
2011-09-02Calculate x coordinate with floating pointTadashi G. Takaoka6-144/+131
This change also fixes some keyboard layouts a bit. Bug: 5245837 Change-Id: I5929e656763b150e71afe89238386904da214e21
2011-09-02Rename a resource more appropriate oneTadashi G. Takaoka4-4/+4
Bug: 5246982 Change-Id: Ic0e43c0e67f63ea069dd4758cf900765ad7a3678
2011-09-02Squash SuggestionsStripParams into SuggestionsViewParamsTadashi G. Takaoka1-42/+34
Bug: 5246982 Change-Id: Idc2563cb0175aabc4282f9fd45eefaa129ed4961
2011-09-02Move current x coordinate value into Row classTadashi G. Takaoka3-20/+28
This is a preparation to address the issue. Bug: 5245837 Change-Id: If5d463304c1689a840c8b761fedb0a8e2193734b
2011-09-02Fix an NPE in settingsJean Chalard1-2/+4
Change-Id: I264c001a9cc28f864ad024fcf51fb42e9c203d3f
2011-09-02Add an option to prevent insertion of suggestion spansJean Chalard4-3/+23
This is to help debug of Bug: 5250788 Change-Id: I961321aff3776c4912eaf7a1fa4de0c01d715f24
2011-09-01Remove unreferenced assets in LatinIMEJustin Ho9-0/+0
Bug: 5032006 Change-Id: I05b7df6c4ac4d7a32d052e0f2e98a3b9538a198e
2011-09-01Change settings wording for ICSJean Chalard1-3/+3
Bug: 5066983 Change-Id: I7f5e680da963dc4e9cf4744f7696cb35a9ca3efb
2011-09-01Dim keyboard when more suggestions are shownTadashi G. Takaoka3-23/+29
Bug: 5241009 Change-Id: Ia42bcfc34dddf93d35f9cea8a4f0efead6ce3a6a
2011-09-01Rename CandidateView to SuggestionsViewTadashi G. Takaoka38-290/+259
Change-Id: I6480cdf025f065130e1969899b259a243e7a11be
2011-09-01Remove unused suggestions pane codeTadashi G. Takaoka1-160/+5
This is a followup for Ie1d69131. Bug: 5023981 Change-Id: I42ec596af40cb7dcdd84b96ba5bff9ef1fb5dc92
2011-09-01Implement KeyboardLocale InputMethodSubtype extra keyTadashi G. Takaoka5-15/+28
The locale is specified by KeyboardLocale extra key in method.xml, LatinIME will use the specified locale for keyboard layout. Bug: 5238658 Change-Id: I8e6cb66c73a7ac1bf611d9910b42fa9cff38eba0
2011-09-01Fix a bug where autotext would occasionally not workJean Chalard1-15/+5
Autotext correction would check whether the first suggestion so far was the same as what Autotext would return, and if it was indeed the same, would not send its result as autocorrect. However, the first suggestion is not guaranteed to have a high enough score to trigger autocorrection, and there would be cases where a word in autotext would not get autocorrected because the word came out of bigram suggestions. These occurrences would be extremely rare, as they would require concomitant insert between autotext for one char and bigram suggestion. It is, in fact, probably limited to the capitalization of "I". This did not happen in gingerbread because gingerbread would not register 1-letter words as valid bigrams. This fix works by just always sending the result of autotext regardless of whether it is already the first suggestion or not. This is okay because duplicates are removed afterwards anyway - and this processing is absolutely necessary because the autotext'd word may actually be somewhere else in the suggestion, so it made really no sense checking for only the first one. Please note that there is also a race condition that can result in "i" not being converted to "I": at the moment, Latin IME relies on having the suggestions evaluated at the time autocorrection is performed, but when typing very, very fast, those messages may have been canceled. This is not limited to the autocorrection of "i", but affects all autocorrections. It requires a nearly inhumane typing speed to trigger, but hitting "i" and space in turn as fast as one can it's possible to reproduce occasionally. Bug: 5135113 Change-Id: I530ea6212487300001a2c0fc5b25a5c7716bdf63
2011-08-31Implement popup suggestions paneTadashi G. Takaoka22-31/+656
Bug: 5023981 Change-Id: Ie1d69131dbf884a3f6a2beb3ac3427e5437c1486
2011-08-31Rename alternates_for_ as more_keys_for_Tadashi G. Takaoka59-559/+559
This is a followup change for I37209a5a. Change-Id: I17cf4596034ed900cb4c769f89a2607a53b19c0a
2011-08-31Fix a possible NPEJean Chalard1-1/+3
Change-Id: I5c57752772414b4f9475d0ad43d7fc52b97c3f33
2011-08-31Fix missing renamesTadashi G. Takaoka2-0/+0
This is a followup for Ic83cd120. Change-Id: Ib51bae45939aa67394c5988a4f4451c20fff6959
2011-08-31Rename PopupCharactersParser to MoreKeySpecParserTadashi G. Takaoka93-690/+697
Also renames PopupPanel to MoreKeysPanel Change-Id: I37209a5a8fe7dbba1eef03e3be88ba5253653926
2011-08-31Update the LatinIME app iconKen Wakasa4-0/+1
bug: 5209784 Change-Id: I67be041f55732abbff7722c0e782277497a773bc
2011-08-31Remove unused XML attributeTadashi G. Takaoka1-8/+0
This is a followup for Ic83cd120. Change-Id: Iecdcf28e2e07e1110c1b2974a9cb994ab2c0a769
2011-08-31Clean up bigram settingsJean Chalard2-18/+14
Move bigram suggestion option to the advanced settings screen, remove bigram prediction option for ICS release and remove the now-empty bigram option category. Bug: 5240082 Change-Id: Ib1fc608ad33d5598410f7b0cb4a1639bffef28c7
2011-08-31Rename PopupMiniKeyboardView to MiniKeyboardViewTadashi G. Takaoka28-87/+79
Change-Id: Ic83cd1200cfb8f8c0b0cfbcad449031b8e8a29e0
2011-08-31Check the magic number of a decoded fileJean Chalard1-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
2011-08-31Get rid of MeasureSpec.UNSPECIFIEDTadashi G. Takaoka3-19/+21
Bug: 5023981 Change-Id: I14ded3c3d554ac72b66f190110652f54d91df954
2011-08-30Add outputText and icon to the Key constructorTadashi G. Takaoka2-10/+19
This is a follow up change for I737bacb1. Bug: 5023981 Change-Id: I980e3e993c81afe4fbdb95c9c263d7aa52aff66c
2011-08-30Cleanup keyboard related code a bitTadashi G. Takaoka3-3/+18
Change-Id: I04f1014ab3b115bd457e25a267d2e46d306c8a0e
2011-08-30Add Key constructor for suggestions paneTadashi G. Takaoka3-17/+25
Bug: 5023981 Change-Id: I737bacb1a6bb40f70be65d6eff85614afe6c79ed
2011-08-30Revert "Add hintLabel to Key constructor"Tadashi G. Takaoka2-4/+4
This reverts commit be34d973349909196dc3427a5653f4e119092ea7. Bug: 5023981 Change-Id: I34f75cde035f04a9a82c9259442ed0e255cb7118
2011-08-30Add hintLabel to Key constructorTadashi G. Takaoka2-9/+8
This change also partialy reverts I5832421c, because of incorrect popup mini key width calculation. Bug: 5023981 Change-Id: I1acde090c01d3d861fcc5559cad81e638de2c2bb
2011-08-30Fix another mismatched attribute in KeyboardViewTadashi G. Takaoka1-6/+4
This is a followup of Iea7f8f34. Bug: 5023981 Change-Id: I1135383ff0f0a2b8a5940d0d5c407fd01706a7f7
2011-08-30Fix mismatched attribute in KeyboardViewTadashi G. Takaoka1-1/+1
This is a followup of Iea7f8f34. Bug: 5023981 Change-Id: Ice6d949581aea7ca68799be2b91ff28234dd88d6
2011-08-30Update "search" iconTadashi G. Takaoka4-1/+1
Bug: 5232726 Change-Id: Ie42729d15dad05c1650b021396596c1f09c844c2
2011-08-30Fix keyLetterSize and keyLabelSize formatTadashi G. Takaoka1-2/+2
This is a followup of Iea7f8f34. Bug: 5023981 Change-Id: I375a1647343e1d5fa80b328a6824f6c549135e80
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