Searched refs:newLength (Results 1 – 13 of 13) sorted by relevance
71 public void resize(int newLength) { in resize() argument72 eventTypes = Arrays.copyOf(eventTypes, newLength); in resize()73 returnCodes = Arrays.copyOf(returnCodes, newLength); in resize()74 latenciesMs = Arrays.copyOf(latenciesMs, newLength); in resize()
507 final int newLength = widths.length; in findLargestCells() local510 if (mMaxWidths == null || mMaxWidths.length != newLength) { in findLargestCells()511 mMaxWidths = new int[newLength]; in findLargestCells()513 System.arraycopy(widths, 0, mMaxWidths, 0, newLength); in findLargestCells()517 final int difference = newLength - length; in findLargestCells()522 mMaxWidths = new int[newLength]; in findLargestCells()534 length = Math.min(length, newLength); in findLargestCells()
57 int newLength = length + mAllocationIncrement; in allocate() local58 mBuffer = (uint8_t *)realloc(mBuffer, newLength); in allocate()63 mBufferSize = newLength; in allocate()
796 private static String[] copyOf(String[] original, int newLength) { in copyOf() argument797 final String[] result = new String[newLength]; in copyOf()798 System.arraycopy(original, 0, result, 0, newLength); in copyOf()802 private static Object[] copyOf(Object[] original, int newLength) { in copyOf() argument803 final Object[] result = new Object[newLength]; in copyOf()804 System.arraycopy(original, 0, result, 0, newLength); in copyOf()
161 int newLength = values.length + 1; in DisplayDensityUtils() local162 values = Arrays.copyOf(values, newLength); in DisplayDensityUtils()165 entries = Arrays.copyOf(entries, newLength); in DisplayDensityUtils()
318 final int newLength = Math.max(size, 10) * 3 / 2; in addValues() local319 iface = Arrays.copyOf(iface, newLength); in addValues()320 uid = Arrays.copyOf(uid, newLength); in addValues()321 set = Arrays.copyOf(set, newLength); in addValues()322 tag = Arrays.copyOf(tag, newLength); in addValues()323 metered = Arrays.copyOf(metered, newLength); in addValues()324 roaming = Arrays.copyOf(roaming, newLength); in addValues()325 rxBytes = Arrays.copyOf(rxBytes, newLength); in addValues()326 rxPackets = Arrays.copyOf(rxPackets, newLength); in addValues()327 txBytes = Arrays.copyOf(txBytes, newLength); in addValues()[all …]
408 final int newLength = Math.max(bucketStart.length, 10) * 3 / 2; in insertBucket() local409 bucketStart = Arrays.copyOf(bucketStart, newLength); in insertBucket()410 if (activeTime != null) activeTime = Arrays.copyOf(activeTime, newLength); in insertBucket()411 if (rxBytes != null) rxBytes = Arrays.copyOf(rxBytes, newLength); in insertBucket()412 if (rxPackets != null) rxPackets = Arrays.copyOf(rxPackets, newLength); in insertBucket()413 if (txBytes != null) txBytes = Arrays.copyOf(txBytes, newLength); in insertBucket()414 if (txPackets != null) txPackets = Arrays.copyOf(txPackets, newLength); in insertBucket()415 if (operations != null) operations = Arrays.copyOf(operations, newLength); in insertBucket()
209 int newLength = mText.length(); in append() local211 if (newLength > visibleChars) { in append()215 charState = mTextChars.get(newLength - 1); in append()221 if (newLength > 1) { in append()222 CharState previousState = mTextChars.get(newLength - 2); in append()
113 return iterator.destinationIndex() + iterator.newLength(); in mapToDest()
1118 int newLength = to - from; in copyOfRange() local1119 if (newLength < 0) { in copyOfRange()1122 int[] copy = new int[newLength]; in copyOfRange()1124 Math.min(original.length - from, newLength)); in copyOfRange()
866 final int newLength = mLength + length;869 if (newLength > oldCapacity) {
147 final int newLength = newText.length; in resizeFor() local148 final int delta = newLength - oldLength; in resizeFor()150 System.arraycopy(mText, oldLength - after, newText, newLength - after, after); in resizeFor()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...