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

/frameworks/base/libs/hwui/tests/unit/
H A DGpuMemoryTrackerTests.cpp35 void changeSize(int newSize) { argument
36 notifySizeChanged(newSize);
/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.java226 public void growArray(int oldSize, int newSize) { argument
227 super.growArray(oldSize, newSize);
228 int[] newInts = new int[newSize];
231 newInts = new int[newSize];
H A DAnimationDrawable.java419 public void growArray(int oldSize, int newSize) { argument
420 super.growArray(oldSize, newSize);
421 int[] newDurations = new int[newSize];
H A DStateListDrawable.java361 public void growArray(int oldSize, int newSize) { argument
362 super.growArray(oldSize, newSize);
363 final int[][] newStateSets = new int[newSize][];
H A DDrawableContainer.java1165 public void growArray(int oldSize, int newSize) { argument
1166 Drawable[] newDrawables = new Drawable[newSize];
/frameworks/base/libs/hwui/
H A DGpuMemoryTracker.cpp49 void GpuMemoryTracker::notifySizeChanged(int newSize) { argument
50 int delta = newSize - mSize;
51 mSize = 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.cpp550 size_t newSize = ((mObjectsSize + numObjects)*3)/2; local
551 if (newSize < mObjectsSize) return NO_MEMORY; // overflow
553 (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t));
558 mObjectsCapacity = newSize;
1344 size_t newSize = ((mObjectsSize+2)*3)/2;
1345 if (newSize < mObjectsSize) return NO_MEMORY; // overflow
1346 binder_size_t* objects = (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t));
1349 mObjectsCapacity = newSize;
2318 size_t newSize = ((mDataSize+len)*3)/2; local
2319 return (newSize <
[all...]
/frameworks/av/media/libstagefright/
H A DNuMediaExtractor.cpp491 size_t newSize = size + sizeof(int32_t); local
492 sp<ABuffer> abuf = new ABuffer(newSize);
502 info->mSample->meta_data()->setData(kKeyEncryptedSizes, type, adata, newSize);
517 info->mSample->meta_data()->setData(kKeyPlainSizes, type, adata, newSize);
/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/tools/aapt/
H A DImages.cpp1433 size_t newSize = file->getSize(); local
1434 float factor = ((float)newSize)/oldSize;
1567 size_t newSize = (size_t)ftell(reader); local
1570 float factor = ((float)newSize)/oldSize;
/frameworks/base/media/java/android/media/
H A DMediaCodec.java1480 * @param newSize the amount of data (in bytes) in the buffer.
1487 int newOffset, int newSize, long newTimeUs, @BufferFlag int newFlags) {
1489 size = newSize;
1486 set( int newOffset, int newSize, long newTimeUs, @BufferFlag int newFlags) argument
/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 721 milliseconds