Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/app/
DShareCompat.java358 int oldLength = old != null ? old.length : 0; in combineArrayExtra() local
359 String[] result = new String[oldLength + add.length]; in combineArrayExtra()
360 if (old != null) System.arraycopy(old, 0, result, 0, oldLength); in combineArrayExtra()
361 System.arraycopy(add, 0, result, oldLength, add.length); in combineArrayExtra()
/frameworks/native/libs/utils/
DString8.cpp317 size_t oldLength = length(); in appendFormatV() local
318 char* buf = lockBuffer(oldLength + n); in appendFormatV()
320 vsnprintf(buf + oldLength, n + 1, fmt, args); in appendFormatV()
/frameworks/base/core/java/android/net/
DUri.java1831 int oldLength = s.length(); in encode() local
1837 while (current < oldLength) { in encode()
1842 while (nextToEncode < oldLength in encode()
1848 if (nextToEncode == oldLength) { in encode()
1854 encoded.append(s, current, oldLength); in encode()
1875 while (nextAllowed < oldLength in encode()
/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java131 final int oldLength = mText.length; in resizeFor() local
133 final int delta = newLength - oldLength; in resizeFor()
138 final int after = oldLength - (mGapStart + mGapLength); in resizeFor()
139 System.arraycopy(mText, oldLength - after, newText, newLength - after, after); in resizeFor()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java848 final int oldLength = mLength;
855 System.arraycopy(oldChars, 0, newChars, 0, oldLength);
858 return oldLength;
/frameworks/base/services/java/com/android/server/accounts/
DAccountManagerService.java2773 int oldLength = (accountsForType != null) ? accountsForType.length : 0; in insertAccountIntoCacheLocked() local
2774 Account[] newAccountsForType = new Account[oldLength + 1]; in insertAccountIntoCacheLocked()
2776 System.arraycopy(accountsForType, 0, newAccountsForType, 0, oldLength); in insertAccountIntoCacheLocked()
2778 newAccountsForType[oldLength] = account; in insertAccountIntoCacheLocked()