Home
last modified time | relevance | path

Searched refs:Pools (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/widget/
DMessagingPool.java20 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()
DViewInfoStore.java23 import android.util.Pools;
308 static Pools.Pool<InfoRecord> sPool = new Pools.SimplePool<>(20);
DAdapterHelper.java20 import android.util.Pools;
54 private Pools.Pool<UpdateOp> mUpdateOpPool = new Pools.SimplePool<UpdateOp>(UpdateOp.POOL_SIZE);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DProgressTransformState.java19 import android.util.Pools;
26 private static Pools.SimplePool<ProgressTransformState> sInstancePool
27 = new Pools.SimplePool<>(40);
DActionListTransformState.java19 import android.util.Pools;
26 private static Pools.SimplePool<ActionListTransformState> sInstancePool
27 = new Pools.SimplePool<>(40);
DMessagingImageTransformState.java19 import android.util.Pools;
30 private static Pools.SimplePool<MessagingImageTransformState> sInstancePool
31 = new Pools.SimplePool<>(40);
DImageTransformState.java20 import android.util.Pools;
38 private static Pools.SimplePool<ImageTransformState> sInstancePool
39 = new Pools.SimplePool<>(40);
DTextViewTransformState.java22 import android.util.Pools;
31 private static Pools.SimplePool<TextViewTransformState> sInstancePool
32 = new Pools.SimplePool<>(40);
DMessagingLayoutTransformState.java21 import android.util.Pools;
43 private static Pools.SimplePool<MessagingLayoutTransformState> sInstancePool
44 = new Pools.SimplePool<>(40);
DTransformState.java19 import android.util.Pools;
51 private static Pools.SimplePool<TransformState> sInstancePool = new Pools.SimplePool<>(40);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DTransactionPool.java19 import android.util.Pools;
26 private final Pools.SynchronizedPool<SurfaceControl.Transaction> mTransactionPool =
27 new Pools.SynchronizedPool<>(4);
/frameworks/base/core/tests/coretests/src/android/util/
DPoolsTest.java37 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()
/frameworks/base/core/java/android/util/
DPools.java46 public final class Pools { class
73 private Pools() { in Pools() method in Pools
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DKeyboardInterceptor.java24 import android.util.Pools;
158 private static final Pools.SimplePool<KeyEventHolder> sPool =
159 new Pools.SimplePool<>(MAX_POOL_SIZE);
DKeyEventDispatcher.java24 import android.util.Pools;
25 import android.util.Pools.Pool;
55 private final Pool<PendingKeyEvent> mPendingEventPool = new Pools.SimplePool<>(MAX_POOL_SIZE);
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DPendingJobQueue.java22 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);
/frameworks/base/core/java/android/view/
DInputQueue.java24 import android.util.Pools.Pool;
25 import android.util.Pools.SimplePool;
DWindowInfo.java26 import android.util.Pools;
41 private static final Pools.SynchronizedPool<WindowInfo> sPool =
42 new Pools.SynchronizedPool<WindowInfo>(MAX_POOL_SIZE);
DVelocityTracker.java24 import android.util.Pools.SynchronizedPool;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpManagerPhone.java26 import android.util.Pools;
112 private final Pools.Pool<HeadsUpEntryPhone> mEntryPool = new Pools.Pool<HeadsUpEntryPhone>() {
/frameworks/base/services/core/java/com/android/server/appop/
DAttributedOp.java34 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> {
/frameworks/base/graphics/java/android/graphics/
DRecordingCanvas.java22 import android.util.Pools.SynchronizedPool;
DRegion.java24 import android.util.Pools.SynchronizedPool;
/frameworks/base/media/java/android/media/tv/ad/
DTvAdManager.java40 import android.util.Pools;
624 private final Pools.Pool<PendingEvent> mPendingEventPool = new Pools.SimplePool<>(20);
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java26 import android.util.Pools.Pool;
27 import android.util.Pools.SynchronizedPool;

123