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.java115 final int currentSize = mSize; in ensureCapacity() local
116 final int minCapacity = currentSize + count; in ensureCapacity()
118 final int targetCap = currentSize + (currentSize < (MIN_CAPACITY_INCREMENT / 2) ? in ensureCapacity()
119 MIN_CAPACITY_INCREMENT : currentSize >> 1); in ensureCapacity()
122 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()
758 private void updateRecodeParameters(final int currentSize) { in updateRecodeParameters() argument
761 if (currentSize > 0 && in updateRecodeParameters()
766 Math.min((int) (mQuality * Math.sqrt((1.0 * mByteLimit) / currentSize)), in updateRecodeParameters()
772 } else if (currentSize > 0 && in updateRecodeParameters()
790 } else if (currentSize <= 0 && !mHasReclaimedMemory) { in updateRecodeParameters()
/packages/apps/Nfc/nci/jni/
DNativeNfcTag.cpp1140 uint32_t currentSize, uint8_t flags) { in nativeNfcTag_doCheckNdefResult() argument
1180 sCheckNdefCurrentSize = currentSize; in nativeNfcTag_doCheckNdefResult()