aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils/ExecutorUtils.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-111-152/+0
|
* Separate executor for the Spelling decoder.Dan Zivkovic2015-03-121-12/+45
| | | | | | Bug 19710676. Change-Id: I6e66eddd507c11e424105869833fe6841b90275d
* Mark method @UsedForTestingDan Zivkovic2015-03-111-0/+1
| | | | | | This prevents it from being optimized away. Change-Id: Iecd317568e23e86e4c0ece8134a4926a7a56d65b
* Make inner classes visible for testing.Dan Zivkovic2015-03-111-1/+7
| | | | | | | | We need this to assert the correct behavior in the facilitator. Bug 19695605. Change-Id: I3923d00791c99208bc72f7c4210ae1ea0a34bd0e
* Restart background executor.Dan Zivkovic2015-03-101-1/+3
| | | | | | Bug 19671650. Change-Id: I1a28a53e94bdb79aeb173f6905c1035022495acc
* Kill+restart tasks before/after decoder init.Dan Zivkovic2015-03-091-1/+10
| | | | | | Bug 19625976. Change-Id: I6d8b0d2b0a77ccda1bfc914501cf568b92862980
* ExecutorUtils lets use schedule a runnable chain.Dan Zivkovic2015-03-091-25/+35
| | | | | | Bug 19625976. Change-Id: Iebbef7fed57a381498301dcf26fefa27d06802f7
* Use a single background executor.Dan Zivkovic2015-03-091-46/+9
| | | | | | Bug 19625976. Change-Id: Ia03f440a31b059b5af42d162e1145330bf7b5ddf
* Sanitize the usage of executors.Dan Zivkovic2015-02-191-21/+67
| | | | | | | | 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
* Refactor content provider code from ContactsDictJatin Matani2015-02-111-5/+7
| | | | | | | | | 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
* Fix some compiler warningsTadashi G. Takaoka2014-10-211-3/+3
| | | | | | | | | | | | | | | | | | | | | This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
* Remove PrioritizedSerialExecutor.Keisuke Kuroyanagi2014-05-291-6/+25
| | | | | Bug: 15320560 Change-Id: Icb88a96ebd685da1d2cba7b07889a2751c603a2e
* Add thread name for PrioritizedSerialExecutor.Keisuke Kuroyanagi2014-05-271-5/+5
| | | | | Bug: 15270123 Change-Id: I655ba97f0543476980d0e8461bc1c8a56c9f954b
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-2/+3
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Shuwdown executors after executing all tasks.Keisuke Kuroyanagi2014-04-171-2/+7
| | | | | Bug: 14113276 Change-Id: Ie42ef30ffe5767ca434db4669efad2027b474e74
* Create a utils class for executors.Jean Chalard2014-02-241-0/+55
Preliminary refactoring to fix Bug: 13082957 Change-Id: I9f1283c37089bc96140b774b1c559d58031de004