Home
last modified time | relevance | path

Searched refs:currentSize (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/util/
DIntArray.java114 final int currentSize = mSize; in ensureCapacity() local
115 final int minCapacity = currentSize + count; in ensureCapacity()
117 final int targetCap = currentSize + (currentSize < (MIN_CAPACITY_INCREMENT / 2) ? in ensureCapacity()
118 MIN_CAPACITY_INCREMENT : currentSize >> 1); in ensureCapacity()
121 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java542 final int currentSize = (encoded == null ? 0 : encoded.length); in resizeStaticImage() local
543 updateRecodeParameters(currentSize); in resizeStaticImage()
755 private void updateRecodeParameters(final int currentSize) { in updateRecodeParameters() argument
758 if (currentSize > 0 && in updateRecodeParameters()
763 Math.min((int) (mQuality * Math.sqrt((1.0 * mByteLimit) / currentSize)), in updateRecodeParameters()
769 } else if (currentSize > 0 && in updateRecodeParameters()
787 } else if (currentSize <= 0 && !mHasReclaimedMemory) { in updateRecodeParameters()
/packages/apps/Nfc/nci/jni/
DNativeNfcTag.cpp1075 uint32_t currentSize, uint8_t flags) { in nativeNfcTag_doCheckNdefResult() argument
1115 sCheckNdefCurrentSize = currentSize; in nativeNfcTag_doCheckNdefResult()