Commit graph

32287 commits

Author SHA1 Message Date
Keisuke Kuroyanagi
f614de62aa Merge "Cleanup ExpandableBinaryDictionary." 2014-04-28 12:08:01 +00:00
Keisuke Kuroyanagi
d89f6842f2 am c207955d: Merge "Use ReentrantReadWriteLock in ExpandableBinaryDictionary."
* commit 'c207955d4f913239fcaf4c331089f9a75d101dde':
  Use ReentrantReadWriteLock in ExpandableBinaryDictionary.
2014-04-28 12:04:30 +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
683bf8f1ce am 2367f8f6: Merge "Simplify asyncFlushBinaryDictionary."
* commit '2367f8f602f8f40dbffc2daeae06443c1f28d996':
  Simplify asyncFlushBinaryDictionary.
2014-04-28 08:46:58 +00:00
Keisuke Kuroyanagi
2367f8f602 Merge "Simplify asyncFlushBinaryDictionary." 2014-04-28 08:44:52 +00:00
Keisuke Kuroyanagi
24d8fea302 am 5c1416e4: Merge "Remove DictionaryUpdateController."
* commit '5c1416e42613ba178c0555a094e7f7b77f6aac8d':
  Remove DictionaryUpdateController.
2014-04-28 08:43:34 +00:00
Ken Wakasa
9b847b50b0 am 0a774443: Merge "Small clean up on MAX_LOCALE_STRING_LENGTH"
* commit '0a77444375579152ff8d117fbf0ce6aede51b834':
  Small clean up on MAX_LOCALE_STRING_LENGTH
2014-04-28 08:43:33 +00:00
Keisuke Kuroyanagi
1289c571a2 am dff71538: Merge "Use different user dict name for spell checker."
* commit 'dff715382079159f1285bfa7a6ab45b58805670a':
  Use different user dict name for spell checker.
2014-04-28 08:43:32 +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
0a60301364 am a5202c71: Merge "Use different contacts dict name for spell checker."
* commit 'a5202c7143b8f578e51e296af908599098532118':
  Use different contacts dict name for spell checker.
2014-04-28 08:01:27 +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
a15f2fde6a am c5de887f: Merge "Move dicts for spellchecker to under spellcheck."
* commit 'c5de887fd2d33a324451437a5e7bae2ea0fe097c':
  Move dicts for spellchecker to under spellcheck.
2014-04-28 07:55:01 +00: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
1ae7667927 am 6256ec05: Merge "Fix: Typed word is not included in more suggestions."
* commit '6256ec0587639ba44de7bf1cb460f29f8ef86e78':
  Fix: Typed word is not included in more suggestions.
2014-04-28 07:48:30 +00: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
d3b5c0f39c am 91db602b: Merge "Use shouldOfferSwitchingToNextInputMethod when available"
* commit '91db602b83f5964896f9e1bc31e21ed16f775e4e':
  Use shouldOfferSwitchingToNextInputMethod when available
2014-04-28 07:00:28 +00: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
3bba98be63 am 0b42851e: Merge "Move some advanced settings to debug settings"
* commit '0b42851eed535929dedaa807cadd971a4efcd47f':
  Move some advanced settings to debug settings
2014-04-28 05:34:02 +00:00
Tadashi G. Takaoka
0b42851eed Merge "Move some advanced settings to debug settings" 2014-04-28 05:30:28 +00:00
Tadashi G. Takaoka
75a3d4e46d am 2cc7c332: Merge "Remove unnecessary reference to LatinIME"
* commit '2cc7c3321d9e1dea462cbcd78a6ee1a99985b73b':
  Remove unnecessary reference to LatinIME
2014-04-25 22:24:14 +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
a11b60ac33 am 169acbf9: Add null check in createDistracterFilter().
* commit '169acbf9f0127c7b6a95592fc412524d27b50953':
  Add null check in createDistracterFilter().
2014-04-25 20:42:45 +00: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
1efec72e0b am 516c884b: Merge "Prepare to implement distracter filter"
* commit '516c884b115f2cce1fca9a1599782ccfc433ca1f':
  Prepare to implement distracter filter
2014-04-25 17:20:42 +00: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
c578fa508b am e581d8f8: Merge "Fix: contains() is wrongly used in hasDict()."
* commit 'e581d8f8abc55dcf224678c73c7ce834170ee5e6':
  Fix: contains() is wrongly used in hasDict().
2014-04-25 08:00:48 +00: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
8e9b27caa3 am 1ed248dc: Merge "Fix: Wrong null check for user history dict."
* commit '1ed248dc2f5baae93c6ad01812dfc97e81e3db32':
  Fix: Wrong null check for user history dict.
2014-04-25 06:49:25 +00: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
aee379d212 am a9861ac8: Merge "Handle personalization dictionary as an ExpandableBinaryDictionary."
* commit 'a9861ac81419774eeed1460c7beea5d4d407bb5f':
  Handle personalization dictionary as an ExpandableBinaryDictionary.
2014-04-25 04:58:09 +00:00
Keisuke Kuroyanagi
c4627fc94b am 194d64fa: Merge "Handle contacts dictionary as an ExpandableBinaryDictionary."
* commit '194d64fa58016f214f833be17a2b05fcbc1600f1':
  Handle contacts dictionary as an ExpandableBinaryDictionary.
2014-04-25 04:58:08 +00: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