aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix a logic flaw.Jean Chalard2012-11-091-2/+1
| | | | | | | | | | | | This test is seriously wrong : although we do have a method that does exactly the right thing, this looks at a very specific, unrelated variable state in hope it happens to be set only in the relevant cases by the play of logic. I don't think this changes anything concretely, as the assumption was probably true in the practice ; still, this code is very hard to read and prone to unexpected breakage. Change-Id: I77ab576f90762429fcc752df31ed30e1c81871dc
* Suppress dictionary pack support when IS_EXPERIMENTAL is trueKen Wakasa2012-11-093-14/+27
| | | | Change-Id: If8813cb989c1fa8744a3bf36e8514ced3c8f46a3
* Remove gesture typing settings when disabled by configurationTadashi G. Takaoka2012-11-091-10/+4
| | | | | Bug: 7506408 Change-Id: I4de53ace170d5ddc9779f42ac344c4190c80a019
* am 4eef5101: am aa5d6fe0: am 9cc22c45: am 5d2556b9: Reset the IME if ↵Ken Wakasa2012-11-081-0/+4
|\ | | | | | | | | | | | | requested by the app. * commit '4eef51016adc4e103fa65d944a0ab31527ddced8': Reset the IME if requested by the app.
| * Reset the IME if requested by the app.Ken Wakasa2012-11-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically, reset the KeyboardState to the main Alphabet layout in LatinIME.onStartInputViewInternal() if a keyboard layout set doesn't get reloaded in the method. Please note TextView.setText() calls up resetInput(), then the IME should reset with it. bug: 7482086 Note that bug: 6851364 needs to be revisited. Change-Id: I5d448c10963d3dd952dd13cb587085ec7b014e69
* | Merge "Move isInvalidCordinates() method to Constants class"Tadashi G. Takaoka2012-10-312-6/+10
|\ \
| * | Move isInvalidCordinates() method to Constants classTadashi G. Takaoka2012-11-012-6/+10
| | | | | | | | | | | | Change-Id: Iad1464c299ad6055af1db1ff7978e5cd9a14750f
* | | Cosmetic source code formating changeTadashi G. Takaoka2012-11-011-1/+0
|/ / | | | | | | Change-Id: I3a53b49afab70dfb13f12027070635da6001eb79
* | Use 32-bit code points for suggestions outputKen Wakasa2012-11-011-17/+19
| | | | | | | | | | | | | | This is a multi-project commit with Ic43dd666 bug: 6526418 Change-Id: I39c1acb4e91d04cd8a4ec5a943c8cf575da75ebc
* | Add a plumbing option to dicttool info.Jean Chalard2012-10-311-5/+9
| | | | | | | | | | | | | | | | Also align the `porcelain' option to the diff command that was used mistakenly. Bug: 7388665 Change-Id: Ic0e1b98c62ce37b2e909384a0370af4458563703
* | Fix possible NPETadashi G. Takaoka2012-10-291-1/+1
| | | | | | | | | | Bug: 7398904 Change-Id: I6b7aba7a9bf52ca494cb4390b19525c98790bd49
* | Remove reference of android.util.Log in Constants classTadashi G. Takaoka2012-10-291-4/+0
| | | | | | | | | | | | This is a follow up of Iee01d4d2. Change-Id: I0bcd349d317d9f7d40ef0574e72c640f9f990c5d
* | Merge "Move code point constants from Keyboard to Constants class"Tadashi G. Takaoka2012-10-299-70/+131
|\ \
| * | Move code point constants from Keyboard to Constants classTadashi G. Takaoka2012-10-299-70/+131
| | | | | | | | | | | | Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d
* | | Remove warningsJean Chalard2012-10-293-13/+8
| | | | | | | | | | | | | | | | | | Thanks Eclipse Change-Id: I88e3979ed22be5d8be5a5accdde417c6b1a8bf2d
* | | Implement the word-level diff (A9)Jean Chalard2012-10-291-1/+24
|/ / | | | | | | | | Bug: 7388857 Change-Id: I4c4560d4f4b579936a44cdf409a4c27300b65610
* | am ef5f88f3: am 5e118c4c: am 60dea36d: Assuming that NO_EXTRACT_UI mode is ↵Satoshi Kataoka2012-10-251-1/+10
|\| | | | | | | | | | | | | NO_FULSCREEN * commit 'ef5f88f33e432284c958fafe18f891a10f77e1f9': Assuming that NO_EXTRACT_UI mode is NO_FULSCREEN
| * Assuming that NO_EXTRACT_UI mode is NO_FULSCREENSatoshi Kataoka2012-10-251-1/+10
| | | | | | | | | | | | Bug: 7393485 Bug: 7272829 Change-Id: I873e8d99486c734e76484526631a90fc55e91c86
* | Finish up the "info" command in dicttool. (A6)Jean Chalard2012-10-252-2/+36
| | | | | | | | | | Bug: 7388857 Change-Id: I704f12a6be76ce1644ec5e8dd3b667f112e9c04a
* | Add auto detection and decoding of dictionary files. (A2)Jean Chalard2012-10-252-2/+15
| | | | | | | | | | Bug: 7388852 Change-Id: I25e755fc15f5b383acc046f668e9681efa4f0c2f
* | Fix a bug where a bigram would be ignoredJean Chalard2012-10-241-0/+4
| | | | | | | | | | Bug: 7403386 Change-Id: I89f495d07f7059a9f1ccd97d487c2f2657a8ebd2
* | Merge "Return the correct bigram frequency"Jean Chalard2012-10-231-12/+21
|\ \
| * | Return the correct bigram frequencyJean Chalard2012-10-231-12/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "correct" bigram frequency is now returned by the reading code. However, as the binary format represents the frequency in a lossy manner, the frequency is not guaranteed to be the exact same as the one in the source text format - only a close enough value. It is however the exact same value seen by the native code. Bug: 7395653 Change-Id: I49199ef18901c671189912b3550623e9643baedd
* | | Fix the build.Jean Chalard2012-10-231-1/+7
| | | | | | | | | | | | | | | | | | It seems this change snuck out from a previous version. Change-Id: I9c33d51273732b1d55bfd60f0957184c86fa88ab
* | | Merge "Add reader and writer for the combined dict format."Jean Chalard2012-10-221-7/+1
|\ \ \
| * | | Add reader and writer for the combined dict format.Jean Chalard2012-10-231-7/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | This introduces a new textual format for the dictionary that combines words, bigrams and shortcuts to avoid complexity. It is also extensible to n-grams to fool-prof for the future, and easier to read than XML. Bug: 7388540 Change-Id: I942bbad51bd0c905a5a54c278667563fd6dd66ec
* | | am 6fe6f38d: am d39e6435: am f960eb18: Don\'t put spaces after characters ↵Jean Chalard2012-10-222-1/+7
|\ \ \ | |/ / |/| / | |/ | | | | | | that don\'t take one * commit '6fe6f38d8af09b24e40a6e01eae919820cd04c16': Don't put spaces after characters that don't take one
| * Don't put spaces after characters that don't take oneJean Chalard2012-10-232-1/+7
| | | | | | | | | | Bug: 7393639 Change-Id: I1245a7b5077e554642838d6856ce269ca7f91988
* | Merge "Replace useless CharSequence to String"Tadashi G. Takaoka2012-10-2223-266/+219
|\ \
| * | Replace useless CharSequence to StringTadashi G. Takaoka2012-10-2223-266/+219
| | | | | | | | | | | | Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
* | | Add @UsedForTesting and @ExternallyReferenced annotationsTadashi G. Takaoka2012-10-2210-35/+35
|/ / | | | | | | | | Bug: 7268357 Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
* | Suggestion strip will honor haptic feedback settings of keyboardTadashi G. Takaoka2012-10-171-0/+2
| | | | | | | | | | Bug: 7313372 Change-Id: I427da8de68be3d2a78e810556340b96ab4edcc2d
* | Move AudioAndHapticFeedbackManager from LatinIME to KeyboardSwitcherTadashi G. Takaoka2012-10-172-21/+13
| | | | | | | | | | Bug: 7313372 Change-Id: I9bd3275f57ed3f5c2c4a95768443af505513ee97
* | am b37e87e7: am 63b3fc0d: am 15142588: Merge "Have "no whitespace before ↵Jean Chalard2012-10-162-0/+15
|\| | | | | | | | | | | | | cursor" upon gesture trigger phantom space" into jb-mr1-dev * commit 'b37e87e7d50725f20a6b2f8484fc25cc7db3134f': Have "no whitespace before cursor" upon gesture trigger phantom space
| * Merge "Have "no whitespace before cursor" upon gesture trigger phantom ↵Jean Chalard2012-10-162-0/+15
| |\ | | | | | | | | | space" into jb-mr1-dev
| | * Have "no whitespace before cursor" upon gesture trigger phantom spaceJean Chalard2012-10-172-0/+15
| | | | | | | | | | | | | | | | | | | | | Bug: 7359291 Bug: 7357758 Bug: 7197651 Change-Id: Ia805a87e922739ae0a06978a3bf00d91c94b6c51
* | | am 344a7fef: am 658e935b: am c0bc3369: Merge "Fix more suggestions text ↵Tadashi G. Takaoka2012-10-162-1/+7
|\| | | | | | | | | | | | | | | | | | | | width calculation" into jb-mr1-dev * commit '344a7fef5bd101e2d1c4278cc35de2862f28a456': Fix more suggestions text width calculation
| * | Merge "Fix more suggestions text width calculation" into jb-mr1-devTadashi G. Takaoka2012-10-162-1/+7
| |\ \
| | * | Fix more suggestions text width calculationTadashi G. Takaoka2012-10-162-1/+7
| | |/ | | | | | | | | | | | | Bug: 7345983 Change-Id: Ic1554db98e7aaf032eb90a98c0c37c7c789461b5
* | | am 60211f0d: am 2631fe4c: am 6686e63f: Honor automatic shift turned off for ↵Jean Chalard2012-10-161-2/+2
|\| | | | | | | | | | | | | | | | | | | | gestures * commit '60211f0d250ca931788d32d5a69c880f75ef7d49': Honor automatic shift turned off for gestures
| * | Honor automatic shift turned off for gesturesJean Chalard2012-10-171-2/+2
| |/ | | | | | | | | Bug: 7354129 Change-Id: Ia02336e8cea2f04b629edbe74b7815cce0d7fad6
* | Make a better choice for the temporary fileJean Chalard2012-10-122-8/+9
| | | | | | | | Change-Id: I745bb285b6b52875c8d2b3a94deb962352f9754e
* | am 726e98b7: am c1a1937c: am 2220aeed: Merge "Put temporary files under a ↵Ken Wakasa2012-10-112-2/+15
|\| | | | | | | | | | | | | separate directory." into jb-mr1-dev * commit '726e98b7378987b2cfe46ea5395692640b108e83': Put temporary files under a separate directory.
| * Put temporary files under a separate directory.Jean Chalard2012-10-112-2/+15
| | | | | | | | | | Bug: 7328003 Change-Id: Ibe5278ea209d149f87fd08785c77b17e3859948e
* | am 0081681e: am c44314b4: am dc38a343: Merge "Use a freq of 1 instead of 0 ↵Ken Wakasa2012-10-091-1/+1
|\| | | | | | | | | | | | | for non-word shortcuts." into jb-mr1-dev * commit '0081681e346ce5c958e5eef264caa3f257b094c5': Use a freq of 1 instead of 0 for non-word shortcuts.
| * Use a freq of 1 instead of 0 for non-word shortcuts.Jean Chalard2012-10-091-1/+1
| | | | | | | | | | | | | | Also fix a spelling mistake in a comment Bug: 7301525 Change-Id: I4437403dce620fed03871485ee04f13c51ce34fc
| * Avoid calling switchToLastInputMethod when other IMEs are in effect (DO NOT ↵Tadashi G. Takaoka2012-10-061-5/+8
| | | | | | | | | | | | | | MERGE) Bug: 7299050 Change-Id: Ife6721a5fcbc4872bd36ffd8a8b81b04d73aebec
* | Make use of the NELEMS and KEYCODE_SPACE macro. Also, remove an unused ↵Ken Wakasa2012-10-091-8/+4
| | | | | | | | | | | | parameter. Change-Id: I3c7e6c59990c92b0d5e2fb80493e8673cdd37b09
* | Fix a small typoKen Wakasa2012-10-071-1/+1
| | | | | | | | Change-Id: I813d97b9453f8aa7aae99bd165336b1e5a81dc6a
* | fix writeCharGroup.Yuichiro Hanada2012-10-051-3/+26
| | | | | | | | Change-Id: Ib841afaba0a20c3b300eb7d3e9133243f9f3ae58