Commit Graph

6134 Commits (5cb0560b000f37b3fb3937f01b6d3e928afef57a)

Author SHA1 Message Date
Jean Chalard 51a0ef8c59 Add a plumbing option to dicttool info.
Also align the `porcelain' option to the diff command
that was used mistakenly.

Bug: 7388665
Change-Id: Ic0e1b98c62ce37b2e909384a0370af4458563703
2012-10-31 16:35:22 +09:00
Tadashi G. Takaoka 33aa6e3cf0 Escape "#" sign in XML file
Change-Id: Icd38abc4a0454ca949613d8c4bb528758cd990d8
2012-10-31 14:26:03 +09:00
Tadashi G. Takaoka c7318bbc0b Fix possible NPE
Bug: 7398904
Change-Id: I6b7aba7a9bf52ca494cb4390b19525c98790bd49
2012-10-29 18:40:37 +09:00
Tadashi G. Takaoka cfbfb1c50a Remove reference of android.util.Log in Constants class
This is a follow up of Iee01d4d2.

Change-Id: I0bcd349d317d9f7d40ef0574e72c640f9f990c5d
2012-10-29 17:25:13 +09:00
Tadashi G. Takaoka 7947eaf475 Merge "Move code point constants from Keyboard to Constants class" 2012-10-29 00:10:52 -07:00
Tadashi G. Takaoka 240871ecaf Move code point constants from Keyboard to Constants class
Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d
2012-10-29 16:04:20 +09:00
Jean Chalard f41389a74b Remove warnings
Thanks Eclipse

Change-Id: I88e3979ed22be5d8be5a5accdde417c6b1a8bf2d
2012-10-29 14:24:16 +09:00
Jean Chalard a23e333079 Implement the word-level diff (A9)
Bug: 7388857
Change-Id: I4c4560d4f4b579936a44cdf409a4c27300b65610
2012-10-29 12:31:22 +09:00
Ken Wakasa d505319a25 am 5199b8bf: am f6df37ce: Merge "LatinIME: Add accents to german keyboard"
* commit '5199b8bf1a212b93c9f37d4bb18121ba7f174bd0':
  LatinIME: Add accents to german keyboard
2012-10-25 23:13:48 -07:00
Ken Wakasa 5199b8bf1a am f6df37ce: Merge "LatinIME: Add accents to german keyboard"
* commit 'f6df37ce2dce9ada1af097e0c2fbdd84c0334c61':
  LatinIME: Add accents to german keyboard
2012-10-25 23:11:21 -07:00
Satoshi Kataoka 6067b9e1bd am ef5f88f3: am 5e118c4c: am 60dea36d: Assuming that NO_EXTRACT_UI mode is NO_FULSCREEN
* commit 'ef5f88f33e432284c958fafe18f891a10f77e1f9':
  Assuming that NO_EXTRACT_UI mode is NO_FULSCREEN
2012-10-25 19:31:27 -07:00
Satoshi Kataoka 60dea36daf Assuming that NO_EXTRACT_UI mode is NO_FULSCREEN
Bug: 7393485
Bug: 7272829
Change-Id: I873e8d99486c734e76484526631a90fc55e91c86
2012-10-25 20:00:46 +09:00
Jean Chalard 47cac57e45 Finish up the "info" command in dicttool. (A6)
Bug: 7388857
Change-Id: I704f12a6be76ce1644ec5e8dd3b667f112e9c04a
2012-10-25 19:15:24 +09:00
Jean Chalard b3c98901c5 Add auto detection and decoding of dictionary files. (A2)
Bug: 7388852
Change-Id: I25e755fc15f5b383acc046f668e9681efa4f0c2f
2012-10-25 16:40:15 +09:00
Jean Chalard b5a15bc076 am 7c22c62d: am 1f9eea44: am 306e0a80: Update AOSP dictionaries.
* commit '7c22c62d8f50aebe2f96bf5dcf99077d64db6f8f':
  Update AOSP dictionaries.
2012-10-24 02:17:37 -07:00
Jean Chalard 306e0a800f Update AOSP dictionaries.
Changes :
- Add "emoji"
- Change the whitelist target of "foo" from "for" to "too"
- Fix non-word frequencies to 0
- Fix the freq of common en_US vs en_GB words
- Add "connection" to the en_GB dictionary

Bug: 7368441
Bug: 7370033
Bug: 7371955
Change-Id: Ib22a97e97b486b05012d5496619557f406c441b9
2012-10-24 16:12:28 +09:00
Jean Chalard ddb0bcc051 Fix a bug where a bigram would be ignored
Bug: 7403386
Change-Id: I89f495d07f7059a9f1ccd97d487c2f2657a8ebd2
2012-10-24 13:24:59 +09:00
Jean Chalard 5e5be5a2d2 Merge "Return the correct bigram frequency" 2012-10-23 01:19:28 -07:00
Jean Chalard c59c741987 Return the correct bigram frequency
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
2012-10-23 17:17:37 +09:00
Jean Chalard 1e0cc86b6f Fix the build.
It seems this change snuck out from a previous version.

Change-Id: I9c33d51273732b1d55bfd60f0957184c86fa88ab
2012-10-23 15:34:42 +09:00
Jean Chalard c7020f54f9 Merge "Add reader and writer for the combined dict format." 2012-10-22 23:11:20 -07:00
Jean Chalard 9bb4eebf48 Add reader and writer for the combined dict format.
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
2012-10-23 15:06:25 +09:00
Jean Chalard 751f3dc0e1 am 6fe6f38d: am d39e6435: am f960eb18: Don\'t put spaces after characters that don\'t take one
* commit '6fe6f38d8af09b24e40a6e01eae919820cd04c16':
  Don't put spaces after characters that don't take one
2012-10-22 21:46:43 -07:00
Jean Chalard f960eb186d Don't put spaces after characters that don't take one
Bug: 7393639
Change-Id: I1245a7b5077e554642838d6856ce269ca7f91988
2012-10-23 12:28:28 +09:00
Tadashi G. Takaoka 7f77aed507 Merge "Replace useless CharSequence to String" 2012-10-22 14:27:35 -07:00
Kim Le 82a6f66783 LatinIME: Add accents to german keyboard
This fixes http://code.google.com/p/android/issues/detail?id=26247

Add
// U+00E9: "é" LATIN SMALL LETTER E WITH ACUTE
// U+00E8: "è" LATIN SMALL LETTER E WITH GRAVE
// U+00EA: "ê" LATIN SMALL LETTER E WITH CIRCUMFLEX
// U+00EB: "ë" LATIN SMALL LETTER E WITH DIAERESIS

Change-Id: I81d79f153cdfe7015bd0a343c681322ab8316db7
2012-10-22 22:19:08 +02:00
Tadashi G. Takaoka 15f6d4ae34 Add @UsedForTesting and @ExternallyReferenced annotations
Bug: 7268357
Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
2012-10-22 11:18:43 -07:00
Tadashi G. Takaoka bc464e2952 Replace useless CharSequence to String
Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
2012-10-22 11:03:28 -07:00
Tadashi G. Takaoka 8a3b07945a Add Spanish Latin America keyboard
Change-Id: I83615a061be3267a7b9199ed2c5c818401ed0b64
2012-10-19 15:26:20 -07:00
Tadashi G. Takaoka 5faf419519 Suggestion strip will honor haptic feedback settings of keyboard
Bug: 7313372
Change-Id: I427da8de68be3d2a78e810556340b96ab4edcc2d
2012-10-17 21:40:02 -07:00
Tadashi G. Takaoka 8e360c68f1 Move AudioAndHapticFeedbackManager from LatinIME to KeyboardSwitcher
Bug: 7313372
Change-Id: I9bd3275f57ed3f5c2c4a95768443af505513ee97
2012-10-17 19:39:16 -07:00
Jean Chalard b0f6b70d44 am bb0bc326: am 5b095509: am 65225d82: Merge "Update AOSP dictionaries." into jb-mr1-dev
* commit 'bb0bc3260eccf6952e71655e4d933e7ca84e9a53':
  Update AOSP dictionaries.
2012-10-17 19:08:41 -07:00
Jean Chalard 65225d8211 Merge "Update AOSP dictionaries." into jb-mr1-dev 2012-10-17 19:03:01 -07:00
Tadashi G. Takaoka 723d32ad6e Shortcut key is enabled on the no language keyoard
Bug: 6617754
Change-Id: Id8336f152456367320de3151823691eebc2e02f6
2012-10-17 16:27:43 -07:00
Jean Chalard 3d83a1648b Update AOSP dictionaries.
Differences :
oh 90 -> 105
ooh 54 -> 54
hoy,kinkier,kinkiest,kinkiness,kinkily,kinky -> 0
trst -> remove

New whitelist entries (actually old that had not been applied)
"berm" -> "been"
"foe" -> "for"
"hid" -> "his"
"thong" -> "thing"

French :
Add "six" and remove some non-words

Bug: 7329149
Bug: 7356297
Change-Id: I55092f0538db8627148b0a314e50eff926c47275
2012-10-18 00:39:16 +09:00
Baligh Uddin 52992085f5 Merge "Import translations. DO NOT MERGE" 2012-10-16 22:28:24 -07:00
Baligh Uddin dbba676c00 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-16 22:27:36 -07:00
Jean Chalard c5dc32ac59 am b37e87e7: am 63b3fc0d: am 15142588: Merge "Have "no whitespace before cursor" upon gesture trigger phantom space" into jb-mr1-dev
* commit 'b37e87e7d50725f20a6b2f8484fc25cc7db3134f':
  Have "no whitespace before cursor" upon gesture trigger phantom space
2012-10-16 18:12:50 -07:00
Jean Chalard 1514258824 Merge "Have "no whitespace before cursor" upon gesture trigger phantom space" into jb-mr1-dev 2012-10-16 18:06:11 -07:00
Jean Chalard e91d495c53 Have "no whitespace before cursor" upon gesture trigger phantom space
Bug: 7359291
Bug: 7357758
Bug: 7197651
Change-Id: Ia805a87e922739ae0a06978a3bf00d91c94b6c51
2012-10-17 09:36:07 +09:00
Tadashi G. Takaoka 788c885aa5 am 344a7fef: am 658e935b: am c0bc3369: Merge "Fix more suggestions text width calculation" into jb-mr1-dev
* commit '344a7fef5bd101e2d1c4278cc35de2862f28a456':
  Fix more suggestions text width calculation
2012-10-16 17:32:00 -07:00
Tadashi G. Takaoka 477088c612 am 6b169dc9: am 718a0744: am 0cbc19b0: Merge "Restrict bogus move event detector to a horizontal movement" into jb-mr1-dev
* commit '6b169dc91d7533d36bc1f5864bcaf05450af3beb':
  Restrict bogus move event detector to a horizontal movement
2012-10-16 17:31:56 -07:00
Jean Chalard fa3d984d1b am 60211f0d: am 2631fe4c: am 6686e63f: Honor automatic shift turned off for gestures
* commit '60211f0d250ca931788d32d5a69c880f75ef7d49':
  Honor automatic shift turned off for gestures
2012-10-16 17:28:18 -07:00
Tadashi G. Takaoka c0bc336955 Merge "Fix more suggestions text width calculation" into jb-mr1-dev 2012-10-16 17:24:35 -07:00
Tadashi G. Takaoka 0cbc19b0b1 Merge "Restrict bogus move event detector to a horizontal movement" into jb-mr1-dev 2012-10-16 17:24:23 -07:00
Baligh Uddin ed48f8e4bc Import translations. DO NOT MERGE
Change-Id: I69bfbfe56c58ccc2d1c0422c9d8e93d68c6202b5
Auto-generated-cl: translation import
2012-10-16 15:59:26 -07:00
Baligh Uddin 97903bf95e Import translations. DO NOT MERGE
Change-Id: I16dccd4bf5897d4b62a4642fbb3d24bd379deb4e
Auto-generated-cl: translation import
2012-10-16 15:55:23 -07:00
Tadashi G. Takaoka d631778e1c Restrict bogus move event detector to a horizontal movement
The bogus move detection threshold is in proportional to a diagonal
length of a key. It was in proportional to a key width.

Bug: 7346614
Change-Id: I796add8aea16dd05e9844d6c4fba8072eece39c6
2012-10-16 14:53:54 -07:00
Tadashi G. Takaoka bdc8b9e42b Fix more suggestions text width calculation
Bug: 7345983
Change-Id: Ic1554db98e7aaf032eb90a98c0c37c7c789461b5
2012-10-16 14:24:30 -07:00
Jean Chalard 6686e63f21 Honor automatic shift turned off for gestures
Bug: 7354129
Change-Id: Ia02336e8cea2f04b629edbe74b7815cce0d7fad6
2012-10-17 05:41:06 +09:00
Jason Chen 5cbb130618 am abd8170e: am f2eeb4ae: am c1bcb8ee: Let\'s enhance
* commit 'abd8170efd40804504eb9022a9e685bb01ffdc59':
  Let's enhance
2012-10-14 23:13:19 -07:00
Jason Chen c1bcb8ee10 Let's enhance
Add mipmap-* launcher icon assets. Remove drawable-* based assests.
Change over reference to mipmap icon.

Bug: 6718166
Change-Id: I01f84a03fd1be0ced9cce9cff322a5fe02820075
2012-10-12 14:19:40 -07:00
Tadashi G. Takaoka dd7db83423 am a13087e1: am 9c318bc5: am ac2a154a: Merge "Detect bogus down-move-up event and add workaround" into jb-mr1-dev
* commit 'a13087e1abf48f8599795b9abb4f49a596a6f32c':
  Detect bogus down-move-up event and add workaround
2012-10-12 11:14:00 -07:00
Tadashi G. Takaoka ac2a154ae8 Merge "Detect bogus down-move-up event and add workaround" into jb-mr1-dev 2012-10-12 06:59:42 -07:00
Tadashi G. Takaoka b0952888eb Detect bogus down-move-up event and add workaround
Bug: 7032858
Change-Id: I2e76bf49f1e07b436d05c19881e2f2c4fed21621
2012-10-12 20:45:08 +09:00
Jean Chalard 01e0913ad2 Make a better choice for the temporary file
Change-Id: I745bb285b6b52875c8d2b3a94deb962352f9754e
2012-10-12 19:58:07 +09:00
Ken Wakasa b0aa9606ae am 726e98b7: am c1a1937c: am 2220aeed: Merge "Put temporary files under a separate directory." into jb-mr1-dev
* commit '726e98b7378987b2cfe46ea5395692640b108e83':
  Put temporary files under a separate directory.
2012-10-11 08:41:42 -07:00
Ken Wakasa 2220aeedfe Merge "Put temporary files under a separate directory." into jb-mr1-dev 2012-10-11 08:36:22 -07:00
Fredrik Roubert ce1e491233 Add Swedish to the list of languages for which a Euro key is wanted.
Change-Id: I2ba4d0a7e82733c3d9526658195f22178e520926
2012-10-11 15:16:03 +02:00
Jean Chalard 66c90cd2ae Put temporary files under a separate directory.
Bug: 7328003
Change-Id: Ibe5278ea209d149f87fd08785c77b17e3859948e
2012-10-11 17:53:06 +09:00
Tadashi G. Takaoka ad181915f7 Fix excessive canceling of long-press timer while gesturing
Change-Id: I2a68c777e66a6b83d16885780a92a21e91bd3f9e
2012-10-11 17:51:45 +09:00
Tadashi G. Takaoka c1f2c3a646 am c66a2d1d: am 61155c70: am 9d423536: Merge "Don\'t cancel long press timer too early" into jb-mr1-dev
* commit 'c66a2d1da69de796a2a7acb5dd6903cb5668585c':
  Don't cancel long press timer too early
2012-10-11 00:52:05 -07:00
Tadashi G. Takaoka 9d42353611 Merge "Don't cancel long press timer too early" into jb-mr1-dev 2012-10-11 00:46:06 -07:00
Tadashi G. Takaoka c9ba26994b Don't cancel long press timer too early
Bug: 7328861
Change-Id: I1b77ec4a30ae15b2edda42a1ff58ebc528288553
2012-10-11 15:58:56 +09:00
Baligh Uddin e129d6921e Import translations. DO NOT MERGE
Change-Id: Ibb93814ac881cfd48a4a298e2964c9a4188405f0
Auto-generated-cl: translation import
2012-10-10 16:05:53 -07:00
Baligh Uddin 7c8f4a04fa Import translations. DO NOT MERGE
Change-Id: I0a766dd5b65f375276e30c588bb202f6718a8892
Auto-generated-cl: translation import
2012-10-10 16:02:04 -07:00
Ken Wakasa 06636bf96a am 0081681e: am c44314b4: am dc38a343: Merge "Use a freq of 1 instead of 0 for non-word shortcuts." into jb-mr1-dev
* commit '0081681e346ce5c958e5eef264caa3f257b094c5':
  Use a freq of 1 instead of 0 for non-word shortcuts.
2012-10-09 07:48:46 -07:00
Tadashi G. Takaoka 4020289147 am 6b0fa314: am f5c10d00: am 7a17c1fc: Tuning gesture detection parameters
* commit '6b0fa314d780ea77bd2c65b9bdd87297d50a0f6b':
  Tuning gesture detection parameters
2012-10-09 07:48:45 -07:00
Ken Wakasa dc38a3438b Merge "Use a freq of 1 instead of 0 for non-word shortcuts." into jb-mr1-dev 2012-10-09 07:43:16 -07:00
Tadashi G. Takaoka 11cec73499 Merge "Disable touch position correction of MoreKeysKeyboard" 2012-10-09 03:39:43 -07:00
Tadashi G. Takaoka f9aa99c1c9 Disable touch position correction of MoreKeysKeyboard
Change-Id: Ieec33894a348602fd71d6fe473142b43eb2551b6
2012-10-09 19:20:28 +09:00
Jean Chalard 99b84b42f9 Use a freq of 1 instead of 0 for non-word shortcuts.
Also fix a spelling mistake in a comment

Bug: 7301525
Change-Id: I4437403dce620fed03871485ee04f13c51ce34fc
2012-10-09 19:16:07 +09:00
Tadashi G. Takaoka 7a17c1fcb5 Tuning gesture detection parameters
Bug: 7032858
Change-Id: Ie4f952aa33b99ce16027500a596d723ee9bafae9
2012-10-09 19:06:10 +09:00
Tadashi G. Takaoka 7cbb7f92ee Merge "Allow to start gesture from a non-letter key except from a modifier key" 2012-10-09 02:20:28 -07:00
Tadashi G. Takaoka 4df6549c1a Allow to start gesture from a non-letter key except from a modifier key
Bug: 7303982
Change-Id: Id54965c1d7b2b760ac2a76a0fc509b46948e75e6
2012-10-09 18:03:40 +09:00
Ken Wakasa b02ee3d67a Make use of the NELEMS and KEYCODE_SPACE macro. Also, remove an unused parameter.
Change-Id: I3c7e6c59990c92b0d5e2fb80493e8673cdd37b09
2012-10-09 11:17:50 +09:00
Baligh Uddin 90c52f3121 Merge "Import translations. DO NOT MERGE" 2012-10-08 09:19:13 -07:00
Baligh Uddin 2e3f261df8 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-08 09:17:44 -07:00
Tadashi G. Takaoka 3efe5f386f am bb249cb9: am b1583b9e: am 052b162d: Merge "Add separate key hysteresis distance for sliding modifier input" into jb-mr1-dev
* commit 'bb249cb992941ea0f3b6b962232ead147011865a':
  Add separate key hysteresis distance for sliding modifier input
2012-10-07 09:09:59 -07:00
Ken Wakasa fc62882591 Fix a small typo
Change-Id: I813d97b9453f8aa7aae99bd165336b1e5a81dc6a
2012-10-07 12:05:23 +09:00
Tadashi G. Takaoka 052b162df6 Merge "Add separate key hysteresis distance for sliding modifier input" into jb-mr1-dev 2012-10-06 10:43:04 -07:00
Tadashi G. Takaoka f731eb1760 Add separate key hysteresis distance for sliding modifier input
Bug: 7294402
Change-Id: I78c8be9e1a7b2d49d86bfe1e3a46d1785bfe5d48
2012-10-07 01:19:01 +09:00
Tadashi G. Takaoka 792980d4aa Avoid calling switchToLastInputMethod when other IMEs are in effect (DO NOT MERGE)
Bug: 7299050
Change-Id: Ife6721a5fcbc4872bd36ffd8a8b81b04d73aebec
2012-10-06 19:01:36 +09:00
Baligh Uddin 2d2ed168fa Import translations. DO NOT MERGE
Change-Id: Idaa866090d4afcf78178fff481ee601a2fcbe064
Auto-generated-cl: translation import
2012-10-05 17:01:15 -07:00
Baligh Uddin d528f4c9a7 Import translations. DO NOT MERGE
Change-Id: If42a2ec942dd630d4d17e37536a197ba29431580
Auto-generated-cl: translation import
2012-10-05 16:57:52 -07:00
Tadashi G. Takaoka 9778ac3fdd am d7345ed0: am d34422f1: am 3623b976: Fix detecting fast typing algorithm and parameter
* commit 'd7345ed0b532eaa2082adea6fb5e89f5fe0acb86':
  Fix detecting fast typing algorithm and parameter
2012-10-05 03:22:09 -07:00
Tadashi G. Takaoka 3623b9767b Fix detecting fast typing algorithm and parameter
Bug: 7032858
Change-Id: I5ed701e2394d16e43258a3c22d59991cb18adce8
2012-10-05 18:23:39 +09:00
Ken Wakasa 035b260058 Merge "fix writeCharGroup." 2012-10-04 23:05:51 -07:00
Yuichiro Hanada d2579c4832 fix writeCharGroup.
Change-Id: Ib841afaba0a20c3b300eb7d3e9133243f9f3ae58
2012-10-05 14:54:17 +09:00
Tadashi G. Takaoka ddf8b9e1ea am 24ebf7da: am b02fc3fc: am 4580b7e4: Merge "Move gesture detection and recognition paramters to resources" into jb-mr1-dev
* commit '24ebf7da9853f2975bf1ae3e11c0cf1962236667':
  Move gesture detection and recognition paramters to resources
2012-10-04 22:54:16 -07:00
Tadashi G. Takaoka 4580b7e457 Merge "Move gesture detection and recognition paramters to resources" into jb-mr1-dev 2012-10-04 22:42:18 -07:00
Tadashi G. Takaoka 80bcb99632 Move gesture detection and recognition paramters to resources
Bug: 7032858
Change-Id: I66570a5e21cdeede1eba420c597f440ab61aa941
2012-10-05 14:39:44 +09:00
Baligh Uddin b931a6c912 Merge "Import translations. DO NOT MERGE" 2012-10-04 22:26:06 -07:00
Baligh Uddin 47417ec155 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-04 22:25:13 -07:00
Jean Chalard 46bd04ca4b am ddc81746: am c8cf1101: am 49d301e9: Add notice for Lexiteria dictionaries.
* commit 'ddc8174657777ff3166e536fb8029a0a0b629481':
  Add notice for Lexiteria dictionaries.
2012-10-04 20:34:21 -07:00
Jean Chalard 49d301e9ad Add notice for Lexiteria dictionaries.
Bug: 7285172
Change-Id: Ib4f4e433850d3f58e0a7cef205be4dc59c7f28c4
2012-10-05 11:08:31 +09:00
Ken Wakasa feac8a91f9 am 933e7c37: am 37c8f8b5: am 20f07e33: Merge "Unlink an old file before moving the new file over it" into jb-mr1-dev
* commit '933e7c3770c00a9eea43c447d96daec1ada62041':
  Unlink an old file before moving the new file over it
2012-10-04 15:40:20 -07:00
Baligh Uddin 741d6eaf17 Import translations. DO NOT MERGE
Change-Id: I64e38d5f0be5a47923642af0bc0146765e094b77
Auto-generated-cl: translation import
2012-10-04 15:34:17 -07:00
Ken Wakasa 20f07e335d Merge "Unlink an old file before moving the new file over it" into jb-mr1-dev 2012-10-04 15:33:41 -07:00
Baligh Uddin 09fbd2ca50 Import translations. DO NOT MERGE
Change-Id: Idc0d44ee84d88674227a95bb5556a99a01eb3d30
Auto-generated-cl: translation import
2012-10-04 15:30:10 -07:00
Baligh Uddin c19daffa80 Merge "Import translations. DO NOT MERGE" 2012-10-04 10:37:26 -07:00
Baligh Uddin 28989acb9c Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-04 10:36:40 -07:00
Jean Chalard daff19bc29 am d173ed18: am bf6c8bd8: am 3f7fe829: Merge "Always consider a new line the start of a sentence" into jb-mr1-dev
* commit 'd173ed18e44ea5cdc48d5f620bb91efcd3ed5174':
  Always consider a new line the start of a sentence
2012-10-04 06:00:45 -07:00
Jean Chalard 2699b45dbc Always consider a new line the start of a sentence
Bug: 7282523
Change-Id: I10a73e99efdfe6acb9a16819694b98c6714fd451
2012-10-04 20:54:28 +09:00
Yuichiro Hanada 3c6d9fe148 Add insertWord.
bug: 6669677

Change-Id: Ide55a4931071de9cd42c1cddae63ddd531d2feba
2012-10-04 17:19:47 +09:00
Jean Chalard c15726482e Unlink an old file before moving the new file over it
This is unlikely to be relevant to this bug, but just in case.

Bug: 7274972
Change-Id: I56b31b377af16cc2c15ceb90a19792bed3aab367
2012-10-04 15:49:08 +09:00
Yuichiro Hanada c3a98ca306 Add writeNode.
Change-Id: I088bb6ea43ce0841d725e48b677d429e1155569d
2012-10-04 14:28:42 +09:00
Baligh Uddin cc298b652b Import translations. DO NOT MERGE
Change-Id: Ie375494233b9038d4ae2187d2bfe58b9a77036d2
Auto-generated-cl: translation import
2012-10-03 21:59:33 -07:00
Baligh Uddin a65a06913f Import translations. DO NOT MERGE
Change-Id: I7bbc24fdd81a547e25e66e07fd982fe949a19bcc
Auto-generated-cl: translation import
2012-10-03 21:56:12 -07:00
Jean-Baptiste Queru 56b4a040ff Reconcile with jb-dev - do not merge
Change-Id: Ie0db4cf684b9f45cdf5a729f3b62adb2128a7c91
2012-10-03 15:29:09 -07:00
Baligh Uddin 555cc570d9 Merge "Import translations. DO NOT MERGE" 2012-10-03 10:18:22 -07:00
Baligh Uddin 01d9b1f17a Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-03 10:17:21 -07:00
Jean Chalard 2bd719692c am 6821be7e: am b3dff914: am 5d11ec46: Merge "Update the AOSP dictionaries for the 0-freq review" into jb-mr1-dev
* commit '6821be7e06ec9bb4e9d9dfe62b75f52b369e1b74':
  Update the AOSP dictionaries for the 0-freq review
2012-10-03 06:04:10 -07:00
Jean Chalard 5d11ec4613 Merge "Update the AOSP dictionaries for the 0-freq review" into jb-mr1-dev 2012-10-03 05:37:12 -07:00
Jean Chalard a44942810d Update the AOSP dictionaries for the 0-freq review
Bug: 7227265
Change-Id: I384f7d76cef67b96b106ddac96e4baf1fa32afd4
2012-10-03 21:15:27 +09:00
Yuichiro Hanada 38712ff27d Add updateParentAddresses.
Change-Id: Iac210131b7c003ef363e1138bf22f777a37c6a89
2012-10-03 19:37:17 +09:00
Yuichiro Hanada a853356b82 Add isDeletedGroup.
Change-Id: I83f09c068868e5e6e1b46f494a6ef957f0b466d8
2012-10-03 02:19:41 -07:00
Yuichiro Hanada 7223cc2ef1 Add MAX_BIGRAMS_IN_A_GROUP.
Change-Id: I128d5deb8e523045d7ad77d7a8fd3db944f71238
2012-10-03 18:10:06 +09:00
Satoshi Kataoka 69c787f3b7 am 96717371: am e8825ce3: am 1fd10ea2: Merge "Throw illegal argument exception in BinaryDictionary::editDistance" into jb-mr1-dev
* commit '967173711f17ba30d3608881f501985f07fef4fd':
  Throw illegal argument exception in BinaryDictionary::editDistance
2012-10-03 01:21:43 -07:00
Satoshi Kataoka 1fd10ea22c Merge "Throw illegal argument exception in BinaryDictionary::editDistance" into jb-mr1-dev 2012-10-03 01:15:52 -07:00
Satoshi Kataoka 66d955ad71 Throw illegal argument exception in BinaryDictionary::editDistance
Bug: 7276803
Change-Id: Icd9bdec0a04179a29d00336819d205627f77b71a
2012-10-03 17:15:47 +09:00
Tadashi G. Takaoka c6ff7c42d9 Add SuggestedWords.isEmpty() method
Change-Id: I0fcb104a6a81aee4b99f5ee848eba7495630dc7d
2012-10-03 15:09:10 +09:00
Tadashi G. Takaoka 3e5a3c18be Add final modifier to the classes under suggestions sub-package
Change-Id: I19fc8eaac1aebef9cf4deb004e78484ff9a1e7ca
2012-10-03 14:57:29 +09:00
Tadashi G. Takaoka 5f5f7825e7 am 4d009dbc: am ace7d128: am d445b56c: Fix possible NPE caused while monkey test
* commit '4d009dbc514cd77eb22e4162e4ae7ea852e1b77e':
  Fix possible NPE caused while monkey test
2012-10-02 22:44:57 -07:00
Yuichiro Hanada 4ad4ff618f Add makeCharGroupFlags.
Change-Id: Id2c580f21b77f66a97c5fbdf4542fdafe6c43614
2012-10-03 14:33:59 +09:00
Tadashi G. Takaoka d445b56ce1 Fix possible NPE caused while monkey test
Bug: 7269036
Change-Id: I9054b33ad3c8996cac3ee5f0e9c01ba8ceea4971
2012-10-03 14:33:52 +09:00
Baligh Uddin 9c64c5342c Import translations. DO NOT MERGE
Change-Id: Ib35cdfadea03c46e9a71404e79b4a509526f4896
Auto-generated-cl: translation import
2012-10-02 17:14:45 -07:00
Baligh Uddin 7a24a242fd Import translations. DO NOT MERGE
Change-Id: I98e36c91c1678a0452b42c7afda6c3bc08b3b3e6
Auto-generated-cl: translation import
2012-10-02 17:11:15 -07:00
Tadashi G. Takaoka c3aea8ea9f Merge "Avoid calling switchToLastInputMethod when other IMEs are in effect" 2012-10-02 01:36:37 -07:00
Tadashi G. Takaoka aec5cc8476 Avoid calling switchToLastInputMethod when other IMEs are in effect
Bug: 7268389
Change-Id: I4d960cbf063002b4dc0ea813c966366b56c0346d
2012-10-02 17:29:15 +09:00
Tadashi G. Takaoka fe3fb2502d am 58e1be74: am de102ede: am 15281adb: Show gesture floating preview text by default
* commit '58e1be74a989637b0b71ebf990ed1b3c9a21e7af':
  Show gesture floating preview text by default
2012-10-01 23:41:38 -07:00
Tadashi G. Takaoka 15281adbc1 Show gesture floating preview text by default
Bug: 7244214
Change-Id: Ib4ab810ef50798828dd10c39a8077466165772e4
2012-10-01 21:23:00 -07:00
Baligh Uddin 6fd7fe5033 Merge "Import translations. DO NOT MERGE" 2012-10-01 21:10:47 -07:00
Baligh Uddin a8caa7f4d0 Import translations. DO NOT MERGE
Change-Id: I7516d2d74ab4f4c46dc39ec32cdeb44c97bba462
Auto-generated-cl: translation import
2012-10-01 16:17:19 -07:00
Baligh Uddin d80fd3058c Import translations. DO NOT MERGE
Change-Id: I8f8c7f722d6fe55146428305f0a12b5e1b1d8dce
Auto-generated-cl: translation import
2012-10-01 16:12:25 -07:00
Jean Chalard 37688ae8c1 am 86db54df: am 137203d4: am 574b80aa: Remove debug prints.
* commit '86db54df74b821a15f7a3081c3737f8a63f91214':
  Remove debug prints.
2012-10-01 13:46:16 -07:00
Baligh Uddin 033010382c Merge "Import translations. DO NOT MERGE" 2012-10-01 10:33:00 -07:00
Baligh Uddin 541b994512 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-01 10:32:20 -07:00
Yuichiro Hanada 7f438aa12f Make writeCharGroup return a size of a new group.
bug: 6669677

Change-Id: I56f6a07b04b08443f2c052927404318c2018fc9d
2012-10-01 22:02:04 +09:00
Ken Wakasa 00e1d421c2 Merge "Add writeCharGroup." 2012-10-01 05:53:24 -07:00
Yuichiro Hanada fb7e08ea8f Add writeCharGroup.
bug: 6669677

Change-Id: I36792ba9c511a5148c963096cc93ca8c2e0ee04e
2012-10-01 21:50:38 +09:00
Jean Chalard 574b80aace Remove debug prints.
Bug: 7226098
Change-Id: Ibacb740022a6af56c9d555d6797dd402a89f6ca4
2012-10-01 17:03:15 +09:00
Tadashi G. Takaoka fb7b9ded1f Merge "Add '+' sign to more keys of '-' key" 2012-09-30 23:23:45 -07:00
Tadashi G. Takaoka 7e3779e37a Add '+' sign to more keys of '-' key
Note that the tablet number/phone layout has its own '+' key.

Bug: 7255318
Change-Id: I5cc0431cf772a859eb456e9c36b07bfd0cc1278d
2012-10-01 14:55:55 +09:00
Tadashi G. Takaoka 7339a62a13 Fix NPE observed only by monkey test
Bug: 7258660
Change-Id: I286c704b32efeada8505d953438f2595166f7e8f
2012-10-01 14:55:18 +09:00
Baligh Uddin 8aef47d9b1 Import translations. DO NOT MERGE
Change-Id: I44aae7ccdfe1b4494ba70b80276c92e78fef9a6f
Auto-generated-cl: translation import
2012-09-28 13:19:23 -07:00
Baligh Uddin 1c2853f8f6 Import translations. DO NOT MERGE
Change-Id: I4ae7e56a20803cc9c3d5ba2d85db1ea63c943303
Auto-generated-cl: translation import
2012-09-28 13:15:05 -07:00
Tadashi G. Takaoka 99501896f5 am 9925e487: am 6052a81e: Merge "Fix gesture detection algorithm" into jb-mr1-dev
* commit '9925e487b345e4a63d3dc25e3bf156e0fbfbb04d':
  Fix gesture detection algorithm
2012-09-28 06:54:04 -07:00
Tadashi G. Takaoka 6052a81e08 Merge "Fix gesture detection algorithm" into jb-mr1-dev 2012-09-28 06:49:24 -07:00
Tadashi G. Takaoka 58fe5a421f Fix gesture detection algorithm
This change also
  * Introduces adaptive gesture detecting threshold for time domain in addition to length domain.
  * Tunes the parameters for detecting gesture after fast typing.
  * Fixes a bug in dismissing gesture floating preview text.
  * Cleanup debug messages

Bug: 7218902
Change-Id: Iafccd872c6efe0c3b5ae65fa40b04c80d9f139c7
2012-09-28 22:47:55 +09:00
Tadashi G. Takaoka 11dbf025c6 am 2626bf08: am c8f25294: Merge "Temporarily suppress key popup preview after gesture input" into jb-mr1-dev
* commit '2626bf0889af798e484824737e9973ffb447498f':
  Temporarily suppress key popup preview after gesture input
2012-09-28 03:42:38 -07:00
Tadashi G. Takaoka c8f252940f Merge "Temporarily suppress key popup preview after gesture input" into jb-mr1-dev 2012-09-28 03:38:20 -07:00
Ken Wakasa b88c8ac8e4 Merge "Add updateChildrenAddress." 2012-09-28 03:18:18 -07:00
Tadashi G. Takaoka 29d2d48182 Temporarily suppress key popup preview after gesture input
Bug: 7244317
Change-Id: I39cdb0fbda51f3e4339301d9cc53403b1ad15409
2012-09-28 19:10:56 +09:00
Yuichiro Hanada f3aed3ea26 Add updateChildrenAddress.
Change-Id: Ic06a755d85612476e719e580469dc1cd9447286c
2012-09-28 18:45:56 +09:00
Tadashi G. Takaoka ad6b493c16 Merge "Remove dead code for disabling gesture input after fast typing" into jb-mr1-dev 2012-09-28 00:47:05 -07:00
Yuichiro Hanada acaf2bedc1 am e7ad9084: am 7a7d117a: Ignore the broken file.
* commit 'e7ad90840786566a2f36b4aa35893bf76449b2ce':
  Ignore the broken file.
2012-09-28 00:37:48 -07:00
Baligh Uddin f9bdb738bd Import translations. DO NOT MERGE
Change-Id: I37ccfcc9a3ccbda4729802b533cc44e3edeebd79
Auto-generated-cl: translation import
2012-09-28 00:17:28 -07:00
Tadashi G. Takaoka bf538ab2c0 Remove dead code for disabling gesture input after fast typing
Bug: 7218902
Change-Id: Iccc1d4cf0dd3ac84b30c68e11eee9a6ad89f14c4
2012-09-28 16:15:51 +09:00
Baligh Uddin 587ab41709 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-28 00:14:53 -07:00
Baligh Uddin cf85160dee Import translations. DO NOT MERGE
Change-Id: I3748ecaecef1f07e1537831eb0f7c5503a460b56
Auto-generated-cl: translation import
2012-09-28 00:14:00 -07:00
Yuichiro Hanada 7a7d117aa7 Ignore the broken file.
bug: 7249561

Change-Id: If001bf75ef12b4d342a77e54706c7fed90c89afb
2012-09-28 14:19:14 +09:00
Baligh Uddin 4cba185195 Merge "Import translations. DO NOT MERGE" 2012-09-27 10:05:58 -07:00
Baligh Uddin a36c595353 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-27 10:03:23 -07:00
Tadashi G. Takaoka a28a05e971 Cleanup: Make some classes as final
Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
2012-09-27 19:03:30 +09:00
Tadashi G. Takaoka 1775201671 Calculate default touch position correction data for keys on 4th row
This change also disables touch position correction for Phone/Dvorak
keyboard.

Bug: 7243101
Change-Id: Idfcc7ad1feabbe6a81635dceba5be087401fa18b
2012-09-27 17:55:58 +09:00
Yuichiro Hanada 84d858ed5e Use BinaryDictInputOutput to save UserHistoryDictionary.
bug: 6669677

Change-Id: I08193c26f76dbd48168f8ac02c1b737525bfc7b2
2012-09-27 12:02:17 +09:00
Baligh Uddin d7d43d586f Import translations. DO NOT MERGE
Change-Id: Icd0176aec15c7c1baf023737ddec4d39857d695f
Auto-generated-cl: translation import
2012-09-26 19:34:00 -07:00
Baligh Uddin 855c0097cd Import translations. DO NOT MERGE
Change-Id: Ia971fee8c85d6726840317326d07fd2d9f93b33f
Auto-generated-cl: translation import
2012-09-26 19:30:19 -07:00
Tadashi G. Takaoka c0a1dc0e07 Merge "Draw gesture trail that is above the keyboard" into jb-mr1-dev 2012-09-26 05:01:18 -07:00
Tadashi G. Takaoka 157fe98fd4 Draw gesture trail that is above the keyboard
Bug: 7233992
Change-Id: Ia848543a9d008c68d6ecbc7f715aa6ccdba9d1c6
2012-09-26 20:43:13 +09:00
Yuichiro Hanada 2aea34fb31 Add updateParentAddress.
bug: 6669677

Change-Id: I353f8ae53720cdf7a809271a28cb703709609f53
2012-09-26 17:18:01 +09:00
Yuichiro Hanada 2ee70804e9 Add moved char groups.
bug: 6669677

Change-Id: I372f841044fe8e076a50a80ac10b715e5f8fd4eb
2012-09-26 17:01:48 +09:00
Tadashi G. Takaoka 002a502c84 Merge "Update keyboard settings wording" into jb-mr1-dev 2012-09-25 22:56:49 -07:00
Tadashi G. Takaoka 1c820c4146 Merge "Don't cancel gesture trail update drawing" into jb-mr1-dev 2012-09-25 22:50:50 -07:00
Tadashi G. Takaoka 1354910f7a Merge "Postpone gesture start detection on non-letter key" into jb-mr1-dev 2012-09-25 22:49:36 -07:00
Tadashi G. Takaoka 1645902cce Postpone gesture start detection on non-letter key
Bug: 7108223
Change-Id: Ie1ead5cec947ddf86c5150dca5b20b224527e511
2012-09-26 12:46:55 +09:00
Tadashi G. Takaoka 936371e64f Don't cancel gesture trail update drawing
Bug: 7216955
Change-Id: Ie12bf45637b1012c9addb47279f9653334fae702
2012-09-26 12:25:24 +09:00
Tadashi G. Takaoka 9458e71c0c Update keyboard settings wording
Bug: 7129441
Change-Id: I1130b322126ad7c400845c1257a785ccbc7dff81
2012-09-26 11:09:15 +09:00
Baligh Uddin 270c0dec94 Import translations. DO NOT MERGE
Change-Id: I6047254f069176a832fd7919d8c6257008698740
Auto-generated-cl: translation import
2012-09-25 16:53:14 -07:00
Yuichiro Hanada a161bdac88 add capacity to FusionDictionaryBufferInterface.
bug: 6669677

Change-Id: I4627093811a19c46ce13fe351d1db63cbd78cf4a
2012-09-25 21:47:11 +09:00
Jean Chalard 35ffb90629 Merge "Make getTerminalPosition read linked-list nodes." into jb-mr1-dev 2012-09-25 05:39:24 -07:00
Yuichiro Hanada 93d7c6233f Make getTerminalPosition read linked-list nodes.
bug: 6669677

Change-Id: I599d276f430efe23d402695c325e23906b7705b3
2012-09-25 21:11:15 +09:00
Tadashi G. Takaoka 630d9c95e5 Introduce typing aware gesture detection
Bug: 7218902
Change-Id: I11ad85914bf991eca513e04ed8b5d12779101dda
2012-09-25 20:11:05 +09:00
Tadashi G. Takaoka 10d76cdcd6 Merge "Fix touch position correction data passing" into jb-mr1-dev 2012-09-24 22:26:48 -07:00
Tadashi G. Takaoka 6ca50d9920 Fix touch position correction data passing
Bug: 7225811
Change-Id: I3dcc0385ed633585d6810fdb742e0f88c2efbbd2
2012-09-25 14:24:15 +09:00
Yuichiro Hanada 8ec0064c49 Make children addresses and parent addresses use signed addresses.
Signed addresses are used only in version 3 with dynamic update.

bug: 6669677

Change-Id: Iadaeab199b5019d2330b4573c24da74d64f0945e
2012-09-25 12:55:14 +09:00
Baligh Uddin 0d4d109621 Import translations. DO NOT MERGE
Change-Id: I1e46157047699a32560c484d0d3a4da0403b666f
Auto-generated-cl: translation import
2012-09-24 16:00:36 -07:00
Jean Chalard 0eef4b1e6f Merge "Add suggestion span upon starting a gesture." into jb-mr1-dev 2012-09-24 04:30:32 -07:00
Jean Chalard 6a58bb7ac9 Add suggestion span upon starting a gesture.
Bug: 7196761
Change-Id: If60cb809b205159ced1887f94b7caf9775fcf3bb
2012-09-24 20:25:46 +09:00
Jean Chalard 88985bfa2e Merge "Fix a bug where the cursor pos wouldn't be tracked correctly" into jb-mr1-dev 2012-09-24 03:41:48 -07:00
Jean Chalard 72c5d32888 Fix a bug where the cursor pos wouldn't be tracked correctly
This would cause
Bug: 7208199

Change-Id: I8474985bfe349e1530b27bc98842937627bbe4e0
2012-09-24 19:33:42 +09:00
Jean Chalard d3fabe7fa5 Merge "Set punctuation suggestions at start if activated" into jb-mr1-dev 2012-09-24 01:30:38 -07:00
Jean Chalard 6efe788494 Set punctuation suggestions at start if activated
Bug: 7218468
Change-Id: I9f8c1f13dc26cedb95b65279a34a825021dfa72a
2012-09-24 17:27:03 +09:00
Tadashi G. Takaoka b760591040 Merge "Second finger can start gesture input" into jb-mr1-dev 2012-09-24 00:12:53 -07:00
Jean Chalard 65ef26081b Merge "Fix a race condition with shift" into jb-mr1-dev 2012-09-23 23:48:20 -07:00
Tadashi G. Takaoka b305e6775a Second finger can start gesture input
Bug: 7108075
Change-Id: I17c419086a86c0bdac7a3858f8c66f6893678e67
2012-09-24 15:31:51 +09:00
Jean Chalard fff8613df0 Fix a race condition with shift
Bug: 7062092
Change-Id: Ie1984673e9ffc9291d9650ec38ce99031ad93585
2012-09-24 15:07:52 +09:00
Tadashi G. Takaoka 1e974deaa6 Merge "Disable gesture input while fast typing" into jb-mr1-dev 2012-09-23 21:19:55 -07:00
Ken Wakasa 5274a4a630 Merge "Combine mHasParentAddress with mHasLinkedListNode into mSupportsDynamicUpdate." into jb-mr1-dev 2012-09-23 21:19:30 -07:00
Yuichiro Hanada 82d9deaaf2 Combine mHasParentAddress with mHasLinkedListNode into mSupportsDynamicUpdate.
bug: 6669677

Change-Id: I82799af199358420f09ac34fc005091e202c5d3b
2012-09-24 13:17:44 +09:00
Tadashi G. Takaoka 9f09c6fbc8 Disable gesture input while fast typing
Bug: 7032858
Change-Id: I0f9f92c712dbe45f4ba0b3cf331fbe11426c1db4
2012-09-24 13:14:47 +09:00
Jean Chalard 24da43c93a Merge "Use all Lexiteria sources and update existing directories." into jb-mr1-dev 2012-09-23 20:18:56 -07:00
Tadashi G. Takaoka 8acb881a50 Add subtypeId to nl_BE
Bug: 6809603
Change-Id: I8010564cfdfeef5a0c4f7542b9451202ed966a53
2012-09-24 10:47:28 +09:00
Ken Wakasa 08d7f2f95a resolved conflicts for merge of b1fbd696 to jb-mr1-dev bug:6809603
Change-Id: I23dcf45892d94db88f424a4ee0ae440a2c743d9b
2012-09-22 01:50:33 +09:00
Baligh Uddin c613f1e7ab Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-21 09:11:49 -07:00
Jean Chalard d0cf96493c Use all Lexiteria sources and update existing directories.
New dictionaries :
- Danish
- Greek
- Finnish
- Lithuanian
- Latvian
- Dutch
- Polish
- Russian
- Slovene
- Serbian
- Swedish
- Turkish

Also, compress those files to reduce the footprint in the
repository.
Also, update and improve English and French dictionaries, and
add the ligatures shortcut into the French dictionary.
Finally, move the Russian binary dictionary here now that it
can at last be open sourced.

Bug: 5587752
Bug: 6775251
Bug: 6995793
Bug: 7149666
Change-Id: Iec9831d4dce425a2b5b0657571e4448436610525
2012-09-21 22:07:23 +09:00
Tadashi G. Takaoka 3088e0c9e9 Merge "Fix gesture start detection algorithm" into jb-mr1-dev 2012-09-21 01:51:57 -07:00
Tadashi G. Takaoka 02a67200fc Fix gesture start detection algorithm
Bug: 7032858
Change-Id: I9f4d939fa87fdead4c5a5921338a16cd0a59b7ac
2012-09-21 17:30:00 +09:00
Satoshi Kataoka 8ae8c76149 Cleanup settings
bug: 7200189

Change-Id: Ibfd9254670cde5f4b2b693cc9334ee2845bede59
2012-09-21 15:10:27 +09:00
Ken Wakasa b1fbd696de am 4a80d413: am ca8af4ee: Merge "nl-rBE keyboard layout"
* commit '4a80d4132de2b228e8c9a12095dc9fed844ec277':
  nl-rBE keyboard layout
2012-09-20 21:45:54 -07:00
Ken Wakasa 4a80d4132d am ca8af4ee: Merge "nl-rBE keyboard layout"
* commit 'ca8af4ee5f1e8ad15522e0e95c54ea1e2a56746e':
  nl-rBE keyboard layout
2012-09-20 21:43:20 -07:00
Yuichiro Hanada 66597f5e5f Add deleteWord.
bug: 6669677

Change-Id: I1a5b90ee05e5cffd74a5c140384a3e37c79e7e70
2012-09-21 12:40:07 +09:00
Baligh Uddin 546133deda Import translations. DO NOT MERGE
Change-Id: Ifdd37dae4c4cbe095ed00288a7e3f95303318bdc
Auto-generated-cl: translation import
2012-09-20 18:17:39 -07:00
Yuichiro Hanada 73779f7631 Make readUnigramsAndBigramsBinary read linked-list nodes.
Change-Id: I07ae036b0b06e71d7a18f2bf11e4692cd4213568
2012-09-20 20:37:02 +09:00
Ken Wakasa 54717534b1 Merge "Add getTerminalPosition." into jb-mr1-dev 2012-09-20 04:32:42 -07:00
Tadashi G. Takaoka 81d2e93772 Merge "Fix stuck gesture floatin preview text" into jb-mr1-dev 2012-09-20 03:47:46 -07:00
Tadashi G. Takaoka 61dcaaf17e Use device independent parameter for gesture
Change-Id: Iea95992e4482108a498f14ec595f3eacc7d7fc4b
2012-09-20 19:38:29 +09:00
Tadashi G. Takaoka 77bcd6be33 Fix stuck gesture floatin preview text
Bug: 7192483
Change-Id: Ic62253180446a625330966a114a6fabf74ab4ec8
2012-09-20 18:46:23 +09:00
Yuichiro Hanada d36245fad2 Add getTerminalPosition.
Change-Id: If04d779db23b1aea2cc12e5e9b8cecfcb35a5737
2012-09-20 18:02:16 +09:00
Tadashi G. Takaoka 84c1bbd76d Merge "Move PointerTracker.MIN_GESTURE_RECOGNITION_TIME to GestureStroke" into jb-mr1-dev 2012-09-20 00:23:50 -07:00
Jean Chalard 49d080f088 Merge "Auto correct on gesture when typed word is 1 char long" into jb-mr1-dev 2012-09-20 00:17:19 -07:00
Jean Chalard b4e74cfc87 Auto correct on gesture when typed word is 1 char long
Bug: 7178462
Change-Id: I779d8ee4a957a9d1fdcc80d33257a98965dec7b8
2012-09-20 16:14:16 +09:00
Tadashi G. Takaoka f80f09c7ee Move PointerTracker.MIN_GESTURE_RECOGNITION_TIME to GestureStroke
Change-Id: Ib50192ed8f611fd8288ff9b7a1e0a19249cc6348
2012-09-20 15:14:25 +09:00
satok f5becbcd75 am f1e13f1f: DO NOT MERGE: Clear cache of the user dictionary when a word is added
* commit 'f1e13f1fb10db4152b2617093d827c66615ee16d':
  DO NOT MERGE: Clear cache of the user dictionary when a word is added
2012-09-19 20:50:20 -07:00
Tadashi G. Takaoka a0ac9cc447 Merge "Use normal font for Hindi keyboard" into jb-mr1-dev 2012-09-19 20:44:35 -07:00
satok f1e13f1fb1 DO NOT MERGE: Clear cache of the user dictionary when a word is added
This is a backport of  Iec2793de3fff7bf15f68f

Change-Id: If16d1c48edf084d892da722fb288e467f211b08e
2012-09-20 12:27:14 +09:00
Tadashi G. Takaoka bfcd2b3fc0 Merge "Change to "Show language switch key" option" into jb-mr1-dev 2012-09-19 19:56:59 -07:00
Tadashi G. Takaoka cce6f9ee1d Use normal font for Hindi keyboard
Bug: 6753168
Change-Id: I731a56bce70e1881e176392acfe977de28696063
2012-09-20 11:56:20 +09:00
Tadashi G. Takaoka 1a4aa7e307 Change to "Show language switch key" option
This change deprecates "Suppress language switch key".

Bug: 7037410
Change-Id: I1bc90877b4d2ee9364728959fd680dcb5b22ecbf
2012-09-20 11:33:40 +09:00
Tadashi G. Takaoka f1ee564897 Smaller gesture preview trail
Bug: 7195987
Change-Id: Ibcd4b7a00b4e89070c4dfad88bb39ac1f7e4bd9a
2012-09-20 10:47:54 +09:00
Brian Muramatsu 331a5e7d66 mako: adjust default keybpress vibration
Bug 7049944

mako's vibrator has been recalibrated so reduce this to 5.

Change-Id: Ia53df175f5389e5fd1dc198e4877c4a4e7301559
2012-09-19 14:40:30 -07:00
Satoshi Kataoka 01a5a7d061 Merge "Clear cache of user dic" into jb-mr1-dev 2012-09-19 04:15:19 -07:00
Satoshi Kataoka 17f7b406aa Clear cache of user dic
Change-Id: Iec2793de3fff7bf15f68f82a50331de7742b7049
2012-09-19 20:11:45 +09:00
Tadashi G. Takaoka c7dc673cf0 Use Path to draw gesture preview trail
This change also reduces the number of points to use as preview trail.

Bug: 7167303
Change-Id: I0cf4908efa44b17b42d4fddd6725238236ac2654
2012-09-19 19:29:06 +09:00
Tadashi G. Takaoka 567204a140 Merge "Show gesture floating preview text is off by default" into jb-mr1-dev 2012-09-19 03:00:40 -07:00
Tadashi G. Takaoka 4f8e451d0c Show gesture floating preview text is off by default
Bug: 7043127
Change-Id: Icabf080f43a5934fef3824919bb03229522d5e5a
2012-09-19 18:59:10 +09:00
Jean Chalard caf15c3c67 Merge "Fix a bug that would persist caps lock state" into jb-mr1-dev 2012-09-19 02:30:49 -07:00
Satoshi Kataoka 8eb2065289 Merge "Log for geometric input" into jb-mr1-dev 2012-09-19 02:22:03 -07:00
Jean Chalard ad0642cf25 Fix a bug that would persist caps lock state
...with regards to suggestions. It's much simpler to look at
whether the word is actually all capitalized or not.

Bug: 7113544
Change-Id: Idc0e77b2f812964e650ade0e32b9d4c09228cb74
2012-09-19 17:54:35 +09:00
Satoshi Kataoka 87cecf7db6 Log for geometric input
Change-Id: Ia0f0e38086b0be70cf2d04fc6fae48358f16e74f
2012-09-19 17:45:27 +09:00
Tadashi G. Takaoka a8dc30e6d7 Merge "Remove hack algorithm from GestureStroke" into jb-mr1-dev 2012-09-19 00:33:17 -07:00
Tadashi G. Takaoka f501e4dbd2 Remove hack algorithm from GestureStroke
Change-Id: Idd1c150677b989415e6fee4f543ff7639e98bed8
2012-09-19 16:13:08 +09:00
Yuichiro Hanada 65feee12e5 Make BinaryDictIOUtils.
Change-Id: I45830235ee738233e8eb2bd91d659705b698f58c
2012-09-19 15:37:37 +09:00
Yuichiro Hanada c2fdf0dfbf Make readNode read linked list nodes.
Change-Id: Ia5eaae0653179b2eb74c53b0823beaf80377a389
2012-09-19 14:49:23 +09:00
Sam Segers 8336d33a6c nl-rBE keyboard layout
Add keyboardstyle for the Dutch part of Belium and make it AZERTY (the french keyboard).
This is the default layout in Belguim but in the Netherlands (nl) they use QUERTY.
Strings and spelling checker are the same.

Change-Id: Icb2b2712e6580c0e642d5f0f70f8950449d3bfd4
Signed-off-by: Sam Segers <sam.sgrs@gmail.com>
2012-09-19 06:19:11 +02:00
Yuichiro Hanada a149c53c8e add limit to FusionDictionaryBufferInterface.
Change-Id: Ic9ff717a9751023d47b02ff3b9d1fbf3115c2501
2012-09-19 12:28:19 +09:00
Jean Chalard a0ebb28d15 Merge "Fix a bug with capitalizations (A15)" into jb-mr1-dev 2012-09-18 20:02:05 -07:00
Jean Chalard 3bf113f0ea Merge "Mark 2 resolved TODOS as such (A14)" into jb-mr1-dev 2012-09-18 20:01:31 -07:00
Jean Chalard c9923430ed Merge "Support the gesture + phantom space case (A13)" into jb-mr1-dev 2012-09-18 18:36:13 -07:00
Yuichiro Hanada b686df15fc Add a new flag for linked list nodes.
Change-Id: Ib2f194775cfe5ab05481ac95cd709d6e8e8dd3c6
2012-09-18 22:01:49 +09:00
Yuichiro Hanada bf45dc4860 Make writePlacedNode write the linked-list node.
Change-Id: I60feda815ea08cf73300fccca1ae12b97550f116
2012-09-18 21:20:07 +09:00
Yuichiro Hanada 061d225fb1 Add a new option to FormatOptions.
Change-Id: I8bf089bea5de46570a5e81fb1ea3ab22c07eeee1
2012-09-18 21:03:13 +09:00
Satoshi Kataoka e55785e682 New flag for the internal settings
Change-Id: I81e69a6cda833a0d2c59a73388321ed11e0bd5b3
2012-09-18 20:33:43 +09:00
Satoshi Kataoka 2040090b46 Merge "Log touch timing" into jb-mr1-dev 2012-09-18 04:32:52 -07:00
Satoshi Kataoka f8b35b9b04 Log touch timing
Change-Id: I45ce16c3194fac6da98486a986d23318347cad3a
2012-09-18 19:26:25 +09:00
Jean Chalard 75b3f81fe1 Fix 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
2012-09-18 18:52:05 +09:00
Jean Chalard e4783f95b2 Mark 2 resolved TODOS as such (A14)
Change-Id: Ifbb731f5c825675436d079db4ffbae657d71f8da
2012-09-18 18:49:17 +09:00
Jean Chalard d461bfd660 Support the gesture + phantom space case (A13)
Bug: 6950087
Change-Id: I198699f6e687ac74c35b9edfe469dce880d9ecaf
2012-09-18 18:48:49 +09:00
Jean Chalard 717d4938b5 Merge "Remove useless code (A12)" into jb-mr1-dev 2012-09-18 02:42:36 -07:00
Jean Chalard ed47131612 Merge "Fix a bug with surrogate characters" into jb-mr1-dev 2012-09-18 02:06:55 -07:00
Jean Chalard 6c721b5f68 Fix a bug with surrogate characters
This is a pretty bad bug :/

Bug: 7013840
Change-Id: I12c7cfa4fa9d56b2c1fee6e6222c64fe20b88fa3
2012-09-18 18:01:15 +09:00
Jean Chalard b128b1cdfe Merge "Take space state into account for caps (A11)" into jb-mr1-dev 2012-09-18 00:21:48 -07:00
Jean Chalard 5822323514 Remove 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
2012-09-18 16:16:33 +09:00
Jean Chalard 90a9127244 Take space state into account for caps (A11)
Bug: 6950087
Change-Id: I8a1bca24db64b4dd54db8ac74d90cf43cbdddab6
2012-09-18 16:16:28 +09:00
Yuichiro Hanada 8adc0154e6 Remove populateOptions(final ByteBuffer buffer).
Change-Id: Ifc4c64c9cffe4f343c5a604c192db010a1792acc
2012-09-18 14:42:52 +09:00
Yuichiro Hanada 65e4970026 Fix hackCanUseDictionaryFile.
Bug: 7169473

Change-Id: I575aaa350042af076a8da5756993cdae9e73422c
2012-09-18 14:19:38 +09:00
Jean Chalard 252da38fcd Take locale into account for caps (A10)
Bug: 4967874
Change-Id: Ic7ce7b2de088308fa00865c81246c84c605db1e5
2012-09-14 19:42:05 +09:00
Jean Chalard da8aca6002 Merge "Fix comment warnings (A9)" into jb-mr1-dev 2012-09-14 03:20:34 -07:00
Jean Chalard 32c8704c21 Merge "Remove an unused function (A8)" into jb-mr1-dev 2012-09-14 03:19:53 -07:00
Jean Chalard 5cb9b70a3a Merge "Fix abbreviations processing for English (A7)" into jb-mr1-dev 2012-09-14 03:14:21 -07:00
Jean Chalard a3f06baa57 Merge "Do not auto-correct upon starting a gesture." into jb-mr1-dev 2012-09-14 03:11:51 -07:00
Jean Chalard 6e65ff8001 Fix comment warnings (A9)
Thanks Eclipse

Change-Id: Ie2b83f1ec7ab38a76155f8c264e3944685ae934d
2012-09-14 19:01:37 +09:00
Jean Chalard 50e61b8628 Remove an unused function (A8)
Change-Id: I0578068946d32192c4faf14b3e86624b7301c7d9
2012-09-14 19:01:37 +09:00
Jean Chalard 2c0d916287 Fix abbreviations processing for English (A7)
It's still incorrect for non-English languages.

Bug: 4967874
Change-Id: I3d4379265f72e1c0435eba90ab878a80bbcf55ce
2012-09-14 19:01:25 +09:00
Jean Chalard b29efecd26 Merge "Fix a bug with open parens and some other chars" into jb-mr1-dev 2012-09-14 02:30:36 -07:00
Jean Chalard 7e4ad33a65 Fix 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
2012-09-14 18:23:35 +09:00
Jean Chalard e8db06fc02 Merge "Replace immediate values with named constants for characters (A6)" into jb-mr1-dev 2012-09-14 02:17:48 -07:00
Jean Chalard 371e7d702d Merge "Make the arrobase sign a space stripper." into jb-mr1-dev 2012-09-14 02:17:20 -07:00
Jean Chalard d806065033 Merge "Simplification again (A5)" into jb-mr1-dev 2012-09-14 02:17:01 -07:00
Tadashi G. Takaoka f035649cb6 Asynchronously look up dictionary for gesture input
Bug: 7149248
Change-Id: Icba2db73508b89a85828ae9e196ab618e5e6c280
2012-09-14 02:12:11 -07:00
Jean Chalard eda096538b Do 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
2012-09-14 17:52:54 +09:00
Jean Chalard 8d35b203ca Make 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
2012-09-14 17:31:46 +09:00
Jean Chalard 35dc8cf223 Replace immediate values with named constants for characters (A6)
Change-Id: I6248f9f3ff99003ab62be22eac673df0f7f5c015
2012-09-14 16:59:50 +09:00
Jean Chalard e94c276690 Simplification again (A5)
Change-Id: Id3ba200e06244e6d13cf57d346001d61f85ef1a2
2012-09-14 16:59:18 +09:00
Jean Chalard 6f8dfd92b1 Simplify the code some more (A4)
Change-Id: I1b1763ceefda6357dc698195928d0f16bc425830
2012-09-14 16:58:04 +09:00
Jean Chalard 33a226f897 Merge "Small simplification (A3)" into jb-mr1-dev 2012-09-13 19:53:14 -07:00
Tadashi G. Takaoka c869a224a4 Merge "Don't show gesture preview trail while detecting gesture input" into jb-mr1-dev 2012-09-13 19:30:00 -07:00
Tadashi G. Takaoka 9c5d165e9c Don't show gesture preview trail while detecting gesture input
Bug: 7166222
Change-Id: Iecc8403a4eca305323ed8c8e17266d23172d84d9
2012-09-14 11:21:12 +09:00
Yuichiro Hanada cc958dd96e Refactor BinaryDictInputOutput.
Change-Id: Idb4b635fcac70cc988e0dd3ce3bf121fba12099c
2012-09-14 11:08:01 +09:00
Jean Chalard 5fbe3764ae Small simplification (A3)
Change-Id: I2ea9566ce5cb1fbccd33a42836244a899365de6a
2012-09-13 20:13:52 +09:00
Jean Chalard d7fdc730c3 Merge "Simplify a call, and add comments (A2)" into jb-mr1-dev 2012-09-13 03:38:50 -07:00
Tadashi G. Takaoka 50f0388ee6 Merge "Fix gesture floating preview on up event" into jb-mr1-dev 2012-09-13 03:21:12 -07:00
Tadashi G. Takaoka 350fab6dc4 Fix gesture floating preview on up event
This is a follow up of Iddb26ba1.

Bug: 7119032
Change-Id: Ibbc94a1a4880ca31bd8aeece89893691b14acc4d
2012-09-13 19:07:09 +09:00
Jean Chalard 3d54e1c1ec Simplify 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
2012-09-13 18:59:04 +09:00
Jean Chalard 2427f578c8 Merge "Import TextUtils.getCapsMode to fix it internally (A1)" into jb-mr1-dev 2012-09-13 02:57:35 -07:00
Tadashi G. Takaoka 737e915093 Merge "Show gesture floating preview text at oldest finger" into jb-mr1-dev 2012-09-13 02:32:53 -07:00
Jean Chalard 378728920b Merge "Make onUpdateSelection much more resilient to race conditions." into jb-mr1-dev 2012-09-13 02:28:52 -07:00
Tadashi G. Takaoka f0e83046f0 Show gesture floating preview text at oldest finger
Bug: 7119032
Change-Id: Iddb26ba1a595e472fde0982d744b5652d5fbda3e
2012-09-13 18:17:15 +09:00
Jean Chalard 9d1c73ffd8 Import 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
2012-09-13 17:46:39 +09:00
Jean Chalard 5ed88457bf Make 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
2012-09-13 17:35:26 +09:00
Tadashi G. Takaoka 71fcf0f5ec Assign subtypes' hashCode value as its subtypeId
Bug: 6752230
Change-Id: I311b840c890f4c6ff89c2808237d7e9b8baef21d
2012-09-13 16:56:59 +09:00
Tadashi G. Takaoka 9144eecd8e Merge "Add boolean resource isDefault=true for all supported locales" into jb-mr1-dev 2012-09-13 00:43:18 -07:00
Ken Wakasa 328755eee2 Merge "Move FormatOptions and FileHeader to FormatSpec." into jb-mr1-dev 2012-09-13 00:38:44 -07:00
Yuichiro Hanada 1a347723c5 Move FormatOptions and FileHeader to FormatSpec.
Change-Id: I232e35598635113bf2c81825669c744aadc79efe
2012-09-13 16:35:41 +09:00
Tadashi G. Takaoka 82902e7671 Add boolean resource isDefault=true for all supported locales
Bug: 7115368
Change-Id: I390d52d10d6c7d1639f73255ace9985886ea2157
2012-09-13 15:56:35 +09:00
Tadashi G. Takaoka 9deb52c996 Merge "Cosmetic change to remove trailing space" into jb-mr1-dev 2012-09-12 23:44:22 -07:00
Tadashi G. Takaoka c54614d9f3 Cosmetic change to remove trailing space
Change-Id: If8c00c763f815d5eb97e18b19060c63d321ccd61
2012-09-13 15:21:54 +09:00
Yuichiro Hanada 81d97eec0e Move constants and comments.
Change-Id: Ifd66bda7d528827ba61c60531121ea206a2325be
2012-09-13 14:28:39 +09:00
Jean Chalard 18fc3bf4c4 Merge "Make Latin IME aware of its surrounding text." into jb-mr1-dev 2012-09-12 02:07:48 -07:00
Tadashi G. Takaoka 57e9511113 Merge "Use offscreen bitmap buffer to draw gesture preview trail" into jb-mr1-dev 2012-09-12 02:01:46 -07:00
Jean Chalard 28d765ed90 Make Latin IME aware of its surrounding text.
This is a preparatory change for
Bug: 4967874
Bug: 6617760
Bug: 6950087

Change-Id: I3abf8e45c0d02c42491421f108370220134b9602
2012-09-12 17:54:16 +09:00
Tadashi G. Takaoka 9ad4b2a894 Use offscreen bitmap buffer to draw gesture preview trail
Bug: 7042741
Change-Id: Ie3d7054e786938dc501c7aa2ffc96b5924a7967b
2012-09-12 17:47:17 +09:00
Yuichiro Hanada 8d031a63b4 Add put method to FusionDictionaryBufferInterface.
Change-Id: Iac0b35d2da05e81237d105e8fe13c56d16038de1
2012-09-12 15:41:21 +09:00
Tadashi G. Takaoka 64c65ce6d7 Add missing MoreKeySpec.hashCode
Bug: 7149235
Change-Id: I14ba1017dffccc690e24289052a3ad7265a5f5f7
2012-09-12 11:52:44 +09:00
Charles Chen 655be140a0 Merge "When Accessibility is on, intercept touch events during dispatch." into jb-mr1-dev 2012-09-11 13:31:30 -07:00
Ken Wakasa e30c4e0bb1 Stabilize gesture recognition algorithm that looks for the nearest key.
It relies on the order of the key array.

Change-Id: I58fa71a7b330e59cd774fc208e5b6bc1a3decd2e
2012-09-11 20:00:21 +09:00
Jean Chalard 8c06a468e0 Stop auto-correcting non-whitelisted one-char strings
Bug: 7134017
Change-Id: I75cf474dedafda3e1683dd8f7740c13aafdcf5ab
2012-09-11 17:24:08 +09:00
alanv dc2ee77724 When Accessibility is on, intercept touch events during dispatch.
This allows Accessibility code to safely inject events into
onTouchEvent() without accidentally intercepting them.

Bug: 7137557
Change-Id: Ie4fa8e3be5b1bb84f57c6254feab1129cb89998f
2012-09-10 15:47:24 -07:00
Yuichiro Hanada e55b644aef Add new binary dictionary format.
Change-Id: Ia99411d4009857d5e420ca87ef8acf1f1826d3ed
2012-09-10 13:05:46 +09:00
Ken Wakasa 60af4f03a8 Fix dicttool_aosp build
Change-Id: Iabcf420b4120e3d275fdbcb23939a0ab6052ddf0
2012-09-10 12:56:10 +09:00
Yuichiro Hanada eae7b293e4 Check the length of the word when add to FusionDictionary.
Change-Id: Id98d18e90a8b83b597507728b467f56888c8fd12
2012-09-10 12:35:53 +09:00
Tadashi G. Takaoka f117f77766 Fix bimanual gesture preview trail
Bug: 7122288
Change-Id: I9f0aabe08628880a8439bfda98844ae60206b8de
2012-09-07 17:20:07 +09:00
Ken Wakasa 3069e22610 Merge "Add tests for readDictionaryBinary with byte array." into jb-mr1-dev 2012-09-06 04:40:41 -07:00
Yuichiro Hanada be5db53a09 Add tests for readDictionaryBinary with byte array.
Change-Id: I2c2815e9d4867687fb3f5b0c661e6162b88c0a0c
2012-09-06 20:35:33 +09:00
Tadashi G. Takaoka c1780c16a7 Revise gesture preview trail design
Bug: 7042741
Change-Id: I99e3b3a6fc52afaee3cc5daf371131c3afebb3ae
2012-09-06 20:09:12 +09:00
Tadashi G. Takaoka 15496ec4d7 Merge "Revise gesture floating preview design" into jb-mr1-dev 2012-09-05 20:35:40 -07:00
Tadashi G. Takaoka 71e2e8152f Revise gesture floating preview design
Bug: 7043127
Change-Id: Ibf9a6d57279263d9b60753e0eb734b658eeda9f2
2012-09-06 12:29:57 +09:00
Ken Wakasa aa7cc7beed Merge "Cosmetic cleanup" into jb-mr1-dev 2012-09-05 19:07:45 -07:00
Kurt Partridge 6fbb8ed253 Merge "add logging code" into jb-mr1-dev 2012-09-05 18:46:26 -07:00
Kurt Partridge 1093952cbb Merge "ResearchLogging do not even show basic data for password fields" into jb-mr1-dev 2012-09-05 11:53:07 -07:00
Kurt Partridge 625cfe3d21 Merge "ResearchLog uploadingService now waits for logging to finish" into jb-mr1-dev 2012-09-05 10:39:03 -07:00
Ken Wakasa d3a9b70307 Cosmetic cleanup
Change-Id: I5e95440019f58c606ac2e947c6e0cbd4d51f6522
2012-09-06 01:13:12 +09:00
Tadashi G. Takaoka e8c6d5a480 Utilize StateListDrawable for key preview background
Change-Id: I268550a185701caecefc27ebaec40fb2c940d883
2012-09-05 20:38:00 +09:00
Yuichiro Hanada 83dfe0fd8c Add FormatOptions.
Change-Id: Ibad05a5f9143de1156b2c897593ec89b0a0b07e7
2012-09-05 18:05:43 +09:00
Kurt Partridge fe05b88134 add logging code
Change-Id: I0abb4a1ad67666162ab6703ffdb33c5e0675be93
2012-09-04 15:24:25 -07:00
Kurt Partridge 596911479c ResearchLogging do not even show basic data for password fields
Change-Id: I5489bad95f238e2f4d43bdd65bcf2f752d7a63fe
2012-09-04 15:24:25 -07:00
Kurt Partridge 17114054e9 ResearchLog uploadingService now waits for logging to finish
Bug: 6188932
Change-Id: I31c0f380b334d9117990f2d92de8d385e4a52c7c
2012-09-04 15:24:25 -07:00
Jean Chalard ac25fcac71 Display punctuation suggestions on cursor move
...if punctuation suggestions are requested.

Fixes the symptom, but not the root cause of
Bug: 6981089

Change-Id: I683a7451c99457829cb4e5a762f43548ff89a535
2012-09-04 19:54:55 +09:00
Ken Wakasa 2e4713a54e Merge "Check the length of the word when add to userhistory." into jb-mr1-dev 2012-09-04 02:36:35 -07:00
Tadashi G. Takaoka 848331222e Use string-array resource to define predefined-subtypes
Bug: 6809603
Change-Id: Icafe4652ec17844838b28c04977deb88bcb9aa8f
2012-09-04 17:18:39 +09:00
Tadashi G. Takaoka 147a62a8a8 Merge "Reduce amount of empty space in which keypresses are detected" into jb-mr1-dev 2012-09-04 00:55:25 -07:00
Tadashi G. Takaoka 3f00c6151f Reduce amount of empty space in which keypresses are detected
Bug: 6942329
Change-Id: Ie92ccf43f307b8ceb9a311c30390d0cb2abf2cd7
2012-09-04 16:11:21 +09:00
Yuichiro Hanada dd435b305e Check the length of the word when add to userhistory.
Change-Id: I7f2fe1771eed6b610704892b24f8a0283a779162
2012-09-04 15:34:41 +09:00
Ken Wakasa d34dd5bb6b Merge "Cosmetic fixes and a bug fix in UnigramDictionary::testCharGroupForContinuedLikeness()." into jb-mr1-dev 2012-09-03 22:26:42 -07:00
Ken Wakasa f2789819bd Cosmetic fixes and a bug fix in UnigramDictionary::testCharGroupForContinuedLikeness().
This change has actually been extracted from a change work in progress I4fe423834b8131fb122251892c98228a6e08ba25

Change-Id: I52568fa09da2ea22be7f8bfe9676b7cd73c31fa4
2012-09-04 14:23:37 +09:00
Tadashi G. Takaoka 2c0c1cc677 Merge "Fix key info reported by keyboard accessibility node provider." into jb-mr1-dev 2012-09-03 18:34:55 -07:00
Tadashi G. Takaoka eceea877bd Consolidate Esperanto layout into Spanish layout
This change also removes AsciiCapable extra value from Esperanto
subtype.

Change-Id: I0fa18ef7c52e4ba24b182e8ecb9788572660b704
2012-09-03 17:38:56 +09:00
Tadashi G. Takaoka ab5f9532db Use 5-row layout for Thai phone keybopard
Bug: 6911182
Change-Id: I78f59564e8c31b9b66ed9a136584d0c57cc43120
2012-09-03 14:15:48 +09:00
Tadashi G. Takaoka 8624a0a186 Use normal font for Thai
This change also adds workaround to display Thai composing letters
correctly.

Bug: 6753168
Change-Id: Ibd42ebb40df08b5de32b3500f10003c4a5de4897
2012-09-03 14:05:10 +09:00
Jean Chalard 8251036616 Match calls in I8a70e43b for Icbe60bdf
Change-Id: I3a9eaaa018cd338ca8d9aa09c0fa58800b637e19
2012-09-03 11:58:23 +09:00
Jean Chalard 2035b946a3 Merge "Reinstate the shortcut-only attribute" into jb-mr1-dev 2012-09-02 19:28:01 -07:00
Jean-Baptiste Queru 27c093fc5e am 70fb1d1a: am f0adce8a: Merge "Esperanto keyboard"
* commit '70fb1d1a690f3f16e4bbb19ffea349af1402cb1f':
  Esperanto keyboard
2012-08-31 07:08:55 -07:00
Jean-Baptiste Queru 70fb1d1a69 am f0adce8a: Merge "Esperanto keyboard"
* commit 'f0adce8a491f1f1970354eef7e6fd078b237684c':
  Esperanto keyboard
2012-08-31 07:04:00 -07:00
Jean Chalard 72b1c93941 Reinstate the shortcut-only attribute
Also add the blacklist attribute

Bug: 7005742
Bug: 2704000
Change-Id: Icbe60bdf25bfb098d9e3f20870be30d6aef07c9d
2012-08-31 22:11:52 +09:00
Tadashi G. Takaoka a643b54b4d Add missing KeyDrawParams default constructor to fix build
Change-Id: Id2ae9e4085b4137c961b5202e0822d484dd71e8e
2012-08-31 20:28:46 +09:00
Tadashi G. Takaoka aa54607246 Merge "Support per-Key and per-Keyboard key visual attributes" into jb-mr1-dev 2012-08-31 04:24:48 -07:00
Tadashi G. Takaoka dc34da218a Support per-Key and per-Keyboard key visual attributes
This change refactors KeyDrawParams and KeyPreviewDrawParams to
separate KeyVisualAttributes.

Change-Id: I4de549eef303e1debe4b8f84668e042445fc18da
2012-08-31 20:23:21 +09:00
Tadashi G. Takaoka 67d0a597bc Merge "Use resource to specify 5-rows keyboard parameters" into jb-mr1-dev 2012-08-31 04:06:35 -07:00
Tadashi G. Takaoka 74b89db8a4 Merge "Fix key label padding" into jb-mr1-dev 2012-08-31 03:58:21 -07:00
Tadashi G. Takaoka 36b5f4aae2 Fix key label padding
Change-Id: I971dd17afdaf1ce6e64e3c41bdb42a6ba3f6fd0e
2012-08-31 19:57:25 +09:00
Tadashi G. Takaoka 518838b778 Use resource to specify 5-rows keyboard parameters
Change-Id: I67b290c4600dee43a81ba975ffc93a32a6d060b4
2012-08-31 19:14:33 +09:00
Tadashi G. Takaoka 9d05f36b77 Use normal font for Arabic and Farsi
Bug: 6753168
Change-Id: Iaef85847cf9f6c432c6ca25e7e6ec522c084d073
2012-08-31 18:56:50 +09:00
Yuichiro Hanada 666a433802 add UserHistoryDictIOUtils.
Change-Id: I8a70e43b23f65b5fd5f0ee0b30a94ad8f5ef8a8a
2012-08-31 15:08:57 +09:00
Kurt Partridge 9bbc7ec052 Merge changes Ifb983c35,I0b947421 into jb-mr1-dev
* changes:
  ResearchLogger clean up splash screen
  ResearchLogger no longer offers option to disable logging
2012-08-30 22:56:53 -07:00
Ken Wakasa 48643b08a9 Merge "add readUnigramsAndBigramsBinary." into jb-mr1-dev 2012-08-30 22:55:12 -07:00
Kurt Partridge 25405eafb0 ResearchLogger clean up splash screen
- simpler text
- AlertDialog implementation
- declining users are redirected to regular IME

Bug: 6188932
Change-Id: Ifb983c3511125f8919f4a8b25aeee7de66dbb0cb
2012-08-30 22:52:00 -07:00
Kurt Partridge 58eb4d9f27 ResearchLogger no longer offers option to disable logging
Bug: 6188932
Change-Id: I0b9474216080f3820438c09f89b0b6c6c102c69d
2012-08-30 22:51:56 -07:00
Yuichiro Hanada b2a43a2ed4 add readUnigramsAndBigramsBinary.
Change-Id: I7967f11211221d4877bf0a0c30183af885f45390
2012-08-31 14:39:19 +09:00
Tadashi G. Takaoka 71b52a84e2 Move key label padding attributes back to KeyboardView
This is a partially reverting change of I1e2d59bf8c438ca653e2e415ccf66fd4f15d5394

Change-Id: Id213541cdddcc0761bf6418c8429a5f96c0281ef
2012-08-31 10:35:54 +09:00
Tadashi G. Takaoka 49d8af8a4e Separate inner classes of KeyboardView out under internal package
Change-Id: I6d53b53526bbab951044a026476bd88a9ebd5a90
2012-08-30 16:23:01 +09:00
Tadashi G. Takaoka 749cc18751 Move some key top visual attributes from KeyboardView to Key
Change-Id: I1e2d59bf8c438ca653e2e415ccf66fd4f15d5394
2012-08-30 16:14:32 +09:00
Jacob Nordfalk 3ed057a058 Esperanto keyboard
Universal esperanto keyboard. Has letters for all latin scripts, as users
will often need to type something in both Esperanto and other languages
(for example their country's).

Signed-off-by: Jacob Nordfalk <jacob.nordfalk@gmail.com>
Change-Id: Ia8a739fa31a60e118d42ae9e8c62ddfd66e2ca35
2012-08-30 08:48:19 +02:00
Tadashi G. Takaoka 35ff94547c Separate inner classes of keyboard package out under internal package
Change-Id: Ia3969bd5ddec5aa5d81d05ad4cf676d818587922
2012-08-30 15:37:55 +09:00
Jean Chalard ded498d4a4 Merge "add readHeader." into jb-mr1-dev 2012-08-29 22:32:14 -07:00
Yuichiro Hanada 62ed901100 add readHeader.
Change-Id: I5be5d62a63ca897e36fe93200ffdca6befb363aa
2012-08-30 14:17:50 +09:00
Tadashi G. Takaoka 29d5973fd3 Optimize rare Key attributes to separate class
This change also removes per-Key verticalGap and horizontalGap.

Change-Id: Id4d2129022fbbfbf5d740b8d1257032c945bb775
2012-08-30 11:48:19 +09:00
Tadashi G. Takaoka 61bc66b324 Revert "Revert "Fix key letter size of 5-rows Thai keyboard""
This reverts commit 7a5ca9982f.
Depends: Ia4fa5046b3106e2710b9d5df1a6cc5f2cf995ec7

Change-Id: I0b9d0125380efe898943dc26ae884378145c44a3
2012-08-30 11:30:13 +09:00
Tadashi G. Takaoka b590d69e1f Merge "Revert "Revert "Move resource related methods to ResourceUtils""" into jb-mr1-dev 2012-08-29 19:29:37 -07:00
Ken Wakasa d2a81ab9bd Merge "Add FusionDictionaryBufferInterface." into jb-mr1-dev 2012-08-29 18:49:03 -07:00
Jason Chen 85cb45c80f Merge "Add defaults for manta" into jb-mr1-dev 2012-08-29 15:40:41 -07:00
alanv 26b424b644 Fix key info reported by keyboard accessibility node provider.
Bug: 6704529
Change-Id: I519881a96767a8858c11da7c0abac3e276a45cf5
2012-08-29 13:07:37 -07:00
Jason Chen 3b54385d61 Add defaults for manta
Change-Id: I8784a126b02e3e6618ac845a32a894ceb58ea39e
2012-08-29 09:10:26 -07:00
Tadashi G. Takaoka 92821614fd Revert "Revert "Move resource related methods to ResourceUtils""
This reverts commit bfc02a7005.

Change-Id: Ife4c0312ea3260211b1b5ee39b239e8e9d7db67e
Depends: I3d862515568be36d5aa80d12e7e5c0a9bf4d06a6
2012-08-29 22:30:55 +09:00
Ken Wakasa bfc02a7005 Revert "Move resource related methods to ResourceUtils"
This reverts commit 160dc0f98e

Change-Id: Ic5a3d9c70b8f6f2993d8455799945ec2633cad66
2012-08-29 04:33:39 -07:00
Yuichiro Hanada f5c4ff4817 Add FusionDictionaryBufferInterface.
Change-Id: I8640c994231d5f46bc6e074ce8a5bf5344fed0aa
2012-08-29 19:27:49 +09:00
Tadashi G. Takaoka 160dc0f98e Move resource related methods to ResourceUtils
Change-Id: I14535b030e58363315dd2daecaaef4edd6990cd9
2012-08-29 17:51:07 +09:00
Tadashi G. Takaoka f7a83d5584 Merge "Use non-bold text for Arabic and Thai keyboard" into jb-mr1-dev 2012-08-29 01:39:48 -07:00
Tadashi G. Takaoka 1e11c44d1b Make utility classes final
Change-Id: Ic4f69b4c8da33c9fca50d6829724179310c2f875
2012-08-29 17:38:08 +09:00
Tadashi G. Takaoka d20652c878 Use non-bold text for Arabic and Thai keyboard
The key text style can be specified in each keyboard layout in
addition to by KeyboardView theme.

Bug: 6753168
Change-Id: I4b5abda9322600eb8c6421f20ceef136ef103c05
2012-08-29 17:33:44 +09:00
Jean Chalard 4fa01ee570 Merge "Allow Latin IME to cancel smiley-auto-correct consistenly" into jb-mr1-dev 2012-08-29 01:18:15 -07:00
Jean Chalard a05a0f2077 Allow Latin IME to cancel smiley-auto-correct consistenly
This change makes Latin IME behave consistently with regards
to other auto-correction cancellations in cases of auto-correction
cancellation after smiley-triggered auto-correction. That is,
pressing the smiley key when the keyboard signals it's about to
auto-correct will get the auto-correction there plus a smiley,
and pressing backspace will cancel the auto-correction, and
pressing backspace again will delete the smiley.

Bug: 7067593
Change-Id: Ia7eef70a5d06b8b9afa1f1fbb0ed1dbc21a3059f
2012-08-29 16:49:39 +09:00
Tadashi G. Takaoka 9879f65651 Add ResourceUtils
Change-Id: Ia198f8d95eae8c007623cd52d73cc1528d22fee9
2012-08-29 16:36:00 +09:00
Tadashi G. Takaoka 95c486cdf3 Merge "Move some methods from Utils to LocaleUtils class" into jb-mr1-dev 2012-08-29 00:35:27 -07:00
Tadashi G. Takaoka 0023a57eea Move some methods from Utils to LocaleUtils class
Change-Id: I4a834549c2ea96ac30d7e2cb692d69af219cab1a
2012-08-29 16:24:53 +09:00
Tadashi G. Takaoka 237f5e4f9b Remove unused methods from Utils class
Change-Id: I209b75f1cca381610f25cd219f35ea62b9762be2
2012-08-29 16:10:16 +09:00
Charles Chen 78527e4dbb Merge "Adjust accessibility edge slop." into jb-mr1-dev 2012-08-28 10:28:55 -07:00
Tadashi G. Takaoka 263caae3c9 Merge "Support bimanual gesture input" into jb-mr1-dev 2012-08-28 02:30:22 -07:00
Tadashi G. Takaoka 6c3304ea96 Support bimanual gesture input
Change-Id: Id86dc93fb7115ab4a6d05b3c05652df35ad08c12
2012-08-28 18:26:07 +09:00
Jean Chalard 43d3f0fa3b Merge "Auto-correct after smileys and gestures." into jb-mr1-dev 2012-08-28 01:59:20 -07:00
Tadashi G. Takaoka 9fa0736d6a Consolidate KeyboardView.keyLetterSize and keyLetterRatio
This change also consolidates keyboardView.keyLabelSize and
keyLabelRatio.

Change-Id: I4a45bcb6e7fc104ae4a9ae3ecdae9842d813840e
2012-08-28 16:04:59 +09:00
Tadashi G. Takaoka ef2bfad590 Use TypedArray.getFraction to read percentile values in resource
Change-Id: Ifc8b024d190efba4cd536fd639621e841eb9970e
2012-08-28 15:18:40 +09:00
alanv e76a9b36ca Adjust accessibility edge slop.
Bug: 6969558
Change-Id: Ie33f444e085e5c01326bdf9396eabee5c04ee81e
2012-08-27 18:05:21 -07:00
Jean Chalard 6c70b92003 Auto-correct after smileys and gestures.
Bug: 6936790
Bug: 6965241
Change-Id: I1f61327eb5591960c280e425df9cd86b9c52f5d6
2012-08-27 18:54:05 +09:00
Tadashi G. Takaoka 1c2f332239 Optimize gesture preview trail drawing a bit
This change also change the fading out duration of the gesture
preview trail to 800msec from 1,000msec

Change-Id: Icfd5b1ecad66db4f978249486f5fe362a3ae9640
2012-08-27 14:43:39 +09:00
Brian Muramatsu 43da9ce041 Add mako keypress vibration and volume settings
This prevents -1 and -1000 from appearing as the defaults in
Advanced Settings.

Change-Id: I42938782077a0a3dfb5ec2125c0266b6712bcf63
2012-08-24 18:08:05 -07:00
Tadashi G. Takaoka 5e3b93542d Fix the bug that the first gesture preview trail isn't drawn
Change-Id: Ib3acd7c0b401e6d95b39552b48d0d974793eb438
2012-08-24 17:48:23 +09:00
Tadashi G. Takaoka a1a669a121 Merge "Add multiple gesture preview trails animation" into jb-mr1-dev 2012-08-24 01:05:21 -07:00
Tadashi G. Takaoka 333a300586 Add multiple gesture preview trails animation
Change-Id: I533e6de9b138317472565be82c8ba5e422472888
2012-08-24 17:04:20 +09:00
Jean Chalard 5cc596160a Merge "Use ByteBuffer when reading FusionDictionary from file." into jb-mr1-dev 2012-08-23 21:56:02 -07:00
Yuichiro Hanada d4fe7fda30 Use ByteBuffer when reading FusionDictionary from file.
Change-Id: Ia71561648e17f846d277c22309ac37c21c67a537
2012-08-24 13:31:08 +09:00
Tadashi G. Takaoka 64a26b4389 Fix bug in InputPointers.append
Change-Id: I39825757bbae32b66c4b61cb6c4fbcaa2e0c9c47
2012-08-23 17:59:08 +09:00
Tadashi G. Takaoka 64ee096100 Add toString method to InputPointers and ResizableIntArray
Change-Id: I835ee131855bef8233cf2672e2fb288b939148a6
2012-08-23 17:29:36 +09:00
Tadashi G. Takaoka 922a85734d Merge "Remeve the reference of MainKeyboardView from PointerTracker" into jb-mr1-dev 2012-08-23 00:26:30 -07:00
Tadashi G. Takaoka 5509798977 Remeve the reference of MainKeyboardView from PointerTracker
This change also consolidates MainKeyboardView.KeyTimerParams with
KeyTimerHandler.

Change-Id: Ifc70ca81fa7d7daded4c2204fcdffdf942c16bc5
2012-08-23 16:22:13 +09:00
Tadashi G. Takaoka b28139f51b Use PointerTrackerQueue.size instead of MotionEvent.getPointerCount
Change-Id: I089e905def0b70bd38fd54ab2d84689b904bb320
2012-08-23 15:54:00 +09:00
Tadashi G. Takaoka 694ccb5ba1 Cosmetic change to PointerTracker
* Add final to parameters and locals
* Add curly bracket around single statement if-block

Change-Id: I9f3b23f7145e6b1d6ef806d991ed71ebc63311ff
2012-08-23 15:14:46 +09:00
Kurt Partridge b5ace11a2e ResearchLogging upload via service
Upload using an intent service rather than just a thread.  More robust in case the keyboard
is closed and the upload hasn't finished yet.

multi-project commit with Id515c2b1b0d6f85be50f92a661a2d32ebaeaa143

Bug: 6188932
Change-Id: I64a9fab92ff89ee09df877db4e5f7f0ec0ffb3b6
2012-08-22 11:27:46 -07:00
Kurt Partridge fa0bac9057 ResearchLogging log when preferences change
Bug: 6188932
Change-Id: I82a115aed30d7693f92d784a32b038996d8b71e3
2012-08-22 11:27:45 -07:00
Kurt Partridge d573bad5bd Merge "ResearchLogging capture full n-gram data" into jb-mr1-dev 2012-08-22 10:41:10 -07:00
Tadashi G. Takaoka 50e7501722 Merge "Fix SubtypeSwitcher initialization path" into jb-mr1-dev 2012-08-22 01:02:04 -07:00
Tadashi G. Takaoka dde36ef343 Remove TextView reference from PointerTracker
Change-Id: If8e65c08ec97f6d57932c9e3412d6fe17b0994ea
2012-08-22 16:13:29 +09:00
Tadashi G. Takaoka 9fc6af325e Fix SubtypeSwitcher initialization path
This change also removes the reference of LatinIME from
SubtypeSwitcher.

Bug: 7026856
Change-Id: I78a266f3682b11f09b49bbcdcdb6aee713e6af37
2012-08-22 16:05:34 +09:00
Kurt Partridge bf653996ea ResearchLogging capture full n-gram data
- Captures complete motion data for all words in an n-gram.
- Also filters n-grams properly; if any word in the n-gram is not
  in the dictionary, it is not included.
- Simplify ResearchLog to not require explicit state
- Added LogBuffer class MainLogBuffer class to allow n-gram-level decisions
  about privacy.
- Moved LogUnit out from ResearchLogger

multi-project change with Ic70ccb6c2e11eb02d887821434b44daa3eb7a3e2

Bug: 6188932
Change-Id: I731d6cff6539e997874f723b68bdb0d9b651b937
2012-08-21 22:37:33 -07:00
Tadashi G. Takaoka ecfbf4625c Add static construct method for SparseArray
Change-Id: I6da97f6ea23578318f403bb5d64c30b1663c69ee
2012-08-22 14:22:20 +09:00
Tadashi G. Takaoka 1f05cf6dab Remove GCUtils utility class
Change-Id: Ia666aeb10c155d69763faf7f01ceca113b9b4653
2012-08-22 12:34:22 +09:00
Tadashi G. Takaoka f852891437 Merge "Remove KeyboardSwitcher reference from ResearchLogger" into jb-mr1-dev 2012-08-21 20:22:57 -07:00
Jean Chalard 07d485d705 Merge "Fix a silly bug." into jb-mr1-dev 2012-08-21 20:16:28 -07:00
Tadashi G. Takaoka c3f78c9057 Remove KeyboardSwitcher reference from ResearchLogger
Change-Id: I671a83c19977fda358c8e8a730e22ee155f65512
2012-08-22 12:14:52 +09:00
Tadashi G. Takaoka eb59a87a07 Merge "Add CollectionUtils class to create generic collection easily" into jb-mr1-dev 2012-08-21 20:13:24 -07:00
Jean Chalard 32f6503a27 Fix a silly bug.
This would prevent user history to work at all.

Bug: 7023638
Change-Id: I5d8867a07fb8859325d274e956ae667c094d0ac1
2012-08-22 12:09:24 +09:00
Kurt Partridge 56a0fdb346 Merge "ResearchLogger to track simple statistics" into jb-mr1-dev 2012-08-21 20:08:13 -07:00
Tadashi G. Takaoka 5f282ea9e4 Add CollectionUtils class to create generic collection easily
Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
2012-08-22 10:21:38 +09:00
Kurt Partridge 06cb405713 Merge "ResearchLogger log RichInputConnection" into jb-mr1-dev 2012-08-21 18:18:52 -07:00
Kurt Partridge 0a30688080 ResearchLogger to track simple statistics
Bug: 6188932
Change-Id: Ie1bb7322706c2d4a56f5e17044bc746e9df1cf18
2012-08-21 17:13:49 -07:00
Kurt Partridge 94e7f4bef9 ResearchLogger log RichInputConnection
Move many ResearchLogger data collection points to RichInputConnection.
By collecting data here, developers do not have to remember to keep the
ResearchLog consistent with calls to the RichInputConnection.

In addition, some unnecessary log points were removed, and the ResearchLogger
is now independent of LatinImeLogger.

multi-project change with I05496cfd762e9a41c42c50099143f1efc0a3d8a2

Bug: 6188932
Change-Id: I424abb2e437901262a9620255493916b7c3ff74b
2012-08-21 17:13:36 -07:00
Kurt Partridge 9535bec085 Merge "Revert "ResearchLogger log RichInputConnection"" into jb-mr1-dev 2012-08-21 17:07:16 -07:00
Kurt Partridge 97d3dd5828 Revert "ResearchLogger log RichInputConnection"
This reverts commit d0c41e0c68

Change-Id: I5fd8a67a9fdadb7e6532cafecd00c8f33a00ec72
2012-08-21 17:06:57 -07:00
Kurt Partridge 4ae2cb361a Merge "ResearchLogger log RichInputConnection" into jb-mr1-dev 2012-08-21 16:29:21 -07:00
Kurt Partridge d0c41e0c68 ResearchLogger log RichInputConnection
Move many ResearchLogger data collection points to RichInputConnection.
By collecting data here, developers do not have to remember to keep the
ResearchLog consistent with calls to the RichInputConnection.

In addition, some unnecessary log points were removed, and the ResearchLogger
is now independent of LatinImeLogger.

multi-project change with Ifbabefc008d32d99f89e8289e504188e7232ebd4

Bug: 6188932
Change-Id: I4a42d963ba952e703d425acd3a9871d5fca1f03a
2012-08-21 15:16:34 -07:00
Baligh Uddin c8d7a68503 Import translations. DO NOT MERGE
Change-Id: Id2d245dd2623e5a23871d389aa600b367cbbfe77
Auto-generated-cl: translation import
2012-08-21 12:28:51 -07:00
Jean Chalard 8b6b5592cb Merge "Treat all caps for gesture input." into jb-mr1-dev 2012-08-21 04:39:04 -07:00
Jean Chalard 324cc1dbe6 Merge "Tell the shift mode to the word composer." into jb-mr1-dev 2012-08-21 04:38:27 -07:00
Jean Chalard 1eba97d92f Treat all caps for gesture input.
Bug: 6950087
Change-Id: I9f2271780600572c9befa96c7ad98494c554dd2b
2012-08-21 20:29:53 +09:00
Jean Chalard adbd9ae105 Tell the shift mode to the word composer.
Bug: 6950087
Change-Id: Ifab9d6d075af398c6468d081216488712f8a53fb
2012-08-21 20:27:42 +09:00
Tadashi G. Takaoka ac78633be2 Rename and consolidate some constants
Change-Id: I7863936cca18b28bf0117afcbcf544a5fd7f185d
2012-08-21 17:54:53 +09:00
Tadashi G. Takaoka 18f69b02ef Merge "Fix NPE" into jb-mr1-dev 2012-08-21 01:37:19 -07:00
Tadashi G. Takaoka 6785b90727 Remove touch coordinate from pickSuggestionManually
Change-Id: I33b1b4bc6fdfd263c4b2bb7125c07b4bddcf3c9f
2012-08-21 17:13:45 +09:00
Tadashi G. Takaoka 8d0cf41f49 Fix NPE
Bug: 7017430
Change-Id: Ie46f02a934763c3b6d65d0d62a8239d80eaefabd
2012-08-21 16:56:45 +09:00
Kurt Partridge 48643b0e0d Merge "Revert "ResearchLogger log RichInputConnection"" into jb-mr1-dev 2012-08-20 10:18:40 -07:00
Kurt Partridge e15e6c2c27 Merge "Revert "ResearchLogger to track simple statistics"" into jb-mr1-dev 2012-08-20 10:18:30 -07:00
Kurt Partridge adb591e75b Merge "Revert "ResearchLogging capture full n-gram data"" into jb-mr1-dev 2012-08-20 10:18:30 -07:00
Kurt Partridge 7b0459e1a8 Merge "Revert "ResearchLogging log when preferences change"" into jb-mr1-dev 2012-08-20 10:18:20 -07:00
Kurt Partridge f1c3e53b23 Merge "Revert "ResearchLogging upload via service"" into jb-mr1-dev 2012-08-20 10:18:10 -07:00
Kurt Partridge 35c11842a7 Revert "ResearchLogger log RichInputConnection"
This reverts commit 1964ffb3f4

Change-Id: Ie43e7ac828faa91e1824a255bb3ecf6c8222d4e8
2012-08-20 10:17:45 -07:00
Kurt Partridge 77257a736e Revert "ResearchLogger to track simple statistics"
This reverts commit 7cec911fde

Change-Id: I3eb055e03a9cf463356ebaefc7827ab65a963072
2012-08-20 10:17:43 -07:00
Kurt Partridge 3d35908749 Revert "ResearchLogging capture full n-gram data"
This reverts commit 221e756fd7

Change-Id: Iefc4e4e27ddc925d4a4634627b0467bd4ee2a66e
2012-08-20 10:17:40 -07:00
Kurt Partridge fc74a01abe Revert "ResearchLogging log when preferences change"
This reverts commit c58f5d904b

Change-Id: Ifab54ecc8b7898fe0af6446d397efd6cdb28f670
2012-08-20 10:17:31 -07:00
Kurt Partridge 96da633582 Revert "ResearchLogging upload via service"
This reverts commit baf1f0bd61

Change-Id: I7d959b9b626c8fb69a57788e243752952258fa80
2012-08-20 10:17:29 -07:00
Kurt Partridge 8beeef5d3f Merge changes Ie980d38a,Ia7ee65e7 into jb-mr1-dev
* changes:
  ResearchLogging upload via service
  ResearchLogging log when preferences change
2012-08-20 08:48:12 -07:00
Kurt Partridge 752c53760c Merge changes I568c90d4,I4667f8f6 into jb-mr1-dev
* changes:
  ResearchLogging capture full n-gram data
  ResearchLogger to track simple statistics
2012-08-20 08:47:45 -07:00
Kurt Partridge 461f1942f9 Merge "ResearchLogger log RichInputConnection" into jb-mr1-dev 2012-08-20 08:47:33 -07:00
Tadashi G. Takaoka 5a49a8bb5f Merge "Cleaup gesture preview drawing code a bit" into jb-mr1-dev 2012-08-19 23:42:05 -07:00
Tadashi G. Takaoka 978c0fc878 Cleaup gesture preview drawing code a bit
Change-Id: Ie75d497ba88805d945d6039ecad09ed0e8e5e4d3
2012-08-20 15:40:03 +09:00
Tadashi G. Takaoka cb2362cee1 Merge "Make some usages of SparseArray thread-safe" into jb-mr1-dev 2012-08-19 23:23:08 -07:00
Tadashi G. Takaoka 8ce351a827 Make some usages of SparseArray thread-safe
This is a follow up of I39d9bf1a7c272eb16d6ed4698f52457579b40f10.

Change-Id: Ic3288e491175f9a85679a21064093f9db5a65466
2012-08-20 15:00:26 +09:00
Jean Chalard 2cd248ee05 Merge "Remove the whitelist resources" into jb-mr1-dev 2012-08-19 22:42:14 -07:00
Jean Chalard 1aed102d4c Merge "Fix capitalization, part 1" into jb-mr1-dev 2012-08-19 22:29:59 -07:00
Jean Chalard 5d9e573fbf Remove the whitelist resources
Bug: 6906525
Change-Id: I1524b9e4c56d28a701d444aa2afbfdcecf0da571
2012-08-20 14:25:14 +09:00
Jean Chalard 4c6db0592e Merge "Remove the whitelist dictionary." into jb-mr1-dev 2012-08-19 22:13:15 -07:00
Jean Chalard 04d6649d29 Merge "Remove access to the whitelist class." into jb-mr1-dev 2012-08-19 22:12:36 -07:00
Jean Chalard 753f7b123e Merge "Hack to skip reading an outdated binary file." into jb-mr1-dev 2012-08-19 22:11:44 -07:00
Jean Chalard 13822d2b05 Hack to skip reading an outdated binary file.
Bug: 7005813
Change-Id: Ie0d8d4b2d5eb147838ca23bdd5ec1cecd4f01151
2012-08-20 13:56:52 +09:00
Jean Chalard fb087a95f9 Fix capitalization, part 1
The case this fixes is typing "Ah.\n" in gmail for example

Bug: 6950087
Change-Id: Ia4bf3a57dde49b9c9d47d315e9f85b7ffc7ee6e3
2012-08-20 13:51:27 +09:00
Tadashi G. Takaoka 6c63f71265 Add standard view constructors of PrevewPlacerView
Change-Id: I00d7ae4d2330804c342a5e51cf8c0df6ed8a85d6
2012-08-20 11:56:28 +09:00
Ken Wakasa 522e12660a Cosmetic fixes
Change-Id: I5460252af534d4455ba22273a06ac956bc904831
2012-08-19 01:26:05 +09:00
Kurt Partridge c58f5d904b ResearchLogging log when preferences change
DO NOT MERGE

Bug: 6188932
Change-Id: Ia7ee65e7f3be10d031a065aaa6c3d18610c7dff0
2012-08-17 21:44:08 -07:00
Kurt Partridge baf1f0bd61 ResearchLogging upload via service
DO NOT MERGE

Upload using an intent service rather than just a thread.  More robust in case the keyboard
is closed and the upload hasn't finished yet.

multi-project commit with I40db74fb780e01364609339764e150f0291d3f9b

Bug: 6188932
Change-Id: Ie980d38a713d15c01083d41bd73f0602ec75dd16
2012-08-17 21:44:08 -07:00
Kurt Partridge 7cec911fde ResearchLogger to track simple statistics
DO NOT MERGE

Bug: 6188932
Change-Id: I4667f8f60aa356c73f925c298318520f71e144c5
2012-08-17 21:44:07 -07:00
Kurt Partridge 221e756fd7 ResearchLogging capture full n-gram data
DO NOT MERGE

- Captures complete motion data for all words in an n-gram.
- Also filters n-grams properly; if any word in the n-gram is not
  in the dictionary, it is not included.
- Simplify ResearchLog to not require explicit state
- Added LogBuffer class MainLogBuffer class to allow n-gram-level decisions
  about privacy.
- Moved LogUnit out from ResearchLogger

multi-project change with Ie2bc79fd7fe6b951b24771e94b8d4ca21989af65

Bug: 6188932
Change-Id: I568c90d4af07e7c759c1e7fc64b716bd8c7b4ae5
2012-08-17 21:44:07 -07:00
Kurt Partridge 1964ffb3f4 ResearchLogger log RichInputConnection
Move many ResearchLogger data collection points to RichInputConnection.
By collecting data here, developers do not have to remember to keep the
ResearchLog consistent with calls to the RichInputConnection.

In addition, some unnecessary log points were removed, and the ResearchLogger
is now independent of LatinImeLogger.

multi-project change with Ib71f841044ec1072610ab5638a5edfce29b7c05b

DO NOT MERGE

Bug: 6188932
Change-Id: I9ec7500a5b18bfe1a5a5bb1e5bf21c43351fc59e
2012-08-17 21:44:06 -07:00
Ken Wakasa e46d12927e Fix NPE in LatinIME.addToUserHistoryDictionary()
bug: 7007063
Change-Id: Ie3e2f77dcbc597dda0c0df9a970336e5aac0edba
2012-08-18 00:04:33 +09:00
Ken Wakasa 72c0f4de1d Merge "add reconstructBigramFrequency" into jb-mr1-dev 2012-08-17 03:19:12 -07:00
Yuichiro Hanada c0a75c8ecb add reconstructBigramFrequency
Change-Id: Iff20dcb9ca0d6064bb118247887fe24b812c0c61
2012-08-17 19:05:16 +09:00
Jean Chalard aa27635a8a Reword a confusing comment
Bug: 7005645
Change-Id: Ifd942b3ce242aeeec512e132e1cee31329e994b1
2012-08-17 17:22:28 +09:00
Jean Chalard 46fc768e54 Remove the whitelist dictionary.
The functionality now lives in the binary dictionary.

This finalizes work on
Bug: 6906525

Change-Id: Id106d871e8afdf9afa886d2a30bea87ff89f2d24
2012-08-17 15:13:10 +09:00
Jean Chalard 3e43e6998e Remove access to the whitelist class.
...which becomes useless. It will be entirely removed in an
upcoming change.

Change-Id: I2f1d27f1eceda79454b01f21e057b98f2953131a
2012-08-17 13:01:25 +09:00
Jean Chalard 228674f6c7 Merge "fix findWordInTree." into jb-mr1-dev 2012-08-16 18:54:24 -07:00
Yuichiro Hanada 0d35c159fe fix findWordInTree.
Change-Id: I8f42df28f76188677db9d4e55885e1fc6a40b53f
2012-08-17 10:23:01 +09:00
Jean Chalard 3083b4b77d Merge "Fix a debug method" into jb-mr1-dev 2012-08-16 17:59:11 -07:00
Jean Chalard cc1062cfd0 Fix a debug method
Change-Id: Icf78fb0d5f7caea78f053fffd1ecd4289629964a
2012-08-17 09:24:45 +09:00
Baligh Uddin a07590a81c Import translations. DO NOT MERGE
Change-Id: I5d02e55780596d25356a602027f3c41913057810
Auto-generated-cl: translation import
2012-08-16 15:17:17 -07:00
Ken Wakasa bc44ad77e5 Merge "fix findWordInTree." into jb-mr1-dev 2012-08-16 04:26:55 -07:00
Yuichiro Hanada 66f338983b fix findWordInTree.
Change-Id: I9d81c815494a0670afa81219ad7bad82274d997e
2012-08-16 20:21:47 +09:00
Jean Chalard 91c64902b0 Merge "Refresh editor info when the text field attributes changes." into jb-mr1-dev 2012-08-15 02:35:21 -07:00
Jean Chalard e234aed428 Refresh editor info when the text field attributes changes.
For some reason we get a "restarting" flag from the browser
some times when the input field is different. The attributes
however are not the same, so we can detect that and reload
appropriately.

Bug: 6946793
Change-Id: I6762dae6f41db690497b026a707d9cc89c840b34
2012-08-15 18:32:59 +09:00
Jean Chalard cd0e004888 Merge "Ensure #offer always actually offers something." into jb-mr1-dev 2012-08-15 02:16:09 -07:00
Jean Chalard 653dbfb8ed Ensure #offer always actually offers something.
This will allow remaining requests after a call to terminate
correctly.

Bug: 6963142
Change-Id: Iff67058bb8a39f2f1b468d3894861e8125de6659
2012-08-15 18:10:10 +09:00
Satoshi Kataoka 3979f060f0 Step 28-A Introduce the session Id to getSuggestion
Change-Id: I39d9bf1a7c272eb16d6ed4698f52457579b40f10
2012-08-15 15:44:45 +09:00
alanv 0538493309 Fix the build.
Change-Id: I744f6232e81981ab694d3d1e92bab5fd6efa46c0
2012-08-14 15:34:29 -07:00
Charles Chen dd7f79097a Merge "Change accessibility event type for app-driven speech." into jb-mr1-dev 2012-08-14 14:33:32 -07:00
Jean Chalard e30c05800f Preemptive anti-deadlock device
We don't know of any actual bug in the implementation of the
pool that may result in a deadlock, but this still implements
a means out of a deadlock if one ever arises anyway. It's
meant to improve the resilience of the spell checker.

Bug: 5441027
Change-Id: I689491090792dbb89110ee56631965c5bb2dc712
2012-08-14 17:04:14 +09:00
Jean Chalard 5d6b8e1818 Fix a bug that would prevent spell checking
java.lang.ArrayIndexOutOfBoundsException:
        [I offset=0 length=528 src.length=512
com.android.inputmethod.keyboard.ProximityInfo
        .setProximityInfoNative(Native Method)
com.android.inputmethod.keyboard.ProximityInfo
        .createSpellCheckerProximityInfo(ProximityInfo.java:85)
com.android.inputmethod.latin.spellcheck.AndroidSpellCheckerService
        .createDictAndProximity(AndroidSpellCheckerService.java:411)

The array was too small with respect with the passed size.

Change-Id: I7777d7aecd17375d3fbf82854a66eb7a5a289ce6
2012-08-14 14:45:17 +09:00
Baligh Uddin 0aeb4c206c Import translations. DO NOT MERGE
Change-Id: I36bb28cfdf548a38bfdd3127ddafa6c7d938376e
Auto-generated-cl: translation import
2012-08-13 14:05:29 -07:00
Tadashi G. Takaoka f92f9de7a9 Merge "Eliminate redundant time parameter from gesture detection code" into jb-mr1-dev 2012-08-13 02:25:28 -07:00
Ken Wakasa 40a6d4af2a Merge "Cleanups in geometry_utils.h" into jb-mr1-dev 2012-08-13 02:11:52 -07:00
Tadashi G. Takaoka 74d0bb09c7 Eliminate redundant time parameter from gesture detection code
This change also uses the key width to determine the sampling rate of
the gesture points (instead of the key height).

Change-Id: I987487825693b4883d8359eb5b31f1d668cd5ef4
2012-08-13 18:11:03 +09:00
Ken Wakasa 0fb950858e Cleanups in geometry_utils.h
Change-Id: Ic051703e5b67adfc62753ebd9ab254296719c6e9
2012-08-13 17:47:00 +09:00
Tadashi G. Takaoka fc5e3f973c Remove unnecessary drawing point
Change-Id: Ib9cba3484a72306320eb9c1744d940da1a0998c7
2012-08-13 14:03:10 +09:00
Tadashi G. Takaoka 708cc94a35 Remove gesture detection hacking code
Change-Id: Idaec3753592ca0a5c5545eb5ab65254a3e32e662
2012-08-13 12:19:19 +09:00
Ken Wakasa bcec82de66 Clean up constructors
And, use C++ style casts and use float math functions rather than double ones to save memory space.

Also, stop using FloatMath and NativeUtils as standard Math methods are faster now.
See http://code.google.com/p/android/issues/detail?id=36199 and https://android-review.googlesource.com/40700

multi-project commit with I4259fb5ab8a15ac5760a7f04fc8f4c860529f04a

Change-Id: I0b81cff8c91769f7559a59b9528c75a5aabb4211
2012-08-13 10:48:37 +09:00
satok 814510305c Merge "Fix JNI" into jb-mr1-dev 2012-08-12 18:29:16 -07:00
satok 847c8dfe17 Fix JNI
Change-Id: If134baf52e78fbe18b78611a23870f5d10c80955
2012-08-11 13:54:01 +09:00
alanv 5f312c9c15 Change accessibility event type for app-driven speech.
Bug: 6614400
Change-Id: I0ef309b7f3f35bf37b4664ea599c9e6ffb1a4ab8
2012-08-10 13:51:17 -07:00
Baligh Uddin 9b6b279807 Import translations. DO NOT MERGE
Change-Id: I22eacc83a5aaa0f4e50e02e84ebf2b176dd08fe6
Auto-generated-cl: translation import
2012-08-10 11:50:11 -07:00
Ken Wakasa f3850e5543 Use JNI Region calls also in getSuggestions()
Change-Id: I9cc0208397c202aeb6f7b5bb5ad59e00c5afbd80
2012-08-10 21:09:23 +09:00
Satoshi Kataoka f6c2200890 Workaround to stop init dict traverse session
Change-Id: I3d46c54a96a9fc0359ef75b9d2f8590b44164a8b
2012-08-10 21:07:53 +09:00
Jean Chalard 7b258e512d Accept whitelisted entries from any source.
...not only the WhitelistDictionary.

Bug: 6906525
Change-Id: I7f181eb6936ec17bbccdc4e736fd09292af24e9c
2012-08-10 19:02:19 +09:00
Jean Chalard caed149b67 Optimization & Simplification
It's useless to do the whitelist lookup twice. Also, putting
this test out of this method will allow whitelist entries to
come from other sources.

Bug: 6906525
Change-Id: I4afe678cae6556d16642d155ce770fbf4e61ad49
2012-08-10 19:02:15 +09:00
Jean Chalard dc2fb6bc6d Merge "Pass the type from native code all the way to Java." into jb-mr1-dev 2012-08-10 01:26:59 -07:00
Jean Chalard 926ef06a1e Pass the type from native code all the way to Java.
Bug: 6906525
Change-Id: I057390d47a223450e22d8338509e22c28fc0d5f6
2012-08-10 15:51:55 +09:00
Tadashi G. Takaoka ce38c62aef Merge "Remove conservative MainKeyboardView.draw" into jb-mr1-dev 2012-08-09 23:31:53 -07:00
Satoshi Kataoka e9f3e182e4 Add arguments for dic traverse session
Change-Id: I8776ad528eeea9a5fc4dcf394ca13bb80c04fb6d
2012-08-10 12:34:00 +09:00
Tadashi G. Takaoka 1b6829b0e0 Remove conservative MainKeyboardView.draw
Change-Id: I52f58d1e013dfe1f1b0f8320cba903d3dbb4eabd
2012-08-10 11:02:41 +09:00
Ken Wakasa 5bb4206275 Use more JNI Region calls
Change-Id: I371db517ff4749c0b7e5bdb4362e6310c91a24dc
2012-08-10 00:46:20 +09:00
Satoshi Kataoka 9d29871605 Add reset method for dic travserse session
Change-Id: Ia3dd924f92549da2cf8302ef77c629902d4f275b
2012-08-09 17:49:19 +09:00
Tadashi G. Takaoka 877157e1f5 Optimize keyboard drawing code a bit
* Remove useless boolean flag.
 * Use invalidate(int,int,int,int).
 * Don't draw background when hardware acceleration is enabled.

Change-Id: Id560ac84f33b5151437a42a4ff22736284d71e2d
2012-08-09 16:44:11 +09:00
Tadashi G. Takaoka 2be2d77664 Update dictionary availability at onStartInputView
This is a follow up of I7901c0f9489b4deb79314c2c903b138611bfd78e

Change-Id: I38c22e886db247c402a964e3ddd10b09a461151c
2012-08-09 16:09:54 +09:00
Tadashi G. Takaoka 9abea49dd4 Merge "Fix NPE and don't call UI API from non-UI thread" into jb-mr1-dev 2012-08-08 20:00:19 -07:00
Tadashi G. Takaoka 8335c59ea7 Fix NPE and don't call UI API from non-UI thread
This change also reverts I29ec3e9f10484f30288fac76f0c45b3707bc2259

Bug: 6956969
Bug: 6891020
Bug: 6947253
Change-Id: I7901c0f9489b4deb79314c2c903b138611bfd78e
2012-08-09 11:55:41 +09:00
Satoshi Kataoka 60d4961f34 Merge "Pass traverse session" into jb-mr1-dev 2012-08-08 07:50:44 -07:00
Satoshi Kataoka 9127811493 Pass traverse session
Change-Id: I84bfaaa406e3f51421c08a7ee8f9576ebdba54d4
2012-08-08 23:30:31 +09:00
Satoshi Kataoka 181567f9c7 Merge "Add traverse session" into jb-mr1-dev 2012-08-08 04:40:36 -07:00
Satoshi Kataoka c4e4dfe17d Add traverse session
Bug: 6942265

Change-Id: I384cf701f5ee44c4b1037e5b8ddfa3d570286f55
2012-08-08 20:39:43 +09:00
Tadashi G. Takaoka 732f27984e Merge "Add toString() method to Keyboard" into jb-mr1-dev 2012-08-08 00:08:13 -07:00
Tadashi G. Takaoka 2bcd913e56 Merge "Add SuggestInitializationListener to BinaryDictionary.resetMainDict()" into jb-mr1-dev 2012-08-08 00:07:57 -07:00
Tadashi G. Takaoka 35336cf83a Add toString() method to Keyboard
Change-Id: I74c8f006323ed78ec67414fd17849ab40966968e
2012-08-08 15:59:56 +09:00
Tadashi G. Takaoka a890de4215 Merge "Use ArrayList to implement PointerTrackerQueue" into jb-mr1-dev 2012-08-07 23:56:29 -07:00
Tadashi G. Takaoka 79eefda0d3 Add SuggestInitializationListener to BinaryDictionary.resetMainDict()
Change-Id: I4c01f172ddb2ca60fa6e604384610c90b76e5457
2012-08-08 15:55:26 +09:00
Tadashi G. Takaoka 7ae1fd02d4 Use ArrayList to implement PointerTrackerQueue
Change-Id: Ie386e6c7869df4df940e09fccffc5cd661134557
2012-08-08 14:18:30 +09:00
Baligh Uddin 7bf5415bfe Import translations. DO NOT MERGE
Change-Id: I48e2fcef3c0384fb745f6329b8877a8c1a1cd815
Auto-generated-cl: translation import
2012-08-07 15:05:45 -07:00
Tadashi G. Takaoka 0cc425bd9c Add PointerTrackerQueue unit tests
This is a groundwork to elminate LinkedList from PointerTrackerQueue.

Change-Id: Ib77780537ceb0b4273fb8e483977ab76124c5ce7
2012-08-07 16:56:41 +09:00
Tadashi G. Takaoka 27e48447a4 Lingering gesture floating preview text a bit
Bug: 6936095
Change-Id: I873343e9aa6afdf6bdb223795f03232509b012a7
2012-08-07 13:54:42 +09:00
Baligh Uddin 2a0975be66 Import translations. DO NOT MERGE
Change-Id: I8cb76298b75155a9d2d4726127759ad9542a93fc
Auto-generated-cl: translation import
2012-08-06 13:35:01 -07:00
Tadashi G. Takaoka 7a13975700 Cleanup unused import and dead code
Change-Id: Ife877620561d29a8f25602916420741186104617
2012-08-06 17:28:33 +09:00
Tadashi G. Takaoka dba77186f7 Fix duplicate getSuggestions() call for main dictionary
Change-Id: I092480063452505cdf03dbd83b9c64e535822931
2012-08-06 17:08:38 +09:00
Tadashi G. Takaoka b27959741a Fix Utils.getStackTrace()
Change-Id: Iaf160af32bb77b3ad5929cb5ee8eccd01165bdf6
2012-08-06 16:50:43 +09:00
Tadashi G. Takaoka 0a524de3df Separate updateSuggestionStrip from commitTyped
The commitTyped() called updateSuggestionStrip(), and that led to call
Suggest.getSuggestedWordsForTypingInput() even after a batch input was
started because WordComposer.commitWord() reset the batch input state.

Bug: 6932442
Change-Id: If645b1ef0343aa1e21ca71a9275b40c6c3be13df
2012-08-06 14:31:01 +09:00
Tadashi G. Takaoka 4e9e6cd154 Fix IllegalStateException of KeyDetector
A KeyDetector without Keyboard may exist in some rare cases. This
change eliminates throwing IllegalStateException and checks explicitly
against null.

Bug: 6891020
Change-Id: I29ec3e9f10484f30288fac76f0c45b3707bc2259
2012-08-06 11:09:50 +09:00
Ying Wang 3d5a0b90f8 Import translations. DO NOT MERGE
Change-Id: I9510061c7ae1f4020cd5c5d24ed75348556ee085
Auto-generated-cl: translation import
2012-08-03 14:25:41 -07:00
Jean Chalard 15b28432ba Merge "Cleanup unused code" into jb-mr1-dev 2012-08-03 09:32:27 -07:00
Jean Chalard 8ee4b35c70 Cleanup unused code
The Italian dictionary has been amended to contain words that
include apostrophes, and accordingly the apostrophe is now
excluded from word separators in Italian.
This code was only used for Italian, and in the general case
it does the wrong thing; it was only needed by limitations of
the old dictionary.

Bug: 6929108
Change-Id: I7ff4615e01899a1cebed2c4c51679cd0746740fe
2012-08-04 01:15:04 +09:00
Jean Chalard 54e84a00fc Make a makedict command for dicttool (A3)
This behaves exactly as the old makedict command. Further
changes will redirect the calls to makedict to this, so as
to consolidate similar code.

Groundwork for
Bug: 6429606

Change-Id: Ibeadbf48bec70f988a15ca36ebf5d1ce3b5b54ea
2012-08-04 01:11:46 +09:00
Jean Chalard 1644a3c732 Merge "Update French and Italian separators." into jb-mr1-dev 2012-08-03 08:07:58 -07:00
Jean Chalard beccb6e573 Update French and Italian separators.
French and Italian separators used to be decided this way
because of how the old dictionaries were made.
However, the new dictionaries actually do include the
composite words, and in both French and Italian, apostrophes
and dashes shouldn't be treated as separators any more.

Change-Id: If11c42625c819e223502a76749dbe797163d3c18
2012-08-04 00:04:13 +09:00
Jean Chalard 3f80541844 Merge "Fix an OOB exception" into jb-mr1-dev 2012-08-03 07:17:37 -07:00
Jean Chalard 4c976aceee Fix an OOB exception
Not sure exactly how this can happen, but at least this should
prevent us from crashing.

Bug: 6920884
Change-Id: I451864756b48c5cb5e98b06edee917d88766d77f
2012-08-03 23:10:47 +09:00
Tadashi G. Takaoka 622d6a5b1b Using hardware accelerated drawing
When Canvas has been hardware accelerated, don't use offscreen bitmap.

Bug: 6872994
Change-Id: I1121f76377991692bc29ebeedbfbfa1b2a12dbb7
2012-08-03 20:46:10 +09:00
Tadashi G. Takaoka ffe36cdc6d Merge "Small cleanup for keyboard drawing code" into jb-mr1-dev 2012-08-02 01:04:05 -07:00
Tadashi G. Takaoka 8344259fc9 Small cleanup for keyboard drawing code
Change-Id: I8b562e03b30f82dddae311b49d316402e867cd31
2012-08-02 16:50:31 +09:00
Tadashi G. Takaoka 76c242a1f6 Merge "Fix multi-touch input in auto-caps field" into jb-mr1-dev 2012-08-01 23:45:24 -07:00
Ken Wakasa fb955693d4 Enable hardware accelerated drawing for SoftInputWindow of LatinIME
Taking advantage of Ib6a8bda46223ce1153f32834daf02a820d16136e

bug: 6872994
Change-Id: I799b25b6509980dd9f039bead9bc926b42cbb040
2012-08-02 15:11:31 +09:00
Ying Wang 2ca0f26237 Import translations. DO NOT MERGE
Change-Id: Ifdbe0c41f5e01c4afc155ea68c05d50d483e5749
Auto-generated-cl: translation import
2012-08-01 14:58:52 -07:00
Tadashi G. Takaoka 44972bcdb6 Fix multi-touch input in auto-caps field
Bug: 6905194
Change-Id: I7f9f61f36b7f3aa2b40c126a68232a947976aad2
2012-08-01 18:56:11 +09:00
Tadashi G. Takaoka d2173b5737 Cancel the while-typing timer when user hits the spacebar
Bug: 6689079
Change-Id: I6b366acdcefb8b2c0d973a4f2a12329fc12eb5c5
2012-07-31 19:39:52 +09:00
Tadashi G. Takaoka 71c472ed8c Merge "Add language switch key to 10" tablet" into jb-mr1-dev 2012-07-31 00:43:22 -07:00
Tadashi G. Takaoka f6235167b7 Add language switch key to 10" tablet
Bug: 6637175
Change-Id: Ife9c9a6d35bd3cb4de406b388c504846b35059e7
2012-07-31 16:40:30 +09:00
Ken Wakasa 6492a2f31d Merge "Add a <uses-sdk> element in the LatinIME's manifest" into jb-mr1-dev 2012-07-31 00:12:37 -07:00
Ken Wakasa 8573223442 Add a <uses-sdk> element in the LatinIME's manifest
Change-Id: I8354677e271fc73865aabffe0df489e52c85c1eb
2012-07-31 16:06:18 +09:00
Tadashi G. Takaoka 2b077a6576 Merge "Add android::supportsRtl="true"" into jb-mr1-dev 2012-07-30 23:42:01 -07:00
Tadashi G. Takaoka b8afd540d9 Add android::supportsRtl="true"
Bug: 6904817

Change-Id: I1176e239d001d8eb5ae79ed345660b22be68b137
2012-07-31 15:18:12 +09:00
Tadashi G. Takaoka b98b957424 Fix east slavic keyboard layouts
This change affects Ukrainian, Belarusian, Kyrgyz, and Russian
keyboard. The followings are the layout changes for each language
respectively.

[Ukrainian]
 * Replace useless CYRILLIC LETTER E with CYRILLIC LETTER UKRAINIAN IE.
 * Replace useless CYRILLIC LETTER HARD SIGN with CYRILLIC LETTER YI
   on 10-inch tablet.
 * Add CYRILLIC LETTER GHE WITH UPTURN as more keys of CYRILLIC LETTER
   GHE.

[Belarusian]
 * Add CYRILLIC LETTER IO as more keys of CYRILLIC LETTER IE.
 * Replace useless CYRILLIC LETTER HARD SIGN with CYRILLIC LETTER IE
   on 10-inch tablet.

[Kyrgyz]
 * Add CYRILLIC LETTER IO as more keys of CYRILLIC LETTER IE.
 * Remove CYRILLIC LETTER HARD SIGN from more keys of CYRILLIC LETTER
   HA because CYRILLIC LETTER SOFT SIGN has it.

[Russian]
 * Remove CYRILLIC LETTER HARD SIGN from more keys of CYRILLIC LETTER
   HA because CYRILLIC LETTER SOFT SIGN has it.

This change also replace misspelled "more_keys_for_cyrillic_ye" text
name with "more_keys_for_cyrillic_ie".

Bug: 6881007
Change-Id: I9e88c4e27f66225e1676f2b286a7e55b9f2cbf5b
2012-07-31 13:19:11 +09:00
Ying Wang ff2bec1ce6 Import translations. DO NOT MERGE
Change-Id: I4495669f10f41c2c7c3877c65b061df6a2c9f196
Auto-generated-cl: translation import
2012-07-30 14:54:31 -07:00
Jean Chalard f68fe7a9c9 Don't forward phantom space state on stripper input
Bug: 6890540
Change-Id: I923b24e3bc17e7b923be4940ad739b58dca24a1f
2012-07-31 01:48:10 +09:00
Tadashi G. Takaoka ca57f5ba40 Move gesture preview parameters to KeyboardView attributes
Change-Id: Iff9d6b485e202656fc869f3ff4d94575ad2c186f
2012-07-30 20:10:48 +09:00
Tadashi G. Takaoka 6b9677d84b Merge "Small fix to KeyboardView" into jb-mr1-dev 2012-07-30 01:48:59 -07:00
Tadashi G. Takaoka b9770cb7f7 Merge "Add device form factor to KeyboardId" into jb-mr1-dev 2012-07-30 00:50:25 -07:00
Tadashi G. Takaoka edf7990e84 Small fix to KeyboardView
Change-Id: Ifb7500ec2e55b50bb7951aa847fd4fbf49e32f4e
2012-07-30 16:50:03 +09:00
Tadashi G. Takaoka 293f062c26 Merge "Add advanced options to turn on/off the gesture trail and text preview" into jb-mr1-dev 2012-07-30 00:22:41 -07:00
Tadashi G. Takaoka 47e2bf3298 Add advanced options to turn on/off the gesture trail and text preview
Bug: 6883053
Change-Id: I601718afb37289108b45ef68626c7c315edca35d
2012-07-30 15:54:27 +09:00
Tadashi G. Takaoka 75fb3ce1be More readable Key.toString() and MoreKeySpec.toString()
Change-Id: Iee3c33dedd0c00ba259aa55e8b0c1c57b84eccdd
2012-07-30 15:51:41 +09:00
Tadashi G. Takaoka 4731b67629 Add device form factor to KeyboardId
This is a groundword for optimizing keyboard parsing.

Bug: 6860259
Change-Id: Ie65aa502b18c920e25cf2998b79120b3cc835952
2012-07-30 15:33:17 +09:00
Tadashi G. Takaoka efd8b838ee Add MoreKeySpec.toString() method for debugging
Change-Id: Icf9c6e15521849ffc51911c1e256c9815c1960f4
2012-07-30 15:06:26 +09:00
Ken Wakasa d157bb0d55 Just a cosmetic cleanup
Change-Id: Ie32fb8474b502220bdca9dbce30094bf5fb08e00
2012-07-28 21:24:29 +09:00
Jean Chalard 79d4c70b93 Merge "Don't auto-correct when there are digits." into jb-mr1-dev 2012-07-27 09:12:01 -07:00
Jean Chalard e7c471a52f Don't auto-correct when there are digits.
Bug: 6667462
Change-Id: I796655f57c71c9f50ae6e38dd08b71df3998dbcf
2012-07-28 00:15:54 +09:00
Jean Chalard 78ee77ad08 Merge "Fix a bug with autocaps" into jb-mr1-dev 2012-07-27 05:19:48 -07:00
Jean Chalard 6fc72cae20 Fix a bug with autocaps
Port of Iece016f4

Bug: 6886405
Change-Id: I148c296d8a3841c40b6748e73ed2b0fff473b627
2012-07-27 21:09:25 +09:00
Tadashi G. Takaoka 1057670881 Make PreviewPlacerView final
This is a groundwork for the bug.

Bug: 6883053
Change-Id: I51e9235d3bc7021790a88a44596c4314125a1ab3
2012-07-27 19:40:39 +09:00
Tadashi G. Takaoka 99906b3fc2 Move SuddenJumpingTouchEventHandler to internal package
Change-Id: Ifc9fb6322a2edbaac0b10e7134ee7e735f14937b
2012-07-27 14:25:53 +09:00
Jean Chalard 7677a0ee7f Merge "Handle correctly the restarting argument" 2012-07-26 06:47:59 -07:00
Jean Chalard aa906c36aa Handle correctly the restarting argument
Bug: 6851364
Change-Id: Ie939a43b8527a76aec213b702d3d850717f22a81
2012-07-26 21:57:15 +09:00
Tadashi G. Takaoka 97c8d288a8 Add Zulu keyboard
Bug: 6867914
Change-Id: I13316ac2a554a8601f920e875d540e5375e12860
2012-07-26 19:03:35 +09:00
Tadashi G. Takaoka e863fb712f Merge "Fix gesture detection when sliding key input is disabled" 2012-07-26 02:13:20 -07:00
Tadashi G. Takaoka c902dfeb8f Fix gesture detection when sliding key input is disabled
Bug: 6867837
Change-Id: Icbfa69928c436343db545860a7d63171f52266b6
2012-07-26 17:41:54 +09:00
Tadashi G. Takaoka b90363e40c Fix Afrikaans more keys layout
Bug: 6867914
Change-Id: I43178a729f4770743f9fea87bad539c54da045c5
2012-07-26 16:31:06 +09:00
Tadashi G. Takaoka 55c01170c4 Add Afrikaans keyboard layout
Bug: 6867914
Change-Id: Ice35b20a0a51dda21c8271256064523bb5844952
2012-07-26 15:57:35 +09:00
Tadashi G. Takaoka 941f222c21 Merge "Remove unused setProximityCorrectionEnabled() methods" 2012-07-25 19:54:40 -07:00
Ken Wakasa e55d78ab0c Stop swallowing an UnsatisfiedLinkError
Change-Id: I37d61274e1527229befabae2c392fd78e279b807
2012-07-26 09:15:39 +09:00
Ying Wang d28858ebde Merge "Import translations. DO NOT MERGE" 2012-07-25 15:04:41 -07:00
Ying Wang d95121294a Import translations. DO NOT MERGE
Change-Id: I90620bd20eb0ed8f927709404822d815dc096223
Auto-generated-cl: translation import
2012-07-25 14:58:15 -07:00
Charles Chen e1643ed694 Merge "Add accessibility descriptions for additional non-character keys." 2012-07-25 11:29:56 -07:00
alanv ba037c62ac Add accessibility descriptions for additional non-character keys.
Bug: 6621009
Change-Id: I82fb2dc6af0fda795397e8be8c09a4f53b1656ab
2012-07-25 11:03:41 -07:00
Shawn Pearce 0a370ac80f Merge "Add Swahili keyboard layout" 2012-07-25 10:58:44 -07:00
Tadashi G. Takaoka c4376db0f0 Remove unused setProximityCorrectionEnabled() methods
Change-Id: I03aa6608ee435b36377de41684162b303740f571
2012-07-25 20:37:36 +09:00
Tom Ouyang 2f81757c3a Add dynamic floating preview for incremental gesture recognition.
Change-Id: I7ba7ac24aa96a0ff19267997c5b58853079bc6dc
2012-07-25 19:40:55 +09:00
Tadashi G. Takaoka a28f6c9a18 Add Swahili keyboard layout
Bug: 6867914
Change-Id: I2b9b0a06ff49a2afe16ec7a0ace0503d1658d413
2012-07-25 17:48:37 +09:00
Tom Ouyang e68385871a Fix gesture trail rendering on tablet.
Bug: 6867837
Change-Id: I54dceee1c83679f78462104d6cee1f2300a0cfc2
2012-07-25 16:12:37 +09:00
Tadashi G. Takaoka 0657b9698a Update gesture mode state when dictionary gets available
Bug: 6860204
Change-Id: I840b7bf1983ab92fa4e0b180129176539e96409f
2012-07-25 16:11:53 +09:00
Tadashi G. Takaoka 42208100d8 Use obsolete language code of Indonesian
The java.lang.Locale will transform the official language code "id" to
the obsolete "in".  (new Locale("id")).getLanguageCode() returns
"in". To keep String representation and Locale compatible, we should
use the obsolete "in" as string representation.

This is exactly the same situation of Hebrew ("he" and "iw").

Bug: 6867914
Change-Id: I1a6ea6336d55cbf8a214f025aecf65308fb76140
2012-07-25 14:39:11 +09:00
Tadashi G. Takaoka 369e54cc33 Add Suggest initialization finish listener
Bug: 6860204
Change-Id: I1e4c03c99415cd9bdea5a8556ff4093c33f0f508
2012-07-25 09:55:22 +09:00
Ying Wang e095158c79 Import translations. DO NOT MERGE
Change-Id: I32d003e39ddd28b0ab8c52a6f6f3551b273e3a97
Auto-generated-cl: translation import
2012-07-24 13:13:24 -07:00
Tadashi G. Takaoka 1f43ded637 Merge "Add Seriban Latin keyboard layout as comments" 2012-07-24 04:09:37 -07:00
Tadashi G. Takaoka 9ecf634686 Add Seriban Latin keyboard layout as comments
Bug: 6867914
Bug: 6867842
Change-Id: I3434434628e72fdb127d158de6c17fdfa77ee9c8
2012-07-24 20:07:59 +09:00
Tadashi G. Takaoka 981ee0edae Merge "Add Catalan keyboard layout" 2012-07-24 03:54:53 -07:00
Tadashi G. Takaoka e15a330f4f Add Catalan keyboard layout
Bug: 6867914
Change-Id: I9ab4aecc0a9605510da4ce01e571d6c10c738e0e
2012-07-24 19:51:48 +09:00
Tadashi G. Takaoka fe45f29e4d Merge "Add Tagalog keyboard layout" 2012-07-24 03:22:40 -07:00
Tadashi G. Takaoka 12beb4d334 Merge "Add Malay keyboard layout" 2012-07-24 03:14:50 -07:00
Tadashi G. Takaoka 5876e779e4 Add Malay keyboard layout
Bug: 6867914
Change-Id: I51367d3822b68df506335695912e68bc24199604
2012-07-24 19:03:56 +09:00
Tadashi G. Takaoka a01d9aea64 Add Tagalog keyboard layout
Bug: 6867914
Change-Id: I78ca6216cc74f8d34291950c05c810c800a3ddba
2012-07-24 18:54:43 +09:00
Tadashi G. Takaoka fae3131ea7 Add Indonesian keyboard layout
Bug: 6867914
Change-Id: Id605cc20f3e38c4277c3705622f3078f307d971a
2012-07-24 17:33:32 +09:00
Ying Wang 467f829bc8 Import translations. DO NOT MERGE
Change-Id: I5ea8afadae2ea6b08ef195f6f39e69117dd304ac
Auto-generated-cl: translation import
2012-07-23 13:57:53 -07:00
Tadashi G. Takaoka 506259396f Merge "Update gesture suggestions even when suggestions strip is off" 2012-07-23 03:45:21 -07:00
Tadashi G. Takaoka 7575ac7054 Update gesture suggestions even when suggestions strip is off
Bug: 6852483
Change-Id: I873ae0f2e3bc863e989629f8bc0cc90ee33a4920
2012-07-23 19:37:00 +09:00
Jean Chalard c0f0ceeccf Merge "Fix a bug with the 'add to dict' hint popping up too much" 2012-07-23 03:20:01 -07:00
Jean Chalard 491d451e38 Fix a bug with the 'add to dict' hint popping up too much
Not having a main dictionary is not sufficient reason to display
the hint. If the user already added the word to the dictionary then
we shouldn't be displaying it again, even if we don't have a main
dictionary for the current language.

Bug: 6829798
Change-Id: I6b081f51c82ef395fe2e394fd3167363e743ea6f
2012-07-23 18:32:13 +09:00
Tadashi G. Takaoka 259905ba90 Rename suggestion strip related methods
Change-Id: I942692bbc2e577482f353d875405c4658a1102fc
2012-07-23 18:04:02 +09:00
Tadashi G. Takaoka 4702671ea4 Rename SuggestionsView to SuggestionStripView 2012-07-23 15:37:43 +09:00
Tadashi G. Takaoka c8e45ddb03 Rename LatinKeyboardView to MainKeyboardView
Change-Id: I8f3123b8d727c7beb72e226f80c17794f89c8b60
2012-07-23 12:11:43 +09:00
Kurt Partridge a4f762ff98 Merge "ResearchLogging indicator" 2012-07-22 19:31:40 -07:00
Kurt Partridge 4fa6e57260 ResearchLogging indicator
- shows a indicator that logging is on.  two options are available: an obvious
red outline around the keyboard, and a subtle red dot in the lower right-hand
corner.  currently configured for the subtle red dot.

Bug: 6188932
Change-Id: I0fd1ac5a0f20329adc603aa65ab85f2d38b9fc43
2012-07-22 19:04:34 -07:00
Kurt Partridge 74c95d6d18 Merge "ResearchLog splash screen" 2012-07-22 18:53:38 -07:00
Kurt Partridge f0c6606807 Merge "ResearchLogger feedback form" 2012-07-22 18:53:30 -07:00
Kurt Partridge 4331012a9e ResearchLog splash screen
Bug: 6188932
Change-Id: I1b247ecc26a2dd4f3f1c1b1cd3d928af717ebdd5
2012-07-22 18:36:43 -07:00
Kurt Partridge 3c233bf1a5 ResearchLogger feedback form
- also cleaned up RLog menu

multi-project commit with If0fd4fef89d390073e6939d5188ed5696866cb33

Bug: 6188932
Change-Id: I4f66f13bd366b4e8bde742ccd0704f812c6d33f9
2012-07-22 18:36:24 -07:00
Tom Ouyang ccaa799ee9 Update gesture bounding box handling.
Change-Id: I085611ce6fd82608f284d74973e5bb14258cdc24
2012-07-22 10:54:27 +09:00
Kurt Partridge 7e220d3c3a Merge "ResearchLog uploading" 2012-07-21 00:26:48 -07:00
Kurt Partridge 9c539d5a5c ResearchLog uploading
- uploads files in the background to server

multi-project commit with Ie0d937773e04b2fbefc8d76c231aaa52ebc392c9

Bug: 6188932

Change-Id: I90bb0e237eeb567e4cbb51085f2229f17f1fe71c
2012-07-20 15:24:48 -07:00
Kurt Partridge e6f68f2944 Merge "ResearchLog refactor" 2012-07-20 15:22:30 -07:00
Kurt Partridge 6b966160ac ResearchLog refactor
- new package: com.android.inputmethod.research

multi-project commit with Ic0a5744f3160d13218addd589890623c0d120ffc

Bug: 6188932

Change-Id: Icf8d4a40a5725401799be6e209a640d99a5f34c4
2012-07-20 15:06:51 -07:00
Ying Wang 2d097dd567 Import translations. DO NOT MERGE
Change-Id: Ie15a817f13d3ce0a87eeff8334824fd3a337c1bc
Auto-generated-cl: translation import
2012-07-20 13:28:37 -07:00
Tadashi G. Takaoka 7519091f7c Use ResizableIntArray in GestureStroke
Change-Id: I034e80df03c7c6c0895fdf2c03763627d410d425
2012-07-20 19:32:28 +09:00
Tadashi G. Takaoka 2474b37abd Merge "Disable gesture input detection when more keys keyboard is showing" 2012-07-20 03:28:52 -07:00
Tadashi G. Takaoka 62b8dddb6d Add gesture input enable settings
Bug: 6845325
Change-Id: I3165465b0b280e32a9288da16abb75baa67288dc
2012-07-20 19:26:36 +09:00
Tadashi G. Takaoka cc3500b0c8 Disable gesture input detection when more keys keyboard is showing
Bug: 6852441
2012-07-20 18:40:31 +09:00
Tom Ouyang b8bd45a22a Merge "Fix bug where key previews do not show up." 2012-07-20 02:06:29 -07:00
Tom Ouyang c022a9f8d4 Fix bug where key previews do not show up.
Bug: 6852705

Change-Id: Ib90107a5dde774b4d6c1e570629ce7f7eaff44bc
2012-07-20 18:02:12 +09:00
Ken Wakasa afed0567e9 Performance improvements - Avoid using iterators
Change-Id: Iab604aa1ef67acf5d54208a6bc44635632845ae0
2012-07-20 17:51:52 +09:00
Tom Ouyang 528738341d Merge "Add gesture trail feedback." 2012-07-20 01:26:30 -07:00
Tom Ouyang 4daf32b6c0 Add gesture trail feedback.
Change-Id: I32709fac0dec3165678a052aa286e2fb3d90721b
2012-07-20 17:09:23 +09:00