Searched refs:oldLength (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | Uri.java | 1891 int oldLength = s.length(); in encode() local 1897 while (current < oldLength) { in encode() 1902 while (nextToEncode < oldLength in encode() 1908 if (nextToEncode == oldLength) { in encode() 1914 encoded.append(s, current, oldLength); in encode() 1935 while (nextAllowed < oldLength in encode()
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringBuilder.java | 142 final int oldLength = mText.length; in resizeFor() local 143 if (size + 1 <= oldLength) { in resizeFor() 150 final int delta = newLength - oldLength; in resizeFor() 151 final int after = oldLength - (mGapStart + mGapLength); in resizeFor() 152 System.arraycopy(mText, oldLength - after, newText, newLength - after, after); in resizeFor()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 960 final int oldLength = mLength; 967 System.arraycopy(oldChars, 0, newChars, 0, oldLength); 970 return oldLength;
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 6212 int oldLength = (accountsForType != null) ? accountsForType.length : 0; 6213 Account[] newAccountsForType = new Account[oldLength + 1]; 6215 System.arraycopy(accountsForType, 0, newAccountsForType, 0, oldLength); 6219 newAccountsForType[oldLength] = new Account(account, token); 6222 return newAccountsForType[oldLength];
|