aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils/ExecutorUtils.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Separate executor for the Spelling decoder.•••Bug 19710676. Change-Id: I6e66eddd507c11e424105869833fe6841b90275d Dan Zivkovic2015-03-121-12/+45
* Mark method @UsedForTesting•••This prevents it from being optimized away. Change-Id: Iecd317568e23e86e4c0ece8134a4926a7a56d65b Dan Zivkovic2015-03-111-0/+1
* Make inner classes visible for testing.•••We need this to assert the correct behavior in the facilitator. Bug 19695605. Change-Id: I3923d00791c99208bc72f7c4210ae1ea0a34bd0e Dan Zivkovic2015-03-111-1/+7
* Restart background executor.•••Bug 19671650. Change-Id: I1a28a53e94bdb79aeb173f6905c1035022495acc Dan Zivkovic2015-03-101-1/+3
* Kill+restart tasks before/after decoder init.•••Bug 19625976. Change-Id: I6d8b0d2b0a77ccda1bfc914501cf568b92862980 Dan Zivkovic2015-03-091-1/+10
* ExecutorUtils lets use schedule a runnable chain.•••Bug 19625976. Change-Id: Iebbef7fed57a381498301dcf26fefa27d06802f7 Dan Zivkovic2015-03-091-25/+35
* Use a single background executor.•••Bug 19625976. Change-Id: Ia03f440a31b059b5af42d162e1145330bf7b5ddf Dan Zivkovic2015-03-091-46/+9
* 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 Dan Zivkovic2015-02-191-21/+67
* 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 Jatin Matani2015-02-111-5/+7
* Fix some compiler warnings•••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 Tadashi G. Takaoka2014-10-211-3/+3
* Remove PrioritizedSerialExecutor.•••Bug: 15320560 Change-Id: Icb88a96ebd685da1d2cba7b07889a2751c603a2e Keisuke Kuroyanagi2014-05-291-6/+25
* Add thread name for PrioritizedSerialExecutor.•••Bug: 15270123 Change-Id: I655ba97f0543476980d0e8461bc1c8a56c9f954b Keisuke Kuroyanagi2014-05-271-5/+5
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-2/+3
* Shuwdown executors after executing all tasks.•••Bug: 14113276 Change-Id: Ie42ef30ffe5767ca434db4669efad2027b474e74 Keisuke Kuroyanagi2014-04-171-2/+7
* Create a utils class for executors.•••Preliminary refactoring to fix Bug: 13082957 Change-Id: I9f1283c37089bc96140b774b1c559d58031de004 Jean Chalard2014-02-241-0/+55