Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
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()
/frameworks/base/core/java/android/util/
DIntArray.java156 final int[] newValues = ArrayUtils.newUnpaddedIntArray(newCapacity); in ensureCapacity() local
157 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
158 mValues = newValues; in ensureCapacity()
DLongArray.java143 final long[] newValues = ArrayUtils.newUnpaddedLongArray(newCapacity); in ensureCapacity() local
144 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
145 mValues = newValues; in ensureCapacity()
/frameworks/base/core/java/com/android/internal/app/
DSuggestedLocaleAdapter.java257 final ArrayList<LocaleStore.LocaleInfo> newValues = new ArrayList<>(); in performFiltering() local
267 newValues.add(value); in performFiltering()
271 results.values = newValues; in performFiltering()
272 results.count = newValues.size(); in performFiltering()
/frameworks/base/core/java/android/widget/
DArrayAdapter.java589 final ArrayList<T> newValues = new ArrayList<>(); in performFiltering() local
597 newValues.add(value); in performFiltering()
602 newValues.add(value); in performFiltering()
609 results.values = newValues; in performFiltering()
610 results.count = newValues.size(); in performFiltering()
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()
/frameworks/base/core/java/android/transition/
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()
DTransition.java743 TransitionValues newValues = endValues.viewValues.get(view); in createAnimators() local
744 if (newValues != null) { in createAnimators()
747 newValues.values.get(properties[j])); in createAnimators()
1821 private static boolean isValueChanged(TransitionValues oldValues, TransitionValues newValues, in isValueChanged() argument
1823 if (oldValues.values.containsKey(key) != newValues.values.containsKey(key)) { in isValueChanged()
1828 Object newValue = newValues.values.get(key); in isValueChanged()
/frameworks/base/core/java/android/app/
DLauncherActivity.java207 ArrayList<ListItem> newValues = new ArrayList<ListItem>(count); in performFiltering() local
219 newValues.add(item); in performFiltering()
225 results.values = newValues; in performFiltering()
226 results.count = newValues.size(); in performFiltering()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java1528 public static String[] appendSelectionArgs(String[] originalValues, String[] newValues) { in appendSelectionArgs() argument
1530 return newValues; in appendSelectionArgs()
1532 String[] result = new String[originalValues.length + newValues.length ]; in appendSelectionArgs()
1534 System.arraycopy(newValues, 0, result, originalValues.length, newValues.length); in appendSelectionArgs()
/frameworks/base/core/java/android/view/
DMotionEvent.java3981 float[] newValues = new float[count * 2]; in setAxisValue() local
3982 System.arraycopy(values, 0, newValues, 0, index); in setAxisValue()
3983 System.arraycopy(values, index, newValues, index + 1, in setAxisValue()
3985 values = newValues; in setAxisValue()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java1456 int[] newValues = new int[availableFormat.length]; in setAvailableFormats() local
1458 newValues[i] = availableFormat[i]; in setAvailableFormats()
1460 newValues[i] = NATIVE_JPEG_FORMAT; in setAvailableFormats()
1464 setBase(CameraCharacteristics.SCALER_AVAILABLE_FORMATS, newValues); in setAvailableFormats()