Home
last modified time | relevance | path

Searched refs:MAX_POOL_SIZE (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/widget/
DExpandableListPosition.java30 private static final int MAX_POOL_SIZE = 5; field in ExpandableListPosition
32 new ArrayList<ExpandableListPosition>(MAX_POOL_SIZE);
134 if (sPool.size() < MAX_POOL_SIZE) { in recycle()
DExpandableListConnector.java956 private static final int MAX_POOL_SIZE = 5; field in ExpandableListConnector.PositionMetadata
958 new ArrayList<PositionMetadata>(MAX_POOL_SIZE);
1019 if (sPool.size() < MAX_POOL_SIZE) { in recycle()
/frameworks/base/core/java/com/android/internal/statusbar/
DNotificationVisibility.java29 private static final int MAX_POOL_SIZE = 25; field in NotificationVisibility
30 private static ArrayDeque<NotificationVisibility> sPool = new ArrayDeque<>(MAX_POOL_SIZE);
137 if (sPool.size() < MAX_POOL_SIZE) { in recycle()
/frameworks/base/core/java/com/android/internal/os/
DSomeArgs.java28 private static final int MAX_POOL_SIZE = 10; field in SomeArgs
96 if (sPoolSize < MAX_POOL_SIZE) { in recycle()
/frameworks/base/core/java/android/view/
DMagnificationSpec.java29 private static final int MAX_POOL_SIZE = 20; field in MagnificationSpec
31 new SynchronizedPool<>(MAX_POOL_SIZE);
DWindowInfo.java35 private static final int MAX_POOL_SIZE = 10; field in WindowInfo
38 new Pools.SynchronizedPool<WindowInfo>(MAX_POOL_SIZE);
DViewGroup.java7733 private static final int MAX_POOL_SIZE = 32; field in ViewGroup.ChildListForAccessibility
7736 new SynchronizedPool<ChildListForAccessibility>(MAX_POOL_SIZE);
7822 private static final int MAX_POOL_SIZE = 32; field in ViewGroup.ViewLocationHolder
7825 new SynchronizedPool<ViewLocationHolder>(MAX_POOL_SIZE);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DKeyEventDispatcher.java56 private static final int MAX_POOL_SIZE = 10; field in KeyEventDispatcher
58 private final Pool<PendingKeyEvent> mPendingEventPool = new Pools.SimplePool<>(MAX_POOL_SIZE);
DAccessibilityInputFilter.java471 private static final int MAX_POOL_SIZE = 32; field in AccessibilityInputFilter.MotionEventHolder
473 new SimplePool<MotionEventHolder>(MAX_POOL_SIZE);
DMagnificationGestureHandler.java757 private static final int MAX_POOL_SIZE = 10; field in MagnificationGestureHandler.MotionEventInfo
806 if (sPoolSize < MAX_POOL_SIZE) { in recycle()
/frameworks/base/graphics/java/android/graphics/
DRegion.java25 private static final int MAX_POOL_SIZE = 10; field in Region
28 new SynchronizedPool<Region>(MAX_POOL_SIZE);
/frameworks/base/core/java/android/os/
DMessage.java114 private static final int MAX_POOL_SIZE = 50; field in Message
307 if (sPoolSize < MAX_POOL_SIZE) { in recycleUnchecked()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java73 private static final int MAX_POOL_SIZE = 10; field in AccessibilityRecord
764 if (sPoolSize <= MAX_POOL_SIZE) { in recycle()
DAccessibilityNodeInfo.java605 private static final int MAX_POOL_SIZE = 50; field in AccessibilityNodeInfo
607 new SynchronizedPool<>(MAX_POOL_SIZE);
3807 private static final int MAX_POOL_SIZE = 10; field in AccessibilityNodeInfo.RangeInfo
3817 new SynchronizedPool<AccessibilityNodeInfo.RangeInfo>(MAX_POOL_SIZE);
3949 private static final int MAX_POOL_SIZE = 20; field in AccessibilityNodeInfo.CollectionInfo
3952 new SynchronizedPool<>(MAX_POOL_SIZE);
4095 private static final int MAX_POOL_SIZE = 20; field in AccessibilityNodeInfo.CollectionItemInfo
4098 new SynchronizedPool<>(MAX_POOL_SIZE);
DAccessibilityWindowInfo.java81 private static final int MAX_POOL_SIZE = 10; field in AccessibilityWindowInfo
83 new SynchronizedPool<AccessibilityWindowInfo>(MAX_POOL_SIZE);
DAccessibilityEvent.java749 private static final int MAX_POOL_SIZE = 10; field in AccessibilityEvent
751 new SynchronizedPool<AccessibilityEvent>(MAX_POOL_SIZE);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java107 private static final int MAX_POOL_SIZE = 4; field in RILRequest
166 if (sPoolSize < MAX_POOL_SIZE) { in release()