- Feb 23, 2015
-
-
Dan Zivkovic authored
The objective is to show an app icon when the user installs the keyboard from the Play Store, but not show the icon when it comes from the system image. The latter rule applies to AOSP keyboards and to the Google Keyboard on a Nexus device. This change partially reverts ag/613096. Bug 19001197. Change-Id: Icb202deffe9f1ab2bde9b3c9d221347da6793a19
-
- Feb 20, 2015
-
-
Jatin Matani authored
Change-Id: Iae20a0a3b7c1aa0c2f6d29cef780fb50dc9010cb
-
Dan Zivkovic authored
This is a step in the direction of removing the LRU cache completely. Change-Id: I8886f7ef74e6b1b35135e68f169cb461682964e9
-
Jatin Matani authored
Also add empty implementation for dictionary facilitator iteration APIs Change-Id: Ia847e3faa75075c819fcfda89193d1024d2d5aca
-
- Feb 19, 2015
-
-
Dan Zivkovic authored
Change-Id: I112c957e20d4573daaa71aa218b575037585385c
-
Dan Zivkovic authored
Change-Id: Ifadae8aee668edbe2b507735d3ed6e68d52ef329
-
Tom Ouyang authored
Bug: 19441205 Change-Id: I41aff536a64271d2dc9489a20df33d64170756cc
-
Dan Zivkovic authored
Change-Id: I084a251b0f72288243c73b6166d992b427449635
-
Dan Zivkovic authored
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
-
- Feb 13, 2015
-
-
Mohammadinamul Sheik authored
Change-Id: Ia2c74acdc8ac6f7b605bb06a1078d23b32f388a1
-
- Feb 12, 2015
-
-
Dan Zivkovic authored
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
-
Dan Zivkovic authored
This way we can support all the languages for which we define a script code. Bug 19340741. Change-Id: Ia80eca4cc2511b70f11058f73bd31746948ded19
-
Jatin Matani authored
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
-
- Feb 11, 2015
-
-
Dan Zivkovic authored
For some reason, we can't import android.os package in our Constants. Change-Id: I357ed72d13c5039a83c6e2489cdf5ef74d0ffea8
-
Dan Zivkovic authored
Note this change does not affect the native decoder interface. Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
-
- Feb 10, 2015
-
-
Jatin Matani authored
The API is used by the decoder to add term to the dictionary. Change-Id: I607c8c676b7650f3052b2d3ed3f7f656573fca45
-
Mario Tanev authored
system "Personal dictionary" in the event that the DictionaryFacilitator doesn't. Change-Id: Ib4f15ec4d8f06ea43c2e063f5a13a2f699afbb8a
-
- Feb 09, 2015
-
-
Dan Zivkovic authored
Bug 19296201. Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659
-
- Feb 06, 2015
-
-
Dan Zivkovic authored
Bug 19296201. Change-Id: If016da2b7f4b3ecb9afd6d7aed9d19fbd4938758
-
- Feb 05, 2015
-
-
Mohammadinamul Sheik authored
Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0
-
Dan Zivkovic authored
Change-Id: I18b701df6ecbcc20ff0c664c218289179c4b2b2d
-
Chieu Nguyen authored
and source dictionary to SuggestedWordInfo. Change-Id: Ic3bdf67a9edd5352f3b911f5cb72a25986e31e2c
-
Dan Zivkovic authored
Change-Id: I9c28f4154f69c63564a2bda357c16cef4e68dc0d
-
Dan Zivkovic authored
We check different lists of dictionaries based on the use case. Bug 19270992. Change-Id: Ide69f2855978ebad32a58e9689b3a8d47e095994
-
Dan Zivkovic authored
Followup CL that removes some more unused methods and variables. Change-Id: I4163c7cd017f59d1fd445adb6294fc89dcaafe6e
-
Dan Zivkovic authored
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
-
- Feb 04, 2015
-
-
Mohammadinamul Sheik authored
Change-Id: Ie0c9ce805d9ad009fc9bbaac37b715aff90cd844
-
Dan Zivkovic authored
Change-Id: I059b1062e1d73b2fa439d9d4ee04ff0182795335
-
Dan Zivkovic authored
Change-Id: I20746381583ee8a4d7d42b1243f5c7ba45529e5e
-
Dan Zivkovic authored
Bug 19113652. Change-Id: I4255c248a25bb92f5c12da6a185d17cc13a9a69d
-
- Feb 03, 2015
-
-
Dan Zivkovic authored
Removes the feature that adds strings to the user dictionary, aka the "green highlight with a plus sign". Bug 19237189. Change-Id: I2387129a3add2d69d625f2ff16ed8cab3f10a735
-
Jatin Matani authored
Change-Id: Ieff2cd37f869dca69abf53ac32a576c2e45cc1e3
-
- Feb 02, 2015
-
-
Dan Zivkovic authored
The code tries to implement a completely separate touch handler for the Delete key, so it can do fancy things like suppress haptic feedback during long press. This is not really necessary. Change-Id: I0eae758b617e94605035c40e0df15d972ae733c1
-
- Jan 31, 2015
-
-
Mohammadinamul Sheik authored
Change-Id: Ia08c8194f460271c831702675cfb687ab9f6678b
-
- Jan 29, 2015
-
-
Dan Zivkovic authored
Bug 19188067. Change-Id: Ic9a3637f59dda30c699141222b9dcac3cd624b99
-
Dan Zivkovic authored
We'll resurrect this effort in the new code base. Bug 16900511. Change-Id: Iae4cd27cb29cb8f991e97cffd88ed59c30d66628
-
- Jan 27, 2015
-
-
Mario Tanev authored
implementation DictionaryFacilitatorImpl.java and add a java-overridable factory DictionaryFacilitatorProvider.java used to create a DictionaryFacilitator. Change-Id: Id4a58ae31feaa4d12a048a772c8d76ff82fdee45
-
- Jan 16, 2015
-
-
Dan Zivkovic authored
This change deletes a bunch of code that was used to conditionally show/hide the keyboard app icon given system states and user preferences. Bug 19001197. Change-Id: I69a57aa21872a571af87a193b3e52b7f985e5168
-
- Jan 15, 2015
-
-
Chieu Nguyen authored
This is apparently called only once for every unique word, so repeated instances of the same word are not handled separately. Upon changing orientation of the device, however, all invalid words in the textbox are underlined again and this method is called for each unique instance in order. Change-Id: Ic57e4b9e5675bd7abd723644aa318d964f7f875f
-
- Jan 13, 2015
-
-
Dan Zivkovic authored
The NPE happens when the keyboard doesn't specify any punctuation suggestions. Bug 18047927. Change-Id: I9f8aa35df4f163b527dc6580a99afc6da45a96b8
-