Searched defs:newSize (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_frame.cpp52 bool NativeFrame::Resize(int newSize) { argument
53 if (newSize <= capacity_ && newSize >= 0) {
54 size_ = newSize;
/frameworks/base/core/java/android/util/
H A DStateSet.java231 public static int[] trimStateSet(int[] states, int newSize) { argument
232 if (states.length == newSize) {
236 int[] trimmedStates = new int[newSize];
237 System.arraycopy(states, 0, trimmedStates, 0, newSize);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DLevelListDrawable.java220 public void growArray(int oldSize, int newSize) { argument
221 super.growArray(oldSize, newSize);
222 int[] newInts = new int[newSize];
225 newInts = new int[newSize];
H A DAnimationDrawable.java416 public void growArray(int oldSize, int newSize) { argument
417 super.growArray(oldSize, newSize);
418 int[] newDurations = new int[newSize];
H A DStateListDrawable.java360 public void growArray(int oldSize, int newSize) { argument
361 super.growArray(oldSize, newSize);
362 final int[][] newStateSets = new int[newSize][];
H A DDrawableContainer.java1079 public void growArray(int oldSize, int newSize) { argument
1080 Drawable[] newDrawables = new Drawable[newSize];
/frameworks/native/libs/binder/
H A DBufferedTextOutput.cpp52 size_t newSize = ((len+bufferPos)*3)/2; local
53 if (newSize < (len+bufferPos)) return NO_MEMORY; // overflow
54 void* b = realloc(buffer, newSize);
57 bufferSize = newSize;
H A DParcel.cpp515 size_t newSize = ((mObjectsSize + numObjects)*3)/2; local
516 if (newSize < mObjectsSize) return NO_MEMORY; // overflow
518 (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t));
523 mObjectsCapacity = newSize;
1067 size_t newSize = ((mObjectsSize+2)*3)/2;
1068 if (newSize < mObjectsSize) return NO_MEMORY; // overflow
1069 binder_size_t* objects = (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t));
1072 mObjectsCapacity = newSize;
1691 size_t newSize = ((mDataSize+len)*3)/2; local
1692 return (newSize <
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DUtils.java319 public static String[] copyOf(String[] source, int newSize) { argument
320 String[] result = new String[newSize];
321 newSize = Math.min(source.length, newSize);
322 System.arraycopy(source, 0, result, 0, newSize);
/frameworks/base/rs/java/android/renderscript/
H A DFieldPacker.java777 private boolean resize(int newSize) { argument
778 if (newSize == mLen) {
782 byte[] newData = new byte[newSize];
785 mLen = newSize;
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DFieldPacker.java915 private boolean resize(int newSize) { argument
916 if (newSize == mLen) {
920 byte[] newData = new byte[newSize];
923 mLen = newSize;
/frameworks/base/media/java/android/media/
H A DMediaCodec.java1376 * @param newSize the amount of data (in bytes) in the buffer.
1383 int newOffset, int newSize, long newTimeUs, @BufferFlag int newFlags) {
1385 size = newSize;
1382 set( int newOffset, int newSize, long newTimeUs, @BufferFlag int newFlags) argument
/frameworks/base/tools/aapt/
H A DImages.cpp1349 size_t newSize = file->getSize(); local
1350 float factor = ((float)newSize)/oldSize;
1484 size_t newSize = (size_t)ftell(reader); local
1487 float factor = ((float)newSize)/oldSize;
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 366 milliseconds