Home
last modified time | relevance | path

Searched refs:sPool (Results 1 – 15 of 15) 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.java593 private static final Pool<RefreshData> sPool = Pools.synchronizedPool( field in ProgressBar.RefreshData
610 RefreshData rd = sPool.acquire(); in obtain()
618 sPool.release(this); in recycle()
DRelativeLayout.java1471 private static final Pool<Node> sPool = Pools.synchronizedPool( field in RelativeLayout.DependencyGraph.Node
1505 final Node node = sPool.acquire(); in acquire()
1516 sPool.release(this); in release()
/frameworks/base/core/java/android/webkit/
DByteArrayBuilder.java34 private static final LinkedList<SoftReference<Chunk>> sPool = field in ByteArrayBuilder
107 sPool.remove(entry); in processPoolLocked()
116 synchronized (sPool) { in obtainChunk()
119 if (!sPool.isEmpty()) { in obtainChunk()
120 Chunk c = sPool.removeFirst().get(); in obtainChunk()
145 synchronized (sPool) { in release()
148 sPool.offer(new SoftReference<Chunk>(this, sQueue)); in release()
149 sPool.notifyAll(); in release()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRecord.java75 private static AccessibilityRecord sPool; field in AccessibilityRecord
716 if (sPool != null) { in obtain()
717 AccessibilityRecord record = sPool; in obtain()
718 sPool = sPool.mNext; in obtain()
742 mNext = sPool; in recycle()
743 sPool = this; in recycle()
DAccessibilityEvent.java636 private static AccessibilityEvent sPool; field in AccessibilityEvent
866 if (sPool != null) { in obtain()
867 AccessibilityEvent event = sPool; in obtain()
868 sPool = sPool.mNext; in obtain()
894 mNext = sPool; in recycle()
895 sPool = this; in recycle()
DAccessibilityNodeInfo.java358 private static AccessibilityNodeInfo sPool; field in AccessibilityNodeInfo
1420 if (sPool != null) { in obtain()
1421 AccessibilityNodeInfo info = sPool; in obtain()
1422 sPool = sPool.mNext; in obtain()
1460 mNext = sPool; in recycle()
1461 sPool = 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/core/java/android/view/
DVelocityTracker.java35 private static final Pool<VelocityTracker> sPool = Pools.synchronizedPool( field in VelocityTracker
76 return sPool.acquire(); in obtain()
101 sPool.release(this); in recycle()
DGLES20RecordingCanvas.java43 private static final Pool<GLES20RecordingCanvas> sPool = Pools.synchronizedPool( field in GLES20RecordingCanvas
66 GLES20RecordingCanvas canvas = sPool.acquire(); in obtain()
74 sPool.release(this); in recycle()
DViewGroup.java5882 private static ChildListForAccessibility sPool; field in ViewGroup.ChildListForAccessibility
5897 if (sPool != null) { in obtain()
5898 list = sPool; in obtain()
5899 sPool = list.mNext; in obtain()
5918 mNext = sPool; in recycle()
5920 sPool = this; in recycle()
5979 private static ViewLocationHolder sPool; field in ViewGroup.ViewLocationHolder
5996 if (sPool != null) { in obtain()
5997 holder = sPool; in obtain()
5998 sPool = holder.mNext; in obtain()
[all …]
DView.java17250 private static final Pool<InvalidateInfo> sPool = Pools.synchronizedPool(
17284 return sPool.acquire();
17288 sPool.release(this);
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java52 static SensorEventPool sPool; field in SystemSensorManager
205 sPool.returnToPool(t); in ListenerDelegate()
232 SensorEvent t = sPool.getFromPool(); in onSensorChangedLocked()
276 sPool = new SensorEventPool( sFullSensorsList.size()*2 ); in SystemSensorManager()
/frameworks/base/telephony/java/com/android/internal/telephony/
DRIL.java77 private static RILRequest sPool = null; field in RILRequest
99 if (sPool != null) { in obtain()
100 rr = sPool; in obtain()
101 sPool = rr.mNext; in obtain()
137 this.mNext = sPool; in release()
138 sPool = this; in release()