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

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

Completed in 2259 milliseconds