Commit graph

33093 commits

Author SHA1 Message Date
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
The Android Automerger
ff27592542 merge in master-release history after reset to 2cc7c3321d 2014-04-27 05:50:02 -07:00
The Android Automerger
204d21f127 merge in master-release history after reset to 2cc7c3321d 2014-04-26 05:51:55 -07: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
Keisuke Kuroyanagi
7e78024ab1 am 98e276a0: Merge "Quit creating empty dictionary file in ExpandableBinaryDictionary."
* commit '98e276a0ec0d164e07595414d17eaff4b9cda9bb':
  Quit creating empty dictionary file in ExpandableBinaryDictionary.
2014-04-25 04:39:59 +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
Keisuke Kuroyanagi
0d713eb0d9 am 3d2a9af2: Merge "Handle user history dictionary as an ExpandableBinaryDictionary."
* commit '3d2a9af20ac78ed29144345f0e95c3baf6d9ed6f':
  Handle user history dictionary as an ExpandableBinaryDictionary.
2014-04-25 04:33:03 +00:00
Keisuke Kuroyanagi
90130929a8 am a933776b: Merge "Simplify DictionaryFacilitatorForSuggest to be flexible."
* commit 'a933776bf1d4cc7ad86946e05bfa2056c18772b0':
  Simplify DictionaryFacilitatorForSuggest to be flexible.
2014-04-25 04:33:02 +00:00
Keisuke Kuroyanagi
3d2a9af20a Merge "Handle user history dictionary as an ExpandableBinaryDictionary." 2014-04-25 04:30:39 +00:00
Keisuke Kuroyanagi
a933776bf1 Merge "Simplify DictionaryFacilitatorForSuggest to be flexible." 2014-04-25 04:29:50 +00:00
Keisuke Kuroyanagi
67c0ed8f8c Handle user history dictionary as an ExpandableBinaryDictionary.
Bug: 13755213
Change-Id: I1ea8a6df007af7153852f2d32bf5e8ec669c432b
2014-04-24 14:48:01 -07:00
Tadashi G. Takaoka
847eda529b am e2651aa4: Merge "Announce keyboard language when TalkBack is on"
* commit 'e2651aa450c7cf81406a943ea361809b27331535':
  Announce keyboard language when TalkBack is on
2014-04-24 20:42:41 +00:00
Tadashi G. Takaoka
e2651aa450 Merge "Announce keyboard language when TalkBack is on" 2014-04-24 20:40:31 +00:00
Keisuke Kuroyanagi
6b224a5779 am 3d658a63: Merge "Remove clearAndFlushDictionary() and use clear()."
* commit '3d658a63ca5a65940dacec8b9fb0c2849ebce11b':
  Remove clearAndFlushDictionary() and use clear().
2014-04-24 18:33:31 +00:00
Keisuke Kuroyanagi
3d658a63ca Merge "Remove clearAndFlushDictionary() and use clear()." 2014-04-24 18:29:05 +00:00
Keisuke Kuroyanagi
978958a41f Simplify DictionaryFacilitatorForSuggest to be flexible.
Bug: 13755213
Change-Id: I151269a7038b72a33b436da4c7596e09949e6d00
2014-04-24 11:25:50 -07:00
Keisuke Kuroyanagi
2dcb5c1b4d Remove clearAndFlushDictionary() and use clear().
clearAndFlushDictionary() was needed when dictionaries are constructed
in java side. All expandable dictionaries now use native code; thus,
this method is same to clear() and no longer needed.

Bug: 13755213
Change-Id: Ifd836e64f8ff807930f7cd2319b103b65e8fce70
2014-04-24 11:25:47 -07:00
Baligh Uddin
eea53c1f4d am 4ad798fc: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '4ad798fc0f525ebb785c6827d517c3b1be9fa4ca':
  Import translations. DO NOT MERGE
2014-04-24 14:57:38 +00:00
Baligh Uddin
4ad798fc0f Merge "Import translations. DO NOT MERGE" 2014-04-24 14:53:24 +00:00