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/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/base/core/java/android/os/
DTokenWatcher.java87 int oldSize = mTokens.size(); in acquire() local
97 if (oldSize == 0 && !mAcquired) { in acquire()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DFullScreenMagnificationGestureHandler.java317 final int oldSize = (mTempPointerCoords != null) ? mTempPointerCoords.length : 0; in getTempPointerCoordsWithMinSize() local
318 if (oldSize < size) { in getTempPointerCoordsWithMinSize()
322 System.arraycopy(oldTempPointerCoords, 0, mTempPointerCoords, 0, oldSize); in getTempPointerCoordsWithMinSize()
325 for (int i = oldSize; i < size; i++) { in getTempPointerCoordsWithMinSize()
332 final int oldSize = (mTempPointerProperties != null) ? mTempPointerProperties.length in getTempPointerPropertiesWithMinSize() local
334 if (oldSize < size) { in getTempPointerPropertiesWithMinSize()
339 oldSize); in getTempPointerPropertiesWithMinSize()
342 for (int i = oldSize; i < size; i++) { in getTempPointerPropertiesWithMinSize()
/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/bufferpool/2.0/tests/
Dallocator.cpp152 size_t oldSize = oldParams.size(); in compatible() local
153 if (newSize == oldSize) { in compatible()
/frameworks/av/media/libstagefright/id3/
DID3.cpp411 size_t oldSize = mSize; in removeUnsynchronizationV2_4() local
467 if (readOffset <= oldSize) { in removeUnsynchronizationV2_4()
468 memmove(&mData[writeOffset], &mData[readOffset], oldSize - readOffset); in removeUnsynchronizationV2_4()
470 ALOGE("b/34618607 (%zu %zu %zu %zu)", readOffset, writeOffset, oldSize, mSize); in removeUnsynchronizationV2_4()
485 memset(&mData[mSize], 0, oldSize - mSize); in removeUnsynchronizationV2_4()
/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_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_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_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.cpp743 auto oldSize = (*depthWidth) * (*depthHeight); in getMatchingDepthSize() local
744 if ((fabs(aspectRatio - currentRatio) <= arTol) && (currentSize > oldSize)) { in getMatchingDepthSize()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnection.java565 final int oldSize = mConfiguration.perConnectionSql.size(); in reconfigure() local
567 boolean perConnectionSqlChanged = newSize > oldSize; in reconfigure()
588 executePerConnectionSqlFromConfiguration(oldSize); in reconfigure()
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomVariable.cpp151 size_t oldSize = mVar->range.size(); in setRange() local
154 if (mVar->range.size() != oldSize) mVar->updateTimestamp(); in setRange()

12