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

1 2

  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/graphics/glutils/
FileTextureData.java 72 int potWidth = MathUtils.nextPowerOfTwo(pixmapWidth);
73 int potHeight = MathUtils.nextPowerOfTwo(pixmapHeight);
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
FileTextureData.java 76 int potWidth = MathUtils.nextPowerOfTwo(pixmapWidth);
77 int potHeight = MathUtils.nextPowerOfTwo(pixmapHeight);
  /external/libgdx/gdx/src/com/badlogic/gdx/utils/
ScreenUtils.java 36 * size. The base {@link Texture} always has {@link MathUtils#nextPowerOfTwo} dimensions and RGBA8888 {@link Format}. It can be
46 * the same dimensions. The base {@link Texture} always has {@link MathUtils#nextPowerOfTwo} dimensions and RGBA8888
56 final int potW = MathUtils.nextPowerOfTwo(w);
57 final int potH = MathUtils.nextPowerOfTwo(h);
IntSet.java 65 initialCapacity = MathUtils.nextPowerOfTwo((int)Math.ceil(initialCapacity / loadFactor));
333 maximumCapacity = MathUtils.nextPowerOfTwo(maximumCapacity);
390 if (sizeNeeded >= threshold) resize(MathUtils.nextPowerOfTwo((int)Math.ceil(sizeNeeded / loadFactor)));
ObjectSet.java 64 initialCapacity = MathUtils.nextPowerOfTwo((int)Math.ceil(initialCapacity / loadFactor));
316 maximumCapacity = MathUtils.nextPowerOfTwo(maximumCapacity);
370 if (sizeNeeded >= threshold) resize(MathUtils.nextPowerOfTwo((int)Math.ceil(sizeNeeded / loadFactor)));
IdentityMap.java 68 initialCapacity = MathUtils.nextPowerOfTwo((int)Math.ceil(initialCapacity / loadFactor));
374 maximumCapacity = MathUtils.nextPowerOfTwo(maximumCapacity);
464 if (sizeNeeded >= threshold) resize(MathUtils.nextPowerOfTwo((int)Math.ceil(sizeNeeded / loadFactor)));
IntFloatMap.java 71 initialCapacity = MathUtils.nextPowerOfTwo((int)Math.ceil(initialCapacity / loadFactor));
422 maximumCapacity = MathUtils.nextPowerOfTwo(maximumCapacity);
503 if (sizeNeeded >= threshold) resize(MathUtils.nextPowerOfTwo((int)Math.ceil(sizeNeeded / loadFactor)));
IntIntMap.java 69 initialCapacity = MathUtils.nextPowerOfTwo((int)Math.ceil(initialCapacity / loadFactor));
420 maximumCapacity = MathUtils.nextPowerOfTwo(maximumCapacity);
489 if (sizeNeeded >= threshold) resize(MathUtils.nextPowerOfTwo((int)Math.ceil(sizeNeeded / loadFactor)));
IntMap.java 70 initialCapacity = MathUtils.nextPowerOfTwo((int)Math.ceil(initialCapacity / loadFactor));
410 maximumCapacity = MathUtils.nextPowerOfTwo(maximumCapacity);
510 if (sizeNeeded >= threshold) resize(MathUtils.nextPowerOfTwo((int)Math.ceil(sizeNeeded / loadFactor)));
LongMap.java 70 initialCapacity = MathUtils.nextPowerOfTwo((int)Math.ceil(initialCapacity / loadFactor));
409 maximumCapacity = MathUtils.nextPowerOfTwo(maximumCapacity);
507 if (sizeNeeded >= threshold) resize(MathUtils.nextPowerOfTwo((int)Math.ceil(sizeNeeded / loadFactor)));
ObjectFloatMap.java 67 initialCapacity = MathUtils.nextPowerOfTwo((int)Math.ceil(initialCapacity / loadFactor));
385 maximumCapacity = MathUtils.nextPowerOfTwo(maximumCapacity);
452 if (sizeNeeded >= threshold) resize(MathUtils.nextPowerOfTwo((int)Math.ceil(sizeNeeded / loadFactor)));
ObjectIntMap.java 67 initialCapacity = MathUtils.nextPowerOfTwo((int)Math.ceil(initialCapacity / loadFactor));
385 maximumCapacity = MathUtils.nextPowerOfTwo(maximumCapacity);
453 if (sizeNeeded >= threshold) resize(MathUtils.nextPowerOfTwo((int)Math.ceil(sizeNeeded / loadFactor)));
ObjectMap.java 67 initialCapacity = MathUtils.nextPowerOfTwo((int)Math.ceil(initialCapacity / loadFactor));
392 maximumCapacity = MathUtils.nextPowerOfTwo(maximumCapacity);
482 if (sizeNeeded >= threshold) resize(MathUtils.nextPowerOfTwo((int)Math.ceil(sizeNeeded / loadFactor)));
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
TextureDownloadTest.java 76 int width = MathUtils.nextPowerOfTwo(pixmap.getWidth());
77 int height = MathUtils.nextPowerOfTwo(pixmap.getHeight());
NinePatchTest.java 93 final int pixmapDim = MathUtils.nextPowerOfTwo(pixmapSize);
140 final int pixmapDim = MathUtils.nextPowerOfTwo(Math.max(fullPatchWidth, fullPatchHeight));
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
Util.java 68 int n = nextPowerOfTwo(Math.max(data1.length, data2.length));
109 public static int nextPowerOfTwo(int n) {
WavAnalyzer.java 224 int fftSize = Util.nextPowerOfTwo((int) Math.round(sampleRate * (Common.PREFIX_LENGTH_S
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/
ScreenUtils.java 39 * size. The base {@link Texture} always has {@link MathUtils#nextPowerOfTwo} dimensions and RGBA8888 {@link Format}. It can be
49 * the same dimensions. The base {@link Texture} always has {@link MathUtils#nextPowerOfTwo} dimensions and RGBA8888
59 final int potW = MathUtils.nextPowerOfTwo(w);
60 final int potH = MathUtils.nextPowerOfTwo(h);
  /external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
BigIntegerMath.java 156 int nextPowerOfTwo = 1 << (bits - 1);
161 if ((num & nextPowerOfTwo) != 0) {
162 nextPowerOfTwo <<= 1;
  /external/guava/guava/src/com/google/common/math/
BigIntegerMath.java 339 int nextPowerOfTwo = 1 << (bits - 1);
344 if ((num & nextPowerOfTwo) != 0) {
345 nextPowerOfTwo <<= 1;
  /external/apache-commons-math/src/main/java/org/apache/commons/math/util/
OpenIntToDoubleHashMap.java 161 return nextPowerOfTwo(capacity);
169 private static int nextPowerOfTwo(final int i) {
OpenIntToFieldHashMap.java 173 return nextPowerOfTwo(capacity);
181 private static int nextPowerOfTwo(final int i) {
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/
MathUtils.java 246 public final static int nextPowerOfTwo(int x) {
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/
TexturePacker.java 65 if (settings.maxWidth != MathUtils.nextPowerOfTwo(settings.maxWidth))
67 if (settings.maxHeight != MathUtils.nextPowerOfTwo(settings.maxHeight))
145 width = MathUtils.nextPowerOfTwo(width);
146 height = MathUtils.nextPowerOfTwo(height);
  /external/libgdx/gdx/src/com/badlogic/gdx/math/
MathUtils.java 198 static public int nextPowerOfTwo (int value) {

Completed in 1983 milliseconds

1 2