HomeSort by relevance Sort by last modified time
    Searched refs:Pool (Results 26 - 50 of 219) sorted by null

12 3 4 5 6 7 8 9

  /development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
Pools.java 46 * Interface for managing a pool of objects.
50 public static interface Pool<T> {
53 * @return An instance from the pool if such, null otherwise.
58 * Release an instance to the pool.
61 * @return Whether the instance was put in the pool.
63 * @throws IllegalStateException If the instance is already in the pool.
73 * Simple (non-synchronized) pool of objects.
77 public static class SimplePool<T> implements Pool<T> {
85 * @param maxPoolSize The max pool size.
87 * @throws IllegalArgumentException If the max pool size is less than zero
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/batches/
ModelInstanceParticleBatch.java 8 import com.badlogic.gdx.utils.Pool;
20 public void getRenderables (Array<Renderable> renderables, Pool<Renderable> pool) {
23 data.modelInstanceChannel.data[i].getRenderables(renderables, pool);
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/actions/
DelegateAction.java 21 import com.badlogic.gdx.utils.Pool;
40 Pool pool = getPool(); local
41 setPool(null); // Ensure this action can't be returned to the pool inside the delegate action.
45 setPool(pool);
SequenceAction.java 20 import com.badlogic.gdx.utils.Pool;
62 Pool pool = getPool();
63 setPool(null); // Ensure this action can't be returned to the pool while executings.
72 setPool(pool);
TemporalAction.java 21 import com.badlogic.gdx.utils.Pool;
44 Pool pool = getPool();
45 setPool(null); // Ensure this action can't be returned to the pool while executing.
64 setPool(pool);
  /external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/
Pool.java 6 * A light pool of objects that can be resused to avoid allocation.
7 * Based on Nathan Sweet pool implementation
9 abstract class Pool<T> {
15 public Pool(int initCapacity, Callback<T> callback) {
  /frameworks/base/core/java/android/util/
Pools.java 46 * Interface for managing a pool of objects.
50 public static interface Pool<T> {
53 * @return An instance from the pool if such, null otherwise.
58 * Release an instance to the pool.
61 * @return Whether the instance was put in the pool.
63 * @throws IllegalStateException If the instance is already in the pool.
73 * Simple (non-synchronized) pool of objects.
77 public static class SimplePool<T> implements Pool<T> {
85 * @param maxPoolSize The max pool size.
87 * @throws IllegalArgumentException If the max pool size is less than zero
    [all...]
  /frameworks/compile/mclinker/unittests/
StringTableTest.cpp 20 StrSymPool* Pool = new StrSymPool(1, 1, *R);
21 m_pTestee = new StringTable(*Pool);
  /frameworks/support/compat/java/android/support/v4/util/
Pools.java 47 * Interface for managing a pool of objects.
51 public static interface Pool<T> {
54 * @return An instance from the pool if such, null otherwise.
59 * Release an instance to the pool.
62 * @return Whether the instance was put in the pool.
64 * @throws IllegalStateException If the instance is already in the pool.
74 * Simple (non-synchronized) pool of objects.
78 public static class SimplePool<T> implements Pool<T> {
86 * @param maxPoolSize The max pool size.
88 * @throws IllegalArgumentException If the max pool size is less than zero
    [all...]
  /packages/apps/Camera2/src/android/util/
Pools.java 46 * Interface for managing a pool of objects.
50 public static interface Pool<T> {
53 * @return An instance from the pool if such, null otherwise.
58 * Release an instance to the pool.
61 * @return Whether the instance was put in the pool.
63 * @throws IllegalStateException If the instance is already in the pool.
73 * Simple (non-synchronized) pool of objects.
77 public static class SimplePool<T> implements Pool<T> {
85 * @param maxPoolSize The max pool size.
87 * @throws IllegalArgumentException If the max pool size is less than zero
    [all...]
  /packages/apps/Gallery2/src/android/util/
Pools.java 46 * Interface for managing a pool of objects.
50 public static interface Pool<T> {
53 * @return An instance from the pool if such, null otherwise.
58 * Release an instance to the pool.
61 * @return Whether the instance was put in the pool.
63 * @throws IllegalStateException If the instance is already in the pool.
73 * Simple (non-synchronized) pool of objects.
77 public static class SimplePool<T> implements Pool<T> {
85 * @param maxPoolSize The max pool size.
87 * @throws IllegalArgumentException If the max pool size is less than zero
    [all...]
  /external/chromium-trace/catapult/experimental/buildbot/
download.py 37 process_pool = multiprocessing.Pool(4)
  /external/clang/tools/libclang/
CXString.h 73 /// \brief A string pool used for fast allocation/deallocation of strings.
81 std::vector<CXStringBuf *> Pool;
92 /// \brief Return this buffer to the pool.
98 /// \brief Returns true if the CXString data is managed by a pool.
  /external/v8/tools/gcmole/
parallel.py 38 pool = multiprocessing.Pool(processes=processes)
41 sys.argv[2:], pool.imap(invoke, cmdlines)):
  /cts/suite/audio_quality/test_description/processing/
calc_delay.py 24 from multiprocessing import Pool
53 pool = Pool(processes = 4)
55 result = pool.map(convolutionstar, TASK)
  /external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/
Softbody.java 24 /** Pool of Vector3, used by native (callback) method for the arguments */
25 public final static com.badlogic.gdx.utils.Pool<Vector3> poolVector3 = new com.badlogic.gdx.utils.Pool<Vector3>() {
35 /** Pool of Quaternion, used by native (callback) method for the arguments */
36 public final static com.badlogic.gdx.utils.Pool<Quaternion> poolQuaternion = new com.badlogic.gdx.utils.Pool<Quaternion>() {
46 /** Pool of Matrix3, used by native (callback) method for the arguments */
47 public final static com.badlogic.gdx.utils.Pool<Matrix3> poolMatrix3 = new com.badlogic.gdx.utils.Pool<Matrix3>() {
57 /** Pool of Matrix4, used by native (callback) method for the arguments *
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/
ParticleSystem.java 7 import com.badlogic.gdx.utils.Pool;
84 public void getRenderables (Array<Renderable> renderables, Pool<Renderable> pool) {
86 batch.getRenderables(renderables, pool);
  /external/libgdx/extensions/gdx-bullet/src/com/badlogic/gdx/physics/bullet/
Bullet.java 31 import com.badlogic.gdx.utils.Pool;
75 private final static Pool<ShapePart> shapePartPool = new Pool<ShapePart>() {
87 final Pool<ShapePart> pool) {
99 part = pool.obtain();
110 getShapeParts(node.getChildren(), out, o, pool); local
122 final Pool<ShapePart> pool) {
124 getShapeParts(node, true, out, offset, pool);
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/decals/
CameraGroupStrategy.java 28 import com.badlogic.gdx.utils.Pool;
85 Pool<Array<Decal>> arrayPool = new Pool<Array<Decal>>(16) {
  /packages/apps/Gallery2/src/com/android/photos/data/
SparseArrayBitmapPool.java 22 import android.util.Pools.Pool;
26 * Bitmap pool backed by a sparse array indexing linked lists of bitmaps
36 private Pool<Node> mNodePool;
44 // - A pool-level list (accessed by mPoolNodesHead and mPoolNodesTail)
45 // that is used for FIFO eviction of nodes when the pool gets full.
55 * @param capacityBytes Maximum capacity of the pool in bytes.
56 * @param nodePool Shared pool to use for recycling linked list nodes, or null.
58 public SparseArrayBitmapPool(int capacityBytes, Pool<Node> nodePool) {
68 * Set the maximum capacity of the pool, and if necessary trim it down to size.
99 // Unlink the node from the pool-wide list
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/
__init__.py 51 'Event', 'Queue', 'JoinableQueue', 'Pool', 'Value', 'Array',
227 def Pool(processes=None, initializer=None, initargs=(), maxtasksperchild=None):
229 Returns a process pool object
231 from multiprocessing.pool import Pool
232 return Pool(processes, initializer, initargs, maxtasksperchild)
  /prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/
__init__.py 51 'Event', 'Queue', 'JoinableQueue', 'Pool', 'Value', 'Array',
227 def Pool(processes=None, initializer=None, initargs=(), maxtasksperchild=None):
229 Returns a process pool object
231 from multiprocessing.pool import Pool
232 return Pool(processes, initializer, initargs, maxtasksperchild)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/
__init__.py 51 'Event', 'Queue', 'JoinableQueue', 'Pool', 'Value', 'Array',
227 def Pool(processes=None, initializer=None, initargs=(), maxtasksperchild=None):
229 Returns a process pool object
231 from multiprocessing.pool import Pool
232 return Pool(processes, initializer, initargs, maxtasksperchild)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/
__init__.py 51 'Event', 'Queue', 'JoinableQueue', 'Pool', 'Value', 'Array',
227 def Pool(processes=None, initializer=None, initargs=(), maxtasksperchild=None):
229 Returns a process pool object
231 from multiprocessing.pool import Pool
232 return Pool(processes, initializer, initargs, maxtasksperchild)
  /external/libgdx/extensions/gdx-bullet/jni/swig/common/
gdxJavaImports.i 19 import com.badlogic.gdx.utils.Pool;

Completed in 1784 milliseconds

12 3 4 5 6 7 8 9