aboutsummaryrefslogtreecommitdiffstats
path: root/java-overridable/src/com/android (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge java-overridable/ into java/ againYohei Yukawa2018-05-0620-940/+0
| | | | | | | | | | | | | | | This CL a logical revert of a previous CL [1], which separated Java files into common ones and overridable ones. Now that that overriding concept is no longer used, there is no need to keep having separate directory structure. [1]: Ic734bd4d20aa050c688a3158b1a382ae0ac18991 fb74ab15c1343084740d65ef8744cad33a678e82 Fix: 79323502 Test: make -j aosp_taimen-userdebug && make -j Test: tapas LatinIME && make -j Change-Id: I2090bc25d18e6d4f24e91c2cbfe832755cbb4e8f
* LatinIME portion of StatsUtil change.Dan Zivkovic2015-06-231-0/+3
| | | | | | Bug 22010482. Change-Id: Iaed8abfb13cf4c87895a968d545dca3e5fcf9081
* Detection and logging of slow input connections.Dan Zivkovic2015-06-221-0/+3
| | | | | | | | | Also adds a hook to log using StatsUtils. Proto change is coming in a separate CL. Bug 22010482. Change-Id: I08065fc7a5cd116e50ff84cb14bbbc44c4f14bc7
* Metadata URI does not need additionalId.Dan Zivkovic2015-05-061-7/+2
| | | | | | Bug 20701628. Change-Id: Ifba1e7dd7f9934c8c13279dfb95bf02c0e30e650
* Force download the dictionaries after the apk package is updated.Mohammadinamul Sheik2015-03-241-0/+7
| | | | | | | | - Also display the notification when the dictionaries are auto updated Bug: 19808828 Change-Id: If5c4efb73d8bb554d812afcf7deafec3ac40a462
* Move ManagedProfileUtils to overridableJatin Matani2015-03-231-0/+43
| | | | | Bug:19532354 Change-Id: I50b3ae11b6e58f07b482353b624b1a7a73eadc99
* Pass DictionaryFacilitator to GestureConsumer#onImeSuggestionsProcessed.David Faden2015-03-191-1/+3
| | | | | Bug: 19712589 Change-Id: I81f9bf09b37487450780d85a1e4f752a9ba49370
* Add prev words context to the SuggestedWordInfo.Mohammadinamul Sheik2015-03-191-1/+2
| | | | | | Bug: 19712589 Bug: 19715579 Change-Id: Ie06665cab8405455c1b0a2ff034e0bb0731c9156
* Pass DictionaryFacilitator for autocorrection and suggestion statsMohammadinamul Sheik2015-03-171-2/+4
| | | | | Bug: 19715579 Change-Id: Ic48de74bde0f9f5d5e68e8289948cc5e92cbfa1e
* Remove rejected suggestion in LatinIME.Dan Zivkovic2015-03-161-0/+1
| | | | | | Bug 19744396. Change-Id: I64e59b3fb1ab627c70bf27a12a78d8d927da7e97
* Add StatsUtils.onSettingsActivity to collect the settings page stats.Mohammadinamul Sheik2015-03-131-0/+3
| | | | | Bug:19214944 Change-Id: I113f47c49d638790d770fe2781afe7cd1565619d
* Remove ALS from LatinIME.Dan Zivkovic2015-03-111-4/+3
| | | | | | This fixes unit tests and brings us closer to a green build. Change-Id: Iffcc392eda4a7671a238b79cc7367320ca648725
* Kill+restart tasks before/after decoder init.Dan Zivkovic2015-03-091-1/+6
| | | | | | Bug 19625976. Change-Id: I6d8b0d2b0a77ccda1bfc914501cf568b92862980
* Introduce DictionaryHeaderUtils to get dictionary header valuesMohammadinamul Sheik2015-03-031-0/+31
| | | | Change-Id: I86cef6c7f2f68a75428bb2b9c4d5a1dc1876b541
* Move dictionary facilitator handling.Chieu Nguyen2015-03-021-3/+2
| | | | Change-Id: Ibd42982996a36ac52b4c916035491b835f8d14f9
* Handle double space inserting a period.Chieu Nguyen2015-02-271-0/+3
| | | | Change-Id: I109f0e9cf3e972bf60aa3fbbe817337aef70ea3c
* Share decoders among latinime components.Jatin Matani2015-02-251-1/+1
| | | | Change-Id: I6c8d3cf10e05e606308cea42d1e935a415ada9f8
* Auto-correct without whitelist in Delight3.Dan Zivkovic2015-02-251-0/+1
| | | | | | Bug 19390471. Change-Id: Ie09b916ca80591c98f48ae1d74d4fd5b0c5d6b33
* Merge "Make checksum and header checks decoder dependent."Mohammadinamul Sheik2015-02-231-0/+3
|\
| * Make checksum and header checks decoder dependent.Mohammadinamul Sheik2015-02-201-0/+3
| | | | | | | | Change-Id: I0ec4aa69d9b5f013ae926cc368e25225d9d3073b
* | Merge "Add StatsUtils method for handling subtype change."Chieu Nguyen2015-02-231-0/+6
|\ \ | |/ |/|
| * Add StatsUtils method for handling subtype change.Chieu Nguyen2015-02-181-0/+6
| | | | | | | | Change-Id: I0f334ab5e6f5aa41ad780641276dc3d2aa232f48
* | Rename in preparation of caching an instance.Dan Zivkovic2015-02-191-1/+1
|/ | | | Change-Id: I112c957e20d4573daaa71aa218b575037585385c
* Add Decoder specific dictionary suffix to resource lookupMohammadinamul Sheik2015-02-121-0/+3
| | | | Change-Id: Ia2c74acdc8ac6f7b605bb06a1078d23b32f388a1
* Remove distracter filter from client.Dan Zivkovic2015-02-091-6/+0
| | | | | | Bug 19296201. Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659
* Move decoder specific constants to DecoderSpecificConstants.javaMohammadinamul Sheik2015-02-051-0/+30
| | | | Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0
* Nuke AmanattoJatin Matani2015-02-022-84/+0
| | | | Change-Id: Ieff2cd37f869dca69abf53ac32a576c2e45cc1e3
* Change DictionaryFacilitator.java to an interface, create itsMario Tanev2015-01-271-0/+32
| | | | | | | | implementation DictionaryFacilitatorImpl.java and add a java-overridable factory DictionaryFacilitatorProvider.java used to create a DictionaryFacilitator. Change-Id: Id4a58ae31feaa4d12a048a772c8d76ff82fdee45
* Add a method for handling for words not found in dictionary.Chieu Nguyen2015-01-141-0/+3
| | | | | | | | | 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
* Rename production flag for cloud sync featureJatin Matani2014-12-291-2/+3
| | | | Change-Id: I24cbe94f128f54fb9bfeeef78cf271fee2216c8e
* [3]Ping dictionary stats:Pass DictionaryFacilitatorJatin Matani2014-12-181-1/+3
| | | | | | | | Pass dictionaryFacilitator to StatsUtilsManager from LatinIME Bug:16553957 Change-Id: I912a0b447e5684909ff67e3653a4bd8649cd03c5
* [2]Pass context to StatsUtilsManager for alarms.Jatin Matani2014-12-171-2/+2
| | | | | | | | Change corresponding to ag/605384 Bug:16553957 Change-Id: I77024957b9497c45296bbbb24ca972b26348a8c3
* Provide a preference to delete data from cloud.Jatin Matani2014-12-091-0/+9
| | | | | | | | | | | | | For now, it is a debug preference, but we may make this a proper user setting in the future. Thus note that the messaging is not final. Pref looks like : 1. https://screenshot.googleplex.com/OLxW0myWD9.png 2. https://screenshot.googleplex.com/YeqWYXGstw.png Bug: 18106936 Change-Id: I88bbc1a2ee0c23a48ff3972a91d57c218b10bb65
* Implement UserHistoryDictionary for each user account.Jatin Matani2014-11-131-0/+6
| | | | | | | | | | | | | | | | | | UserHistoryDictionary currently uses locale to determine the UserHistoryDictionary on the filesystem. With this change we use the account name as well. Thus each UserHistoryDictionary would following the following spec: UserHistoryDictionary.<locale>.<account>.dict. In case no account is selected, we default to the existing spec: UserHistoryDictionary.<locale>.dict Example UserHistoryDictionary.en_US.testaccount@example.com.dict Bug: 18104749 Change-Id: Iab031e166b55cf2ded68275a7e9be22475737b37
* Move current subtype management code to RichInputMethodManagerTadashi G. Takaoka2014-11-061-0/+1
| | | | Change-Id: I82d5a17a5ec96f26047d29e79f3f28850fc5b3bb
* Move InputPointers and ResizableIntArray to commonJean Chalard2014-10-291-1/+1
| | | | | Bug: 18108776 Change-Id: Ie5c0430aa41a8d6c58bf510a10173223d7dfe9fe
* Remove device checking of Emoji physical keyTadashi G. Takaoka2014-10-271-43/+0
| | | | | | | | This CL also adds a settings option to enable/disable an Emoji-ALT physical key. Bug: 18122464 Change-Id: Iee1d97efec979a902b0492071d5e511ca1792ff0
* Fix Javadoc and null analysis related warningsTadashi G. Takaoka2014-10-2312-1/+14
| | | | | | | This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
* [ML25] Add an hasDict method.Jean Chalard2014-10-161-2/+1
| | | | | | | | | We used to have separate methods for existence of dicts according to whether it's a file or a resource. This unifies both. Bug: 11230254 Bug: 17979623 Change-Id: I728773461f3465f756d06297c3f3bee34390c3e6
* Move sync policy related code out of account settingsSandeep Siddhartha2014-10-141-0/+66
| | | | | | Bug: 17981687 Bug: 17464069 Change-Id: I0ae3400564fd346cc84af74dfef65f01cc1ce6a8
* [ML24] Add facilities to read the script of a subtypeJean Chalard2014-10-141-1/+3
| | | | | | | | ...or more exactly, the script of the keyboard layout set associated with a given subtype. Bug: 11230254 Change-Id: I82f5fc81ecffc561781816008c853be6ff9438dd
* Performance fix for multiple language subtypesJean Chalard2014-10-141-1/+1
| | | | | | | | The code would iterate all enabled subtypes each time getCurrentSubtype() is called, which is really quite frequent. Bug: 11230254 Change-Id: I91feb36de6eca84967e848fc585aae04b350be89
* Cleanup LoginAccountUtilsSandeep Siddhartha2014-10-131-7/+6
| | | | | Bug: 17464068 Change-Id: Icf994a7582491afebc5db522c127a30d079ce05c
* Set up a sync preference and policy for syncing [2]Sandeep Siddhartha2014-10-102-56/+1
| | | | | | | | | | | | - Adds a preference for enabling sync, which controls the sync behavior - Make the ProductionFlags depend on appropriate flags to guarantee that we don't mess things when flipping some flags - Preferences now control the "syncable" property of the provider thereby controlling the policy and when this entry shows up in system settings. Bug: 17464069 Change-Id: I1d58351188518c1ae9f1f9e147b5ea15d32a3427
* [ML20.1] Move getRichInputMethodSubtype to additional featuresJean Chalard2014-10-091-0/+12
| | | | | Bug: 11230254 Change-Id: I9bc19db5f101eeb6841394fe3637f271c93cbfa7
* Merge "Skeleton code for user dictionary sync"Jatin Matani2014-10-083-0/+67
|\
| * Skeleton code for user dictionary syncJatin Matani2014-10-073-0/+67
| | | | | | | | | | Bug:17464069 Change-Id: If683b80e882c07fba576959346ae74cd445dd83e
* | Remove ENABLE_CURSOR_ANCHOR_INFO_CALLBACKYohei Yukawa2014-10-061-8/+0
|/ | | | | | | | | We can now start relying on L APIs even in unbundled release. This means ENABLE_CURSOR_ANCHOR_INFO_CALLBACK can be always true. Hence we simply remove it. Change-Id: I0353e992e97e252059f83accea100504594bf171
* Add calls to stub for API to consume gesture data.David Faden2014-10-031-0/+66
| | | | | Bug: 17400259 Change-Id: Ib3511afffe1d14662e7dd14611f384689516e664
* Add StatsUtils#onLoadSettings for when settings are changedJatin Matani2014-09-301-0/+3
| | | | | | | Non-blocking call in nature. Bug:17013677 Change-Id: Iff737422bbacbf22c9b0ff6eaf1c1f75e6bf23c3