/frameworks/base/media/mca/filterfw/native/core/ |
D | native_frame.cpp | 52 bool NativeFrame::Resize(int newSize) { in Resize() argument 53 if (newSize <= capacity_ && newSize >= 0) { in Resize() 54 size_ = newSize; in Resize()
|
D | native_frame.h | 54 bool Resize(int newSize);
|
/frameworks/base/core/java/android/util/ |
D | StateSet.java | 143 public static int[] trimStateSet(int[] states, int newSize) { in trimStateSet() argument 144 if (states.length == newSize) { in trimStateSet() 148 int[] trimmedStates = new int[newSize]; in trimStateSet() 149 System.arraycopy(states, 0, trimmedStates, 0, newSize); in trimStateSet()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | LevelListDrawable.java | 201 public void growArray(int oldSize, int newSize) { in growArray() argument 202 super.growArray(oldSize, newSize); in growArray() 203 int[] newInts = new int[newSize]; in growArray() 206 newInts = new int[newSize]; in growArray()
|
D | AnimationDrawable.java | 385 public void growArray(int oldSize, int newSize) { in growArray() argument 386 super.growArray(oldSize, newSize); in growArray() 387 int[] newDurations = new int[newSize]; in growArray()
|
D | StateListDrawable.java | 317 public void growArray(int oldSize, int newSize) { in growArray() argument 318 super.growArray(oldSize, newSize); in growArray() 319 final int[][] newStateSets = new int[newSize][]; in growArray()
|
D | DrawableContainer.java | 1001 public void growArray(int oldSize, int newSize) { in growArray() argument 1002 Drawable[] newDrawables = new Drawable[newSize]; in growArray()
|
/frameworks/base/core/java/android/database/ |
D | MatrixCursor.java | 172 int newSize = data.length * 2; in ensureCapacity() local 173 if (newSize < size) { in ensureCapacity() 174 newSize = size; in ensureCapacity() 176 this.data = new Object[newSize]; in ensureCapacity()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
D | Utils.java | 319 public static String[] copyOf(String[] source, int newSize) { in copyOf() argument 320 String[] result = new String[newSize]; in copyOf() 321 newSize = Math.min(source.length, newSize); in copyOf() 322 System.arraycopy(source, 0, result, 0, newSize); in copyOf()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | StackScrollAlgorithm.java | 380 int newSize = (int) Math.max(bottomStackStart - mPaddingBetweenElements - in updatePositionsForState() local 382 childViewState.height = newSize; in updatePositionsForState() 638 float newSize = yPositionInScrollViewAfterElement in findNumberOfItemsInTopStackAndUpdateState() local 641 newSize = Math.max(mCollapsedSize, newSize); in findNumberOfItemsInTopStackAndUpdateState() 643 childViewState.height = (int) newSize; in findNumberOfItemsInTopStackAndUpdateState()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | AutomaticBrightnessController.java | 581 int newSize = mCapacity * 2; in push() local 583 float[] newRingLux = new float[newSize]; in push() 584 long[] newRingTime = new long[newSize]; in push() 596 mCapacity = newSize; in push()
|
/frameworks/native/libs/binder/ |
D | Parcel.cpp | 420 int newSize = ((mObjectsSize + numObjects)*3)/2; in appendFrom() local 422 (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t)); in appendFrom() 427 mObjectsCapacity = newSize; in appendFrom() 945 size_t newSize = ((mObjectsSize+2)*3)/2; in writeObject() local 946 binder_size_t* objects = (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t)); in writeObject() 949 mObjectsCapacity = newSize; in writeObject() 1539 size_t newSize = ((mDataSize+len)*3)/2; in growData() local 1540 return (newSize <= mDataSize) in growData() 1542 : continueWrite(newSize); in growData()
|
/frameworks/ex/common/java/com/android/common/widget/ |
D | GroupingListAdapter.java | 203 int newSize = idealLongArraySize( in addGroup() local 205 long[] array = new long[newSize]; in addGroup()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 1335 size_t newSize = file->getSize(); in preProcessImage() local 1336 float factor = ((float)newSize)/oldSize; in preProcessImage() 1470 size_t newSize = (size_t)ftell(reader); in preProcessImageToCache() local 1473 float factor = ((float)newSize)/oldSize; in preProcessImageToCache()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodec.java | 257 int newOffset, int newSize, long newTimeUs, int newFlags) { in set() argument 259 size = newSize; in set()
|
/frameworks/base/docs/html/guide/topics/renderscript/ |
D | advanced.jd | 316 public void resize(int newSize) { 319 int copySize = Math.min(oldSize, newSize); 320 if (newSize == oldSize) return; 321 Item ni[] = new Item[newSize]; 325 mAllocation.resize(newSize);
|