Searched refs:newLength (Results 1 – 10 of 10) sorted by relevance
/aosp14/frameworks/base/core/java/android/net/metrics/ |
H A D | DnsEvent.java | 77 public void resize(int newLength) { in resize() argument 78 eventTypes = Arrays.copyOf(eventTypes, newLength); in resize() 79 returnCodes = Arrays.copyOf(returnCodes, newLength); in resize() 80 latenciesMs = Arrays.copyOf(latenciesMs, newLength); in resize()
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | TableLayout.java | 507 final int newLength = widths.length; in findLargestCells() local 510 if (mMaxWidths == null || mMaxWidths.length != newLength) { in findLargestCells() 511 mMaxWidths = new int[newLength]; in findLargestCells() 513 System.arraycopy(widths, 0, mMaxWidths, 0, newLength); in findLargestCells() 517 final int difference = newLength - length; in findLargestCells() 522 mMaxWidths = new int[newLength]; in findLargestCells() 534 length = Math.min(length, newLength); in findLargestCells()
|
H A D | TextViewTranslationCallback.java | 270 int newLength = translatedText.length(); in computePaddedText() local 271 if (newLength <= text.length()) { in computePaddedText() 274 StringBuilder sb = new StringBuilder(newLength); in computePaddedText() 276 for (int i = text.length(); i < newLength; i++) { in computePaddedText()
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
H A D | DisplayDensityUtils.java | 206 int newLength = values.length + 1; in DisplayDensityUtils() local 207 values = Arrays.copyOf(values, newLength); in DisplayDensityUtils() 210 entries = Arrays.copyOf(entries, newLength); in DisplayDensityUtils()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | PasswordTextView.java | 260 int newLength = mText.length(); in append() local 262 if (newLength > visibleChars) { in append() 266 charState = mTextChars.get(newLength - 1); in append() 275 if (newLength > 1) { in append() 276 CharState previousState = mTextChars.get(newLength - 2); in append()
|
/aosp14/frameworks/base/core/java/android/content/res/ |
H A D | AssetManager.java | 315 int newLength = sSystemApkAssets.length; in setApkAssets() local 318 newApkAssets[newLength++] = apkAsset; in setApkAssets() 323 if (newLength != newApkAssets.length) { in setApkAssets() 324 newApkAssets = Arrays.copyOf(newApkAssets, newLength); in setApkAssets()
|
/aosp14/frameworks/base/core/java/android/text/ |
H A D | SpannableStringBuilder.java | 149 final int newLength = newText.length; in resizeFor() local 150 final int delta = newLength - oldLength; in resizeFor() 152 System.arraycopy(mText, oldLength - after, newText, newLength - after, after); in resizeFor()
|
H A D | TextUtils.java | 1294 return iterator.destinationIndex() + iterator.newLength(); in toUpperMapToDest()
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 961 final int newLength = mLength + length; 964 if (newLength > oldCapacity) {
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |