Home
last modified time | relevance | path

Searched refs:sPool (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/widget/
DExpandableListPosition.java31 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()
DExpandableListConnector.java957 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()
DProgressBar.java1175 private static final SynchronizedPool<RefreshData> sPool = field in ProgressBar.RefreshData
1185 RefreshData rd = sPool.acquire(); in obtain()
1197 sPool.release(this); in recycle()
DRelativeLayout.java1797 private static final SynchronizedPool<Node> sPool = field in RelativeLayout.DependencyGraph.Node
1801 Node node = sPool.acquire(); in acquire()
1814 sPool.release(this); in release()
/frameworks/base/core/java/com/android/internal/os/
DSomeArgs.java30 private static SomeArgs sPool; field in SomeArgs
63 SomeArgs args = sPool; in obtain()
64 sPool = sPool.mNext; in obtain()
85 mNext = sPool; in recycle()
87 sPool = this; in recycle()
/frameworks/base/core/java/android/view/
DGLES20RecordingCanvas.java34 private static final SynchronizedPool<GLES20RecordingCanvas> sPool = field in GLES20RecordingCanvas
45 GLES20RecordingCanvas canvas = sPool.acquire(); in obtain()
55 sPool.release(this); in recycle()
DMagnificationSpec.java30 private static final SynchronizedPool<MagnificationSpec> sPool = field in MagnificationSpec
63 MagnificationSpec spec = sPool.acquire(); in obtain()
69 sPool.release(this); in recycle()
DVelocityTracker.java32 private static final SynchronizedPool<VelocityTracker> sPool = field in VelocityTracker
58 VelocityTracker instance = sPool.acquire(); in obtain()
85 sPool.release(this); in recycle()
DWindowInfo.java37 private static final Pools.SynchronizedPool<WindowInfo> sPool = field in WindowInfo
53 WindowInfo window = sPool.acquire(); in obtain()
82 sPool.release(this); in recycle()
DViewGroup.java7062 private static final SynchronizedPool<ChildListForAccessibility> sPool = field in ViewGroup.ChildListForAccessibility
7070 ChildListForAccessibility list = sPool.acquire(); in obtain()
7080 sPool.release(this); in recycle()
7151 private static final SynchronizedPool<ViewLocationHolder> sPool = field in ViewGroup.ViewLocationHolder
7167 ViewLocationHolder holder = sPool.acquire(); in obtain()
7181 sPool.release(this); in recycle()
DView.java20084 private static final SynchronizedPool<InvalidateInfo> sPool =
20095 InvalidateInfo instance = sPool.acquire();
20101 sPool.release(this);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPlatformVelocityTracker.java29 private static final Pools.SynchronizedPool<PlatformVelocityTracker> sPool = field in PlatformVelocityTracker
35 PlatformVelocityTracker tracker = sPool.acquire(); in obtain()
70 sPool.release(this); in recycle()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java75 private static AccessibilityRecord sPool; field in AccessibilityRecord
727 if (sPool != null) { in obtain()
728 AccessibilityRecord record = sPool; in obtain()
729 sPool = sPool.mNext; in obtain()
753 mNext = sPool; in recycle()
754 sPool = this; in recycle()
DAccessibilityNodeInfo.java539 private static final SynchronizedPool<AccessibilityNodeInfo> sPool = field in AccessibilityNodeInfo
2411 AccessibilityNodeInfo info = sPool.acquire(); in obtain()
2438 sPool.release(this); in recycle()
3395 private static final SynchronizedPool<RangeInfo> sPool = field in AccessibilityNodeInfo.RangeInfo
3423 RangeInfo info = sPool.acquire(); in obtain()
3487 sPool.release(this); in recycle()
3522 private static final SynchronizedPool<CollectionInfo> sPool = field in AccessibilityNodeInfo.CollectionInfo
3568 final CollectionInfo info = sPool.acquire(); in obtain()
3642 sPool.release(this); in recycle()
3668 private static final SynchronizedPool<CollectionItemInfo> sPool = field in AccessibilityNodeInfo.CollectionItemInfo
[all …]
DAccessibilityWindowInfo.java62 private static final SynchronizedPool<AccessibilityWindowInfo> sPool = field in AccessibilityWindowInfo
329 AccessibilityWindowInfo info = sPool.acquire(); in obtain()
377 sPool.release(this); in recycle()
DAccessibilityEvent.java738 private static final SynchronizedPool<AccessibilityEvent> sPool = field in AccessibilityEvent
1018 AccessibilityEvent event = sPool.acquire(); in obtain()
1033 sPool.release(this); in recycle()
/frameworks/base/core/java/android/os/
DMessage.java111 private static Message sPool; field in Message
124 if (sPool != null) { in obtain()
125 Message m = sPool; in obtain()
126 sPool = m.next; in obtain()
308 next = sPool; in recycleUnchecked()
309 sPool = this; in recycleUnchecked()
/frameworks/base/graphics/java/android/graphics/
DRegion.java27 private static final SynchronizedPool<Region> sPool = field in Region
308 Region region = sPool.acquire(); in obtain()
332 sPool.release(this); in recycle()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java378 private static final SimplePool<MotionEventHolder> sPool = field in AccessibilityInputFilter.MotionEventHolder
387 MotionEventHolder holder = sPool.acquire(); in obtain()
402 sPool.release(this); in recycle()
DScreenMagnifier.java879 private static MotionEventInfo sPool; field in ScreenMagnifier.MotionEventInfo
896 info = sPool; in obtain()
897 sPool = info.mNext; in obtain()
924 mNext = sPool; in recycle()
925 sPool = this; in recycle()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java95 private static RILRequest sPool = null; field in RILRequest
118 if (sPool != null) { in obtain()
119 rr = sPool; in obtain()
120 sPool = rr.mNext; in obtain()
155 mNext = sPool; in release()
156 sPool = this; in release()