Keisuke Kuroyanagi
a9f0a96377
Merge "Handle user dict as an ExpandableBinaryDictionary."
2014-04-30 12:44:25 +00:00
Keisuke Kuroyanagi
9ed7e47539
Handle user dict as an ExpandableBinaryDictionary.
...
Bug: 13755213
Change-Id: I2d242a3332e9633d4e41e08c0bbfafcefd814ecd
2014-04-30 20:35:08 +09:00
Yohei Yukawa
6d54f9f53c
Merge "Fix the unintentional behavior change"
2014-04-30 11:33:11 +00:00
Yohei Yukawa
60003d5114
Fix the unintentional behavior change
...
I0188fa56cba8e introduced an unintentional behavior change
regarding the condition when the globe key is displayed
if LatinIME is running on KitKat or prior version.
With this CL, the previous behavior is back.
BUG: 12965588
BUG: 14426646
Change-Id: I112a327dce6ad2e40beb9a60d587e77b3954da82
2014-04-30 20:30:39 +09:00
Ken Wakasa
5c66ac453e
Merge "Small clean up for LARGEST_INT_DIGIT_COUNT"
2014-04-30 10:54:19 +00:00
Ken Wakasa
fc2858c55b
Small clean up for LARGEST_INT_DIGIT_COUNT
...
Change-Id: I4a61c037370bf57b396d80ba7212d94328eaf7b9
2014-04-30 19:41:42 +09:00
Tadashi G. Takaoka
412ac4c573
Merge "TalkBack correct shift state"
2014-04-30 09:51:07 +00:00
Tadashi G. Takaoka
24536580bf
TalkBack correct shift state
...
Change-Id: I3097805c6c8b4a4ac19fbe062f763e2639eb5cbf
2014-04-30 18:46:46 +09:00
Yohei Yukawa
1690992d1b
Check OS codename for shouldOfferSwitchingToNextInputMethod
...
Make sure if Build.VERSION.CODENAME is "REL" or not when
Build.VERSION.SDK_INT is 19 (KitKat). This is a tentative
workaround until Build.VERSION.SDK_INT is bumped to 20 or
greater.
BUG: 12965588
Change-Id: I0f6a8ef92af221240d247997ce65bd5e351b2d5e
2014-04-30 17:08:04 +09:00
Keisuke Kuroyanagi
879629af3c
Merge "Move PatriciaTrieReadingUtils under pt_common."
2014-04-30 05:43:57 +00:00
Keisuke Kuroyanagi
8dac7ce2e2
Move PatriciaTrieReadingUtils under pt_common.
...
Change-Id: Ib8ec62b97318563785a2aafb854aabdc3f46f187
2014-04-30 14:28:08 +09:00
Baligh Uddin
e22398e31f
Import translations. DO NOT MERGE
...
Change-Id: I102607cef8e2a42fad8a0f691c007d39b0be5622
Auto-generated-cl: translation import
2014-04-28 15:04:31 -07:00
Keisuke Kuroyanagi
c0d754397e
Fix unit tests by adding @UsedFortesting.
...
Change-Id: I8f66632a32b9e9ddc1b771e8ee74492c7baf9338
2014-04-29 00:00:57 +09:00
Keisuke Kuroyanagi
4426cbc59e
Fix: contacts/user dicts are too frequently regenerated.
...
Change-Id: I6b04a58c543fda6df7a2c016b8b8a5300f137d73
2014-04-28 23:11:25 +09:00
Keisuke Kuroyanagi
f614de62aa
Merge "Cleanup ExpandableBinaryDictionary."
2014-04-28 12:08:01 +00:00
Keisuke Kuroyanagi
b451f270f3
Cleanup ExpandableBinaryDictionary.
...
Bug: 8187060
Change-Id: I9103462412e727b0160b218b1bb301ce43621c46
2014-04-28 21:02:00 +09:00
Keisuke Kuroyanagi
c207955d4f
Merge "Use ReentrantReadWriteLock in ExpandableBinaryDictionary."
2014-04-28 12:01:14 +00:00
Keisuke Kuroyanagi
1737b7ff5c
Use ReentrantReadWriteLock in ExpandableBinaryDictionary.
...
Bug: 8187060
Change-Id: Ic665f0a5e940708aa9addedac068a64900b307e7
2014-04-28 20:56:01 +09:00
Keisuke Kuroyanagi
2367f8f602
Merge "Simplify asyncFlushBinaryDictionary."
2014-04-28 08:44:52 +00:00
Keisuke Kuroyanagi
570602a088
Simplify asyncFlushBinaryDictionary.
...
We no longer write files when the dict has not been updated.
Bug: 8187060
Change-Id: I8aa23a93d5deafb3a7f16f5466a5e0e84fbbf095
2014-04-28 17:30:36 +09:00
Keisuke Kuroyanagi
5c1416e426
Merge "Remove DictionaryUpdateController."
2014-04-28 08:29:02 +00:00
Ken Wakasa
0a77444375
Merge "Small clean up on MAX_LOCALE_STRING_LENGTH"
2014-04-28 08:13:06 +00:00
Keisuke Kuroyanagi
dff7153820
Merge "Use different user dict name for spell checker."
2014-04-28 08:12:17 +00:00
Keisuke Kuroyanagi
a5202c7143
Merge "Use different contacts dict name for spell checker."
2014-04-28 07:58:41 +00:00
Keisuke Kuroyanagi
07c5b307d6
Remove DictionaryUpdateController.
...
Bug: 8187060
Change-Id: I3e1fa4060d8a5c12d8d609be3357d56051fb5815
2014-04-28 16:58:27 +09:00
Keisuke Kuroyanagi
c5de887fd2
Merge "Move dicts for spellchecker to under spellcheck."
2014-04-28 07:51:29 +00:00
Ken Wakasa
9e15b4551e
Small clean up on MAX_LOCALE_STRING_LENGTH
...
Change-Id: I77f93879e841f33b81f6d193d1bd5782ad2124f5
2014-04-28 16:50:06 +09:00
Keisuke Kuroyanagi
6256ec0587
Merge "Fix: Typed word is not included in more suggestions."
2014-04-28 07:46:21 +00:00
Keisuke Kuroyanagi
817cd9a0d5
Use different user dict name for spell checker.
...
Bug: 13630847
Change-Id: Icabd08c674dcf086250b9e594328a43286d1d203
2014-04-28 16:31:20 +09:00
Keisuke Kuroyanagi
60763a06e8
Use different contacts dict name for spell checker.
...
Bug: 13630847
Change-Id: I016a464890d5e63794fb1288b4ce7b09adffc453
2014-04-28 16:25:10 +09:00
Keisuke Kuroyanagi
24ec8bd91b
Move dicts for spellchecker to under spellcheck.
...
Bug: 13630847
Change-Id: Iadcf5b31f66fb73efc5c640e96e8c2106a0224dd
2014-04-28 16:24:35 +09:00
Keisuke Kuroyanagi
a8c4731eab
Fix: Typed word is not included in more suggestions.
...
Happened when top suggestion is long and auto-corrected.
Bug: 13738879
Change-Id: I47c2dfb34cfc92b54cfe54c432ee2f646fe454e5
2014-04-28 16:21:27 +09:00
Yohei Yukawa
91db602b83
Merge "Use shouldOfferSwitchingToNextInputMethod when available"
2014-04-28 06:58:02 +00:00
Yohei Yukawa
8ba4f33709
Use shouldOfferSwitchingToNextInputMethod when available
...
With this CL, LatinIME starts using
InputMethodManager#shouldOfferSwitchingToNextInputMethod when
available and API level is higher than 19 (KitKat).
Note that relevant settings of LatinIME will be ignored if
InputMethodManager#shouldOfferSwitchingToNextInputMethod is
considered to be available at the moment. We will revisit
here to reorganize the user visible settings before the
new global IME switching mechanism becomes publicly
available.
BUG: 12965588
Change-Id: I0188fa56cba8e983c61cef3ae3400a0e3821f718
2014-04-28 15:11:19 +09:00
Tadashi G. Takaoka
0b42851eed
Merge "Move some advanced settings to debug settings"
2014-04-28 05:30:28 +00:00
Tadashi G. Takaoka
2cc7c3321d
Merge "Remove unnecessary reference to LatinIME"
2014-04-25 22:20:58 +00:00
Tadashi G. Takaoka
7a78127a56
Remove unnecessary reference to LatinIME
...
Change-Id: Idbb45c504499d39bbf272fae84ea71a83bf4dd69
2014-04-25 15:09:39 -07:00
Keisuke Kuroyanagi
169acbf9f0
Add null check in createDistracterFilter().
...
Change-Id: Iff2b73081d48f32b1d3a5d5b32c9734979362c23
2014-04-25 13:36:46 -07:00
Tadashi G. Takaoka
a3920c7e6a
Move some advanced settings to debug settings
...
This CL moves "Show slide indicator" and "Key long press delay"
advanced options to the debug settings.
Bug: 11866784
Change-Id: Iec16e09ba6e7c9f82ce0fa73a0d75766b843b44b
2014-04-25 12:03:47 -07:00
Xiaojun Bi
516c884b11
Merge "Prepare to implement distracter filter"
2014-04-25 17:15:53 +00:00
Xiaojun Bi
281dd99346
Prepare to implement distracter filter
...
It was implemented according to the Plan B in the
design doc:
http://go/ime-misspelling-filter
This CL is to create a DistracterFilter instance
and pass it to PersonalizationDictionarySessionRegistrar.
This patch should be checked in together with
Id633b4fd45693
Bug: 13142176
Change-Id: Ia4957e64218c9619fcf9bb91795a187617c72a2e
2014-04-25 09:13:22 -07:00
Keisuke Kuroyanagi
e581d8f8ab
Merge "Fix: contains() is wrongly used in hasDict()."
2014-04-25 07:58:19 +00:00
Keisuke Kuroyanagi
bdf31fb75e
Fix: contains() is wrongly used in hasDict().
...
Change-Id: I4699b1b75fed9dd479f5135f0a7a2dd098e6f798
2014-04-25 00:56:27 -07:00
Keisuke Kuroyanagi
1ed248dc2f
Merge "Fix: Wrong null check for user history dict."
2014-04-25 06:48:16 +00:00
Keisuke Kuroyanagi
93f4aec07c
Fix: Wrong null check for user history dict.
...
Change-Id: Idf0bcc44247e35cd95f9482d2a8017329fc977bb
2014-04-24 23:08:48 -07:00
Keisuke Kuroyanagi
a9861ac814
Merge "Handle personalization dictionary as an ExpandableBinaryDictionary."
2014-04-25 04:56:14 +00:00
Keisuke Kuroyanagi
194d64fa58
Merge "Handle contacts dictionary as an ExpandableBinaryDictionary."
2014-04-25 04:54:09 +00:00
Keisuke Kuroyanagi
56e4848ead
Handle personalization dictionary as an ExpandableBinaryDictionary.
...
Bug: 13755213
Change-Id: I26e070e89e09b37e9dcc200d597c74c591467a66
2014-04-24 21:37:49 -07:00
Keisuke Kuroyanagi
98e276a0ec
Merge "Quit creating empty dictionary file in ExpandableBinaryDictionary."
2014-04-25 04:36:55 +00:00
Keisuke Kuroyanagi
62c110a4c0
Handle contacts dictionary as an ExpandableBinaryDictionary.
...
Bug: 13755213
Change-Id: I0eb5055f9cdf5e1df337cdace9bf0919d4d365d3
2014-04-24 21:36:30 -07:00