Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/database/
DDatabaseUtilsCompat.java49 public static String[] appendSelectionArgs(String[] originalValues, String[] newValues) { in appendSelectionArgs() argument
51 return newValues; in appendSelectionArgs()
53 String[] result = new String[originalValues.length + newValues.length ]; in appendSelectionArgs()
55 System.arraycopy(newValues, 0, result, originalValues.length, newValues.length); in appendSelectionArgs()
/frameworks/base/core/java/android/util/
DLongArray.java100 final long[] newValues = ArrayUtils.newUnpaddedLongArray(newCapacity); in ensureCapacity() local
101 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
102 mValues = newValues; in ensureCapacity()
DIntArray.java101 final int[] newValues = ArrayUtils.newUnpaddedIntArray(newCapacity); in ensureCapacity() local
102 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
103 mValues = newValues; in ensureCapacity()
/frameworks/base/core/java/android/widget/
DArrayAdapter.java476 final ArrayList<T> newValues = new ArrayList<T>(); in performFiltering() local
484 newValues.add(value); in performFiltering()
492 newValues.add(value); in performFiltering()
499 results.values = newValues; in performFiltering()
500 results.count = newValues.size(); in performFiltering()
DSimpleAdapter.java343 ArrayList<Map<String, ?>> newValues = new ArrayList<Map<String, ?>>(count); in performFiltering() local
361 newValues.add(h); in performFiltering()
369 results.values = newValues; in performFiltering()
370 results.count = newValues.size(); in performFiltering()
/frameworks/base/core/java/android/transition/
DVisibility.java487 boolean areValuesChanged(TransitionValues oldValues, TransitionValues newValues) { in areValuesChanged() argument
488 if (oldValues == null && newValues == null) { in areValuesChanged()
491 if (oldValues != null && newValues != null && in areValuesChanged()
492 newValues.values.containsKey(PROPNAME_VISIBILITY) != in areValuesChanged()
498 VisibilityInfo changeInfo = getVisibilityChangeInfo(oldValues, newValues); in areValuesChanged()
DTransition.java734 TransitionValues newValues = endValues.viewValues.get(view); in createAnimators() local
735 if (newValues != null) { in createAnimators()
738 newValues.values.get(properties[j])); in createAnimators()
1765 boolean areValuesChanged(TransitionValues oldValues, TransitionValues newValues) { in areValuesChanged() argument
1769 if (oldValues != null && newValues != null) { in areValuesChanged()
1774 if (isValueChanged(oldValues, newValues, properties[i])) { in areValuesChanged()
1781 if (isValueChanged(oldValues, newValues, key)) { in areValuesChanged()
1791 private static boolean isValueChanged(TransitionValues oldValues, TransitionValues newValues, in isValueChanged() argument
1793 if (oldValues.values.containsKey(key) != newValues.values.containsKey(key)) { in isValueChanged()
1798 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.java1412 public static String[] appendSelectionArgs(String[] originalValues, String[] newValues) { in appendSelectionArgs() argument
1414 return newValues; in appendSelectionArgs()
1416 String[] result = new String[originalValues.length + newValues.length ]; in appendSelectionArgs()
1418 System.arraycopy(newValues, 0, result, originalValues.length, newValues.length); in appendSelectionArgs()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java983 int[] newValues = new int[availableFormat.length]; in setAvailableFormats() local
985 newValues[i] = availableFormat[i]; in setAvailableFormats()
987 newValues[i] = NATIVE_JPEG_FORMAT; in setAvailableFormats()
991 setBase(CameraCharacteristics.SCALER_AVAILABLE_FORMATS, newValues); in setAvailableFormats()
/frameworks/base/core/java/android/view/
DMotionEvent.java3498 float[] newValues = new float[count * 2]; in setAxisValue() local
3499 System.arraycopy(values, 0, newValues, 0, index); in setAxisValue()
3500 System.arraycopy(values, index, newValues, index + 1, in setAxisValue()
3502 values = newValues; in setAxisValue()