/frameworks/base/core/java/android/widget/ |
D | ExpandableListPosition.java | 31 private static ArrayList<ExpandableListPosition> sPool = field in ExpandableListPosition 117 synchronized (sPool) { in getRecycledOrCreate() 118 if (sPool.size() > 0) { in getRecycledOrCreate() 119 elp = sPool.remove(0); in getRecycledOrCreate() 133 synchronized (sPool) { in recycle() 134 if (sPool.size() < MAX_POOL_SIZE) { in recycle() 135 sPool.add(this); in recycle()
|
D | ExpandableListConnector.java | 957 private static ArrayList<PositionMetadata> sPool = field in ExpandableListConnector.PositionMetadata 1005 synchronized (sPool) { in getRecycledOrCreate() 1006 if (sPool.size() > 0) { in getRecycledOrCreate() 1007 pm = sPool.remove(0); in getRecycledOrCreate() 1018 synchronized (sPool) { in recycle() 1019 if (sPool.size() < MAX_POOL_SIZE) { in recycle() 1020 sPool.add(this); in recycle()
|
D | ProgressBar.java | 1515 private static final SynchronizedPool<RefreshData> sPool = field in ProgressBar.RefreshData 1524 RefreshData rd = sPool.acquire(); in obtain() 1536 sPool.release(this); in recycle()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | SomeArgs.java | 32 private static SomeArgs sPool; field in SomeArgs 74 SomeArgs args = sPool; in obtain() 75 sPool = sPool.mNext; in obtain() 107 mNext = sPool; in recycle() 109 sPool = this; in recycle()
|
/frameworks/base/core/java/com/android/internal/util/function/pooled/ |
D | PooledLambda.java | 182 return acquire(PooledLambdaImpl.sPool, in obtainRunnable() 199 return acquire(PooledLambdaImpl.sPool, in obtainSupplier() 216 return acquire(PooledLambdaImpl.sPool, in obtainSupplier() 267 return acquire(PooledLambdaImpl.sPool, in obtainRunnable() 285 return acquire(PooledLambdaImpl.sPool, in obtainSupplier() 303 return acquire(PooledLambdaImpl.sPool, in obtainSupplier() 321 return acquire(PooledLambdaImpl.sPool, in obtainConsumer() 339 return acquire(PooledLambdaImpl.sPool, in obtainPredicate() 357 return acquire(PooledLambdaImpl.sPool, in obtainFunction() 375 return acquire(PooledLambdaImpl.sPool, in obtainConsumer() [all …]
|
D | PooledLambdaImpl.java | 81 static final Pool sPool = new Pool(new Object()); field in PooledLambdaImpl 161 : PooledLambdaImpl.sPool; in doRecycle() 514 PooledLambdaImpl r = acquire(PooledLambdaImpl.sPool); in acquireConstSupplier()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RILRequest.java | 43 private static RILRequest sPool = null; field in RILRequest 87 if (sPool != null) { in obtain() 88 rr = sPool; in obtain() 89 sPool = rr.mNext; in obtain() 188 mNext = sPool; in release() 189 sPool = this; in release()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 81 private static AccessibilityRecord sPool; field in AccessibilityRecord 809 if (sPool != null) { in obtain() 810 AccessibilityRecord record = sPool; in obtain() 811 sPool = sPool.mNext; in obtain() 835 mNext = sPool; in recycle() 836 sPool = this; in recycle()
|
D | AccessibilityWindowInfo.java | 97 private static final SynchronizedPool<AccessibilityWindowInfo> sPool = field in AccessibilityWindowInfo 437 AccessibilityWindowInfo info = sPool.acquire(); in obtain() 483 sPool.release(this); in recycle()
|
D | AccessibilityNodeInfo.java | 715 private static final SynchronizedPool<AccessibilityNodeInfo> sPool = field in AccessibilityNodeInfo 3237 AccessibilityNodeInfo info = sPool.acquire(); in obtain() 3267 sPool.release(this); in recycle() 4566 private static final SynchronizedPool<RangeInfo> sPool = field in AccessibilityNodeInfo.RangeInfo 4596 RangeInfo info = sPool.acquire(); in obtain() 4670 sPool.release(this); in recycle() 4706 private static final SynchronizedPool<CollectionInfo> sPool = field in AccessibilityNodeInfo.CollectionInfo 4752 final CollectionInfo info = sPool.acquire(); in obtain() 4826 sPool.release(this); in recycle() 4853 private static final SynchronizedPool<CollectionItemInfo> sPool = field in AccessibilityNodeInfo.CollectionItemInfo [all …]
|
D | AccessibilityEvent.java | 757 private static final SynchronizedPool<AccessibilityEvent> sPool = field in AccessibilityEvent 1134 AccessibilityEvent event = sPool.acquire(); in obtain() 1151 sPool.release(this); in recycle()
|
/frameworks/base/core/java/android/view/ |
D | VelocityTracker.java | 33 private static final SynchronizedPool<VelocityTracker> sPool = field in VelocityTracker 59 VelocityTracker instance = sPool.acquire(); in obtain() 87 sPool.release(this); in recycle()
|
D | MagnificationSpec.java | 30 private static final SynchronizedPool<MagnificationSpec> sPool = field in MagnificationSpec 74 MagnificationSpec spec = sPool.acquire(); in obtain() 80 sPool.release(this); in recycle()
|
D | WindowInfo.java | 38 private static final Pools.SynchronizedPool<WindowInfo> sPool = field in WindowInfo 59 WindowInfo window = sPool.acquire(); in obtain() 93 sPool.release(this); in recycle()
|
/frameworks/base/core/java/android/os/ |
D | Message.java | 142 private static Message sPool; field in Message 155 if (sPool != null) { in obtain() 156 Message m = sPool; in obtain() 157 sPool = m.next; in obtain() 342 next = sPool; in recycleUnchecked() 343 sPool = this; in recycleUnchecked()
|
/frameworks/base/core/java/android/util/ |
D | StatsEvent.java | 679 private static Buffer sPool; field in StatsEvent.Buffer 688 buffer = null == sPool ? new Buffer() : sPool; in obtain() 689 sPool = null; in obtain() 705 if (null == sPool) { in release() 706 sPool = this; in release()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | KeyboardInterceptor.java | 152 private static final Pools.SimplePool<KeyEventHolder> sPool = field in KeyboardInterceptor.KeyEventHolder 162 KeyEventHolder holder = sPool.acquire(); in obtain() 179 sPool.release(this); in recycle()
|
D | MagnificationGestureHandler.java | 991 private static MotionEventInfo sPool; field in MagnificationGestureHandler.MotionEventInfo 1015 info = sPool; in obtainInternal() 1016 sPool = info.mNext; in obtainInternal() 1040 mNext = sPool; in recycle() 1041 sPool = this; in recycle()
|
/frameworks/base/graphics/java/android/graphics/ |
D | RecordingCanvas.java | 46 private static final SynchronizedPool<RecordingCanvas> sPool = field in RecordingCanvas 59 RecordingCanvas canvas = sPool.acquire(); in obtain() 75 sPool.release(this); in recycle()
|
D | Region.java | 29 private static final SynchronizedPool<Region> sPool = field in Region 317 Region region = sPool.acquire(); in obtain() 343 sPool.release(this); in recycle()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewInfoStore.java | 308 static Pools.Pool<InfoRecord> sPool = new Pools.SimplePool<>(20); field in ViewInfoStore.InfoRecord 314 InfoRecord record = sPool.acquire(); in obtain() 322 sPool.release(record); in recycle() 327 while (sPool.acquire() != null); in drainCache()
|
/frameworks/base/core/java/android/text/ |
D | MeasuredParagraph.java | 64 private static final SynchronizedPool<MeasuredParagraph> sPool = new SynchronizedPool<>(1); field in MeasuredParagraph 67 final MeasuredParagraph mt = sPool.acquire(); in obtain() 78 sPool.release(this); in recycle()
|
D | DynamicLayout.java | 69 Builder b = sPool.acquire(); in obtain() 101 sPool.release(b); in recycle() 303 private static final SynchronizedPool<Builder> sPool = new SynchronizedPool<>(3); field in DynamicLayout.Builder
|
D | StaticLayout.java | 91 Builder b = sPool.acquire(); in obtain() 126 sPool.release(b); in recycle() 444 private static final SynchronizedPool<Builder> sPool = new SynchronizedPool<>(3); field in StaticLayout.Builder
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SimpleIconFactory.java | 65 private static final SynchronizedPool<SimpleIconFactory> sPool = field in SimpleIconFactory 90 SimpleIconFactory instance = sPool.acquire(); in obtain() 115 sPool.release(this); in recycle()
|