Tadashi G. Takaoka
063b2e8d71
Merge "Make LocaleUtils.constructLocaleFromString as @Nonnull"
2014-11-28 03:02:20 +00:00
Tadashi G. Takaoka
1ea80887c4
Fix comment
...
Change-Id: Ic0db304f213c9f4fdcea263a91d14ad62b98eb70
2014-11-28 12:00:49 +09:00
Tadashi G. Takaoka
032bac3ebb
Merge "Fix crash while settings custom input style"
2014-11-28 02:56:55 +00:00
Tadashi G. Takaoka
71f82c375c
Merge "Fix settings keys on tablet"
2014-11-28 02:56:01 +00:00
Tadashi G. Takaoka
b0a0ce0b31
Remove unused import and local variable
...
Change-Id: I256d1c6bf96c07b10d2d063d7935e20e0ab8ea17
2014-11-28 11:53:12 +09:00
Tadashi G. Takaoka
60d880cf5e
Remove unnecessary code of CustomInputStylePreference
...
Change-Id: I68d2c85139e01684d5f0705f621ba223fc5e4425
2014-11-27 17:05:37 +09:00
Tadashi G. Takaoka
06b02817b3
Fix crash while settings custom input style
...
Bug: 18515346
Change-Id: I3a893333762233cd6c8716755793f6ffaf22bb9a
2014-11-27 17:03:40 +09:00
Tadashi G. Takaoka
64885b263e
Fix settings keys on tablet
...
Bug: 18531491
Change-Id: Id374932b71674177abddd6d249ba6e712cbb5d25
2014-11-27 16:08:53 +09:00
Tadashi G. Takaoka
01d54002b3
Refactor KeysCache to UniqueKeysCache
...
Change-Id: I8e3c4705c705a1c6e05e9112211d7012912d7e41
2014-11-27 15:44:22 +09:00
Tadashi G. Takaoka
9d5d01a543
Add null analysis annotations to keyboard package
...
Change-Id: I6f020ece3c45d584d413e4265d6d3fbdf1ea8bd8
2014-11-27 12:37:38 +09:00
Tadashi G. Takaoka
bb4075bc93
Merge "Fix possible NPE in MainKeyboardView"
2014-11-27 03:03:54 +00:00
Tadashi G. Takaoka
2ffcad113a
Merge "Remove unused code from DictionaryFactory"
2014-11-27 03:01:46 +00:00
Tadashi G. Takaoka
b5a7ece02b
Merge "Remove obsolete comment"
2014-11-27 02:52:04 +00:00
Jatin Matani
12d63820d4
Hook for fetching sync content from UserHistoryDict
...
Add API to ExpandableBinaryDictionary to dump content
from a given dictionary. We use this for dumping data
for sync process.
Refactored UserHistoryDictionaryTests to scrap out the util
methods for testing. These utility methods would be used
for testing sync + user dictionary code in LatinIMEGoogleTests
Bug:18106539
Change-Id: I357f9192ea1bd69a526d0b620c25616a2e8e9d5b
2014-11-26 11:17:24 -08:00
Geoff Mendal
0cc4b88531
Import translations. DO NOT MERGE
...
Change-Id: I6edc9f4285ac08e1d97360a0b6d489c5f809c363
Auto-generated-cl: translation import
2014-11-26 07:18:45 -08:00
Jean Chalard
56577461d6
Allow whitelist changes when no close word
...
When there isn't a close word in another language of the
current multi-language set, we allow whitelist entries
to take force even if we are not confident in the current
language.
Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: I044674ba7b70aa86ab2a48d2e4d53a1c8007b62c
2014-11-26 18:43:22 +09:00
Jean Chalard
e752aab70d
Use confidence to fix whitelist
...
With this the most obvious problem is fixed. However there
are two remaining items : we should still enforce whitelist
when there are no close candidates at all, and we should
start in confident mode when pressing the globe key.
Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ibc0571ae35fc28f8d13760aa86b25db1163d3e31
2014-11-26 17:29:59 +09:00
Tadashi G. Takaoka
cbefc0c8f9
Remove obsolete comment
...
Change-Id: I9e606fd573a60d12482b12e0e9adaecd552f66a7
2014-11-26 12:02:07 +09:00
Jean Chalard
b479a56f28
Merge "Add confidence."
2014-11-25 06:22:30 +00:00
Jean Chalard
d06dd0ca12
Add confidence.
...
Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ica09d11cb95308dd014c4e4e0d99a30dd66bfea9
2014-11-25 14:41:27 +09:00
Tadashi G. Takaoka
8e32700914
Merge "Refactor PointerTracker and MainKeyboardView"
2014-11-25 02:09:25 +00:00
Geoff Mendal
dd01ed3af8
Merge "Import translations. DO NOT MERGE"
2014-11-24 18:05:52 +00:00
Geoff Mendal
e6e354720c
Merge "Import translations. DO NOT MERGE"
2014-11-24 18:04:24 +00:00
Geoff Mendal
7c2da981de
Merge "Import translations. DO NOT MERGE"
2014-11-24 18:03:12 +00:00
Geoff Mendal
e40a068cee
Merge "Import translations. DO NOT MERGE"
2014-11-24 18:02:54 +00:00
Geoff Mendal
d665a22f69
Import translations. DO NOT MERGE
...
Change-Id: I8a777c9f33e81b6b95bec3b20ef5370ccb88b5f6
Auto-generated-cl: translation import
2014-11-24 07:50:47 -08:00
Geoff Mendal
7c4f3f4ea2
Import translations. DO NOT MERGE
...
Change-Id: Ie03e186016b62bf0d758dd25ee820e6180944e02
Auto-generated-cl: translation import
2014-11-24 07:49:06 -08:00
Geoff Mendal
909e5628ef
Import translations. DO NOT MERGE
...
Change-Id: I3a0eb63a15ceb2330de6558bf3cb93987ee753af
Auto-generated-cl: translation import
2014-11-24 07:47:05 -08:00
Geoff Mendal
eaee40e223
Import translations. DO NOT MERGE
...
Change-Id: I58dc523d0cc2eed8750d877e44556b5c97767540
Auto-generated-cl: translation import
2014-11-24 07:45:58 -08:00
Geoff Mendal
0791009872
Import translations. DO NOT MERGE
...
Change-Id: Ice840a82a58fc65860512fdcfd3a5ef29e3a0a6c
Auto-generated-cl: translation import
2014-11-24 07:44:49 -08:00
Tadashi G. Takaoka
a414b81a6c
Remove unused code from DictionaryFactory
...
Change-Id: I666308ada968ee7993235ad98b92f2ad522af122
2014-11-21 17:58:50 +09:00
Tadashi G. Takaoka
8a711f2a54
Remove unneeded Context argument
...
Change-Id: Ib34931836a617d0dc049fb3c9ae6686374ec8c12
2014-11-21 12:49:04 +09:00
Tadashi G. Takaoka
53b6d627e7
Refactor PointerTracker and MainKeyboardView
...
This CL reorganize the key press/release state visual drawing code.
Change-Id: I4aa10f57309ae2f81333a1e2bd863c23a7a41d82
2014-11-21 12:40:00 +09:00
Tadashi G. Takaoka
ebe5b42f71
Make LocaleUtils.constructLocaleFromString as @Nonnull
...
Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb
2014-11-21 12:02:06 +09:00
Jean Chalard
a7efe06208
Annotate the typed word with its source dictionary
...
...when applicable of course. This will allow for informing the
language switching authorities that the typed word was a
specific language, instead of leaving them in the dark.
Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ice3e7026a68c3018f54d730ec84f6762bf55899b
2014-11-20 18:31:01 +09:00
Tadashi G. Takaoka
a66069abd8
Fix possible NPE in MainKeyboardView
...
Change-Id: I1fc21a981d9f1740315763b5ca0c1024ece1fa4d
2014-11-20 15:07:28 +09:00
Jean Chalard
a94733cbca
Fix an NPE.
...
Change-Id: Ie5ab5cc716ef1211eb9ad76baa0467455e1f1a71
2014-11-20 14:48:33 +09:00
Jean Chalard
1d80cb2301
Merge "Fix a NPE"
2014-11-20 05:28:47 +00:00
Jean Chalard
a2cb2f36a6
Make the typed word a SuggestedWordInfo
...
That allows to carry the language information in an
accurate manner.
Bug: 18063142
Change-Id: I0bca8981372ae10648274095b18b26a3686b762b
2014-11-20 13:57:01 +09:00
Jean Chalard
0e00f5fe3a
Fix a NPE
...
Bug: 18451316
Change-Id: Ia20bf388471f84c963354df050182e722d966a02
2014-11-20 13:50:27 +09:00
Geoff Mendal
7cca01aa1d
Merge "Import translations. DO NOT MERGE"
2014-11-19 17:51:56 +00:00
Geoff Mendal
317291f1ce
Import translations. DO NOT MERGE
...
Change-Id: Ia452550ea624897c092ef024c1d8b0dad4eabacf
Auto-generated-cl: translation import
2014-11-19 09:45:03 -08:00
Geoff Mendal
dc7485f5cb
Import translations. DO NOT MERGE
...
Change-Id: Iddd628f70020ed3bf60baa4331418b91f3920eb3
Auto-generated-cl: translation import
2014-11-19 09:41:07 -08:00
Jean Chalard
8736f2d719
Merge "Fix oscillations on ICS"
2014-11-19 10:23:28 +00:00
Jean Chalard
9444d70514
Fix oscillations on ICS
...
Bug: 18181427
Change-Id: Ib4dd62037b1f7b2d10496ee3e45b4a138e29f90a
2014-11-19 19:22:04 +09:00
Tadashi G. Takaoka
6c47403e27
Rename StringUtils methods that handle title case manipulation
...
Change-Id: Iee0dd077a0423f110f4f8dad0f04933045baef2a
2014-11-19 19:08:05 +09:00
Jean Chalard
fde0cce103
Merge "Remove the other deprecated constructor to SuggestedWords"
2014-11-19 08:30:03 +00:00
Tadashi G. Takaoka
b9116af29f
Fix SubtypeLocaleUtils.getSubtypeNameForLogging accepting null
...
Change-Id: Ic5cb55e24a2d843027ccc4e8e5d6954f9391c125
2014-11-19 11:57:49 +09:00
Tadashi G. Takaoka
5c6766a58d
Remove preliminary mark from Bengali Akkhor keyboard
...
Bug: 16143057
Change-Id: I4f048a15b8b810f47622c8ec87773ff7470d20f2
2014-11-18 18:42:39 +09:00
Jean Chalard
6d1201915d
Rename a confusing method name
...
...and fix a bug that happened because of it.
Bug: 18417740
Change-Id: I7a33780adcb8f4e2625abcd3eec906dfee1f5dcf
2014-11-18 11:52:35 +09:00
Tadashi G. Takaoka
76f47ee433
Merge "Refactor KeyboardState.SavedKeyboardState class a bit"
2014-11-17 10:00:02 +00:00
Tadashi G. Takaoka
81dde500a8
Merge "Remove deprecated Canvas.clipRegion(Region) call"
2014-11-17 09:05:12 +00:00
Jean Chalard
83f9524b87
Remove the other deprecated constructor to SuggestedWords
...
Change-Id: Ied821df01e032ebc913d2f15dffdf41a51372ea4
2014-11-17 16:23:52 +09:00
Adrian Velicu
37f5b0d4ff
Bumping metadata database version to 11.
...
Change-Id: I19e2f701f3e2334355bfd7105f9b62dcb53cc209
2014-11-14 15:14:21 -08:00
Adrian Velicu
91a81a2790
More verbosity when reporting broken dictionaries
...
Also added toString for AssetFileAddress for easier debugging.
Change-Id: Ie5d15d12bae46c31b28d8c67002e627f4c6690e3
2014-11-14 13:42:24 -08:00
Tadashi G. Takaoka
0179b8ed7f
Merge "Fix emoji key background of Holo themes"
2014-11-14 18:14:09 +00:00
Adrian Velicu
39d50e7e7a
Merge "UpdateHandler to support v202 dicts."
2014-11-14 03:45:32 +00:00
Jatin Matani
d60f9c046e
Merge "Implement UserHistoryDictionary for each user account."
2014-11-14 00:46:37 +00:00
Tadashi G. Takaoka
6030d4f0f4
Fix emoji key background of Holo themes
...
Bug: 18361310
Change-Id: Ie56f2af8fc43499d1fa1d505fb4941cd5dba1395
2014-11-13 16:32:18 -08:00
Jatin Matani
5365191a9d
Implement UserHistoryDictionary for each user account.
...
UserHistoryDictionary currently uses locale to determine the
UserHistoryDictionary on the filesystem. With this change we
use the account name as well. Thus each UserHistoryDictionary
would following the following spec:
UserHistoryDictionary.<locale>.<account>.dict.
In case no account is selected, we default to the existing
spec:
UserHistoryDictionary.<locale>.dict
Example
UserHistoryDictionary.en_US.testaccount@example.com.dict
Bug: 18104749
Change-Id: Iab031e166b55cf2ded68275a7e9be22475737b37
2014-11-13 14:21:38 -08:00
Geoff Mendal
80c4e0f68a
Merge "Import translations. DO NOT MERGE"
2014-11-13 03:49:12 +00:00
Geoff Mendal
f3fe782677
Import translations. DO NOT MERGE
...
Change-Id: I68454cd9f59632e0c3a19635054a89c6f05142ee
Auto-generated-cl: translation import
2014-11-12 19:41:21 -08:00
Tadashi G. Takaoka
d6e367ff5b
Move isRtlLanguage method to LocaleUtils
...
Change-Id: I485a076b81927fed0da593216fea2c740449ef4c
2014-11-12 16:47:38 -08:00
Tadashi G. Takaoka
63e076764b
Merge "Add RichInputMethodSubtype.getKeyboardLayoutSetName"
2014-11-13 00:41:10 +00:00
Tadashi G. Takaoka
6de31466b0
Add RichInputMethodSubtype.getKeyboardLayoutSetName
...
Change-Id: I90cc74ee882e8aa2b243885d3b994223ca3b6f44
2014-11-12 15:41:38 -08:00
Tadashi G. Takaoka
1dfdd9b509
Clean SubtypeLocaleUtils a bit
...
Change-Id: If8b981715983e3a12867c9b7c53bfa5effaddd39
2014-11-12 15:14:52 -08:00
Adrian Velicu
de29278592
UpdateHandler to support v202 dicts.
...
Change-Id: Ib61a5005a82927f5e12a19c9c14f20d46572cf31
2014-11-12 12:04:38 -08:00
Tadashi G. Takaoka
dd0b8a06a8
Refactor KeyboardState.SavedKeyboardState class a bit
...
Change-Id: I5be7339c4797b0308c1a192d2984056619fdfbdd
2014-11-10 16:40:59 -08:00
Geoff Mendal
f31b8e4ff3
Merge "Import translations. DO NOT MERGE"
2014-11-10 23:45:54 +00:00
Geoff Mendal
2c66011d5b
Merge "Import translations. DO NOT MERGE"
2014-11-10 23:44:53 +00:00
Tadashi G. Takaoka
e895f5f914
Merge "Move logic to determine spacebar text to LanguageOnSpacebarHelper"
2014-11-10 22:59:32 +00:00
Geoff Mendal
4bbb3e6236
Import translations. DO NOT MERGE
...
Change-Id: I11a66375af737c53e276c9f64bf2052331c4b3f9
Auto-generated-cl: translation import
2014-11-10 12:58:03 -08:00
Geoff Mendal
ac3251fa1e
Import translations. DO NOT MERGE
...
Change-Id: I224369092800032915f36e9bf4237d7d537fa712
Auto-generated-cl: translation import
2014-11-10 12:54:20 -08:00
Ken Wakasa
d158c43070
Just tiny cosmetic fixes in makefile
...
Change-Id: I470ba8a03d70aa520311c50f5d21979f476798b7
2014-11-11 03:26:38 +09:00
Tadashi G. Takaoka
0d6ce46528
Move logic to determine spacebar text to LanguageOnSpacebarHelper
...
Change-Id: Ib9dbbb4bd4e35c15fd752c364d3012e8a7da2410
2014-11-08 18:50:59 -08:00
Tadashi G. Takaoka
52a87a4cc3
Merge "Clean up KeyboardLayoutSet a bit"
2014-11-07 18:02:48 +00:00
Tadashi G. Takaoka
ec0d6bb9b7
Merge "Move current subtype management code to RichInputMethodManager"
2014-11-07 18:02:22 +00:00
Baligh Uddin
96d558cc19
Merge "Import translations. DO NOT MERGE"
2014-11-07 14:55:21 +00:00
Baligh Uddin
73c80e678e
Merge "Import translations. DO NOT MERGE"
2014-11-07 14:55:07 +00:00
Jean Chalard
5c4f642df6
Merge "Move util classes under common"
2014-11-07 09:15:35 +00:00
Jean Chalard
5b91b551e5
Move util classes under common
...
Also why did we have two copies of LocaleUtils >.>
Bug: 18108776
Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
2014-11-07 18:00:03 +09:00
Jean Chalard
e0c2e5b2f7
Merge "Remove a deprecated constructor to SuggestedWords"
2014-11-07 08:49:26 +00:00
Jean Chalard
c3e211bd6b
Remove a deprecated constructor to SuggestedWords
...
Change-Id: If4d358b3a11fb25fc214c728269519d8c25f9adc
2014-11-07 16:40:24 +09:00
Tadashi G. Takaoka
7286667754
Merge "Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManager"
2014-11-07 06:20:07 +00:00
Jean Chalard
51d0b3351b
Merge "Remove a useless method."
2014-11-07 06:00:54 +00:00
Jean Chalard
536bf61658
Merge "Remove dicttool dependency to NativeSuggestOptions"
2014-11-07 06:00:40 +00:00
Tadashi G. Takaoka
6e61cd3b3b
Merge "Move some methods out from SubtypeSwitcher"
2014-11-06 23:40:06 +00:00
Sandeep Siddhartha
35bb12e010
Merge "Fix restore from keyboard"
2014-11-06 21:41:03 +00:00
Tadashi G. Takaoka
7fb0ed58ed
Move current subtype management code to RichInputMethodManager
...
Change-Id: I82d5a17a5ec96f26047d29e79f3f28850fc5b3bb
2014-11-06 11:51:07 -08:00
Tadashi G. Takaoka
8a2c4afad4
Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManager
...
Change-Id: I0f95f603d80570c937e8c38ded88df341c11795e
2014-11-06 11:51:07 -08:00
Tadashi G. Takaoka
2a7da0ab87
Move some methods out from SubtypeSwitcher
...
Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e
2014-11-06 11:51:01 -08:00
Baligh Uddin
8188faae1b
Import translations. DO NOT MERGE
...
Change-Id: I4b38b31403db1ee5b5bab7a6328db1919d822d20
Auto-generated-cl: translation import
2014-11-06 08:28:08 -08:00
Baligh Uddin
84cb890e15
Import translations. DO NOT MERGE
...
Change-Id: Ib227ef25b8d0eef2f1b83bddfadde5c1a6d93cd8
Auto-generated-cl: translation import
2014-11-06 08:22:11 -08:00
Jean Chalard
b395ce4396
Remove a useless method.
...
Yay for cleanup
Bug: 18108776
Change-Id: I13f4066cd54f294377fdcf375a69350c44d4a32a
2014-11-06 21:38:17 +09:00
Jean Chalard
03eb9de961
Remove dicttool dependency to NativeSuggestOptions
...
Bug: 18108776
Change-Id: I0f57594617f8d5080aea9002b2356d18bfe97043
2014-11-06 21:38:11 +09:00
Sandeep Siddhartha
e9d814674b
Fix restore from keyboard
...
The keyboard starts up before the restore process and the default shared
preferences are cached and used even after the restore.
Bug: 17837918
Change-Id: I2669e377b6e95813657fd6a80fbff4472330e3aa
2014-11-05 19:41:16 -08:00
Tadashi G. Takaoka
b68f90ac1a
Clean up KeyboardLayoutSet a bit
...
This CL moves getScriptId() from KeyboardLayoutSet.Builder to
KeyboardLayoutSet.
Change-Id: I13588467e3d03abb92120acb367f021ee3490a50
2014-11-06 12:30:16 +09:00
Jean Chalard
ab68143ad0
Fix a bug where LatinIME would recorrect with no input view
...
Bug: 18071127
Change-Id: I634d1f63f7d5c5b7453ed7559f9b65fa0433dcd8
2014-11-05 17:41:15 +09:00
Tadashi G. Takaoka
b1439c2872
Fix EmojiPageKeyboardView onPress bug
...
Change-Id: I110f36e0547be4957656217c42a8dafd9359b700
2014-11-04 20:27:39 +09:00
Tadashi G. Takaoka
3481cfc81d
Fix Emoji key feedback
...
Bug: 18166905
Change-Id: I629eab41b78810325710ce024068b86a157186b4
2014-11-04 20:26:43 +09:00