Searched refs:newSize (Results 1 - 14 of 14) sorted by relevance
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | native_frame.cpp | 52 bool NativeFrame::Resize(int newSize) { argument 53 if (newSize <= capacity_ && newSize >= 0) { 54 size_ = newSize;
|
H A D | native_frame.h | 54 bool Resize(int newSize);
|
/frameworks/base/core/java/android/util/ |
H A D | StateSet.java | 143 public static int[] trimStateSet(int[] states, int newSize) { argument 144 if (states.length == newSize) { 148 int[] trimmedStates = new int[newSize]; 149 System.arraycopy(states, 0, trimmedStates, 0, newSize);
|
/frameworks/base/core/java/android/database/ |
H A D | MatrixCursor.java | 172 int newSize = data.length * 2; 173 if (newSize < size) { 174 newSize = size; 176 this.data = new Object[newSize];
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LevelListDrawable.java | 220 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 D | AnimationDrawable.java | 404 public void growArray(int oldSize, int newSize) { argument 405 super.growArray(oldSize, newSize); 406 int[] newDurations = new int[newSize];
|
H A D | StateListDrawable.java | 381 public void growArray(int oldSize, int newSize) { argument 382 super.growArray(oldSize, newSize); 383 final int[][] newStateSets = new int[newSize][];
|
H A D | DrawableContainer.java | 1060 public void growArray(int oldSize, int newSize) { argument 1061 Drawable[] newDrawables = new Drawable[newSize];
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | AutomaticBrightnessController.java | 595 int newSize = mCapacity * 2; 597 float[] newRingLux = new float[newSize]; 598 long[] newRingTime = new long[newSize]; 610 mCapacity = newSize;
|
/frameworks/ex/common/java/com/android/common/widget/ |
H A D | GroupingListAdapter.java | 203 int newSize = idealLongArraySize( 205 long[] array = new long[newSize];
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | StackScrollAlgorithm.java | 390 int newSize = (int) Math.max(bottomStackStart - mPaddingBetweenElements - 392 childViewState.height = newSize; 648 float newSize = yPositionInScrollViewAfterElement 651 newSize = Math.max(mCollapsedSize, newSize); 653 childViewState.height = (int) newSize;
|
/frameworks/native/libs/binder/ |
H A D | Parcel.cpp | 441 int newSize = ((mObjectsSize + numObjects)*3)/2; local 443 (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t)); 448 mObjectsCapacity = newSize; 943 size_t newSize = ((mObjectsSize+2)*3)/2; 944 binder_size_t* objects = (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t)); 947 mObjectsCapacity = newSize; 1534 size_t newSize = ((mDataSize+len)*3)/2; local 1535 return (newSize <= mDataSize) 1537 : continueWrite(newSize);
|
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 1335 size_t newSize = file->getSize(); local 1336 float factor = ((float)newSize)/oldSize; 1470 size_t newSize = (size_t)ftell(reader); local 1473 float factor = ((float)newSize)/oldSize;
|
/frameworks/base/media/java/android/media/ |
H A D | MediaCodec.java | 250 * @param newSize the amount of data (in bytes) in the buffer. 257 int newOffset, int newSize, long newTimeUs, int newFlags) { 259 size = newSize; 256 set( int newOffset, int newSize, long newTimeUs, int newFlags) argument
|
Completed in 611 milliseconds