Home
last modified time | relevance | path

Searched refs:MAX_POOL_SIZE (Results 1 – 23 of 23) 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/android/app/servertransaction/
DObjectPool.java33 private static final int MAX_POOL_SIZE = 50; field in ObjectPool
72 if (size < MAX_POOL_SIZE) { in recycle()
/frameworks/base/core/java/com/android/internal/os/
DSomeArgs.java30 private static final int MAX_POOL_SIZE = 10; field in SomeArgs
106 if (sPoolSize < MAX_POOL_SIZE) { in recycle()
/frameworks/minikin/tests/unittest/
DWordBreakerTests.cpp560 using ICULineBreakerPoolImpl::MAX_POOL_SIZE;
614 const size_t MAX_POOL_SIZE = TestableICULineBreakerPoolImpl::MAX_POOL_SIZE; in TEST() local
619 ICULineBreakerPool::Slot slots[MAX_POOL_SIZE * 2]; in TEST()
622 for (size_t i = 0; i < MAX_POOL_SIZE * 2; i++) { in TEST()
627 for (size_t i = 0; i < MAX_POOL_SIZE; i++) { in TEST()
632 for (size_t i = MAX_POOL_SIZE; i < MAX_POOL_SIZE * 2; i++) { in TEST()
634 EXPECT_EQ(MAX_POOL_SIZE, pool.getPoolSize()); in TEST()
/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.java36 private static final int MAX_POOL_SIZE = 10; field in WindowInfo
39 new Pools.SynchronizedPool<WindowInfo>(MAX_POOL_SIZE);
DViewGroup.java8682 private static final int MAX_POOL_SIZE = 32; field in ViewGroup.ChildListForAutoFillOrContentCapture
8685 new Pools.SimplePool<>(MAX_POOL_SIZE);
8707 private static final int MAX_POOL_SIZE = 32; field in ViewGroup.ChildListForAccessibility
8710 new SynchronizedPool<ChildListForAccessibility>(MAX_POOL_SIZE);
8792 private static final int MAX_POOL_SIZE = 32; field in ViewGroup.ViewLocationHolder
8795 new SynchronizedPool<ViewLocationHolder>(MAX_POOL_SIZE);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DKeyboardInterceptor.java151 private static final int MAX_POOL_SIZE = 32; field in KeyboardInterceptor.KeyEventHolder
153 new Pools.SimplePool<>(MAX_POOL_SIZE);
DKeyEventDispatcher.java53 private static final int MAX_POOL_SIZE = 10; field in KeyEventDispatcher
55 private final Pool<PendingKeyEvent> mPendingEventPool = new Pools.SimplePool<>(MAX_POOL_SIZE);
DMagnificationGestureHandler.java989 private static final int MAX_POOL_SIZE = 10; field in MagnificationGestureHandler.MotionEventInfo
1038 if (sPoolSize < MAX_POOL_SIZE) { in recycle()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILRequest.java45 private static final int MAX_POOL_SIZE = 4; field in RILRequest
187 if (sPoolSize < MAX_POOL_SIZE) { in release()
/frameworks/base/graphics/java/android/graphics/
DRegion.java27 private static final int MAX_POOL_SIZE = 10; field in Region
30 new SynchronizedPool<Region>(MAX_POOL_SIZE);
/frameworks/minikin/libs/minikin/
DWordBreaker.h77 static constexpr size_t MAX_POOL_SIZE = 4;
DWordBreaker.cpp65 if (mPool.size() >= MAX_POOL_SIZE) { in release()
/frameworks/base/core/java/android/os/
DMessage.java145 private static final int MAX_POOL_SIZE = 50; field in Message
341 if (sPoolSize < MAX_POOL_SIZE) { in recycleUnchecked()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java79 private static final int MAX_POOL_SIZE = 10; field in AccessibilityRecord
834 if (sPoolSize <= MAX_POOL_SIZE) { in recycle()
DAccessibilityWindowInfo.java96 private static final int MAX_POOL_SIZE = 10; field in AccessibilityWindowInfo
98 new SynchronizedPool<AccessibilityWindowInfo>(MAX_POOL_SIZE);
DAccessibilityNodeInfo.java714 private static final int MAX_POOL_SIZE = 50; field in AccessibilityNodeInfo
716 new SynchronizedPool<>(MAX_POOL_SIZE);
4557 private static final int MAX_POOL_SIZE = 10; field in AccessibilityNodeInfo.RangeInfo
4567 new SynchronizedPool<AccessibilityNodeInfo.RangeInfo>(MAX_POOL_SIZE);
4704 private static final int MAX_POOL_SIZE = 20; field in AccessibilityNodeInfo.CollectionInfo
4707 new SynchronizedPool<>(MAX_POOL_SIZE);
4851 private static final int MAX_POOL_SIZE = 20; field in AccessibilityNodeInfo.CollectionItemInfo
4854 new SynchronizedPool<>(MAX_POOL_SIZE);
DAccessibilityEvent.java756 private static final int MAX_POOL_SIZE = 10; field in AccessibilityEvent
758 new SynchronizedPool<>(MAX_POOL_SIZE);
/frameworks/base/core/java/com/android/internal/statusbar/
DNotificationVisibility.java31 private static final int MAX_POOL_SIZE = 25; field in NotificationVisibility
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DPooledLambdaImpl.java72 private static final int MAX_POOL_SIZE = 50; field in PooledLambdaImpl
77 super(MAX_POOL_SIZE, lock); in Pool()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt21273 Landroid/graphics/Region;->MAX_POOL_SIZE:I
51597 Landroid/os/Message;->MAX_POOL_SIZE:I
72884 Landroid/view/accessibility/AccessibilityEvent;->MAX_POOL_SIZE:I
73004 Landroid/view/accessibility/AccessibilityNodeInfo$CollectionInfo;->MAX_POOL_SIZE:I
73014 Landroid/view/accessibility/AccessibilityNodeInfo$CollectionItemInfo;->MAX_POOL_SIZE:I
73026 Landroid/view/accessibility/AccessibilityNodeInfo$RangeInfo;->MAX_POOL_SIZE:I
73098 Landroid/view/accessibility/AccessibilityNodeInfo;->MAX_POOL_SIZE:I
73161 Landroid/view/accessibility/AccessibilityRecord;->MAX_POOL_SIZE:I
73217 Landroid/view/accessibility/AccessibilityWindowInfo;->MAX_POOL_SIZE:I
75758 Landroid/view/MagnificationSpec;->MAX_POOL_SIZE:I
[all …]