aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat/InputMethodServiceCompatUtils.java (unfollow)
Commit message (Expand)AuthorFilesLines
2012-09-19Simplify distance calculating method for gesture input.•••Change-Id: Ic466b787b6cc60e6d23b67c8a7f84ad4d0b521c7 Keisuke Kuroyanagi2-15/+6
2012-09-19Make BinaryDictIOUtils.•••Change-Id: I45830235ee738233e8eb2bd91d659705b698f58c Yuichiro Hanada4-104/+135
2012-09-19Make readNode read linked list nodes.•••Change-Id: Ia5eaae0653179b2eb74c53b0823beaf80377a389 Yuichiro Hanada1-32/+50
2012-09-19add limit to FusionDictionaryBufferInterface.•••Change-Id: Ic9ff717a9751023d47b02ff3b9d1fbf3115c2501 Yuichiro Hanada2-0/+11
2012-09-19Fix offdevice full debug build crash•••Change-Id: I7640863738d1548f7d9cf4b95c4a0d896eb667d7 Ken Wakasa1-4/+4
2012-09-18Add a new flag for linked list nodes.•••Change-Id: Ib2f194775cfe5ab05481ac95cd709d6e8e8dd3c6 Yuichiro Hanada2-2/+7
2012-09-18Make writePlacedNode write the linked-list node.•••Change-Id: I60feda815ea08cf73300fccca1ae12b97550f116 Yuichiro Hanada2-7/+30
2012-09-18Add a new option to FormatOptions.•••Change-Id: I8bf089bea5de46570a5e81fb1ea3ab22c07eeee1 Yuichiro Hanada1-2/+25
2012-09-18New flag for the internal settings•••Change-Id: I81e69a6cda833a0d2c59a73388321ed11e0bd5b3 Satoshi Kataoka2-2/+3
2012-09-18Log touch timing•••Change-Id: I45ce16c3194fac6da98486a986d23318347cad3a Satoshi Kataoka2-2/+7
2012-09-18Fix a bug with capitalizations (A15)•••When only one character has been typed, we should not take that as a strong symbol that everything should be upper-cased. Change-Id: I4e3a3223269e6763e3594baeaa844daa79a624ed Jean Chalard1-1/+1
2012-09-18Mark 2 resolved TODOS as such (A14)•••Change-Id: Ifbb731f5c825675436d079db4ffbae657d71f8da Jean Chalard1-2/+2
2012-09-18Support the gesture + phantom space case (A13)•••Bug: 6950087 Change-Id: I198699f6e687ac74c35b9edfe469dce880d9ecaf Jean Chalard1-1/+10
2012-09-18Fix a bug with surrogate characters•••This is a pretty bad bug :/ Bug: 7013840 Change-Id: I12c7cfa4fa9d56b2c1fee6e6222c64fe20b88fa3 Jean Chalard1-3/+4
2012-09-18Remove useless code (A12)•••All this code is done inside the StringUtils or RichInputConnection classes, where it's more logical. Since the IPC call is entirely gone now, it's no use having these guards inside Latin IME. Change-Id: Id324567e7458aed12b6f21d7114be3bd39725f15 Jean Chalard1-13/+0
2012-09-18Take space state into account for caps (A11)•••Bug: 6950087 Change-Id: I8a1bca24db64b4dd54db8ac74d90cf43cbdddab6 Jean Chalard4-46/+79
2012-09-18Remove populateOptions(final ByteBuffer buffer).•••Change-Id: Ifc4c64c9cffe4f343c5a604c192db010a1792acc Yuichiro Hanada2-11/+6
2012-09-18Fix hackCanUseDictionaryFile.•••Bug: 7169473 Change-Id: I575aaa350042af076a8da5756993cdae9e73422c Yuichiro Hanada1-0/+3
2012-09-16Stop using GNU extension in-class initializer for non-integral members•••Change-Id: Ibc8f1c67aba91bdfeceef763ac82d61cc8d2efe1 Ken Wakasa2-5/+11
2012-09-14Use more int values in ProximityInfoState::getPointScore()•••Change-Id: If2f8ce3c7211d28161d64acbad10e3b2abb8e634 Ken Wakasa1-11/+12
2012-09-14Take locale into account for caps (A10)•••Bug: 4967874 Change-Id: Ic7ce7b2de088308fa00865c81246c84c605db1e5 Jean Chalard4-43/+59
2012-09-14Fix comment warnings (A9)•••Thanks Eclipse Change-Id: Ie2b83f1ec7ab38a76155f8c264e3944685ae934d Jean Chalard1-5/+5
2012-09-14Remove an unused function (A8)•••Change-Id: I0578068946d32192c4faf14b3e86624b7301c7d9 Jean Chalard2-28/+0
2012-09-14Fix abbreviations processing for English (A7)•••It's still incorrect for non-English languages. Bug: 4967874 Change-Id: I3d4379265f72e1c0435eba90ab878a80bbcf55ce Jean Chalard2-26/+122
2012-09-14Fix a bug with open parens and some other chars•••A space would be inserted after an open parenthesis if it's typed after a manual pick. Bug: 7167687 Change-Id: Ic49d09c34747117ccfbdbb8c66f634d88d4a45b0 Jean Chalard1-1/+2
2012-09-14Asynchronously look up dictionary for gesture input•••Bug: 7149248 Change-Id: Icba2db73508b89a85828ae9e196ab618e5e6c280 Tadashi G. Takaoka2-79/+158
2012-09-14Using isSkippableChar instead of '\'' and '-'.•••Change-Id: I295a72b683b2ebc28a006baa66baf7e1b97100eb Keisuke Kuroyanagi4-5/+7
2012-09-14Do not auto-correct upon starting a gesture.•••We decided to revert this UI decision after negative feedback. Indeed, if you use to gesture but tap just one word, chances are it's because you know you do NOT want a dictionary word. Bug: 6965241 Change-Id: I85fdfab3c1cf1d3c0fd3e95908e01bdf56bccbba Jean Chalard1-1/+1
2012-09-14Make the arrobase sign a space stripper.•••Gestures offer much more opportunity to enter e-mail user names, so this should now be the dominant use case for arrobase use. In this use case, the arrobase sign should be a space stripper. Bug: 7164981 Change-Id: I736ac56dab81cd2c97275ec80dbb0ec0bc159006 Jean Chalard1-2/+2
2012-09-14Replace immediate values with named constants for characters (A6)•••Change-Id: I6248f9f3ff99003ab62be22eac673df0f7f5c015 Jean Chalard2-5/+12
2012-09-14Simplification again (A5)•••Change-Id: Id3ba200e06244e6d13cf57d346001d61f85ef1a2 Jean Chalard1-5/+4
2012-09-14Simplify the code some more (A4)•••Change-Id: I1b1763ceefda6357dc698195928d0f16bc425830 Jean Chalard1-53/+45
2012-09-14Don't show gesture preview trail while detecting gesture input•••Bug: 7166222 Change-Id: Iecc8403a4eca305323ed8c8e17266d23172d84d9 Tadashi G. Takaoka1-6/+7
2012-09-14Refactor BinaryDictInputOutput.•••Change-Id: Idb4b635fcac70cc988e0dd3ce3bf121fba12099c Yuichiro Hanada2-7/+2
2012-09-13Small simplification (A3)•••Change-Id: I2ea9566ce5cb1fbccd33a42836244a899365de6a Jean Chalard1-5/+2
2012-09-13Fix gesture floating preview on up event•••This is a follow up of Iddb26ba1. Bug: 7119032 Change-Id: Ibbc94a1a4880ca31bd8aeece89893691b14acc4d Tadashi G. Takaoka1-12/+12
2012-09-13Simplify a call, and add comments (A2)•••Since the function has to be modified heavily but does a lot of non-trivial work, add a wealth of comments explaining what it does and why so as to facilitate understanding the changes to come. Bug: 4967874 Change-Id: I6c21aea15f161d807035f279dfb7d1b98b3e9144 Jean Chalard2-18/+67
2012-09-13Show gesture floating preview text at oldest finger•••Bug: 7119032 Change-Id: Iddb26ba1a595e472fde0982d744b5652d5fbda3e Tadashi G. Takaoka4-9/+17
2012-09-13Add tests for BinaryDictInputOutput.•••Change-Id: I2ca66fd9a3568d5b6ece79d954095383d23a0a9f Yuichiro Hanada1-37/+59
2012-09-13Import TextUtils.getCapsMode to fix it internally (A1)•••This should have on effect at all on behavior, except an increase in performance. Bug: 4967874 Bug: 6950087 Change-Id: Ie2b51efefe84ca767f5dc8e3b80bfef7e1faab3d Jean Chalard3-3/+110
2012-09-13Make onUpdateSelection much more resilient to race conditions.•••This is pretty much as strong as it gets. It should be impossible to get false positives and nearly impossible to get true negatives with this new code. Bug: 6981089 Change-Id: Ia32ab62f89c5943f0be169b979abab652e67bf5b Jean Chalard2-1/+32
2012-09-13Assign subtypes' hashCode value as its subtypeId•••Bug: 6752230 Change-Id: I311b840c890f4c6ff89c2808237d7e9b8baef21d Tadashi G. Takaoka1-0/+55
2012-09-13Move FormatOptions and FileHeader to FormatSpec.•••Change-Id: I232e35598635113bf2c81825669c744aadc79efe Yuichiro Hanada7-43/+47
2012-09-13Add boolean resource isDefault=true for all supported locales•••Bug: 7115368 Change-Id: I390d52d10d6c7d1639f73255ace9985886ea2157 Tadashi G. Takaoka47-11/+939
2012-09-13Cosmetic change to remove trailing space•••Change-Id: If8c00c763f815d5eb97e18b19060c63d321ccd61 Tadashi G. Takaoka4-30/+30
2012-09-13Fix an issue on FP calculation diff of osx and linux•••sugar on mac result_type=1 expected=<1093> actual=<1047> result_type=4 expected=<730> actual=<698> result_type=5 expected=<177> actual=<173> sugar on linux result_type=1 expected=<1093> actual=<1047> result_type=4 expected=<730> actual=<698> result_type=5 expected=<177> actual=<173> Change-Id: I4cd39becb0de4076dd37d870adda6463a96de424 Satoshi Kataoka3-9/+20
2012-09-13Move constants and comments.•••Change-Id: Ifd66bda7d528827ba61c60531121ea206a2325be Yuichiro Hanada3-282/+325
2012-09-12Generalize incremental recognition to non-Latin languages•••Bug: 7043019 Change-Id: I9a26f74177d4f8f03b7b65e2e255e4087d5ef8d9 Tom Ouyang3-30/+11
2012-09-12Make Latin IME aware of its surrounding text.•••This is a preparatory change for Bug: 4967874 Bug: 6617760 Bug: 6950087 Change-Id: I3abf8e45c0d02c42491421f108370220134b9602 Jean Chalard2-9/+203
2012-09-12Use offscreen bitmap buffer to draw gesture preview trail•••Bug: 7042741 Change-Id: Ie3d7054e786938dc501c7aa2ffc96b5924a7967b Tadashi G. Takaoka3-24/+55