Commit Graph

13049 Commits (e3e7589f8570390184312d776d0b53a248d66e3d)

Author SHA1 Message Date
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
Dan Zivkovic c4977b5f89 Merge "Removing code from RichInputConnection." 2015-02-05 01:14:46 +00:00
Dan Zivkovic a6d2cf5ec7 Removing code from RichInputConnection.
Followup CL that removes some more unused methods and variables.

Change-Id: I4163c7cd017f59d1fd445adb6294fc89dcaafe6e
2015-02-04 16:47:56 -08:00
Dan Zivkovic 7b2646dd58 Merge "Selections spans should not split surrogate pair." 2015-02-05 00:47:29 +00:00
Mohammadinamul Sheik bae6848434 Merge "AOSP changes to use KeyboardLayout to support the new DictionaryFacilitator" 2015-02-05 00:44:10 +00:00
Dan Zivkovic f3c319fb8a Selections spans should not split surrogate pair.
When committing a span after a revert, the offset logic was such that it
split a surrogate unicode pair used to express an emoji.
Checking the last character of the span lets us avoid this problem.

Fix for bug 19255233.

Change-Id: I07d18d9002b5075f7925319dd05962011656c311
2015-02-04 16:35:18 -08:00
Mohammadinamul Sheik b00c054125 AOSP changes to use KeyboardLayout to support the new DictionaryFacilitator
Change-Id: Ie0c9ce805d9ad009fc9bbaac37b715aff90cd844
2015-02-04 12:50:31 -08:00
Dan Zivkovic c71e4d6534 Remnant of green [+] feature.
Change-Id: I059b1062e1d73b2fa439d9d4ee04ff0182795335
2015-02-04 11:57:16 -08:00
Dan Zivkovic e105a6fde0 am 0d3f01f3: Remove last vestiges of contextual+personal dictionary.
* commit '0d3f01f3014e7a519b08c9337bc4b73670f741ef':
  Remove last vestiges of contextual+personal dictionary.
2015-02-04 19:44:55 +00:00
Dan Zivkovic 0d3f01f301 Remove last vestiges of contextual+personal dictionary.
Change-Id: I20746381583ee8a4d7d42b1243f5c7ba45529e5e
2015-02-04 11:38:19 -08:00
Dan Zivkovic 0a404b5176 am daa3ad86: Merge "Fix delete handling in Emoji keyboard."
* commit 'daa3ad860532e4285551005943d0e4263a1f3d2b':
  Fix delete handling in Emoji keyboard.
2015-02-04 18:20:49 +00:00
Dan Zivkovic daa3ad8605 Merge "Fix delete handling in Emoji keyboard." 2015-02-04 18:15:28 +00:00