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

1 2 3 4 5 6 7 8 910

  /device/generic/goldfish/opengl/shared/OpenglCodecCommon/
FixedBuffer.h 21 FixedBuffer(size_t initialSize = 0) {
23 m_bufferLen = initialSize;
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
BitmapUtils.java 60 int initialSize = computeInitialSampleSize(
63 return initialSize <= 8
64 ? Utils.nextPowerOf2(initialSize)
65 : (initialSize + 7) / 8 * 8;
88 int initialSize = Math.max(w / minSideLength, h / minSideLength);
89 if (initialSize <= 1) return 1;
91 return initialSize <= 8
92 ? Utils.prevPowerOf2(initialSize)
93 : initialSize / 8 * 8;
98 int initialSize = (int) Math.floor(1 / scale)
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
BitmapUtils.java 60 int initialSize = computeInitialSampleSize(
63 return initialSize <= 8
64 ? Utils.nextPowerOf2(initialSize)
65 : (initialSize + 7) / 8 * 8;
88 int initialSize = Math.max(w / minSideLength, h / minSideLength);
89 if (initialSize <= 1) return 1;
91 return initialSize <= 8
92 ? Utils.prevPowerOf2(initialSize)
93 : initialSize / 8 * 8;
98 int initialSize = (int) Math.floor(1d / scale)
    [all...]
  /libcore/luni/src/main/java/java/io/
StringWriter.java 47 * allocated with a size of {@code initialSize} characters. The {@code
51 * @param initialSize
54 public StringWriter(int initialSize) {
55 if (initialSize < 0) {
56 throw new IllegalArgumentException("initialSize < 0: " + initialSize);
58 buf = new StringBuffer(initialSize);
CharArrayWriter.java 54 * with the size of {@code initialSize} characters. The buffer is also used
57 * @param initialSize
60 * if {@code initialSize < 0}.
62 public CharArrayWriter(int initialSize) {
63 if (initialSize < 0) {
66 buf = new char[initialSize];
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/
BitmapUtils.java 36 int initialSize = (int) Math.floor(1f / scale);
37 if (initialSize <= 1) return 1;
39 return initialSize <= 8
40 ? Utils.prevPowerOf2(initialSize)
41 : initialSize / 8 * 8;
  /external/javassist/src/main/javassist/bytecode/
LongVector.java 30 public LongVector(int initialSize) {
31 int vsize = ((initialSize >> ABITS) & ~(VSIZE - 1)) + VSIZE;
  /external/apache-harmony/support/src/test/java/tests/support/
Support_StringWriter.java 39 * size of <code>initialSize</code> characters. The StringBuffer is also
42 public Support_StringWriter(int initialSize) {
43 if (initialSize >= 0) {
44 buf = new StringBuffer(initialSize);
  /libcore/support/src/test/java/tests/support/
Support_StringWriter.java 39 * size of <code>initialSize</code> characters. The StringBuffer is also
42 public Support_StringWriter(int initialSize) {
43 if (initialSize >= 0) {
44 buf = new StringBuffer(initialSize);
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/
UnboundedFifoByteBuffer.java 77 * @param initialSize the initial size of the buffer
80 public UnboundedFifoByteBuffer(int initialSize) {
81 if (initialSize <= 0) {
84 buffer = new byte[initialSize + 1];
  /packages/services/Telephony/src/org/apache/james/mime4j/decoder/
UnboundedFifoByteBuffer.java 77 * @param initialSize the initial size of the buffer
80 public UnboundedFifoByteBuffer(int initialSize) {
81 if (initialSize <= 0) {
84 buffer = new byte[initialSize + 1];
  /external/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/
GwtWorkarounds.java 96 static CharOutput stringBuilderOutput(int initialSize) {
97 final StringBuilder builder = new StringBuilder(initialSize);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
ListRemoveTester.java 44 int initialSize = getList().size();
53 initialSize - 1, getList().size());
CollectionRemoveTester.java 48 int initialSize = collection.size();
52 initialSize - 1, collection.size());
82 int initialSize = collection.size();
85 initialSize - 1, collection.size());
MapRemoveTester.java 50 int initialSize = getMap().size();
54 initialSize - 1, getMap().size());
112 int initialSize = getMap().size();
116 initialSize - 1, getMap().size());
  /external/guava/guava-tests/test/com/google/common/collect/
AbstractMultimapAsMapImplementsMapTest.java 77 int initialSize = map.size();
83 assertEquals(initialSize - 1, map.size());
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/
ResizableDialog.java 98 protected Point getInitialLocation(Point initialSize) {
109 int maxX = windowBounds.x + windowBounds.width - initialSize.x;
110 int maxY = windowBounds.y + windowBounds.height - initialSize.y;
126 int x = windowBounds.x + (windowBounds.width - initialSize.x) / 2;
127 int y = windowBounds.y + (windowBounds.height - initialSize.y) / 2;
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
MapInterfaceTest.java 470 int initialSize = map.size();
476 assertEquals(initialSize - 1, map.size());
510 int initialSize = map.size();
513 assertEquals(initialSize - 1, map.size());
538 int initialSize = map.size();
548 assertEquals(initialSize, map.size());
565 int initialSize = map.size();
575 assertEquals(initialSize, map.size());
621 int initialSize = map.size();
635 assertEquals(initialSize, map.size())
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
BiMapRemoveTester.java 88 int initialSize = getNumElements();
92 assertEquals(initialSize - 1, getMap().size());
93 assertEquals(initialSize - 1, getMap().inverse().size());
  /frameworks/base/tools/preload/
WritePreloadedClassFile.java 92 int initialSize = toPreload.size();
93 System.out.println(initialSize
109 System.out.println("Added " + (toPreload.size() - initialSize)
  /frameworks/base/cmds/wm/src/com/android/commands/wm/
Wm.java 130 Point initialSize = new Point();
133 mWm.getInitialDisplaySize(Display.DEFAULT_DISPLAY, initialSize);
135 System.out.println("Physical size: " + initialSize.x + "x" + initialSize.y);
136 if (!initialSize.equals(baseSize)) {
  /external/jetty/src/java/org/eclipse/jetty/util/
LazyList.java 167 public static Object ensureSize(Object list, int initialSize)
170 return new ArrayList<Object>(initialSize);
174 if (ol.size()>initialSize)
176 ArrayList<Object> nl = new ArrayList<Object>(initialSize);
180 List<Object> l= new ArrayList<Object>(initialSize);
  /external/guava/guava/src/com/google/common/io/
GwtWorkarounds.java 210 static CharOutput stringBuilderOutput(int initialSize) {
211 final StringBuilder builder = new StringBuilder(initialSize);
  /external/mockito/cglib-and-asm/src/org/mockito/asm/
ByteVector.java 62 * @param initialSize the initial size of the byte vector to be constructed.
64 public ByteVector(final int initialSize) {
65 data = new byte[initialSize];
  /bootable/recovery/minzip/
Hash.h 70 * Create and initialize a HashTable structure, using "initialSize" as
77 HashTable* mzHashTableCreate(size_t initialSize, HashFreeFunc freeFunc);

Completed in 771 milliseconds

1 2 3 4 5 6 7 8 910