aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Hide statustics logging optionSatoshi Kataoka2012-11-141-0/+8
| | | | Change-Id: I1ee258948a8335af7996f9e3afcc0508adbb1ac0
* am 18ff5612: am f592270a: am 7648b37d: Merge "Make sure all FDs are ↵Jean Chalard2012-11-131-11/+19
|\ | | | | | | | | | | | | correctly closed." into jb-mr1.1-dev * commit '18ff56125345746e288118d177fcabf3c079ead3': Make sure all FDs are correctly closed.
| * am f592270a: am 7648b37d: Merge "Make sure all FDs are correctly closed." ↵Jean Chalard2012-11-131-11/+19
| |\ | | | | | | | | | | | | | | | | | | into jb-mr1.1-dev * commit 'f592270a0f092c5ef52bbb0f24c8873f46e75503': Make sure all FDs are correctly closed.
| | * Merge "Make sure all FDs are correctly closed." into jb-mr1.1-devJean Chalard2012-11-131-11/+19
| | |\
| | | * Make sure all FDs are correctly closed.Jean Chalard2012-11-131-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In this kind of series of calls, it's possible that an outer call to a constructor fails, but the inner succeeded. Example: try { is = new A(new B()); } finally { if (null != is) is.close(); } In this case, if new B() succeeds but new A() throws an exception, is stays null and the intermediate object is never closed. This is what was happening in this instance. Bug: 7377336 Change-Id: I3fae9fec1135244982fcf5098c76d93f3e0f2add
* | | | am d2116eb2: am 7d34763e: am fac619a3: Merge "Don\'t restrict reset ↵Jean Chalard2012-11-121-14/+10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | composing state to non-identical setText" into jb-mr1.1-dev * commit 'd2116eb2ea7d08e81b7efe5e342772ffcd8a7efc': Don't restrict reset composing state to non-identical setText
| * | | am 7d34763e: am fac619a3: Merge "Don\'t restrict reset composing state to ↵Jean Chalard2012-11-121-14/+10
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | non-identical setText" into jb-mr1.1-dev * commit '7d34763e23cb49c8c96dbf9b4c613e17098dd919': Don't restrict reset composing state to non-identical setText
| | * | Merge "Don't restrict reset composing state to non-identical setText" into ↵Jean Chalard2012-11-121-14/+10
| | |\ \ | | | | | | | | | | | | | | | jb-mr1.1-dev
| | | * | Don't restrict reset composing state to non-identical setTextJean Chalard2012-11-121-14/+10
| | | |/ | | | | | | | | | | | | | | | | Bug: 7497063 Change-Id: Ifbd5c37408131867458fd921bdef46ef90d81478
* | | | Resolve conflicts for merge of 3a9ba17f to master"Jean Chalard2012-11-131-5/+10
|\| | | | | | | | | | | | | | | Change-Id: I8a1a84a81745a708f63e4211267c4afc3a6b8e49
| * | | am a13a8a58: am 0e84041b: Refactor all phantom-space-inserted spaces in one ↵Jean Chalard2012-11-121-5/+10
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | place * commit 'a13a8a58e05ecd3f9eccdc47ceca972a814d247e': Refactor all phantom-space-inserted spaces in one place
| | * | Refactor all phantom-space-inserted spaces in one placeJean Chalard2012-11-131-5/+10
| | |/ | | | | | | | | | | | | Bug: 7164981 Change-Id: If1635c212b2d5d9cf51f5fb074f3b20dd7ec7b2a
| * / Remove gesture typing settings when disabled by configurationTadashi G. Takaoka2012-11-091-10/+4
| |/ | | | | | | | | Bug: 7506408 Change-Id: I4de53ace170d5ddc9779f42ac344c4190c80a019
* | Merge "Enhance ImfUtils to InputMethodManagerWrapper class"Tadashi G. Takaoka2012-11-116-239/+263
|\ \
| * | Enhance ImfUtils to InputMethodManagerWrapper classTadashi G. Takaoka2012-11-126-239/+263
| | | | | | | | | | | | Change-Id: I6ff86ee819a446dd3ed5f9c3400d23564027b020
* | | 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