Searched refs:NamedTaskExecutor (Results 1 – 16 of 16) sorted by relevance
25 class PerNameExecutor(private val mExecutorFactory: Factory<NamedTaskExecutor>) :26 NamedTaskExecutor {27 private var mExecutors: HashMap<String, NamedTaskExecutor>? = null48 mExecutors = HashMap<String, NamedTaskExecutor>() in execute()51 var executor: NamedTaskExecutor? = mExecutors?.get(name) in execute()
24 class SingleThreadNamedTaskExecutor(threadFactory: ThreadFactory?) : NamedTaskExecutor {85 fun factory(threadFactory: ThreadFactory?): Factory<NamedTaskExecutor> { in factory()86 return object : Factory<NamedTaskExecutor> { in factory()87 override fun create(): NamedTaskExecutor { in factory()
26 class BatchingNamedTaskExecutor(private val mExecutor: NamedTaskExecutor) : NamedTaskExecutor {
19 interface NamedTaskExecutor { interface
44 private var mSourceTaskExecutor: NamedTaskExecutor? = null53 private var mIconLoaderExecutor: NamedTaskExecutor? = null113 val iconLoaderExecutor: NamedTaskExecutor?121 protected fun createIconLoaderExecutor(): NamedTaskExecutor { in createIconLoaderExecutor()168 val sourceTaskExecutor: NamedTaskExecutor?177 protected fun createSourceTaskExecutor(): NamedTaskExecutor { in createSourceTaskExecutor()
27 import com.android.quicksearchbox.util.NamedTaskExecutor34 iconLoader: NamedTaskExecutor39 private val mIconLoaderExecutor: NamedTaskExecutor
22 import com.android.quicksearchbox.util.NamedTaskExecutor28 iconLoader: NamedTaskExecutor
23 import com.android.quicksearchbox.util.NamedTaskExecutor63 executor: NamedTaskExecutor, in startQuery()
21 import com.android.quicksearchbox.util.NamedTaskExecutor32 private val mQueryExecutor: NamedTaskExecutor,
43 iconLoaderExecutor: NamedTaskExecutor54 private val mIconLoaderExecutor: NamedTaskExecutor
24 public class MockNamedTaskExecutorFactory implements Factory<NamedTaskExecutor> {38 public NamedTaskExecutor create() { in create()
27 public class MockNamedTaskExecutor implements NamedTaskExecutor {
33 private NamedTaskExecutor mExecutor;
26 import com.android.quicksearchbox.util.NamedTaskExecutor;55 NamedTaskExecutor executor = new SingleThreadNamedTaskExecutor( in create()
28 import com.android.quicksearchbox.util.NamedTaskExecutor34 iconLoader: NamedTaskExecutor
31 import com.android.quicksearchbox.util.NamedTaskExecutor49 iconLoader: NamedTaskExecutor,