Searched refs:sPool (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DExpandableListPosition.java31 private static ArrayList<ExpandableListPosition> sPool = field in class:ExpandableListPosition
117 synchronized (sPool) {
118 if (sPool.size() > 0) {
119 elp = sPool.remove(0);
133 synchronized (sPool) {
134 if (sPool.size() < MAX_POOL_SIZE) {
135 sPool.add(this);
H A DExpandableListConnector.java957 private static ArrayList<PositionMetadata> sPool = field in class:ExpandableListConnector.PositionMetadata
1005 synchronized (sPool) {
1006 if (sPool.size() > 0) {
1007 pm = sPool.remove(0);
1018 synchronized (sPool) {
1019 if (sPool.size() < MAX_POOL_SIZE) {
1020 sPool.add(this);
H A DProgressBar.java593 private static final Pool<RefreshData> sPool = Pools.synchronizedPool( field in class:ProgressBar.RefreshData
610 RefreshData rd = sPool.acquire();
618 sPool.release(this);
H A DRelativeLayout.java1471 private static final Pool<Node> sPool = Pools.synchronizedPool( field in class:RelativeLayout.DependencyGraph.Node
1505 final Node node = sPool.acquire();
1516 sPool.release(this);
/frameworks/base/core/java/android/webkit/
H A DByteArrayBuilder.java34 private static final LinkedList<SoftReference<Chunk>> sPool = field in class:ByteArrayBuilder
100 // Must be called with lock held on sPool.
107 sPool.remove(entry);
116 synchronized (sPool) {
119 if (!sPool.isEmpty()) {
120 Chunk c = sPool.removeFirst().get();
145 synchronized (sPool) {
148 sPool.offer(new SoftReference<Chunk>(this, sQueue));
149 sPool.notifyAll();
/frameworks/base/core/java/android/view/
H A DVelocityTracker.java35 private static final Pool<VelocityTracker> sPool = Pools.synchronizedPool( field in class:VelocityTracker
76 return sPool.acquire();
101 sPool.release(this);
H A DGLES20RecordingCanvas.java43 private static final Pool<GLES20RecordingCanvas> sPool = Pools.synchronizedPool( field in class:GLES20RecordingCanvas
66 GLES20RecordingCanvas canvas = sPool.acquire();
74 sPool.release(this);
H A DViewGroup.java5884 private static ChildListForAccessibility sPool; field in class:ViewGroup.ChildListForAccessibility
5899 if (sPool != null) {
5900 list = sPool;
5901 sPool = list.mNext;
5920 mNext = sPool;
5922 sPool = this;
5981 private static ViewLocationHolder sPool; field in class:ViewGroup.ViewLocationHolder
5998 if (sPool != null) {
5999 holder = sPool;
6000 sPool
[all...]
H A DView.java17250 private static final Pool<InvalidateInfo> sPool = Pools.synchronizedPool( field in class:View.AttachInfo.InvalidateInfo
17284 return sPool.acquire();
17288 sPool.release(this);
/frameworks/base/core/java/android/os/
H A DMessage.java97 private static Message sPool; field in class:Message
108 if (sPool != null) {
109 Message m = sPool;
110 sPool = m.next;
253 next = sPool;
254 sPool = this;
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityRecord.java75 private static AccessibilityRecord sPool; field in class:AccessibilityRecord
716 if (sPool != null) {
717 AccessibilityRecord record = sPool;
718 sPool = sPool.mNext;
742 mNext = sPool;
743 sPool = this;
H A DAccessibilityEvent.java636 private static AccessibilityEvent sPool; field in class:AccessibilityEvent
866 if (sPool != null) {
867 AccessibilityEvent event = sPool;
868 sPool = sPool.mNext;
894 mNext = sPool;
895 sPool = this;
H A DAccessibilityNodeInfo.java358 private static AccessibilityNodeInfo sPool; field in class:AccessibilityNodeInfo
1420 if (sPool != null) {
1421 AccessibilityNodeInfo info = sPool;
1422 sPool = sPool.mNext;
1460 mNext = sPool;
1461 sPool = this;
/frameworks/base/core/java/android/hardware/
H A DSystemSensorManager.java52 static SensorEventPool sPool; field in class:SystemSensorManager
205 sPool.returnToPool(t);
232 SensorEvent t = sPool.getFromPool();
276 sPool = new SensorEventPool( sFullSensorsList.size()*2 );
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DRIL.java77 private static RILRequest sPool = null; field in class:RILRequest
99 if (sPool != null) {
100 rr = sPool;
101 sPool = rr.mNext;
137 this.mNext = sPool;
138 sPool = this;

Completed in 520 milliseconds