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/android/widget/
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()
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/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/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.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()
/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.java3982 float[] newValues = new float[count * 2]; in setAxisValue() local
3983 System.arraycopy(values, 0, newValues, 0, index); in setAxisValue()
3984 System.arraycopy(values, index, newValues, index + 1, in setAxisValue()
3986 values = newValues; in setAxisValue()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java1454 int[] newValues = new int[availableFormat.length]; in setAvailableFormats() local
1456 newValues[i] = availableFormat[i]; in setAvailableFormats()
1458 newValues[i] = NATIVE_JPEG_FORMAT; in setAvailableFormats()
1462 setBase(CameraCharacteristics.SCALER_AVAILABLE_FORMATS, newValues); in setAvailableFormats()