OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mPool
(Results
1 - 8
of
8
) sorted by null
/frameworks/base/core/java/android/util/
SynchronizedPool.java
24
private final Pool<T>
mPool
;
28
mPool
= pool;
33
mPool
= pool;
39
return
mPool
.acquire();
45
mPool
.release(element);
/frameworks/support/volley/src/com/android/volley/toolbox/
PoolingByteArrayOutputStream.java
33
private final ByteArrayPool
mPool
;
52
mPool
= pool;
53
buf =
mPool
.getBuf(Math.max(size, DEFAULT_SIZE));
58
mPool
.returnBuf(buf);
65
mPool
.returnBuf(buf);
76
byte[] newbuf =
mPool
.getBuf((count + i) * 2);
78
mPool
.returnBuf(buf);
BasicNetwork.java
62
protected final ByteArrayPool
mPool
;
79
mPool
= pool;
203
new PoolingByteArrayOutputStream(
mPool
, (int) entity.getContentLength());
210
buffer =
mPool
.getBuf(1024);
225
mPool
.returnBuf(buffer);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
BitmapPool.java
33
private final ArrayList<Bitmap>
mPool
;
45
mPool
= new ArrayList<Bitmap>(poolLimit);
54
mPool
= new ArrayList<Bitmap>(poolLimit);
61
int size =
mPool
.size();
62
return size > 0 ?
mPool
.remove(size - 1) : null;
68
for (int i =
mPool
.size() - 1; i >= 0; i--) {
69
Bitmap b =
mPool
.get(i);
71
return
mPool
.remove(i);
88
if (
mPool
.size() >= mPoolLimit)
mPool
.remove(0)
[
all
...]
/frameworks/base/core/java/android/view/
AccessibilityInteractionController.java
79
private final Pool<SomeArgs>
mPool
= Pools.synchronizedPool(Pools.finitePool(
148
SomeArgs args =
mPool
.acquire();
154
SomeArgs moreArgs =
mPool
.acquire();
187
mPool
.release(moreArgs);
188
mPool
.release(args);
227
SomeArgs args =
mPool
.acquire();
232
SomeArgs moreArgs =
mPool
.acquire();
265
mPool
.release(moreArgs);
266
mPool
.release(args);
305
SomeArgs args =
mPool
.acquire()
[
all
...]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
JobLimiter.java
38
private final ThreadPool
mPool
;
132
mPool
= Utils.checkNotNull(pool);
149
wrapper.setFuture(
mPool
.submit(wrapper, this));
/frameworks/base/core/java/android/hardware/
SensorManager.java
[
all
...]
/frameworks/base/core/java/android/database/sqlite/
SQLiteConnection.java
98
private final SQLiteConnectionPool
mPool
;
163
mPool
= pool;
176
if (
mPool
!= null && mConnectionPtr != 0) {
177
mPool
.onConnectionLeaked();
[
all
...]
Completed in 91 milliseconds