Searched refs:newLength (Results 1 - 10 of 10) sorted by relevance

/frameworks/av/media/mtp/
H A DMtpPacket.cpp57 int newLength = length + mAllocationIncrement; local
58 mBuffer = (uint8_t *)realloc(mBuffer, newLength);
63 mBufferSize = newLength;
/frameworks/base/core/java/android/widget/
H A DTableLayout.java506 final int newLength = widths.length;
509 if (mMaxWidths == null || mMaxWidths.length != newLength) {
510 mMaxWidths = new int[newLength];
512 System.arraycopy(widths, 0, mMaxWidths, 0, newLength);
516 final int difference = newLength - length;
521 mMaxWidths = new int[newLength];
533 length = Math.min(length, newLength);
/frameworks/support/v4/java/android/support/v4/content/
H A DFileProvider.java762 private static String[] copyOf(String[] original, int newLength) { argument
763 final String[] result = new String[newLength];
764 System.arraycopy(original, 0, result, 0, newLength);
768 private static Object[] copyOf(Object[] original, int newLength) { argument
769 final Object[] result = new Object[newLength];
770 System.arraycopy(original, 0, result, 0, newLength);
/frameworks/base/core/java/android/net/
H A DNetworkStats.java257 final int newLength = Math.max(size, 10) * 3 / 2;
258 iface = Arrays.copyOf(iface, newLength);
259 uid = Arrays.copyOf(uid, newLength);
260 set = Arrays.copyOf(set, newLength);
261 tag = Arrays.copyOf(tag, newLength);
262 rxBytes = Arrays.copyOf(rxBytes, newLength);
263 rxPackets = Arrays.copyOf(rxPackets, newLength);
264 txBytes = Arrays.copyOf(txBytes, newLength);
265 txPackets = Arrays.copyOf(txPackets, newLength);
266 operations = Arrays.copyOf(operations, newLength);
[all...]
H A DNetworkStatsHistory.java405 final int newLength = Math.max(bucketStart.length, 10) * 3 / 2;
406 bucketStart = Arrays.copyOf(bucketStart, newLength);
407 if (activeTime != null) activeTime = Arrays.copyOf(activeTime, newLength);
408 if (rxBytes != null) rxBytes = Arrays.copyOf(rxBytes, newLength);
409 if (rxPackets != null) rxPackets = Arrays.copyOf(rxPackets, newLength);
410 if (txBytes != null) txBytes = Arrays.copyOf(txBytes, newLength);
411 if (txPackets != null) txPackets = Arrays.copyOf(txPackets, newLength);
412 if (operations != null) operations = Arrays.copyOf(operations, newLength);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DPasswordTextView.java192 int newLength = mText.length();
194 if (newLength > visibleChars) {
198 charState = mTextChars.get(newLength - 1);
204 if (newLength > 1) {
205 CharState previousState = mTextChars.get(newLength - 2);
/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java143 final int newLength = newText.length;
144 final int delta = newLength - oldLength;
146 System.arraycopy(mText, oldLength - after, newText, newLength - after, after);
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java866 final int newLength = mLength + length;
869 if (newLength > oldCapacity) {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DStaggeredGridLayoutManagerTest.java852 int newLength = to - from;
853 if (newLength < 0) {
856 int[] copy = new int[newLength];
858 Math.min(original.length - from, newLength));
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 884 milliseconds