Searched refs:oldLength (Results 1 - 6 of 6) sorted by relevance

/frameworks/support/v4/java/android/support/v4/app/
H A DShareCompat.java358 int oldLength = old != null ? old.length : 0;
359 String[] result = new String[oldLength + add.length];
360 if (old != null) System.arraycopy(old, 0, result, 0, oldLength);
361 System.arraycopy(add, 0, result, oldLength, add.length);
/frameworks/native/libs/utils/
H A DString8.cpp317 size_t oldLength = length(); local
318 char* buf = lockBuffer(oldLength + n);
320 vsnprintf(buf + oldLength, n + 1, fmt, args);
/frameworks/base/core/java/android/net/
H A DUri.java1830 int oldLength = s.length();
1836 while (current < oldLength) {
1841 while (nextToEncode < oldLength
1847 if (nextToEncode == oldLength) {
1853 encoded.append(s, current, oldLength);
1874 while (nextAllowed < oldLength
/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java131 final int oldLength = mText.length;
133 final int delta = newLength - oldLength;
138 final int after = oldLength - (mGapStart + mGapLength);
139 System.arraycopy(mText, oldLength - after, newText, newLength - after, after);
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java822 final int oldLength = mLength;
829 System.arraycopy(oldChars, 0, newChars, 0, oldLength);
832 return oldLength;
/frameworks/base/core/java/android/accounts/
H A DAccountManagerService.java2418 int oldLength = (accountsForType != null) ? accountsForType.length : 0;
2419 Account[] newAccountsForType = new Account[oldLength + 1];
2421 System.arraycopy(accountsForType, 0, newAccountsForType, 0, oldLength);
2423 newAccountsForType[oldLength] = account;

Completed in 842 milliseconds