HomeSort by relevance Sort by last modified time
    Searched refs:sPool (Results 1 - 25 of 44) sorted by null

1 2

  /frameworks/base/core/java/android/widget/
ExpandableListPosition.java 31 private static ArrayList<ExpandableListPosition> sPool =
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);
ExpandableListConnector.java     [all...]
  /cts/tests/tests/telephony/src/android/telephony/embms/cts/
SomeArgs.java 26 private static SomeArgs sPool;
62 SomeArgs args = sPool;
63 sPool = sPool.mNext;
94 mNext = sPool;
96 sPool = this;
  /frameworks/base/core/java/com/android/internal/os/
SomeArgs.java 30 private static SomeArgs sPool;
66 SomeArgs args = sPool;
67 sPool = sPool.mNext;
98 mNext = sPool;
100 sPool = this;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PlatformVelocityTracker.java 29 private static final Pools.SynchronizedPool<PlatformVelocityTracker> sPool =
35 PlatformVelocityTracker tracker = sPool.acquire();
70 sPool.release(this);
  /frameworks/base/core/java/com/android/internal/statusbar/
NotificationVisibility.java 30 private static ArrayDeque<NotificationVisibility> sPool = new ArrayDeque<>(MAX_POOL_SIZE);
122 synchronized (sPool) {
123 if (!sPool.isEmpty()) {
124 return sPool.poll();
143 if (sPool.size() < MAX_POOL_SIZE) {
144 synchronized (sPool) {
145 sPool.offer(this);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
RILRequest.java 41 private static RILRequest sPool = null;
79 if (sPool != null) {
80 rr = sPool;
81 sPool = rr.mNext;
160 mNext = sPool;
161 sPool = this;
  /frameworks/base/core/java/com/android/internal/util/function/pooled/
PooledLambda.java 176 return acquire(PooledLambdaImpl.sPool,
192 return acquire(PooledLambdaImpl.sPool,
208 return acquire(PooledLambdaImpl.sPool,
257 return acquire(PooledLambdaImpl.sPool,
274 return acquire(PooledLambdaImpl.sPool,
291 return acquire(PooledLambdaImpl.sPool,
308 return acquire(PooledLambdaImpl.sPool,
325 return acquire(PooledLambdaImpl.sPool,
342 return acquire(PooledLambdaImpl.sPool,
359 return acquire(PooledLambdaImpl.sPool,
    [all...]
  /frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
MessageThreadUtil.java 177 private static SyncQueueItem sPool;
193 if (sPool != null) {
194 next = sPool;
196 sPool = this;
204 if (sPool == null) {
207 item = sPool;
208 sPool = sPool.next;
ViewInfoStore.java 305 static Pools.Pool<InfoRecord> sPool = new Pools.SimplePool<>(20);
311 InfoRecord record = sPool.acquire();
319 sPool.release(record);
324 while (sPool.acquire() != null);
  /frameworks/base/core/java/android/view/
MagnificationSpec.java 30 private static final SynchronizedPool<MagnificationSpec> sPool =
74 MagnificationSpec spec = sPool.acquire();
80 sPool.release(this);
VelocityTracker.java 32 private static final SynchronizedPool<VelocityTracker> sPool =
58 VelocityTracker instance = sPool.acquire();
85 sPool.release(this);
DisplayListCanvas.java 44 private static final SynchronizedPool<DisplayListCanvas> sPool =
53 DisplayListCanvas canvas = sPool.acquire();
68 sPool.release(this);
WindowInfo.java 38 private static final Pools.SynchronizedPool<WindowInfo> sPool =
58 WindowInfo window = sPool.acquire();
91 sPool.release(this);
  /frameworks/base/services/accessibility/java/com/android/server/accessibility/
KeyboardInterceptor.java 152 private static final Pools.SimplePool<KeyEventHolder> sPool =
162 KeyEventHolder holder = sPool.acquire();
179 sPool.release(this);
  /frameworks/base/core/java/android/os/
Message.java 115 private static Message sPool;
128 if (sPool != null) {
129 Message m = sPool;
130 sPool = m.next;
312 next = sPool;
313 sPool = this;
  /frameworks/base/core/java/android/view/accessibility/
AccessibilityRecord.java 80 private static AccessibilityRecord sPool;
805 if (sPool != null) {
806 AccessibilityRecord record = sPool;
807 sPool = sPool.mNext;
831 mNext = sPool;
832 sPool = this;
AccessibilityWindowInfo.java 97 private static final SynchronizedPool<AccessibilityWindowInfo> sPool =
431 AccessibilityWindowInfo info = sPool.acquire();
496 sPool.release(this);
  /packages/apps/Launcher3/src/com/android/launcher3/graphics/
LauncherIcons.java 68 private static LauncherIcons sPool;
76 if (sPool != null) {
77 LauncherIcons m = sPool;
78 sPool = m.next;
94 next = sPool;
95 sPool = this;
  /frameworks/base/core/java/com/android/internal/widget/
ViewInfoStore.java 308 static Pools.Pool<InfoRecord> sPool = new Pools.SimplePool<>(20);
314 InfoRecord record = sPool.acquire();
322 sPool.release(record);
327 while (sPool.acquire() != null);
  /developers/build/prebuilts/gradle/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/
TouchDisplayView.java 68 private static final SimplePool<TouchHistory> sPool =
72 TouchHistory data = sPool.acquire();
99 sPool.release(this);
  /developers/samples/android/input/multitouch/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/
TouchDisplayView.java 68 private static final SimplePool<TouchHistory> sPool =
72 TouchHistory data = sPool.acquire();
99 sPool.release(this);
  /development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
TouchDisplayView.java 68 private static final SimplePool<TouchHistory> sPool =
72 TouchHistory data = sPool.acquire();
99 sPool.release(this);
  /frameworks/base/graphics/java/android/graphics/
Region.java 27 private static final SynchronizedPool<Region> sPool =
308 Region region = sPool.acquire();
332 sPool.release(this);
  /packages/apps/DocumentsUI/src/com/android/documentsui/
ThumbnailCache.java 209 private static final Pools.SimplePool<Result> sPool = new Pools.SimplePool<>(1);
228 Result instance = sPool.acquire();
249 boolean released = sPool.release(this);

Completed in 751 milliseconds

1 2