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.java1200 private static final SynchronizedPool<RefreshData> sPool = field in ProgressBar.RefreshData
1208 RefreshData rd = sPool.acquire(); in obtain()
1219 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.java7113 private static final SynchronizedPool<ChildListForAccessibility> sPool = field in ViewGroup.ChildListForAccessibility
7121 ChildListForAccessibility list = sPool.acquire(); in obtain()
7131 sPool.release(this); in recycle()
7202 private static final SynchronizedPool<ViewLocationHolder> sPool = field in ViewGroup.ViewLocationHolder
7218 ViewLocationHolder holder = sPool.acquire(); in obtain()
7232 sPool.release(this); in recycle()
DView.java20201 private static final SynchronizedPool<InvalidateInfo> sPool =
20212 InvalidateInfo instance = sPool.acquire();
20218 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
2515 AccessibilityNodeInfo info = sPool.acquire(); in obtain()
2542 sPool.release(this); in recycle()
3521 private static final SynchronizedPool<RangeInfo> sPool = field in AccessibilityNodeInfo.RangeInfo
3549 RangeInfo info = sPool.acquire(); in obtain()
3613 sPool.release(this); in recycle()
3648 private static final SynchronizedPool<CollectionInfo> sPool = field in AccessibilityNodeInfo.CollectionInfo
3694 final CollectionInfo info = sPool.acquire(); in obtain()
3768 sPool.release(this); in recycle()
3794 private static final SynchronizedPool<CollectionItemInfo> sPool = field in AccessibilityNodeInfo.CollectionItemInfo
[all …]
DAccessibilityWindowInfo.java75 private static final SynchronizedPool<AccessibilityWindowInfo> sPool = field in AccessibilityWindowInfo
343 AccessibilityWindowInfo info = sPool.acquire(); in obtain()
391 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.java99 private static RILRequest sPool = null; field in RILRequest
122 if (sPool != null) { in obtain()
123 rr = sPool; in obtain()
124 sPool = rr.mNext; in obtain()
159 mNext = sPool; in release()
160 sPool = this; in release()