Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DSomeArgs.java30 private static SomeArgs sPool; field in SomeArgs
57 SomeArgs args = sPool; in obtain()
58 sPool = sPool.mNext; in obtain()
76 mNext = sPool; in recycle()
78 sPool = this; in recycle()
/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.java616 private static final SynchronizedPool<RefreshData> sPool = field in ProgressBar.RefreshData
624 RefreshData rd = sPool.acquire(); in obtain()
635 sPool.release(this); in recycle()
DRelativeLayout.java1787 private static final SynchronizedPool<Node> sPool = field in RelativeLayout.DependencyGraph.Node
1791 Node node = sPool.acquire(); in acquire()
1804 sPool.release(this); in release()
/frameworks/base/core/java/android/view/
DGLES20RecordingCanvas.java33 private static final SynchronizedPool<GLES20RecordingCanvas> sPool = field in GLES20RecordingCanvas
43 GLES20RecordingCanvas canvas = sPool.acquire(); in obtain()
54 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()
DViewGroup.java6574 private static final SynchronizedPool<ChildListForAccessibility> sPool = field in ViewGroup.ChildListForAccessibility
6582 ChildListForAccessibility list = sPool.acquire(); in obtain()
6592 sPool.release(this); in recycle()
6646 private static final SynchronizedPool<ViewLocationHolder> sPool = field in ViewGroup.ViewLocationHolder
6656 ViewLocationHolder holder = sPool.acquire(); in obtain()
6666 sPool.release(this); in recycle()
DView.java18707 private static final SynchronizedPool<InvalidateInfo> sPool =
18718 InvalidateInfo instance = sPool.acquire();
18724 sPool.release(this);
/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.java484 private static final SynchronizedPool<AccessibilityNodeInfo> sPool = field in AccessibilityNodeInfo
2080 AccessibilityNodeInfo info = sPool.acquire(); in obtain()
2107 sPool.release(this); in recycle()
2555 private static final SynchronizedPool<RangeInfo> sPool = field in AccessibilityNodeInfo.RangeInfo
2583 RangeInfo info = sPool.acquire(); in obtain()
2647 sPool.release(this); in recycle()
2673 private static final SynchronizedPool<CollectionInfo> sPool = field in AccessibilityNodeInfo.CollectionInfo
2701 CollectionInfo info = sPool.acquire(); in obtain()
2752 sPool.release(this); in recycle()
2777 private static final SynchronizedPool<CollectionItemInfo> sPool = field in AccessibilityNodeInfo.CollectionItemInfo
[all …]
DAccessibilityEvent.java715 private static final SynchronizedPool<AccessibilityEvent> sPool = field in AccessibilityEvent
984 AccessibilityEvent event = sPool.acquire(); in obtain()
999 sPool.release(this); in recycle()
/frameworks/base/core/java/android/os/
DMessage.java97 private static Message sPool; field in Message
108 if (sPool != null) { in obtain()
109 Message m = sPool; in obtain()
110 sPool = m.next; in obtain()
253 next = sPool; in recycle()
254 sPool = this; in recycle()
/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/java/com/android/server/accessibility/
DAccessibilityInputFilter.java377 private static final SimplePool<MotionEventHolder> sPool = field in AccessibilityInputFilter.MotionEventHolder
386 MotionEventHolder holder = sPool.acquire(); in obtain()
401 sPool.release(this); in recycle()
DScreenMagnifier.java890 private static MotionEventInfo sPool; field in ScreenMagnifier.MotionEventInfo
907 info = sPool; in obtain()
908 sPool = info.mNext; in obtain()
935 mNext = sPool; in recycle()
936 sPool = this; in recycle()
/frameworks/base/services/java/com/android/server/wm/
DDisplayMagnifier.java666 private static final SimplePool<WindowStateInfo> sPool = field in DisplayMagnifier.WindowStateInfo
675 WindowStateInfo info = sPool.acquire(); in obtain()
688 sPool.release(this); in recycle()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java89 private static RILRequest sPool = null; field in RILRequest
111 if (sPool != null) { in obtain()
112 rr = sPool; in obtain()
113 sPool = rr.mNext; in obtain()
148 mNext = sPool; in release()
149 sPool = this; in release()