/frameworks/base/core/java/android/net/metrics/ |
D | DnsEvent.java | 81 public void resize(int newLength) { in resize() argument 82 eventTypes = Arrays.copyOf(eventTypes, newLength); in resize() 83 returnCodes = Arrays.copyOf(returnCodes, newLength); in resize() 84 latenciesMs = Arrays.copyOf(latenciesMs, newLength); in resize()
|
/frameworks/base/core/java/android/widget/ |
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()
|
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()
|
/frameworks/av/media/mtp/ |
D | MtpPacket.cpp | 57 int newLength = length + mAllocationIncrement; in allocate() local 58 mBuffer = (uint8_t *)realloc(mBuffer, newLength); in allocate() 63 mBufferSize = newLength; in allocate()
|
/frameworks/base/packages/SystemUI/shared/keyguard/src/com/android/keyguard/ |
D | BasePasswordTextView.java | 71 protected void onAppend(char c, int newLength) {} in onAppend() argument 94 int newLength = mText.length(); in append() local 95 onAppend(c, newLength); in append()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
D | DisplayDensityUtils.java | 266 int newLength = values.length + 1; in DisplayDensityUtils() local 267 values = Arrays.copyOf(values, newLength); in DisplayDensityUtils() 270 valuesFloat = Arrays.copyOf(valuesFloat, newLength); in DisplayDensityUtils() 273 entries = Arrays.copyOf(entries, newLength); in DisplayDensityUtils()
|
/frameworks/libs/systemui/toruslib/torus-math/src/main/java/com/google/android/torus/math/ |
D | Vector2.kt | 156 fun withLength(newLength: Float): Vector2 { in withLength() 157 return times(newLength / length()) in withLength()
|
D | Vector3.kt | 183 fun withLength(newLength: Float): Vector3 { in withLength() 184 return multiplyBy(newLength / length()) in withLength()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | PasswordTextView.java | 206 protected void onAppend(char c, int newLength) { in onAppend() argument 209 if (newLength > visibleChars) { in onAppend() 213 charState = mTextChars.get(newLength - 1); in onAppend() 219 if (newLength > 1) { in onAppend() 220 CharState previousState = mTextChars.get(newLength - 2); in onAppend()
|
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 351 int newLength = sSystemApkAssets.length; in setApkAssets() local 354 newApkAssets[newLength++] = apkAsset; in setApkAssets() 359 if (newLength != newApkAssets.length) { in setApkAssets() 360 newApkAssets = Arrays.copyOf(newApkAssets, newLength); in setApkAssets()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | PersistAtomsStorage.java | 2492 final int newLength = storage.length + 1; in insertAtRandomPlace() local 2493 final boolean arrayFull = (newLength > maxLength); in insertAtRandomPlace() 2494 T[] result = Arrays.copyOf(storage, arrayFull ? maxLength : newLength); in insertAtRandomPlace() 2495 if (newLength == 1) { in insertAtRandomPlace() 2505 int insertAt = sRandom.nextInt(newLength); in insertAtRandomPlace() 2506 result[newLength - 1] = result[insertAt]; in insertAtRandomPlace()
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringBuilder.java | 150 final int newLength = newText.length; in resizeFor() local 151 final int delta = newLength - oldLength; in resizeFor() 153 System.arraycopy(mText, oldLength - after, newText, newLength - after, after); in resizeFor()
|
D | TextUtils.java | 1313 return iterator.destinationIndex() + iterator.newLength(); in toUpperMapToDest()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 977 final int newLength = mLength + length; 980 if (newLength > oldCapacity) {
|