Home
last modified time | relevance | path

Searched refs:oldSize (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/drawable/
DLevelListDrawable.java226 public void growArray(int oldSize, int newSize) { in growArray() argument
227 super.growArray(oldSize, newSize); in growArray()
229 System.arraycopy(mLows, 0, newInts, 0, oldSize); in growArray()
232 System.arraycopy(mHighs, 0, newInts, 0, oldSize); in growArray()
DAnimationDrawable.java421 public void growArray(int oldSize, int newSize) { in growArray() argument
422 super.growArray(oldSize, newSize); in growArray()
424 System.arraycopy(mDurations, 0, newDurations, 0, oldSize); in growArray()
DStateListDrawable.java374 public void growArray(int oldSize, int newSize) { in growArray() argument
375 super.growArray(oldSize, newSize); in growArray()
377 System.arraycopy(mStateSets, 0, newStateSets, 0, oldSize); in growArray()
DDrawableContainer.java1199 public void growArray(int oldSize, int newSize) { in growArray() argument
1201 System.arraycopy(mDrawables, 0, newDrawables, 0, oldSize); in growArray()
/frameworks/base/graphics/java/android/graphics/
DPaint.java2183 final float oldSize = getTextSize(); in measureText() local
2184 setTextSize(oldSize * mCompatScaling); in measureText()
2187 setTextSize(oldSize); in measureText()
2214 final float oldSize = getTextSize(); in measureText() local
2215 setTextSize(oldSize * mCompatScaling); in measureText()
2218 setTextSize(oldSize); in measureText()
2304 final float oldSize = getTextSize(); in breakText() local
2305 setTextSize(oldSize * mCompatScaling); in breakText()
2308 setTextSize(oldSize); in breakText()
2392 final float oldSize = getTextSize(); in breakText() local
[all …]
/frameworks/base/core/java/android/util/
DMapCollections.java175 int oldSize = colGetSize(); in addAll() local
179 return oldSize != colGetSize(); in addAll()
469 int oldSize = map.size(); in removeAllHelper() local
474 return oldSize != map.size(); in removeAllHelper()
478 int oldSize = map.size(); in retainAllHelper() local
485 return oldSize != map.size(); in retainAllHelper()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationGestureHandler.java309 final int oldSize = (mTempPointerCoords != null) ? mTempPointerCoords.length : 0; in getTempPointerCoordsWithMinSize() local
310 if (oldSize < size) { in getTempPointerCoordsWithMinSize()
314 System.arraycopy(oldTempPointerCoords, 0, mTempPointerCoords, 0, oldSize); in getTempPointerCoordsWithMinSize()
317 for (int i = oldSize; i < size; i++) { in getTempPointerCoordsWithMinSize()
324 final int oldSize = (mTempPointerProperties != null) ? mTempPointerProperties.length in getTempPointerPropertiesWithMinSize() local
326 if (oldSize < size) { in getTempPointerPropertiesWithMinSize()
331 oldSize); in getTempPointerPropertiesWithMinSize()
334 for (int i = oldSize; i < size; i++) { in getTempPointerPropertiesWithMinSize()
/frameworks/base/core/java/android/os/
DTokenWatcher.java87 int oldSize = mTokens.size(); in acquire() local
97 if (oldSize == 0 && !mAcquired) { in acquire()
/frameworks/av/services/camera/libcameraservice/tests/
DNV12Compressor.cpp256 size_t oldSize = manager->mBuffer.size(); in emptyOutputBuffer() local
257 manager->mBuffer.resize(oldSize * 2); in emptyOutputBuffer()
258 manager->next_output_byte = &manager->mBuffer[oldSize]; in emptyOutputBuffer()
259 manager->free_in_buffer = manager->mBuffer.size() - oldSize; in emptyOutputBuffer()
/frameworks/av/media/bufferpool/2.0/tests/
Dallocator.cpp152 size_t oldSize = oldParams.size(); in compatible() local
153 if (newSize == oldSize) { in compatible()
/frameworks/av/media/bufferpool/1.0/vts/
Dallocator.cpp152 size_t oldSize = oldParams.size(); in compatible() local
153 if (newSize == oldSize) { in compatible()
/frameworks/av/media/libstagefright/id3/
DID3.cpp412 size_t oldSize = mSize; in removeUnsynchronizationV2_4() local
468 if (readOffset <= oldSize) { in removeUnsynchronizationV2_4()
469 memmove(&mData[writeOffset], &mData[readOffset], oldSize - readOffset); in removeUnsynchronizationV2_4()
471 ALOGE("b/34618607 (%zu %zu %zu %zu)", readOffset, writeOffset, oldSize, mSize); in removeUnsynchronizationV2_4()
486 memset(&mData[mSize], 0, oldSize - mSize); in removeUnsynchronizationV2_4()
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptField_MyStruct.java.expect190 int oldSize = mItemArray.length;
191 int copySize = Math.min(oldSize, newSize);
192 if (newSize == oldSize) return;
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptField_MyStruct.java.expect190 int oldSize = mItemArray.length;
191 int copySize = Math.min(oldSize, newSize);
192 if (newSize == oldSize) return;
/frameworks/compile/slang/tests/P_reflection3264_divergent/
DScriptField_NonDivergent.java.expect188 int oldSize = mItemArray.length;
189 int copySize = Math.min(oldSize, newSize);
190 if (newSize == oldSize) return;
DScriptField_Divergent.java.expect221 int oldSize = mItemArray.length;
222 int copySize = Math.min(oldSize, newSize);
223 if (newSize == oldSize) return;
DScriptField_DivergentNest.java.expect234 int oldSize = mItemArray.length;
235 int copySize = Math.min(oldSize, newSize);
236 if (newSize == oldSize) return;
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptField_MyStruct.java.expect190 int oldSize = mItemArray.length;
191 int copySize = Math.min(oldSize, newSize);
192 if (newSize == oldSize) return;
/frameworks/compile/slang/tests/P_struct_field/
DScriptField_InnerTwo.java.expect198 int oldSize = mItemArray.length;
199 int copySize = Math.min(oldSize, newSize);
200 if (newSize == oldSize) return;
DScriptField_InnerOne.java.expect211 int oldSize = mItemArray.length;
212 int copySize = Math.min(oldSize, newSize);
213 if (newSize == oldSize) return;
DScriptField_Outer.java.expect398 int oldSize = mItemArray.length;
399 int copySize = Math.min(oldSize, newSize);
400 if (newSize == oldSize) return;
/frameworks/base/tools/aapt/
DImages.cpp1433 size_t oldSize = (size_t)ftell(fp); in preProcessImage() local
1435 float factor = ((float)newSize)/oldSize; in preProcessImage()
1515 size_t oldSize = (size_t)ftell(fp); in preProcessImageToCache() local
1571 float factor = ((float)newSize)/oldSize; in preProcessImageToCache()
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp749 auto oldSize = (*depthWidth) * (*depthHeight); in getMatchingDepthSize() local
750 if ((fabs(aspectRatio - currentRatio) <= arTol) && (currentSize > oldSize)) { in getMatchingDepthSize()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/third_party/jsoncpp/
Djsoncpp.cpp3318 ArrayIndex oldSize = size(); in resize() local
3321 else if (newSize > oldSize) in resize()
3324 for (ArrayIndex index = newSize; index < oldSize; ++index) { in resize()
3542 ArrayIndex oldSize = size(); in removeIndex() local
3544 for (ArrayIndex i = index; i < (oldSize - 1); ++i){ in removeIndex()
3549 CZString keyLast(oldSize - 1); in removeIndex()
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomVariable.cpp150 size_t oldSize = mVar->range.size(); in setRange() local
153 if (mVar->range.size() != oldSize) mVar->updateTimestamp(); in setRange()

12