Home
last modified time | relevance | path

Searched refs:oldLength (Results 1 – 5 of 5) 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/base/core/java/android/net/
DUri.java1830 int oldLength = s.length(); in encode() local
1836 while (current < oldLength) { in encode()
1841 while (nextToEncode < oldLength in encode()
1847 if (nextToEncode == oldLength) { in encode()
1853 encoded.append(s, current, oldLength); in encode()
1874 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.java862 final int oldLength = mLength;
869 System.arraycopy(oldChars, 0, newChars, 0, oldLength);
872 return oldLength;
/frameworks/base/services/java/com/android/server/accounts/
DAccountManagerService.java2886 int oldLength = (accountsForType != null) ? accountsForType.length : 0; in insertAccountIntoCacheLocked() local
2887 Account[] newAccountsForType = new Account[oldLength + 1]; in insertAccountIntoCacheLocked()
2889 System.arraycopy(accountsForType, 0, newAccountsForType, 0, oldLength); in insertAccountIntoCacheLocked()
2891 newAccountsForType[oldLength] = account; in insertAccountIntoCacheLocked()