/frameworks/base/core/java/android/widget/ |
D | ExpandableListPosition.java | 30 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()
|
D | ExpandableListConnector.java | 956 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/ |
D | NotificationVisibility.java | 29 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/ |
D | SomeArgs.java | 28 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/ |
D | MagnificationSpec.java | 29 private static final int MAX_POOL_SIZE = 20; field in MagnificationSpec 31 new SynchronizedPool<>(MAX_POOL_SIZE);
|
D | WindowInfo.java | 35 private static final int MAX_POOL_SIZE = 10; field in WindowInfo 38 new Pools.SynchronizedPool<WindowInfo>(MAX_POOL_SIZE);
|
D | ViewGroup.java | 7733 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/ |
D | KeyEventDispatcher.java | 56 private static final int MAX_POOL_SIZE = 10; field in KeyEventDispatcher 58 private final Pool<PendingKeyEvent> mPendingEventPool = new Pools.SimplePool<>(MAX_POOL_SIZE);
|
D | AccessibilityInputFilter.java | 471 private static final int MAX_POOL_SIZE = 32; field in AccessibilityInputFilter.MotionEventHolder 473 new SimplePool<MotionEventHolder>(MAX_POOL_SIZE);
|
D | MagnificationGestureHandler.java | 757 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/ |
D | Region.java | 25 private static final int MAX_POOL_SIZE = 10; field in Region 28 new SynchronizedPool<Region>(MAX_POOL_SIZE);
|
/frameworks/base/core/java/android/os/ |
D | Message.java | 114 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/ |
D | AccessibilityRecord.java | 73 private static final int MAX_POOL_SIZE = 10; field in AccessibilityRecord 764 if (sPoolSize <= MAX_POOL_SIZE) { in recycle()
|
D | AccessibilityNodeInfo.java | 605 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);
|
D | AccessibilityWindowInfo.java | 81 private static final int MAX_POOL_SIZE = 10; field in AccessibilityWindowInfo 83 new SynchronizedPool<AccessibilityWindowInfo>(MAX_POOL_SIZE);
|
D | AccessibilityEvent.java | 749 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/ |
D | RIL.java | 107 private static final int MAX_POOL_SIZE = 4; field in RILRequest 166 if (sPoolSize < MAX_POOL_SIZE) { in release()
|