aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat/InputMethodManagerCompatWrapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2013-06-26Move shortcut reading methods.•••Moved form BinaryFormat to BinaryDictionaryTerminalAttributesReadingUtils. Bug: 6669677 Change-Id: Ia1ab25854effbf61df37837fe26755ac7dc4d020 Keisuke Kuroynagi5-75/+77
2013-06-26Add jni methods for dynamically handling a dictionary.•••Bug: 6669677 Change-Id: I8a26623adbb41a78e3c023c652be635c635e3b47 Keisuke Kuroynagi5-21/+119
2013-06-25Make UserLogRingCharBuffer an external class•••Change-Id: I9d506995337d64ec11c72939a8d739423ee46efa Ken Wakasa4-125/+140
2013-06-25Fix the one-suggestion case.•••When there is only one suggestion, this code does not work. The reason for that is, it's not homogeneous at all and takes indices of one thing into another. Not completely related to b/8839763, but realized working on this and needed to have it addressed. Bug: 8839763 Change-Id: I422730cc7eebb69ff421a171025af0390ebcdf92 Jean Chalard1-22/+36
2013-06-25Add a parameter isUpdatable to the constructor of BinaryDictionary.•••Bug: 6669677 Change-Id: I6bc25131afd97112e3bbde036a81ab559a9a6460 Keisuke Kuroynagi3-8/+12
2013-06-25Cleanup under the utils package•••Change-Id: If2f7bd1346cc5085bf57645830f0faac44d017e4 Ken Wakasa8-78/+64
2013-06-25Add canBeDynamicallyUpdated() in BinaryDictionaryInfo.•••Bug: 6669677 Change-Id: I7391641253b99bfcb1f9380ebee2037015e7dc14 Keisuke Kuroynagi1-0/+6
2013-06-25Allow mmapping dictionary file in writable mode in openNative.•••Bug: 6669677 Change-Id: I447668932de118b158fa029ddc977b3f3cc06cb8 Keisuke Kuroynagi5-13/+19
2013-06-25Move file and mmap information form Dictionary to BinaryDictionaryInfo.•••Bug: 6669677 Change-Id: I05d435e0884430f8abbbed6ea2df775005ee8622 Keisuke Kuroynagi4-27/+37
2013-06-24Import translations. DO NOT MERGE•••Change-Id: I17e9ad751b1e628c8a60bc2234180a37716d10e9 Auto-generated-cl: translation import Baligh Uddin32-65/+36
2013-06-24Load the native lib eagerly•••in the hope of avoiding UnsatisfiedLinkError. This is definitely not a confident fix as we still don't know the root cause of the issue. bug: 9325110 Change-Id: I1abf8031b98509f63fce6a2d069d497895ea712c Ken Wakasa1-0/+7
2013-06-24Fix possible divided by zeror error•••Bug: 9534022 Change-Id: I5ab575c724fd7a9e80c76a93d83949e81b2970bb Tadashi G. Takaoka1-13/+7
2013-06-24Fix a small bug•••SpannableStrings are not the only type of Spanned, they are only the mutable kind. SpannedString is the immutable one. Spanned is the correct class to use there. Bug: 8839763 Bug: 8862327 Change-Id: Ic5e6199a51f22368914f2748ac2d0d1ca6a33f78 Jean Chalard1-4/+4
2013-06-24Move util classes to the latin/utils directory•••Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa Ken Wakasa130-241/+349
2013-06-24Fix tests for Ia78d3540•••Bug: 9550023 Change-Id: I13f4411573ff7b2564e88fc9b9a8d801dde23019 Jean Chalard1-0/+1
2013-06-24Refactor text range to be able to get spans larger than the word•••This changes how the Range class stores its data, but not its functionality. It also improves encapsulation a bit. Bug: 8839763 Bug: 8862327 Change-Id: I5bd583b3fc96a99b93a2632882d8fd587c03ab76 Jean Chalard2-26/+34
2013-06-24Extend center point vertically for bottom keys on a keyboard.•••Bug: 9505397 Change-Id: Ic415ac4065d23cb832dd3bb85876e2a4dc9e9fc3 Keisuke Kuroynagi1-6/+14
2013-06-24Rename BinaryDictionaryBigramsReadingUtils to BinaryDictionaryTerminalAttribu...•••Bug: 6669677 Change-Id: I960dcf51a950ead2c3d7b9dedcde0a450569cbe9 Keisuke Kuroynagi4-58/+57
2013-06-24Check adjacent proximity chars for insertion for typing•••Change-Id: I6ce1b065bba055516fca0c8af6f14853a111aa68 Keisuke Kuroynagi4-22/+17
2013-06-22Move splash screen to separate file•••Change-Id: I5cad5d5814303d7ca4abadd3fca1c37bd1bc357e Kurt Partridge2-64/+127
2013-06-21Defer disk-intensive tasks until after the keyboard is shown•••Bug: 8689779 Change-Id: Ia78d3540f44ec0028c3246a8e0163e9ecf061ecf Jean Chalard1-9/+33
2013-06-21Give the best score to the most probable exact match.•••Bug: 9490364 Change-Id: If7fe5da190516d4b5f7a41b752ef5960205a5899 Keisuke Kuroynagi3-1/+27
2013-06-21Fix a bug in the cached cursor pos, and simplify selection handling•••The documentation for setComposingRegion states explicitly that it does not move the cursor. This is just a bug. This does not have any ill effects right now, but it will have in later changes if not fixed. As for the selection handling, the specific test that this code removes used to serve a purpose, but it does not any more because the code using the value has been much sanitized. Now the variable can just take the obvious value, and become so self-explanatory that the comments are unnecessary. Change-Id: I548d899b38776bd3ab5f5361aab0d89d98f12e73 Jean Chalard2-10/+14
2013-06-21Fix punctuations strip•••Bug: 9508186 Change-Id: I8f0fbf4e0578cf9116d4c57e7e5747d38c89387e Tadashi G. Takaoka2-5/+14
2013-06-21Enable long-press digit input for tablets•••Bug: 6632204 Change-Id: I8a62e78367c87c2fbb8f14575aef98035fa8440e Tadashi G. Takaoka40-121/+199
2013-06-21Add ByteArrayUtils::readSignedInt24andAdvancePosition to read dynamic diction...•••Bug: 6669677 Change-Id: I75eeedbb50868432f6a7ff5fa63624d03e788356 Keisuke Kuroynagi1-0/+11
2013-06-20Change method name of getDepth and getTotalLength.•••Change-Id: I4b3aa54e17d7de7c31f956dc9d59941d79856fd7 Keisuke Kuroynagi3-24/+24
2013-06-20Add tests to dicttool test.•••Bug: 8526576 Change-Id: Idd6f9cd076d5915361c68f5c29afbba67dd54eba Jean Chalard13-73/+252
2013-06-20Lengthen CHAR LIMIT of settings_system_default•••Bug: 9495443 Change-Id: Ib52d0ab357e79ae6004411f4b4201570a228bc71 Tadashi G. Takaoka1-1/+1
2013-06-19Import translations. DO NOT MERGE•••Change-Id: Ic7508cb2b5098403786af2f2e220d908dab51e8d Auto-generated-cl: translation import Baligh Uddin51-0/+84
2013-06-19Initialize inputStatusG at the constructor.•••Bug: 9490519 Change-Id: I1806f765f7a0b5335df253b2618b40cfd17aab14 Keisuke Kuroynagi1-0/+5
2013-06-19Add an initial test command to dicttool.•••Also fix some warnings This is a preliminary change to help track b/8526576 Bug: 8526576 Change-Id: If2ed74bb92f9b5fb7bbaf9c4851d9d0b5514b405 Jean Chalard6-8/+66
2013-06-19Support digits more keys in Hebrew phone keyboard•••Bug: 9431432 Change-Id: Ie1d438e0483022eac97cec52a64e49fbd3c7d503 Tadashi G. Takaoka2-16/+55
2013-06-18Use system default key press volume•••Bug: 9475973 Change-Id: I6ae825b161dde69e19b52d73fb9aa782e2aa7423 Tadashi G. Takaoka2-2/+5
2013-06-18Use system default vibration pattern•••Bug: 9468462 Change-Id: Ifa46a56873c10888da8eaa2782fe07ef138a141b Tadashi G. Takaoka3-2/+7
2013-06-18Optimize ProximityInfo#computeNearestNeighbors()•••This cuts the time spent in computeNearestNeigbors by a factor of 6 to 20, with an average at about 8. This method representing about 25% of the total time spent when switching keyboards, this change is a 20% improvement in layout switching time. Bug: 8689779 Change-Id: Icb465f6010b317c7156057891c3341e51a198688 Jean Chalard1-17/+110
2013-06-18Get value text from ValueProxy•••As a preparation to show "system default" in the settings. LatinIME can't know the actual system default value. Bug: 9468462 Change-Id: I0b7898d1ca29ded7a619dd636d2ad16eb0db292e Tadashi G. Takaoka4-26/+31
2013-06-18Check compound distance of node and prune useless node after creating new word.•••Before: 136309.89 ms After: 73133.95 ms Bug: 8591918 Change-Id: If029b768e2b459c0e566188bcf425f71b2df866d Keisuke Kuroynagi1-1/+7
2013-06-17Fix a bug with recapitalization•••This is a shameful bug :/ Bug: 9410367 Change-Id: I54ddbcd0323fa2c11fbd2aa8a1b3d2e07f6e83c8 Jean Chalard1-1/+4
2013-06-17Support multi words input for gesture.•••Bug: 8591918 Change-Id: I344f936907a385cc6c3c8a2215a6603938483401 Keisuke Kuroynagi4-10/+17
2013-06-14Support keys that have uncommon width.•••Bug: 8591918 Change-Id: I1e01e1560200333f9e35993af0aa7e5a17e6944f Keisuke Kuroynagi5-65/+86
2013-06-14Use bloom filter in multi bigram map.•••Evaluated with previous word "this". without bloom filter (use only hash_map): Total 147792.34 (sum of others 147771.57) with bloom filter: Total 145900.64 (sum of others 145874.30) always read binary dictionary: Total 148603.14 (sum of others 148579.90) Bug: 8592527 Change-Id: I821dc39454543826adb73b9eeeef6408fad8ae28 Keisuke Kuroynagi6-47/+122
2013-06-14Introduce BinaryDictionaryBigramsIterator to access bigrams attributes in bin...•••Bug: 6669677 Change-Id: Ifb1adebc5305a930c80396f6b4ec31d84400a9dc Keisuke Kuroynagi10-101/+299
2013-06-14Don't count Spacer into histograms•••Change-Id: I202a25da4e1a722aa35c57665d73bc5990404c4e Tadashi G. Takaoka1-4/+9
2013-06-14Fix a bug with long user dict entries•••Bug: 9410958 Change-Id: I966e452c6dbdcb444abbb6ffb316849a7c85a73b Jean Chalard1-1/+3
2013-06-13Log score, kind, and sourceDict for manual suggestion and gesture•••b/9422713 Change-Id: I4880fad6a5b10d09ca11b63311f14862bee724e5 Kurt Partridge3-8/+15
2013-06-12Cache subtype lists reasonably.•••This will spare a lot of IPC for Latin IME at the cost of very little retained memory. This improves the loading by potentially a lot - between 15 and 30% when the layout is cached (which should now be the case almost every time), and half that if it's not. More importantly, it makes the load time less sensitive to high device load, which is one of the sore points. Bug: 8689779 Change-Id: I2e07736f1a92c38eed0e203bc690761a181da8b9 Jean Chalard2-9/+35
2013-06-12Adjust settings for development-only versions•••Change-Id: I4f08632d97f182d312edc82bda3c3897a71099ad Kurt Partridge2-1/+17
2013-06-12Retun an empty Path instead of null•••Bug: 9374496 Change-Id: If74306104e9d25288e1b216a328304da376c1bdb Tadashi G. Takaoka2-4/+5
2013-06-12Fix ResearchLogger feedback bug•••If the logger feedback screen is up and the user hits the home button or the keyboard otherwise closes, the system won't let the user enter feedback again, because it is waiting for the user to finish the first one. With this change, the state associated with the feedback screen is cleared when the user closes the keyboard. b/9398772 Change-Id: I832a82793ad42e31b6b3fdb04fabcea75facde7d Kurt Partridge1-2/+9