Searched refs:oldLength (Results 1 – 6 of 6) sorted by relevance
/frameworks/support/v4/java/android/support/v4/app/ |
D | ShareCompat.java | 358 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/ |
D | String8.cpp | 317 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/ |
D | Uri.java | 1831 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/ |
D | SpannableStringBuilder.java | 131 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/ |
D | PointerLocationView.java | 848 final int oldLength = mLength; 855 System.arraycopy(oldChars, 0, newChars, 0, oldLength); 858 return oldLength;
|
/frameworks/base/services/java/com/android/server/accounts/ |
D | AccountManagerService.java | 2773 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()
|