Jean Chalard
8cd5326622
[ML7] Have multiple DictionaryGroup instances in facilitator
...
This is the central change of multilingual input.
Bug: 11230254
Change-Id: Id8b68fb101e837e8cf182ab4bc1e55e4da5cc49d
2014-09-16 19:00:50 +09:00
Yohei Yukawa
97b465044f
am ead70974
: am 27ccbeb4
: am cd119050
: Support CursorAnchorInfo in the full-screen mode
...
* commit 'ead70974aecd78d5bad0fa87a759f6bf82dcb503':
Support CursorAnchorInfo in the full-screen mode
2014-09-11 17:31:47 +00:00
Jean Chalard
96f0ae5e68
[ML6] Have asyncReloadMainDictionary support multiple locales
...
Change-Id: I4c3dfaad38ec1cc91d1a9f81d5ff45ef12f70029
2014-09-11 19:05:22 +09:00
Jean Chalard
e6df5f015c
[ML5] Rewrite resetDictionariesWithDictNamePrefix
...
This change rewrites resetDictionariesWithDictNamePrefix so
that it would work if there were several locales, which is going to
happen shortly. This change on its own is quite large and difficult
already, so I didn't want to merge it into the change that actually
makes several locales happen; another such change is following.
Change-Id: Ibb80b05b73c0f0f0bea64b7e308cc4d38ca448f9
2014-09-11 19:05:19 +09:00
Yohei Yukawa
cd11905022
Support CursorAnchorInfo in the full-screen mode
...
This CL allows to emulate the behavior of CursorAnchorInfo
in the full-screen mode to work around the limitation of
the framework.
Basically this CL copies relevant code from the framework
to LatinIME. This is actually a code duplicate which isn't
great, but probably the only way that is available right now.
Change-Id: I30bc8c3387c91c8e47252ba699cbd967d8927dad
2014-09-11 18:36:53 +09:00
Jatin Matani
fd96928175
Merge "Adds StatsUtil methods for LatinIME.on{Start,Create,Finish}inputView"
2014-09-11 03:14:57 +00:00
Keisuke Kuroyanagi
af1a06d7e1
Enable personalization for multilingual users.
...
Bug: 16547557
Change-Id: I03eda34edc902fc4732d16d234216344d8d84d88
2014-09-10 18:23:09 +09:00
Keisuke Kuroyanagi
89e34169f8
Get locale using detected language for personalization.
...
Bug: 16547557
Change-Id: If3d88a548e5a2255ff81c819b056f77bfbe237ae
2014-09-10 18:23:07 +09:00
Jatin Matani
1c45f9142b
Adds StatsUtil methods for LatinIME.on{Start,Create,Finish}inputView
...
Change-Id: I4e7dc008b98e398c38aafea5cb31156dde7f42ea
2014-09-10 15:55:15 +09:00
Mohammadinamul Sheik
97243cea28
Merge "Add backspace event methods to StatsUtils"
2014-09-10 04:56:23 +00:00
Keisuke Kuroyanagi
d843081193
Move case and OOV detection logic into distracter filter.
...
Bug: 16547557
Change-Id: I8502585976deb5e93fff3b1e0266654b8a927bda
2014-09-10 11:25:34 +09:00
Mohammadinamul Sheik
acdd2e4572
Add backspace event methods to StatsUtils
...
Change-Id: Id45d217073e49ca5f2ba639b608d168d136bba58
2014-09-10 10:54:49 +09:00
Jean Chalard
ef0ef2d0b9
am beb74610
: am ab18b5f1
: am 9395014e
: Don\'t resume suggestions with H/W keyboard
...
* commit 'beb746103011149d6dfce10278475946e679263d':
Don't resume suggestions with H/W keyboard
2014-09-08 13:52:25 +00:00
Jean Chalard
7140035932
Fix a missing initialization
...
Change-Id: I14a35f5a38b6e0f48c95cbb8c0c6e4507cd61fa7
2014-09-08 22:40:36 +09:00
Jean Chalard
1cf2acd8de
am 61e7afa6
: am 0eaa25e0
: am 914078fd
: Fix a bug where recorrection would stop on connectors
...
* commit '61e7afa6fa98939f9dcb9f7a2ebb5678a51d4201':
Fix a bug where recorrection would stop on connectors
2014-09-08 13:20:27 +00:00
Jean Chalard
9395014e76
Don't resume suggestions with H/W keyboard
...
...unless we do support a hardware keyboard, which we still
do not at the moment.
Change-Id: Iec24b1ae8ba5e23e0bbb7e5a468b7404296d4b18
2014-09-08 22:14:02 +09:00
Jean Chalard
b41ee67194
Fix the sentence separator for Hindi.
...
Change-Id: I623e4ccbc324751eb67ec4bb777e2be5ae2a60d1
Bug: 17418371
2014-09-08 21:54:28 +09:00
Jean Chalard
914078fd91
Fix a bug where recorrection would stop on connectors
...
Bug: 16733686
Change-Id: I7a9f79a81e33a1f5bf5f3daf0b78d0f1e4447e7a
2014-09-08 21:47:01 +09:00
Jean Chalard
653546a618
am c3fac52d
: am 1f74ba17
: am cb077f75
: Merge "Resolve an old TODO." into lmp-dev
...
* commit 'c3fac52dd51ba70db83d96b2d421bd440683d9bc':
Resolve an old TODO.
2014-09-08 09:34:58 +00:00
Jean Chalard
a1d2315499
Merge "Fix a bug with the Greek question mark."
2014-09-08 08:58:27 +00:00
Mohammadinamul Sheik
74332597d6
Merge "Add StatsUtils.onPickSuggestionManually and SuggestedWords.indexOf."
2014-09-08 06:52:02 +00:00
Jean Chalard
b526a894db
Fix a bug with the Greek question mark.
...
Bug: 17398284
Change-Id: If49593e2c959935a183a4cd9d988407cc1160599
2014-09-08 15:33:51 +09:00
Mohammadinamul Sheik
c74ffe8edc
Add StatsUtils.onPickSuggestionManually and SuggestedWords.indexOf.
...
Change-Id: I1588448154d086569cb026825fdc36cd1812a582
2014-09-07 20:43:48 -07:00
Tadashi G. Takaoka
8b7ed7f6c6
am 079f9c3f
: am 1b430219
: am 6888ec00
: Merge "Create donottranslate debug settings string resources file" into lmp-dev
...
* commit '079f9c3f5ae7b2f7926321522b6020affd422b52':
Create donottranslate debug settings string resources file
2014-09-05 17:23:45 +00:00
Jean Chalard
6bb6d30344
Resolve an old TODO.
...
This is cleaner.
Bug: 17347779
Change-Id: I5b612783b1ec98a1a11401f00d68db49654f3023
2014-09-05 20:10:29 +09:00
Jean Chalard
46d111ff4a
Merge "Fix a bug where CAPS_WORDS would not be returned."
2014-09-05 09:53:51 +00:00
Jean Chalard
17901db691
Fix a bug where CAPS_WORDS would not be returned.
...
Also introduce some unit tests that would have caught the bug.
Bug: 17398284
Change-Id: Idb715b7bd2f70992d6cdf4e25ef368809382caef
2014-09-05 07:56:25 +00:00
Tadashi G. Takaoka
f0f49f9806
Create donottranslate debug settings string resources file
...
This is a follow up of the I26e4d292de.
Bug: 15678343
Bug: 17385083
Change-Id: I2c2b08b8dd991ac981aa8f8c8436de9e4399da5f
2014-09-05 11:38:29 +09:00
Jean Chalard
78d1dcd356
[ML4] Rename Dictionaries to DictionaryGroup
...
We're going to have multiple DictionaryGroup objects and it
would be very confusing to have this class name a plural.
Change-Id: I8f5c621459ede49f245be26097fe71f44289761c
2014-09-04 18:35:47 +09:00
Yohei Yukawa
5d7b24f29c
am f2c509a8
: am 310da35c
: Merge "Follow up API signature change" into lmp-dev
...
* commit 'f2c509a81ef107e6c71dc6804417469d12c94fca':
Follow up API signature change
2014-09-03 17:41:46 +00:00
Yohei Yukawa
5d6ac77732
Follow up API signature change
...
This is a follow up CL for API signature change in
I772c48ff18918e48a81e807b48ff907614485c09
BUG: 17320996
Change-Id: Ic8b6162bda12bf74fae79af212c5d81c400eb9e8
2014-09-03 01:13:15 -07:00
Tadashi G. Takaoka
d27af1a5d4
am 3ad86d91
: am afa9d6d8
: Merge "Add theme aware key popup preview animation" into lmp-dev
...
* commit '3ad86d91f1e3d251635303e0fb9a83dce22efa3a':
Add theme aware key popup preview animation
2014-09-02 17:44:10 +00:00
Tadashi G. Takaoka
ac88f3d845
Add theme aware key popup preview animation
...
Bug: 15678343
Change-Id: I26e4d292deab37724387cc9ebc03033fcd698c60
2014-09-02 18:45:23 +09:00
Jean Chalard
a341e7d244
Merge "[ML3] Put the locale in SuggestedWordInfo"
2014-09-02 06:40:59 +00:00
Jean Chalard
c0d3123930
Merge "[ML2] Small refactoring"
2014-09-02 06:40:51 +00:00
Jean Chalard
576c96af95
[ML3] Put the locale in SuggestedWordInfo
...
...and remove it from SuggestionResults.
Change-Id: Iae85ec7e82e2caf18cc6d7656aa46dc150707cdd
2014-09-01 20:09:32 +09:00
Jean Chalard
146cb98e54
[ML2] Small refactoring
...
Change-Id: I1283d666b8904ff4e6c012332bdbc9c0c13df415
2014-09-01 20:09:24 +09:00
Jatin Matani
962c40d326
Merge "StatsUtilsManager should be initiated(#onCreate) before loadSettings."
2014-09-01 08:27:19 +00:00
David Faden
95b7bd3ba5
Add a private IME option to suppress the gesture floating preview text.
...
If the option defined by Constants.NO_FLOATING_GESTURE_PREVIEW is set
for a text field via EditorInfo.privateImeOptions, the floating gesture
preview will be suppressed regardless of the settings preference.
Feature request:
bug: 17325039
Change-Id: I1a1df194369e8f2d76abd9d84939a057f55f4a1c
2014-09-01 03:59:38 +00:00
Keisuke Kuroyanagi
dec2c2d910
Merge "Support multiple locales in distractor filter."
2014-09-01 03:27:35 +00:00
Jatin Matani
aa223400c3
StatsUtilsManager should be initiated(#onCreate) before loadSettings.
...
Change-Id: I9002b4afb023e55ab251ea070ec0b7a6ace99261
2014-08-29 15:51:57 -07:00
Tadashi G. Takaoka
2d713c87c6
am 2fabd50d
: am f507d1fe
: Support RTL layout in custom input style settings
...
* commit '2fabd50df49f894afde15ac5f4ebd2ff5372a9c4':
Support RTL layout in custom input style settings
2014-08-29 19:07:04 +00:00
Jean Chalard
78bb2dd945
am 3bd8eee3
: am 4e28a6a8
: Fix an IOOB exception
...
* commit '3bd8eee3e8c3e89539578a4231661819de65c804':
Fix an IOOB exception
2014-08-29 19:07:03 +00:00
Tadashi G. Takaoka
f9af39e53e
am 727cd740
: am f2eadbb4
: Clear keyboard cache when system locale is changed
...
* commit '727cd74072d97af334fe8c0d18fa6a1e23629ccb':
Clear keyboard cache when system locale is changed
2014-08-29 19:07:02 +00:00
Keisuke Kuroyanagi
fdaedb6c1d
Support multiple locales in distractor filter.
...
Bug: 16547557
Change-Id: I4aba278eb4114e0075f3f8b38c7e132743927fa8
2014-08-29 22:29:30 +09:00
Keisuke Kuroyanagi
9eec97d5b0
Merge "Use DictionaryFacilitatorLruCache for personalization."
2014-08-29 10:10:40 +00:00
Tadashi G. Takaoka
f507d1febb
Support RTL layout in custom input style settings
...
Bug: 17322353
Change-Id: I3b211ab8729121271563a8a243558a58ee7847c2
2014-08-29 18:28:53 +09:00
Jean Chalard
4e28a6a844
Fix an IOOB exception
...
Bug: 17316001
Change-Id: Iaa2cfd30ebbe0d49e10a5c3a30336e06817d0a8b
2014-08-29 06:56:34 +00:00
Keisuke Kuroyanagi
e59f3e4fbf
Use DictionaryFacilitatorLruCache for personalization.
...
Bug: 16547557
Change-Id: I5faba5e26d072b49c0fffcaeaf5062f9e0c2dcc0
2014-08-29 12:57:50 +09:00
Jatin Matani
aabb351279
Refactor StatsUtils into two components:StatsUtils & StatsUtilsManager
...
Bug:16522256
Change-Id: I9cb8129c552159cf17ea5c2656e0988bf0f999f5
2014-08-28 17:28:23 -07:00