Searched refs:Pools (Results 1 – 25 of 57) sorted by relevance
123
20 import android.util.Pools;28 public class MessagingPool<T extends View> implements Pools.Pool<T> {32 private Pools.SynchronizedPool<T> mCurrentPool;37 mCurrentPool = new Pools.SynchronizedPool<>(mMaxPoolSize); in MessagingPool()69 mCurrentPool = new Pools.SynchronizedPool<>(mMaxPoolSize); in clear()
23 import android.util.Pools;308 static Pools.Pool<InfoRecord> sPool = new Pools.SimplePool<>(20);
20 import android.util.Pools;54 private Pools.Pool<UpdateOp> mUpdateOpPool = new Pools.SimplePool<UpdateOp>(UpdateOp.POOL_SIZE);
19 import android.util.Pools;26 private static Pools.SimplePool<ProgressTransformState> sInstancePool27 = new Pools.SimplePool<>(40);
19 import android.util.Pools;26 private static Pools.SimplePool<ActionListTransformState> sInstancePool27 = new Pools.SimplePool<>(40);
19 import android.util.Pools;30 private static Pools.SimplePool<MessagingImageTransformState> sInstancePool31 = new Pools.SimplePool<>(40);
20 import android.util.Pools;38 private static Pools.SimplePool<ImageTransformState> sInstancePool39 = new Pools.SimplePool<>(40);
22 import android.util.Pools;31 private static Pools.SimplePool<TextViewTransformState> sInstancePool32 = new Pools.SimplePool<>(40);
21 import android.util.Pools;43 private static Pools.SimplePool<MessagingLayoutTransformState> sInstancePool44 = new Pools.SimplePool<>(40);
19 import android.util.Pools;51 private static Pools.SimplePool<TransformState> sInstancePool = new Pools.SimplePool<>(40);
19 import android.util.Pools;26 private final Pools.SynchronizedPool<SurfaceControl.Transaction> mTransactionPool =27 new Pools.SynchronizedPool<>(4);
37 doTest(new Pools.SimplePool<Object>(POOL_SIZE)); in testSimple()42 doTest(new Pools.SynchronizedPool<Object>(POOL_SIZE)); in testSynchronized()45 private void doTest(Pools.SimplePool<Object> pool) throws Exception { in doTest()
46 public final class Pools { class73 private Pools() { in Pools() method in Pools
24 import android.util.Pools;158 private static final Pools.SimplePool<KeyEventHolder> sPool =159 new Pools.SimplePool<>(MAX_POOL_SIZE);
24 import android.util.Pools;25 import android.util.Pools.Pool;55 private final Pool<PendingKeyEvent> mPendingEventPool = new Pools.SimplePool<>(MAX_POOL_SIZE);
22 import android.util.Pools;40 private final Pools.Pool<AppJobQueue> mAppJobQueuePool = new Pools.SimplePool<>(8);312 private static final Pools.Pool<AdjustedJobStatus> mAdjustedJobStatusPool =313 new Pools.SimplePool<>(16);
24 import android.util.Pools.Pool;25 import android.util.Pools.SimplePool;
26 import android.util.Pools;41 private static final Pools.SynchronizedPool<WindowInfo> sPool =42 new Pools.SynchronizedPool<WindowInfo>(MAX_POOL_SIZE);
24 import android.util.Pools.SynchronizedPool;
26 import android.util.Pools;112 private final Pools.Pool<HeadsUpEntryPhone> mEntryPool = new Pools.Pool<HeadsUpEntryPhone>() {
34 import android.util.Pools;778 @NonNull Pools.Pool<AppOpsManager.OpEventProxyInfo> proxyPool in reinit()856 static class InProgressStartOpEventPool extends Pools.SimplePool<InProgressStartOpEvent> {897 static class OpEventProxyInfoPool extends Pools.SimplePool<AppOpsManager.OpEventProxyInfo> {
22 import android.util.Pools.SynchronizedPool;
40 import android.util.Pools;624 private final Pools.Pool<PendingEvent> mPendingEventPool = new Pools.SimplePool<>(20);
26 import android.util.Pools.Pool;27 import android.util.Pools.SynchronizedPool;