Commit Graph

37081 Commits (6ed6306e1f02ef442a33738b69b513c50ce4be5b)

Author SHA1 Message Date
Dan Zivkovic 6ed6306e1f am 40b75456: Rename in preparation of caching an instance.
* commit '40b754565ce86247e2ae95e9de6b54b53a35fca8':
  Rename in preparation of caching an instance.
2015-02-20 01:16:26 +00:00
Dan Zivkovic 40b754565c Rename in preparation of caching an instance.
Change-Id: I112c957e20d4573daaa71aa218b575037585385c
2015-02-19 15:41:58 -08:00
Dan Zivkovic 4b0697938b am 3bfc9d46: Merge "Schedule with 0 delay is the same as execute."
* commit '3bfc9d46923a2f769ac2072ac817b01b720fabb2':
  Schedule with 0 delay is the same as execute.
2015-02-19 22:51:46 +00:00
Dan Zivkovic 3bfc9d4692 Merge "Schedule with 0 delay is the same as execute." 2015-02-19 22:42:55 +00:00
Dan Zivkovic c38d83eb1a am 7041313f: Merge "If contacts observer is running, return early."
* commit '7041313f717db3bc89db46c9c59703bd99366095':
  If contacts observer is running, return early.
2015-02-19 22:20:25 +00:00
Dan Zivkovic 6a000183c5 Schedule with 0 delay is the same as execute.
Change-Id: Ifadae8aee668edbe2b507735d3ed6e68d52ef329
2015-02-19 14:19:23 -08:00
Dan Zivkovic 7041313f71 Merge "If contacts observer is running, return early." 2015-02-19 22:16:33 +00:00
Tom Ouyang c47894641b am 076f76cc: Merge "Add more options for calling removeWordFromPersonalizedDicts."
* commit '076f76cc124a98906e643147dc6867488bdbf491':
  Add more options for calling removeWordFromPersonalizedDicts.
2015-02-19 21:37:37 +00:00
Tom Ouyang 076f76cc12 Merge "Add more options for calling removeWordFromPersonalizedDicts." 2015-02-19 21:31:38 +00:00
Tom Ouyang edea47ff2e Add more options for calling removeWordFromPersonalizedDicts.
Bug: 19441205

Change-Id: I41aff536a64271d2dc9489a20df33d64170756cc
2015-02-19 12:03:42 -08:00
Dan Zivkovic 705b118672 If contacts observer is running, return early.
Change-Id: I084a251b0f72288243c73b6166d992b427449635
2015-02-19 11:54:18 -08:00
Dan Zivkovic e3e7589f85 am 0b03f13c: Sanitize the usage of executors.
* commit '0b03f13cabec84d2d841fde47ce9fec0d531b6a1':
  Sanitize the usage of executors.
2015-02-19 19:49:07 +00:00
Dan Zivkovic 0b03f13cab Sanitize the usage of executors.
There should be 1 executor each for static and dynamic language models.
This prevents too many dynamic LM updates from running in parallel,
competing for resources.

Change-Id: I8ec439e0ea2d92fba275bc20a0b8c9193346a0c1
2015-02-19 11:40:57 -08:00
Mohammadinamul Sheik baefd1c87e am 95711bfc: Add Decoder specific dictionary suffix to resource lookup
* commit '95711bfcee07d848883316cf07439408f5b332a1':
  Add Decoder specific dictionary suffix to resource lookup
2015-02-13 07:19:55 +00:00
Mohammadinamul Sheik 95711bfcee Add Decoder specific dictionary suffix to resource lookup
Change-Id: Ia2c74acdc8ac6f7b605bb06a1078d23b32f388a1
2015-02-12 19:56:46 -08:00
Dan Zivkovic 920b3fd32a am cf84f8ce: Switch from script to language codes.
* commit 'cf84f8ce0c65923dc9a66e386c17ab9de338accf':
  Switch from script to language codes.
2015-02-13 00:09:43 +00:00
Dan Zivkovic cf84f8ce0c Switch from script to language codes.
Unfortunately, our Locale objects don't always have a script code.
But we can get almost the same functionality by specifying script
codes for some languages, and defaulting the rest to Latin.

Change-Id: Id81ff67bf44c84f44707a2e167c2787c60c6ecee
2015-02-12 15:42:25 -08:00
Dan Zivkovic 07d64c553d am 98596e51: Map ISO 15924 codes to internal IME script codes.
* commit '98596e51a1ec262bd0f90154e156928e1458d4fc':
  Map ISO 15924 codes to internal IME script codes.
2015-02-12 19:23:33 +00:00
Dan Zivkovic 98596e51a1 Map ISO 15924 codes to internal IME script codes.
This way we can support all the languages for which we define a script code.

Bug 19340741.

Change-Id: Ia80eca4cc2511b70f11058f73bd31746948ded19
2015-02-12 11:00:06 -08:00
Jatin Matani 2a307fdd0a am 4084fa5c: Refactor content provider code from ContactsDict
* commit '4084fa5caeee09ef7993957c5e922dab14c57f3f':
  Refactor content provider code from ContactsDict
2015-02-12 00:39:30 +00:00
Jatin Matani 4084fa5cae Refactor content provider code from ContactsDict
Break contacts binary dictionary into two parts
- one that talks to contacts content provider and maintains
  local state. Includes a manager class and a content observer
- other one that just manages the dict code.

Change-Id: Ie8f89ac9ce174c803ff3168ee0bee5cbe7721d5b
2015-02-11 16:29:14 -08:00
Dan Zivkovic 28f9aa1fad am 5254c01d: Fix master build.
* commit '5254c01d4cc024527479d4dc5fab2ed2516c395c':
  Fix master build.
2015-02-11 23:04:40 +00:00
Dan Zivkovic 5254c01d4c Fix master build.
For some reason, we can't import android.os package in our Constants.

Change-Id: I357ed72d13c5039a83c6e2489cdf5ef74d0ffea8
2015-02-11 13:32:13 -08:00
Dan Zivkovic fe674a441f am 12d80ebe: Remove shortcut support from LatinIME.
* commit '12d80ebead6a1d7f704a5a3af3b6fe3313ceab05':
  Remove shortcut support from LatinIME.
2015-02-11 21:11:52 +00:00
Dan Zivkovic 12d80ebead Remove shortcut support from LatinIME.
Note this change does not affect the native decoder interface.

Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
2015-02-11 13:02:41 -08:00
Mario Tanev 1c7d6283fc am 2979fad2: Merge "Add new class spellcheck.UserDictionaryLookup that can look up the system "Personal dictionary" in the event that the DictionaryFacilitator doesn\'t."
* commit '2979fad21384bb595ba2baca8f5bbbfc053be921':
  Add new class spellcheck.UserDictionaryLookup that can look up the system "Personal dictionary" in the event that the DictionaryFacilitator doesn't.
2015-02-10 23:32:09 +00:00
Mario Tanev 2979fad213 Merge "Add new class spellcheck.UserDictionaryLookup that can look up the system "Personal dictionary" in the event that the DictionaryFacilitator doesn't." 2015-02-10 23:25:50 +00:00
Jatin Matani 5bfe1c5697 am a7805e98: Add a addOrIncrement term api to DicFacilitator
* commit 'a7805e9870430eac3049129d47bebb312d457477':
  Add a addOrIncrement term api to DicFacilitator
2015-02-10 21:41:29 +00:00
Jatin Matani a7805e9870 Add a addOrIncrement term api to DicFacilitator
The API is used by the decoder to add term to the
dictionary.

Change-Id: I607c8c676b7650f3052b2d3ed3f7f656573fca45
2015-02-10 11:45:54 -08:00
Mario Tanev 8aa310aa5a Add new class spellcheck.UserDictionaryLookup that can look up the
system "Personal dictionary" in the event that the DictionaryFacilitator
doesn't.

Change-Id: Ib4f15ec4d8f06ea43c2e063f5a13a2f699afbb8a
2015-02-10 10:56:35 -08:00
Dan Zivkovic e18ab4a7c7 am 644a709a: Remove distracter filter from client.
* commit '644a709a5fec65c3ac1c96f18af397458fac7658':
  Remove distracter filter from client.
2015-02-09 21:03:55 +00:00
Dan Zivkovic 644a709a5f Remove distracter filter from client.
Bug 19296201.

Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659
2015-02-09 11:52:12 -08:00
Mohammadinamul Sheik 2c36c9944e am aadfef6f: Merge "Move decoder specific constants to DecoderSpecificConstants.java"
* commit 'aadfef6ffaf4fd4249a92252e401cbd98cf79d54':
  Move decoder specific constants to DecoderSpecificConstants.java
2015-02-06 22:52:26 +00:00
Mohammadinamul Sheik aadfef6ffa Merge "Move decoder specific constants to DecoderSpecificConstants.java" 2015-02-06 22:46:08 +00:00
Dan Zivkovic 3237983b37 am d6a8adcb: Cleanup in preparation of distracter change.
* commit 'd6a8adcb044dd8b73a1c96776a835b411a978b46':
  Cleanup in preparation of distracter change.
2015-02-06 22:29:27 +00:00
Dan Zivkovic d6a8adcb04 Cleanup in preparation of distracter change.
Bug 19296201.

Change-Id: If016da2b7f4b3ecb9afd6d7aed9d19fbd4938758
2015-02-06 14:25:37 -08:00
Mohammadinamul Sheik 0f7d881dc7 Move decoder specific constants to DecoderSpecificConstants.java
Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0
2015-02-05 13:27:36 -08:00
Chieu Nguyen 02ffa6c3c0 am 608ef472: Merge "Add accessor methods for typed word info to SuggestedWords and for word and source dictionary to SuggestedWordInfo."
* commit '608ef4729c26dca2be48eb72f372a278a03ff26d':
  Add accessor methods for typed word info to SuggestedWords and for word and source dictionary to SuggestedWordInfo.
2015-02-05 03:22:03 +00:00
Chieu Nguyen 608ef4729c Merge "Add accessor methods for typed word info to SuggestedWords and for word and source dictionary to SuggestedWordInfo." 2015-02-05 03:16:45 +00:00
Dan Zivkovic 0e86b8dae7 am 23d19626: Use shared constants in old+new facilitators.
* commit '23d19626f3edd142eab2c58e41e40fdfc27b8b2b':
  Use shared constants in old+new facilitators.
2015-02-05 03:12:59 +00:00
Dan Zivkovic 23d19626f3 Use shared constants in old+new facilitators.
Change-Id: I18b701df6ecbcc20ff0c664c218289179c4b2b2d
2015-02-04 18:55:39 -08:00
Chieu Nguyen 4e94109031 Add accessor methods for typed word info to SuggestedWords and for word
and source dictionary to SuggestedWordInfo.

Change-Id: Ic3bdf67a9edd5352f3b911f5cb72a25986e31e2c
2015-02-04 18:35:20 -08:00
Dan Zivkovic a02f82c48d am 6e0467c2: Fix accidentally inverted if check.
* commit '6e0467c20e51bc64f494141cecdfc0fe560d749b':
  Fix accidentally inverted if check.
2015-02-05 02:31:07 +00:00
Dan Zivkovic 68946c796d am c0eb5712: Don\'t check user dictionary, except for spelling.
* commit 'c0eb57124fd295ceb85c3350de3189c40594ee96':
  Don't check user dictionary, except for spelling.
2015-02-05 02:31:05 +00:00
Dan Zivkovic 6e0467c20e Fix accidentally inverted if check.
Change-Id: I9c28f4154f69c63564a2bda357c16cef4e68dc0d
2015-02-04 18:23:38 -08:00
Dan Zivkovic c0eb57124f Don't check user dictionary, except for spelling.
We check different lists of dictionaries based on the use case.

Bug 19270992.

Change-Id: Ide69f2855978ebad32a58e9689b3a8d47e095994
2015-02-04 18:23:38 -08:00
Dan Zivkovic 74198f967a am c4977b5f: Merge "Removing code from RichInputConnection."
* commit 'c4977b5f8990ce73a7c9c26daa5b7cfb201fe024':
  Removing code from RichInputConnection.
2015-02-05 02:10:59 +00:00
Dan Zivkovic 7bb8e5083a am 7b2646dd: Merge "Selections spans should not split surrogate pair."
* commit '7b2646dd58769f7c4a078febfb79810b953bf2ad':
  Selections spans should not split surrogate pair.
2015-02-05 02:10:58 +00:00
Mohammadinamul Sheik 124039cfe1 am bae68484: Merge "AOSP changes to use KeyboardLayout to support the new DictionaryFacilitator"
* commit 'bae6848434c0618887bd3fd441dd5ce16a2375fd':
  AOSP changes to use KeyboardLayout to support the new DictionaryFacilitator
2015-02-05 02:10:56 +00:00
Dan Zivkovic baf0bd90a3 am c71e4d65: Remnant of green [+] feature.
* commit 'c71e4d65343bf782d80ce508786befa6ee3261cf':
  Remnant of green [+] feature.
2015-02-05 02:10:54 +00:00