Commit Graph

10820 Commits (ff6e967b48880665e2a0830b4918888c3b931d74)

Author SHA1 Message Date
Tadashi G. Takaoka ee4cc67e26 Update shift key icon for LXX_Dark
Bug: 15310025
Change-Id: I20bde50a2e751a5cd9871debd5ed1df0334c78e2
2014-05-30 22:03:08 +09:00
Keisuke Kuroyanagi 83d2bc656f Merge "Make prevWord = null if the next word starts from a connector." 2014-05-30 11:40:56 +00:00
Keisuke Kuroyanagi 8f71fab2ed Make prevWord = null if the next word starts from a connector.
This fixes PunctuationTests#
testAutoCorrectionWithSingleQuotesAround.

Bug: 14119293
Bug: 15334309

Change-Id: I604c21a21e89a5fc431fd56ab7b6ad03f4736b01
2014-05-30 20:30:17 +09:00
Tadashi G. Takaoka 9c45e178c7 am ba8836a9: Merge "Update action key backgrounds for LXX_Dark" into lmp-preview-dev
* commit 'ba8836a926a566a1c9f8a11c79dd0e06d0fb0485':
  Update action key backgrounds for LXX_Dark
2014-05-30 11:24:10 +00:00
Tadashi G. Takaoka ce8da614a6 am db2d6a20: Merge "Update enter and send icons for LXX_Dark" into lmp-preview-dev
* commit 'db2d6a202125bff92be495408babbb0c86bfb398':
  Update enter and send icons for LXX_Dark
2014-05-30 11:24:09 +00:00
Tadashi G. Takaoka c96eddaa6e am 3d5a72eb: Update spacebar icon of LXX_Dark
* commit '3d5a72ebe20b4cab415c43c8022427b7618d8519':
  Update spacebar icon of LXX_Dark
2014-05-30 11:24:08 +00:00
Tadashi G. Takaoka ba8836a926 Merge "Update action key backgrounds for LXX_Dark" into lmp-preview-dev 2014-05-30 11:01:25 +00:00
Tadashi G. Takaoka 523b55ac52 Update action key backgrounds for LXX_Dark
Bug: 15295839
Change-Id: I77206c88c38a31193db97ce42c9d00fc25c7ff58
2014-05-30 19:57:30 +09:00
Tadashi G. Takaoka db2d6a2021 Merge "Update enter and send icons for LXX_Dark" into lmp-preview-dev 2014-05-30 10:56:10 +00:00
Tadashi G. Takaoka 0b0fbe752a Update enter and send icons for LXX_Dark
Bug: 15298065
Bug: 15327280
Change-Id: I4dfade1afe3578e29daba777567f81d4ec782956
2014-05-30 19:28:46 +09:00
Tadashi G. Takaoka 3d5a72ebe2 Update spacebar icon of LXX_Dark
This CL does't fix Bug: 15321822 though.

Bug: 15298065
Bug: 15321822
Change-Id: Ie6ab1e230c1657317dc06193da598f04f682f521
2014-05-30 19:03:57 +09:00
Jean Chalard fa0e76dde6 Limit recapitalization for reasonable performance.
At 100k text, it's reasonably fast (less than 1s on latest hardware).

Bug: 12913404
Change-Id: I426b918b2610af24364934a1c37a7314f1142ad0
2014-05-30 18:04:39 +09:00
Tadashi G. Takaoka 6fe326ae42 am 761a6812: Don\'t reuse main keyboard\'s spacebar icon for Emoji palette
* commit '761a6812312c48d04bcb91e5c4448364c4925731':
  Don't reuse main keyboard's spacebar icon for Emoji palette
2014-05-29 15:06:36 +00:00
Tadashi G. Takaoka 761a681231 Don't reuse main keyboard's spacebar icon for Emoji palette
Bug: 15321822
Change-Id: I6a5a865364fb98e0ebb6206d80d5629bbcb817b8
2014-05-29 23:32:03 +09:00
Tadashi G. Takaoka d9190f8e8f am cdc7273b: Update action key background
* commit 'cdc7273b44b7d5fc5a1c848fb68960cee02c4f99':
  Update action key background
2014-05-29 13:09:29 +00:00
Tadashi G. Takaoka cdc7273b44 Update action key background
Bug: 15295839
Change-Id: Ia4af33b00bf361d088981df907468b4a61c1a076
2014-05-29 21:38:59 +09:00
Tadashi G. Takaoka aaf2bbf9c3 Merge "Remove LatinImeLogger and UsabilityStudyLogUtils" 2014-05-29 09:33:25 +00:00
Tadashi G. Takaoka 51ee5a47b8 Remove LatinImeLogger and UsabilityStudyLogUtils
This CL must be checked in together with Ie52007dc5c.

Bug: 15318007
Change-Id: Ie665f296e43b5485ae8ba7e949aa262794ee0dcc
2014-05-29 18:03:03 +09:00
Keisuke Kuroyanagi c4a3b9f0d6 Merge "Remove PrioritizedSerialExecutor." 2014-05-29 08:52:23 +00:00
Jean Chalard 944923f266 Fix: too many calls to getSuggestedWordsForTypingInput
This reverts commit d941ea18 and builds on it to fix the behavior
of the broken cases.
It also fixes a small, related bug that probably has existed for
a very long time: predictions not displayed when cancelling
double-space-to-period.

Bug: 15148015
Change-Id: I1f9358f8b6f5804f831643611576be347e83999d
2014-05-29 17:36:46 +09:00
Keisuke Kuroyanagi 94f88b4881 Remove PrioritizedSerialExecutor.
Bug: 15320560
Change-Id: Icb88a96ebd685da1d2cba7b07889a2751c603a2e
2014-05-29 17:36:32 +09:00
Tadashi G. Takaoka 262b1e7518 Merge "Remove researcher logger" 2014-05-29 07:30:16 +00:00
Tadashi G. Takaoka bbf556e8e1 Remove researcher logger
This CL must be checked in together with I5cc76807e3.

Bug: 15318007
Change-Id: I61423c3377ddc299fb332e742d6626c2e47145bb
2014-05-29 15:10:28 +09:00
Keisuke Kuroyanagi 7d57fc248b Clean up for Iba6eeb7981634e7ddb.
Bug: 15298959
Change-Id: I6921db77b7d231ad3aad99d4c380ae2ed6bbf540
2014-05-29 13:16:24 +09:00
Geoff Mendal 7a4f9b67c0 Merge "Import translations. DO NOT MERGE" 2014-05-29 00:04:20 +00:00
Geoff Mendal 6784e3946e Merge "Import translations. DO NOT MERGE" 2014-05-29 00:03:44 +00:00
Geoff Mendal 4cbde10ef4 Import translations. DO NOT MERGE
Change-Id: Ifd7419b2fda706b5035060348ed63d894f843a2e
Auto-generated-cl: translation import
2014-05-28 17:03:38 -07:00
Geoff Mendal 2ab1d14a30 Import translations. DO NOT MERGE
Change-Id: Ib6d03976824f13a9932473c440b476f950f92ef7
Auto-generated-cl: translation import
2014-05-28 17:02:16 -07:00
Geoff Mendal bba73206e1 Import translations. DO NOT MERGE
Change-Id: If37d804345c2a1611af5019c36b0cf6c21e04c0e
Auto-generated-cl: translation import
2014-05-28 16:58:49 -07:00
Keisuke Kuroyanagi b1e43d58a6 Merge "Stop directly checking SuggestedWordInfo.mKind" 2014-05-28 11:52:00 +00:00
Keisuke Kuroyanagi 4bffac6db9 Stop directly checking SuggestedWordInfo.mKind
Bug: 15298959

Change-Id: Iba6eeb7981634e7ddb896404978b30f6efd6e72f
2014-05-28 20:35:45 +09:00
Tadashi G. Takaoka 388dcd76b6 am 342eca74: Merge "Update shift, next, and previous icon of LXX_Dark" into lmp-preview-dev
* commit '342eca7444e40d98310b61cc52b648cc7a3a98a9':
  Update shift, next, and previous icon of LXX_Dark
2014-05-28 10:09:45 +00:00
Tadashi G. Takaoka 661b5d0e02 am 4f28e16c: Update enter icon of LXX_Dark
* commit '4f28e16ce52080c3411a4ab10fa6628260fd5740':
  Update enter icon of LXX_Dark
2014-05-28 10:09:44 +00:00
Tadashi G. Takaoka 918fe83693 am 91e69980: Use action key background for enter key
* commit '91e69980bebc37a37f5d176450d952ba394cb303':
  Use action key background for enter key
2014-05-28 10:09:28 +00:00
Tadashi G. Takaoka 342eca7444 Merge "Update shift, next, and previous icon of LXX_Dark" into lmp-preview-dev 2014-05-28 10:04:45 +00:00
Tadashi G. Takaoka ad8486c97f Update shift, next, and previous icon of LXX_Dark
Bug: 15298065
Change-Id: Id5cd6c989ac1e64389f060f692b578a2ceec0db8
2014-05-28 18:50:40 +09:00
Tadashi G. Takaoka 4f28e16ce5 Update enter icon of LXX_Dark
Bug: 15295910
Change-Id: I37d8c184ab500f4b4ffa57a6abe5516cb671ce29
2014-05-28 18:42:10 +09:00
Tadashi G. Takaoka 91e69980be Use action key background for enter key
This CL also use an action key background for the emoji key only on
phone becase the emoji key share the same position with other action
keys. The emoji key on tablet keeps using the functional key
background.

Bug: 15296851
Change-Id: I7b8550c61f19548f463a782342bdc0f496433a2a
2014-05-28 14:59:26 +09:00
Tadashi G. Takaoka f2b995769b Merge "Support fine grained hover event handling" 2014-05-28 05:53:53 +00:00
Tadashi G. Takaoka 14ea11fcde Add TODO comment about SuggestedWordInfo's kind and flags
This CL must be checked in together with I6fd87e1eec.

Change-Id: I4b24157f3e3ce6327579d37122a34d7a30069885
2014-05-28 11:51:05 +09:00
Tadashi G. Takaoka 639e431fa2 Support fine grained hover event handling
This CL also adds visual feedback of hovering key in accessibility
mode.

Bug: 12491371
Change-Id: I7b1f28a2e421ca60b2738ed94e7bdb406f75039b
2014-05-28 10:47:09 +09:00
Baligh Uddin e53f418829 Merge "Import translations. DO NOT MERGE" 2014-05-27 21:10:47 +00:00
Baligh Uddin 0b64b9d2b7 Merge "Import translations. DO NOT MERGE" 2014-05-27 21:10:44 +00:00
Baligh Uddin da0e3004ad Merge "Import translations. DO NOT MERGE" 2014-05-27 21:10:39 +00:00
Tadashi G. Takaoka d3642a2a58 Merge "Refactor KeyboardAccessibilityDelegate class a bit" 2014-05-27 09:54:56 +00:00
Tadashi G. Takaoka 87d2f3ea0e Refactor KeyboardAccessibilityDelegate class a bit
Bug: 12491371
Change-Id: I2c2c6f3a6d0d7e7efbe0253127f5b9117cbc512d
2014-05-27 17:33:20 +09:00
Keisuke Kuroyanagi dfca51726e Return whether the dynamic dict operation was success.
Bug: 12184250
Change-Id: Iee7e00c1e84c95551a077f4dd023c0a9b9ac9466
2014-05-27 17:30:00 +09:00
Keisuke Kuroyanagi 26628eeb4b Merge "Add thread name for PrioritizedSerialExecutor." 2014-05-27 07:24:26 +00:00
Tadashi G. Takaoka ced6788518 Merge "Remove compiler warning from accessibility package" 2014-05-27 07:18:25 +00:00
Keisuke Kuroyanagi 6a546147eb Merge "Stop filtering out when perfect freq > top non-perfect freq." 2014-05-27 07:14:16 +00:00
Keisuke Kuroyanagi 00da83ed75 Stop filtering out when perfect freq > top non-perfect freq.
Bug: 13142176
Change-Id: I0290df918a5bd5018bf55231dc462d5e797155c6
2014-05-27 16:09:59 +09:00
Keisuke Kuroyanagi 733a9c09a9 Add thread name for PrioritizedSerialExecutor.
Bug: 15270123
Change-Id: I655ba97f0543476980d0e8461bc1c8a56c9f954b
2014-05-27 16:06:08 +09:00
Tadashi G. Takaoka a80d55d4d3 Remove compiler warning from accessibility package
Change-Id: Idae3e89f0398ab2cd56985adfac18959aa1852e7
2014-05-27 15:24:39 +09:00
Tadashi G. Takaoka 01748cde4e Move MoreSuggestionsListener to MoreSuggestionsView
Change-Id: I3b5bc630bf73a357ed0beeec0b555149ef248313
2014-05-27 14:49:25 +09:00
Tadashi G. Takaoka 9647d7fbee Use onHoverEvent instead of dispatchHoverEvent
This CL also refactors KeyboardAccessibilityDelegate a bit to be able
to override on hovering methods that handle enter, move, and exit on a
key.

Bug: 12491371
Change-Id: I3c7e81ccb8729ae6e466c654efde0c18ed734bdf
2014-05-27 11:28:52 +09:00
Tadashi G. Takaoka f6d59f6a6b Merge "Announce the same key again" 2014-05-27 02:18:59 +00:00
Tadashi G. Takaoka a1b47eb446 Announce the same key again
Bug: 15237246
Change-Id: Ie7023b727cb3eca9d0727a511b3d64a32a02cd3d
2014-05-27 10:57:53 +09:00
Tadashi G. Takaoka 7b5bccc066 Use "unknown emoji" or emoji that has an empty translation
Because the number of emoji description spoken string resources is
rather huge (~800), some locales may chose an empty description as a
translation. If that is the case, we will announce "unknown emoji" as
a fallback.

Bug: 11452158
Change-Id: Ibb65e5bec93030c40bd33ac2be2115c3bbc8bd11
2014-05-27 10:48:03 +09:00
Baligh Uddin c7840a8b51 Import translations. DO NOT MERGE
Change-Id: Ibe6d337f2162e2e72dc3092cd95ceddef31b697e
Auto-generated-cl: translation import
2014-05-26 18:18:57 -07:00
Baligh Uddin 23f1d22f87 Import translations. DO NOT MERGE
Change-Id: I23299c8bf268da907af9c42bc68dc803287c2458
Auto-generated-cl: translation import
2014-05-26 18:16:51 -07:00
Baligh Uddin 18a6a82a30 Import translations. DO NOT MERGE
Change-Id: I4abbc24852986980351dcdf12c50aa8614431133
Auto-generated-cl: translation import
2014-05-26 18:15:46 -07:00
Keisuke Kuroyanagi 71c795d00b Merge "Apply distracter filter for UserHistoryDictionary." 2014-05-26 16:28:23 +00:00
Keisuke Kuroyanagi 17bd4eb0c9 Apply distracter filter for UserHistoryDictionary.
Bug: 13142176
Change-Id: I67d63a5c789d7c587bcd7abacd26b2e76da11978
2014-05-27 01:10:04 +09:00
Keisuke Kuroyanagi f85b478cd8 Merge "Apply distracter filter for in-vocabulary words." 2014-05-26 14:25:17 +00:00
Keisuke Kuroyanagi ba33831d76 Apply distracter filter for in-vocabulary words.
Bug: 13142176
Change-Id: I4db763783a2f8b9a0df0df951db3223f70748870
2014-05-26 23:11:24 +09:00
Keisuke Kuroyanagi 0088d1f668 Merge "Use whether it's exact match to detect distracters." 2014-05-26 13:53:19 +00:00
Keisuke Kuroyanagi a6278eb9c1 Use whether it's exact match to detect distracters.
Bug: 13142176
Change-Id: Id5b7286d28897931f7bfe571be45d46ffeef4adf
2014-05-26 21:56:20 +09:00
Tadashi G. Takaoka 9df51d10fa Keep showing important notice when "show correction suggestions" is off
When
 1. The important notice message is shown on the suggestions strip.
 2. And the "Show correction suggestions" settings is off.
we will keep showing the important notice message on the suggestion
strip.

Bug: 13741460
Change-Id: I411007ab1e5e6959b6cdba7a6601a84635259313
2014-05-26 14:11:41 +09:00
Tadashi G. Takaoka 4905d83270 Merge "Release and register current key when emoji palette is hidden" 2014-05-25 13:09:15 +00:00
Tadashi G. Takaoka 0380421bf7 Release and register current key when emoji palette is hidden
Bug: 13290802
Change-Id: Ib087152f8bd47a5c81901377291e4223ee4a49ec
2014-05-25 10:54:15 +09:00
Tadashi G. Takaoka 1f217dbd51 Use functional key background for action key with label
This CL also adds label_search_key string resources for consistency.

Bug: 15135033
Change-Id: I81cae243e83a590ef56fe758a43c7184fc4159aa
2014-05-24 21:26:47 +09:00
Tadashi G. Takaoka 630a24141e Use ViewCompat support library and delete ViewCompatUtils
Change-Id: I57d60cacd86e83894294c3f64402aba8c1829872
2014-05-24 12:26:30 +09:00
Tadashi G. Takaoka 790934158d Revert "Use ViewCompat support library and delete ViewCompatUtils"
This reverts commit db21267b78.
The reverting change breaks build in unbundled jb-ub-latinimegoole branch.

Change-Id: Ia61424f5321eb97f981d22c4b08e9ea8d348f6c1
2014-05-23 18:31:43 +00:00
Tadashi G. Takaoka db21267b78 Use ViewCompat support library and delete ViewCompatUtils
Change-Id: Ifee496ff7ecaf361898444ff4127f16748d96422
2014-05-24 02:13:52 +09:00
Tadashi G. Takaoka 7a76350b7b Merge "Enable "show language switch key" settings on K and before" 2014-05-23 16:43:37 +00:00
Tadashi G. Takaoka 6726bc9001 Merge "Use Java 7 diamond operator" 2014-05-23 16:43:12 +00:00
Tadashi G. Takaoka e3bfb825f5 Merge "Consolidate attributes to EmojiPaletteView to control indicators" 2014-05-23 16:42:50 +00:00
Tadashi G. Takaoka a91561aa58 Use Java 7 diamond operator
Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
2014-05-24 01:05:42 +09:00
Tadashi G. Takaoka 7ed40a13cc Enable "show language switch key" settings on K and before
"Show language switch key" and "Switch to other IME" settings are
enabled on KitKat and before. On L and later, its preference settings
UI gets hide and the settings values are forcibly set to true.

Bug: 14854377
Change-Id: I10456408452280a1b7688fd1f168933937666c9f
2014-05-24 00:58:24 +09:00
Keisuke Kuroyanagi 9f9988e996 Merge "Introduce EMPTY_PREV_WORDS_INFO and BEGINNING_OF_SENTENCE." 2014-05-23 14:53:13 +00:00
Ken Wakasa 991c9026b9 Merge "Revert "Fix: too many calls to getSuggestedWordsForTypingInput"" 2014-05-23 14:34:36 +00:00
Ken Wakasa d941ea1826 Revert "Fix: too many calls to getSuggestedWordsForTypingInput"
This reverts commit 7aa895e2e3.

Bug: 15148015
Change-Id: If39c4f8b897f247d4eb935923d55d81def4c8fb4
2014-05-23 14:34:06 +00:00
Keisuke Kuroyanagi a790c5b683 Introduce EMPTY_PREV_WORDS_INFO and BEGINNING_OF_SENTENCE.
Bug: 14119293
Change-Id: I5020e5f0aa64bc3e97b3a3c2c07a60c8b765ed64
2014-05-23 23:19:33 +09:00
Keisuke Kuroyanagi a37f374ad1 Version up dynamic dict format from 401 to 402.
Change-Id: Ibea36af905ade773ae3db3a5456f7b5a0ad7d220
2014-05-23 20:20:56 +09:00
Keisuke Kuroyanagi 1adca93381 Extend jni methods and enable Beginning-of-Sentence.
Bug: 14119293
Change-Id: I78fc877367dd0d6240eeacb750b6d2d0b93cba83
2014-05-23 19:58:58 +09:00
Keisuke Kuroyanagi 85befc0873 Merge "Make DistracterFilter interface." 2014-05-23 10:11:57 +00:00
Jean Chalard 52fdaa2cd8 Merge "Fix some auto-caps problems: - (mainly for Spanish) auto-caps after inverted bang and what - (German only) don't auto-cap after digits-period-space" 2014-05-23 09:42:56 +00:00
Jean Chalard e8e463832f Merge "Increase the DB version for the next release." 2014-05-23 09:18:22 +00:00
Jean Chalard cfdb1b8d26 Fix some auto-caps problems:
- (mainly for Spanish) auto-caps after inverted bang and what
- (German only) don't auto-cap after digits-period-space

Bug: 15177663
Bug: 12206753
Change-Id: Ia214bc067319469d9debbbfbdcb1dcff980847f0
2014-05-23 18:17:09 +09:00
Keisuke Kuroyanagi f498e53933 Make DistracterFilter interface.
Bug: 13142176
Bug: 15094186
Change-Id: If94b0a155b5ea2ff6b839e7da9d12a9cc6553931
2014-05-23 18:12:37 +09:00
Keisuke Kuroyanagi 1fa3e9044f Move distracter filter to dictionary facilitator.
Bug: 13142176
Bug: 15094186
Change-Id: Ib9e42f8e25538009f3ba62cf1e034cae3f6823c7
2014-05-23 16:10:36 +09:00
Tadashi G. Takaoka 2782f97927 Consolidate attributes to EmojiPaletteView to control indicators
This CL consolidates attributes of EmojiTabWidget and
EmojiCategoryPageIndicatorView with EmojiPaletteView.

Bug: 15151483
Change-Id: I6eca10b60e894d945080ef3f88523d539a4992fa
2014-05-23 16:09:00 +09:00
Keisuke Kuroyanagi a1035be6d8 Have DictionaryFacilitator in LatinIME.
Bug: 13142176
Bug: 15094186
Change-Id: I9da67352ff2abcd289fa5885389895ced878a413
2014-05-23 09:30:55 +09:00
Keisuke Kuroyanagi a2ce9a49ac Fix NPE happening in unit tests.
Change-Id: I2fc0dba53e18883755ff77351c152a9d3534c92b
2014-05-22 21:57:07 +09:00
Tadashi G. Takaoka 6989408e83 Fix emoji category indicator asset of xhdpi
Bug: 15104705
Change-Id: I4a2fa8a356daefb5cac59be5ee91b3a4033297c3
2014-05-22 19:19:48 +09:00
Tadashi G. Takaoka 713815f6cf Add code point name comment to spoken emoji descriptions
Bug: 11452158
Change-Id: I799f2b359827d75bcd9266bde7f842b370081ce7
2014-05-22 18:16:26 +09:00
Jean Chalard 0fca12bada Merge "Update dictionaries" 2014-05-22 09:08:20 +00:00
Jean Chalard 483650fd1c Increase the DB version for the next release.
Bug: 15065819

Change-Id: Ie43660109002fdb25ce68d7e64506ada0e15e621
2014-05-22 18:01:37 +09:00
Yohei Yukawa 7c6f57d147 Merge "Add a new production flag for metrics logging" 2014-05-22 08:30:20 +00:00
Tadashi G. Takaoka 641205481a Merge "Add spoken description of accented letters" 2014-05-22 08:17:53 +00:00
Yohei Yukawa 17eeecdf49 Add a new production flag for metrics logging
BUG:14909963
Change-Id: I2d48c5b7d959d9bb95afe2cd3cbd16b27092a054
2014-05-22 16:57:52 +09:00
Jean Chalard 9b3d55fd1a Merge "Check the md5 checksum of the copied file." 2014-05-22 07:38:08 +00:00
Keisuke Kuroyanagi 9218c51129 Fix: NPE in DistracterFilter
Change-Id: I19a92d79cf547aae8f15e7e5fd5309812ae4f2d5
2014-05-22 16:33:45 +09:00
Tadashi G. Takaoka fee4073f51 Add spoken description of accented letters
Bug: 15149856
Change-Id: I72f209fc3fdf619b3929325e2a810aa3c0bd1caa
2014-05-22 16:31:21 +09:00
Jean Chalard 9087d19fc0 Check the md5 checksum of the copied file.
If it doesn't match, mark it broken. It means the dictionary pack
will try to install it again next time it updates. We may want to
rethink this.

Bug: 13125743
Change-Id: I0eb547aa7066bed8cb00c009debbafe9181c37ad
2014-05-22 14:19:46 +09:00
Keisuke Kuroyanagi 5e2c4c0297 Merge "Use enabled subtypes for Keyboard in DistracterFilter." 2014-05-22 04:50:47 +00:00
Jean Chalard 68f46d9c2f Merge "Don't upcase suggestions when resuming on an uppercase word" 2014-05-22 03:57:38 +00:00
Jean Chalard 814cf03470 Merge "Arrange to send the rawChecksum to LatinIME." 2014-05-22 03:18:52 +00:00
Jean Chalard 2df6374ffa Merge "Fix: too many calls to getSuggestedWordsForTypingInput" 2014-05-22 03:14:01 +00:00
Jean Chalard 7aa895e2e3 Fix: too many calls to getSuggestedWordsForTypingInput
Bug: 15148015
Change-Id: Idcb729734bd62b537fb81acf8bdb5cae4470404c
2014-05-22 12:08:12 +09:00
Jean Chalard ea09e6bddb Merge "Add the rawChecksum column to the database." 2014-05-22 02:41:00 +00:00
Jean Chalard dfc38358fc Don't upcase suggestions when resuming on an uppercase word
Bug: 13917781
Change-Id: I7458d120898a7c8c0bc2db2f6db3578fd1dd1681
2014-05-22 11:37:08 +09:00
Jean Chalard 267e528253 Arrange to send the rawChecksum to LatinIME.
Bug: 13125743
Change-Id: I5d111336e6a0f5ab4e93ff333654a7a1f8f46480
2014-05-22 11:01:04 +09:00
Jean Chalard e077c01461 Add the rawChecksum column to the database.
Bug: 13125743
Change-Id: I082aa9df1dd4a10cdb3f97ee0692f2d72f6c8e7e
2014-05-22 11:00:46 +09:00
Tadashi G. Takaoka b214c8ac79 Merge "Reuse KLP more keys key background for LXX" 2014-05-22 00:18:33 +00:00
Baligh Uddin 9ef6b6a821 Merge "Import translations. DO NOT MERGE" 2014-05-21 16:13:58 +00:00
Baligh Uddin 31290a9519 Merge "Import translations. DO NOT MERGE" 2014-05-21 16:13:54 +00:00
Jean Chalard 0c80c5e200 Update dictionaries
>>> dictionaries/en_GB_wordlist.combined.gz
Header :
  date : 1393228134 <=> 1400639634
  version : 44 <=> 45
Body :
Deleted: SVD 73
Added: google 72

>>> dictionaries/en_US_wordlist.combined.gz
Header :
  date : 1393228135 <=> 1400639634
  version : 44 <=> 45
Body :
Deleted: SVD 73

>>> dictionaries/en_wordlist.combined.gz
Header :
  date : 1393228155 <=> 1400639659
  version : 44 <=> 45
Body :
Deleted: SVD 73
Added: google 72

>>> dictionaries/fr_wordlist.combined.gz
Header :
  date : 1393228135 <=> 1400639634
  version : 44 <=> 45
Body :
Deleted: Déshabillez-moi 27
Deleted: Déshabillons-les 22
Deleted: Laisse-les 14
Deleted: Pendez-les 34
Deleted: Pendez-moi 14
Deleted: Regardez-les 22
Deleted: Saint-Louis-les 38
Deleted: Saint-Vincent-et-les 62
Deleted: Sortez-les 14
Deleted: brula 56
Deleted: brulaient 38
Deleted: brulait 27
Deleted: brulant 68
Deleted: brulante 45
Deleted: brulantes 38
Deleted: brulants 38
Deleted: brule 64
Deleted: brulent 57
Deleted: bruler 67
Deleted: brulera 31
Deleted: bruleur 38
Deleted: bruleurs 38
Deleted: brulez 22
Deleted: brulis 46
Deleted: brulot 36
Deleted: brulots 45
Deleted: brulure 49
Deleted: brulures 56
Deleted: brulèrent 60
Deleted: brulé 82
Deleted: brulée 71
Deleted: brulées 67
Deleted: brulés 74
Deleted: coutaient 43
Deleted: coutait 61
Deleted: coutant 58
Deleted: coutent 60
Deleted: couter 57
Deleted: coutera 60
Deleted: couterait 52
Deleted: couteuse 72
Deleted: couteusement 45
Deleted: couteuses 65
Deleted: couteux 81
Deleted: coutât 31
Deleted: coutèrent 52
Deleted: couté 81
Deleted: rent 51
Deleted: street 96
Added: déshabillez-moi 27
Added: déshabillons-les 22
Added: laisse-les 14
Added: pendez-les 34
Added: pendez-moi 14
Added: regardez-les 22
Added: sortez-les 14

>>> java/res/raw/main_en.dict
Header :
  date : 1393228155 <=> 1400639659
  version : 44 <=> 45
Body :
Deleted: SVD 73
Added: google 72

>>> java/res/raw/main_fr.dict
Header :
  date : 1393228135 <=> 1400639634
  version : 44 <=> 45
Body :
Deleted: Déshabillez-moi 27
Deleted: Déshabillons-les 22
Deleted: Laisse-les 14
Deleted: Pendez-les 34
Deleted: Pendez-moi 14
Deleted: Regardez-les 22
Deleted: Saint-Louis-les 38
Deleted: Saint-Vincent-et-les 62
Deleted: Sortez-les 14
Deleted: brula 56
Deleted: brulaient 38
Deleted: brulait 27
Deleted: brulant 68
Deleted: brulante 45
Deleted: brulantes 38
Deleted: brulants 38
Deleted: brule 64
Deleted: brulent 57
Deleted: bruler 67
Deleted: brulera 31
Deleted: bruleur 38
Deleted: bruleurs 38
Deleted: brulez 22
Deleted: brulis 46
Deleted: brulot 36
Deleted: brulots 45
Deleted: brulure 49
Deleted: brulures 56
Deleted: brulèrent 60
Deleted: brulé 82
Deleted: brulée 71
Deleted: brulées 67
Deleted: brulés 74
Deleted: coutaient 43
Deleted: coutait 61
Deleted: coutant 58
Deleted: coutent 60
Deleted: couter 57
Deleted: coutera 60
Deleted: couterait 52
Deleted: couteuse 72
Deleted: couteusement 45
Deleted: couteuses 65
Deleted: couteux 81
Deleted: coutât 31
Deleted: coutèrent 52
Deleted: couté 81
Deleted: rent 51
Deleted: street 96
Added: déshabillez-moi 27
Added: déshabillons-les 22
Added: laisse-les 14
Added: pendez-les 34
Added: pendez-moi 14
Added: regardez-les 22
Added: sortez-les 14

Bug: 15065819
Bug: 13618068
Change-Id: I3dbe2f1d8868e0880ac76058d99346242bace8cc
2014-05-21 17:33:06 +09:00
Keisuke Kuroyanagi 17f326b745 Add beginning of sentence information in PrevWordsInfo.
Bug: 14119293
Bug: 14425059
Change-Id: I65320920e840082b0b697bb621676716d0933e0c
2014-05-21 15:40:08 +09:00
Keisuke Kuroyanagi 17ae0eb7e7 Use enabled subtypes for Keyboard in DistracterFilter.
Bug: 13142176
Bug: 15094186
Change-Id: I142eeaa11f838080a4fc5a342155e5d470eab3d4
2014-05-21 14:08:39 +09:00
Tadashi G. Takaoka f621ef52d0 Merge "Update action key and shift key backgrounds of LXX" 2014-05-21 03:54:50 +00:00
Tadashi G. Takaoka 79a7f133d4 Reuse KLP more keys key background for LXX
Change-Id: I239bae6bd622119c560d39c6d9c0559fd0380669
2014-05-21 12:43:07 +09:00
Tadashi G. Takaoka f675209456 Update action key and shift key backgrounds of LXX
Bug: 14419121
Change-Id: Ic5aaff21ce55dc24dcd766d017879cb7b17a9c95
2014-05-21 12:41:56 +09:00
Tadashi G. Takaoka 73788ea154 Merge "Refactor MoreKeysKeyboardView to use Key class" 2014-05-21 03:06:43 +00:00
Tadashi G. Takaoka 5fc1510bc1 Refactor MoreKeysKeyboardView to use Key class
This can make MoreSuggestionsView to use extended Key class to hold
a index of a suggested word.

Change-Id: I54d03d2447b04e3caf3e19e7cadcd391cbf58dd5
2014-05-21 11:19:01 +09:00
Keisuke Kuroyanagi e507d92aa3 Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.
Bug: 14119293
Bug: 14425059
Bug: 15102610
Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815
2014-05-21 11:15:38 +09:00
Baligh Uddin d8be429bfa Import translations. DO NOT MERGE
Change-Id: I7e57cae745daf12d9e6e7ffa18e58f2e5dac9270
Auto-generated-cl: translation import
2014-05-20 16:13:29 -07:00
Baligh Uddin cd61bfebe5 Import translations. DO NOT MERGE
Change-Id: I22f466b3d3afb2ab096fc8cbae11ec156fa5623b
Auto-generated-cl: translation import
2014-05-20 16:09:51 -07:00
Ken Wakasa 06dd0ef877 Merge "Revert "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry."" 2014-05-20 14:01:34 +00:00
Ken Wakasa 4e21d3711f Revert "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry."
This reverts commit ff50b39176.

Bug: 14119293
Bug: 14425059
Bug: 15102610

Change-Id: If278b4ab236e38d20d8cdc0761b0438911bd4ff9
2014-05-20 14:01:06 +00:00
Tadashi G. Takaoka 305778b53a Support accessibility TalkBack in emoji palette
Bug: 11452158
Change-Id: I699e4e9f4baec4bb0fb9cd7875f675044f20465f
2014-05-20 17:35:39 +09:00
Tadashi G. Takaoka f22285006a Move generic hover event handling to KeyboardAccessibilityDelegate
This is a follow up of I0d73b4cf60.

Change-Id: Iecfe124321682c8fc307ccf4c79e836390403d95
2014-05-20 17:25:19 +09:00
Tadashi G. Takaoka 4d146d5e3e Separate MainKeyboardView specific accessibility code
Change-Id: I0d73b4cf60145b6e34bd89f72eb49de3c686f5e3
2014-05-20 15:34:25 +09:00
Tadashi G. Takaoka 524392adfa Merge "Refactor accessibility classes to be more generic" 2014-05-20 06:19:30 +00:00
Tadashi G. Takaoka c6d40dfa5c Merge "Remove preliminary subtypes for L-preview" 2014-05-20 06:08:41 +00:00
Tadashi G. Takaoka 7b90d2c432 Refactor accessibility classes to be more generic
Change-Id: Ifad1905f304bccdc39f0d5fbcab8a6353e0b4f76
2014-05-20 15:07:45 +09:00
Keisuke Kuroyanagi 1afaf6770b Merge "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry." 2014-05-20 05:36:10 +00:00
Tadashi G. Takaoka d2f968847a Remove preliminary subtypes for L-preview
Bug: 13966540
Bug: 13779052
Bug: 10028772
Bug: 7963632
Change-Id: I38552cdbdd6165ee5d9b1a89a822653459fb2b38
2014-05-20 13:56:04 +09:00
Tadashi G. Takaoka 5b7c85ec32 Merge "Update key preview popup and shift icons of LXX_Dark" 2014-05-20 04:49:22 +00:00
Tadashi G. Takaoka cf3b5df3ba Update key preview popup and shift icons of LXX_Dark
Bug: 14419121
Change-Id: I808ea58a8d00be3c64d0f4a17e61c55299f8583a
2014-05-20 13:37:54 +09:00
Keisuke Kuroyanagi ff50b39176 Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.
Bug: 14119293
Bug: 14425059

Change-Id: I12e9ba977c153b514c6591ab52940712fd0874e3
2014-05-20 13:37:04 +09:00
Tadashi G. Takaoka 9fb2797714 Fix number password field handling
Bug: 15088419
Change-Id: Ie88375c8c8203c318d9b410692c527443cb0a2d5
2014-05-20 10:26:26 +09:00
Tadashi G. Takaoka 437be2d5c4 Refactor Emoji tab indicators to refer keyboard theme
Bug: 14419121
Change-Id: I7086923fff153039c2d011bbccbfd04eb687a76a
2014-05-20 01:16:25 +09:00
Tadashi G. Takaoka 27ca9f1bf1 Remove Emoji label tab
Change-Id: Ia2f3482363b462c16a51f2baac59d6bcae96ffab
2014-05-19 23:11:39 +09:00
Tadashi G. Takaoka 3bfacd445e Merge "Remove Emoji delete key UX hack" 2014-05-19 05:33:28 +00:00
Tadashi G. Takaoka 6ea0dab845 Remove Emoji delete key UX hack
The Emoji delete key UX hack that changes key background color based
on the key state isn't keyboard theme compliant.

Change-Id: I0fa43a91cdd6da944d6d4d1a5a09b771f852a081
2014-05-19 14:07:35 +09:00
Keisuke Kuroyanagi b52055bfd1 Merge "Use PrevWordsInfo instead of String in Java side." 2014-05-19 05:00:21 +00:00
Keisuke Kuroyanagi 83c40a2301 Use PrevWordsInfo instead of String in Java side.
Bug: 14119293
Bug: 14425059

Change-Id: I3d5da84881a49a04550180dd9aac2c37da2ed762
2014-05-19 13:55:40 +09:00
Tadashi G. Takaoka 10bd458efc Rename Emoji related resource names more consistent
Change-Id: I318a98feeaf7b8bc4d2ed6d54475a144e2dca0a1
2014-05-19 13:54:00 +09:00
Tadashi G. Takaoka 260b65478f Rename key background drawables more consistent
This CL also deletes the following unused drawables.
- btn_keyboard_key_dark_normal_on.9.png
- btn_keyboard_key_dark_normal_off.9.png
- btn_keyboard_key_dark_pressed_off.9.png

Change-Id: I3e4e14fc1e631245ebb36a0a1c7ffc76f75fd217
2014-05-19 12:58:27 +09:00
Tadashi G. Takaoka 193584ce6a Update Enter and key preview popup of Quantum Dark
Bug: 14419121
Change-Id: Ibdac3caaf9b7ec2c2c7f226ed7f66285587d4d5c
2014-05-19 11:54:49 +09:00
Tadashi G. Takaoka 04e2a494e2 Rename LXX theme to LXX_Dark
Bug: 14419121
Change-Id: I3d73c51d339eafec26871a659575d8b7b8cc441c
2014-05-19 10:27:36 +09:00
Keisuke Kuroyanagi 23246ed18d Use dedicated DictionaryFacilitator for DistracterFilter
Bug: 15002249
Change-Id: Ic77eaa7d627d406daad7dcd15cb4884d9f647312
2014-05-17 01:18:08 +09:00
Keisuke Kuroyanagi 96013c9605 Merge "Revert "Use dedicated DictionaryFacilitator for DistracterFilter"" 2014-05-16 11:17:45 +00:00
Keisuke Kuroyanagi f9377c8920 Revert "Use dedicated DictionaryFacilitator for DistracterFilter"
This reverts commit 7122fe76e3.

Change-Id: I341089864a2b58de6e0f35844a12fb632bd1eabb
2014-05-16 11:16:54 +00:00
Keisuke Kuroyanagi 0dac17f5fb Merge "Use dedicated DictionaryFacilitator for DistracterFilter" 2014-05-16 10:49:02 +00:00
Tadashi G. Takaoka 060e63835a Merge "Fix keyboard theme selection logic" 2014-05-16 09:59:22 +00:00
Tadashi G. Takaoka 3b12718537 Fix keyboard theme selection logic
Bug: 15002666
Change-Id: I5cc52db71ee609edffdb2613e93245e92ac6fc6a
2014-05-16 18:45:09 +09:00
Keisuke Kuroyanagi 7122fe76e3 Use dedicated DictionaryFacilitator for DistracterFilter
Bug: 15002249
Change-Id: I2ebf1941fb0453ea4b97c0e539f8b36e5e0262c1
2014-05-16 18:39:31 +09:00
Keisuke Kuroyanagi d1f9ce00db Merge "Make session id mandatory for getSuggestions." 2014-05-16 09:33:28 +00:00
Keisuke Kuroyanagi 09c72207c6 Make session id mandatory for getSuggestions.
Bug: 15008504
Change-Id: Ic4a17a4b7242118ae74fd89c695da2bb52204fb2
2014-05-16 17:57:03 +09:00
Tadashi G. Takaoka 91e4ba742a Merge "Fix typeface weight and suggestions strip background" 2014-05-16 07:59:30 +00:00
Keisuke Kuroyanagi f1b3518d71 Merge "Fix: StringIndexOutOfBoundsException." 2014-05-16 07:47:52 +00:00
Keisuke Kuroyanagi 34873a66f0 Fix: StringIndexOutOfBoundsException.
Bug: 14985751
Change-Id: I9df2f737555ab02e24e0fbd231a97c1eec26bc57
2014-05-16 15:32:12 +09:00
Keisuke Kuroyanagi cfd3093362 Merge "Fix: NPE when context.getFilesDir() returns null." 2014-05-16 05:35:57 +00:00
Tadashi G. Takaoka 496879a2e2 Fix typeface weight and suggestions strip background
Changes the typeface weight from bold to regular.

Bug: 14419121
Change-Id: Ia80f82a32344114cf66cad882e403985e6bb1044
2014-05-16 11:24:09 +09:00
Tadashi G. Takaoka 812d7d935a Merge "Support 9-patch drawable for spacebar icon" 2014-05-16 01:28:04 +00:00
Baligh Uddin 346e96bb5c Merge "Import translations. DO NOT MERGE" 2014-05-15 14:35:22 +00:00
Keisuke Kuroyanagi a545e8dd23 Fix: NPE when context.getFilesDir() returns null.
Bug: 14517587
Change-Id: Ib99bea14eab3a25ddb5042527b757133734a6ba6
2014-05-15 20:20:13 +09:00
Tadashi G. Takaoka 41808192d3 Support 9-patch drawable for spacebar icon
Bug: 14419121
Change-Id: I901ea2a5bfae870b3aae8fea3bc38d999b2354b8
2014-05-15 18:40:16 +09:00
Tadashi G. Takaoka 2ddaf9543d Remove unused auto correction led for spacebar feature
Change-Id: Ie1544bd0d28684d9b7887fddff37b224ed4f8201
2014-05-15 17:53:43 +09:00
Tadashi G. Takaoka c007e8863c Swap space and dot of number keyboard of phone
Bug: 14419121
Change-Id: I0968b46cfabd3d0a37a705451e38bd922b69e7ec
2014-05-15 16:31:09 +09:00
Tadashi G. Takaoka 591ec83e40 Merge "Use slightly dimmed text color for functional keys" 2014-05-15 07:09:53 +00:00
Tadashi G. Takaoka 28289ece59 Merge "Fix NPE in KeyboardSwitcher while orientation change" 2014-05-15 07:09:44 +00:00
Keisuke Kuroyanagi e810a266fd Merge "Quit use bigram probability diff for ver4 dict." 2014-05-15 07:07:25 +00:00
Tadashi G. Takaoka afdcc15ca8 Fix NPE in KeyboardSwitcher while orientation change
This is a follow up of I8a737e2b73.

Bug: 14981300
Bug: 14419121
Change-Id: I87f910adbff248d9606d074c351aa951c9539163
2014-05-15 16:07:15 +09:00
Keisuke Kuroyanagi 64341927d2 Quit use bigram probability diff for ver4 dict.
Change-Id: I2cfcfbcf351877d1dff466a24974dbb05908f14e
2014-05-15 16:02:58 +09:00
Tadashi G. Takaoka 37ec0fe984 Use slightly dimmed text color for functional keys
This CL introduces two new key attributes to achieve this.
- KeyboardView.functionalTextColor
- followFunctionalTextColor flag for Key.keyLabelFlags

Bug: 14419121
Change-Id: I45ca433dcc9cc8c6cf891e21d5316ee4048b0cad
2014-05-15 15:39:59 +09:00
Yohei Yukawa f0fc320b4e Merge "Simplify StatsUtils" 2014-05-15 06:35:42 +00:00
Baligh Uddin bdc4b1876a Import translations. DO NOT MERGE
Change-Id: Ied3af9b4df35ee65da5734d910cf45af16d84e9e
Auto-generated-cl: translation import
2014-05-14 22:17:29 -07:00
Tadashi G. Takaoka 34e0fad723 Update L icons
This CL must be checked in together with I27755f45fd.

Bug: 14419121
Change-Id: Iaf032f638c9ed36f2d3b924fdd42f0502abf487e
2014-05-15 13:45:02 +09:00
Xiaojun Bi 3686bdfcc1 Fix off-device build
This CL fixed the breakage caused by DistracterFilter.
It should be checked in together with I8f53e9481c0f

Bug: 14911612
Bug: 13142176
Change-Id: I33c3526165cea58926d10404552f1fadc385c2e5
2014-05-14 17:39:02 -07:00
Yohei Yukawa 9aa7f66a15 Simplify StatsUtils
With this CL, the implementation of StatsUtils no longer
needs to know how to read settings from the system.

Insted, the LatinIME class is now responsible for notifying
StatsUtils whenever the settings is changed.

BUG: 14324207
Change-Id: Ic3d26ec31c8d2c082d3e7487b578b323aad2f960
2014-05-15 00:11:13 +09:00
Keisuke Kuroyanagi aa7329de15 Merge "Add VERSION4_DEV(402) in Java side and use it for tests." 2014-05-14 13:42:24 +00:00
Keisuke Kuroyanagi 04536f14b0 Add VERSION4_DEV(402) in Java side and use it for tests.
Bug: 13406708
Change-Id: I7c9c53bf34d12dced7331a359a83f6444490783a
2014-05-14 22:37:07 +09:00
Keisuke Kuroyanagi ee59975420 Merge "Fix a NPE in DistracterFilter.isDistracterToWordsInDictionaries()" 2014-05-14 12:20:10 +00:00
Jean Chalard babde55bf8 Merge "Fix a bug where changing languages kills the composition." 2014-05-14 11:36:43 +00:00
Jean Chalard 5ce39dfa78 Fix a bug where changing languages kills the composition.
Bug: 14926896
Change-Id: Id2a06c68a51f833db4d8bbc858a232c2696afb6e
2014-05-14 20:34:32 +09:00
Tadashi G. Takaoka 9f4d62cc42 Create com.android.inputmethod.keyboard.emoji package
Change-Id: Idd12c2fa4f5add7bb50bd7349ff9a74fffe82cfd
2014-05-14 19:32:00 +09:00
Tadashi G. Takaoka 71f4c6b8ea Merge "Fix NPE that happens only in some unit tests" 2014-05-14 10:01:15 +00:00
Tadashi G. Takaoka 268bf2cdfe Fix NPE that happens only in some unit tests
Bug: 14922410
Change-Id: Ica801e102d302e9faa7c24721b37634f1e812af3
2014-05-14 18:55:14 +09:00
Jean Chalard 08476dc107 Merge "Don't send empty composing texts." 2014-05-14 09:50:25 +00:00
Tadashi G. Takaoka 83da26422c Merge "Rename LMP to LXX just in case" 2014-05-14 09:43:27 +00:00
Tadashi G. Takaoka 3610039723 Rename LMP to LXX just in case
This CL must be checked in together with I7e2ba67f31.

Change-Id: I51cb982f9cf0ace173d535a60293bb4be83bbb75
2014-05-14 18:39:39 +09:00
Tadashi G. Takaoka d7c520bb74 Merge "Make Emoji palette more Quantum light compliant" 2014-05-14 09:33:43 +00:00
Keisuke Kuroyanagi 0a04f8be93 Merge "Output dictionary format version for dump." 2014-05-14 09:07:56 +00:00
Tadashi G. Takaoka c1094d6913 Make Emoji palette more Quantum light compliant
Bug: 14419121
Change-Id: I8a737e2b73a000ad66e7e30a695677fe0bcc66fb
2014-05-14 18:01:24 +09:00
Tadashi G. Takaoka ae1c53bead Merge "Separate functional key background from normal one" 2014-05-14 09:00:43 +00:00
Tadashi G. Takaoka c1e6100bde Separate functional key background from normal one
This CL also moves spacebarBackground attribute from MainKeyboardView
to KeyboardView.

This CL must be checked in together with I48c383ca97.

Bug: 14419121
Change-Id: Id356d0086a8fb21375fb5c66076873258fb3d63e
2014-05-14 17:57:51 +09:00
Jean Chalard 309ab664a8 Don't send empty composing texts.
Bug: 13160467
Change-Id: I5e3204ac8aaa18fe9219cc6b564b832ab6cf94fc
2014-05-14 16:55:32 +09:00