Home
last modified time | relevance | path

Searched refs:newValues (Results 1 – 15 of 15) sorted by relevance

/aosp14/frameworks/base/core/java/android/text/
H A DAutoGrowArray.java101 final byte[] newValues = ArrayUtils.newUnpaddedByteArray(newCapacity); in ensureCapacity()
102 System.arraycopy(mValues, 0, newValues, 0, mSize); in ensureCapacity()
103 mValues = newValues; in ensureCapacity()
210 final int[] newValues = ArrayUtils.newUnpaddedIntArray(newCapacity); in ensureCapacity() local
211 System.arraycopy(mValues, 0, newValues, 0, mSize); in ensureCapacity()
212 mValues = newValues; in ensureCapacity()
319 final float[] newValues = ArrayUtils.newUnpaddedFloatArray(newCapacity); in ensureCapacity() local
320 System.arraycopy(mValues, 0, newValues, 0, mSize); in ensureCapacity()
321 mValues = newValues; in ensureCapacity()
/aosp14/frameworks/base/core/java/android/util/
H A DIntArray.java167 final int[] newValues = ArrayUtils.newUnpaddedIntArray(newCapacity); in ensureCapacity() local
168 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
169 mValues = newValues; in ensureCapacity()
H A DLongArray.java144 final long[] newValues = ArrayUtils.newUnpaddedLongArray(newCapacity); in ensureCapacity() local
145 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
146 mValues = newValues; in ensureCapacity()
/aosp14/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java586 final ArrayList<T> newValues = new ArrayList<>(); in performFiltering() local
594 newValues.add(value); in performFiltering()
599 newValues.add(value); in performFiltering()
606 results.values = newValues; in performFiltering()
607 results.count = newValues.size(); in performFiltering()
H A DSimpleAdapter.java382 ArrayList<Map<String, ?>> newValues = new ArrayList<Map<String, ?>>(count); in performFiltering() local
400 newValues.add(h); in performFiltering()
408 results.values = newValues; in performFiltering()
409 results.count = newValues.size(); in performFiltering()
/aosp14/frameworks/base/core/java/android/transition/
H A DVisibility.java508 public boolean isTransitionRequired(TransitionValues startValues, TransitionValues newValues) { in isTransitionRequired() argument
509 if (startValues == null && newValues == null) { in isTransitionRequired()
512 if (startValues != null && newValues != null && in isTransitionRequired()
513 newValues.values.containsKey(PROPNAME_VISIBILITY) != in isTransitionRequired()
519 VisibilityInfo changeInfo = getVisibilityChangeInfo(startValues, newValues); in isTransitionRequired()
H A DTransition.java744 TransitionValues newValues = endValues.viewValues.get(view); in createAnimators() local
745 if (newValues != null) { in createAnimators()
748 newValues.values.get(properties[j])); in createAnimators()
1822 private static boolean isValueChanged(TransitionValues oldValues, TransitionValues newValues, in isValueChanged() argument
1824 if (oldValues.values.containsKey(key) != newValues.values.containsKey(key)) { in isValueChanged()
1829 Object newValue = newValues.values.get(key); in isValueChanged()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DSuggestedLocaleAdapter.java365 final ArrayList<LocaleStore.LocaleInfo> newValues = new ArrayList<>(); in performFiltering() local
375 newValues.add(value); in performFiltering()
379 results.values = newValues; in performFiltering()
380 results.count = newValues.size(); in performFiltering()
/aosp14/frameworks/base/core/java/android/app/
H A DLauncherActivity.java211 ArrayList<ListItem> newValues = new ArrayList<ListItem>(count); in performFiltering() local
223 newValues.add(item); in performFiltering()
229 results.values = newValues; in performFiltering()
230 results.count = newValues.size(); in performFiltering()
/aosp14/frameworks/base/services/core/java/com/android/server/utils/
H A DWatchedSparseBooleanMatrix.java470 int[] newValues = ArrayUtils.newUnpaddedIntArray(newOrder * newOrder / PACKING); in resizeMatrix() local
474 System.arraycopy(mValues, row, newValues, newRow, minOrder / PACKING); in resizeMatrix()
480 mValues = newValues; in resizeMatrix()
/aosp14/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java1624 public static String[] appendSelectionArgs(String[] originalValues, String[] newValues) { in appendSelectionArgs() argument
1626 return newValues; in appendSelectionArgs()
1628 String[] result = new String[originalValues.length + newValues.length ]; in appendSelectionArgs()
1630 System.arraycopy(newValues, 0, result, originalValues.length, newValues.length); in appendSelectionArgs()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DCachedAppOptimizerTest.java1070 public void setRss(long[] newValues) { in setRss() argument
1071 mRss = newValues; in setRss()
1074 public void setRssAfterCompaction(long[] newValues) { in setRssAfterCompaction() argument
1075 mRssAfterCompaction = newValues; in setRssAfterCompaction()
/aosp14/frameworks/base/core/java/android/view/
H A DMotionEvent.java4550 float[] newValues = new float[count * 2]; in setAxisValue() local
4551 System.arraycopy(values, 0, newValues, 0, index); in setAxisValue()
4552 System.arraycopy(values, index, newValues, index + 1, in setAxisValue()
4554 values = newValues; in setAxisValue()
/aosp14/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraMetadataNative.java1959 int[] newValues = new int[availableFormat.length]; in setAvailableFormats() local
1961 newValues[i] = availableFormat[i]; in setAvailableFormats()
1963 newValues[i] = NATIVE_JPEG_FORMAT; in setAvailableFormats()
1967 setBase(CameraCharacteristics.SCALER_AVAILABLE_FORMATS, newValues); in setAvailableFormats()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...