/frameworks/base/core/java/android/content/ |
D | ContentValues.java | 36 private HashMap<String, Object> mValues; field in ContentValues 44 mValues = new HashMap<String, Object>(8); in ContentValues() 53 mValues = new HashMap<String, Object>(size, 1.0f); in ContentValues() 62 mValues = new HashMap<String, Object>(from.mValues); in ContentValues() 73 mValues = values; in ContentValues() 81 return mValues.equals(((ContentValues) object).mValues); in equals() 86 return mValues.hashCode(); in hashCode() 96 mValues.put(key, value); in put() 105 mValues.putAll(other.mValues); in putAll() 115 mValues.put(key, value); in put() [all …]
|
D | ContentProviderOperation.java | 50 private final ContentValues mValues; field in ContentProviderOperation 65 mValues = builder.mValues; in ContentProviderOperation() 77 mValues = source.readInt() != 0 ? ContentValues.CREATOR.createFromParcel(source) : null; in ContentProviderOperation() 104 mValues = cpo.mValues; in ContentProviderOperation() 124 if (mValues != null) { in writeToParcel() 126 mValues.writeToParcel(dest, 0); in writeToParcel() 375 return mValues; in resolveValueBackReferences() 378 if (mValues == null) { in resolveValueBackReferences() 381 values = new ContentValues(mValues); in resolveValueBackReferences() 432 ", mValues: " + mValues + in toString() [all …]
|
/frameworks/base/core/java/android/util/ |
D | IntArray.java | 32 private int[] mValues; field in IntArray 47 mValues = EmptyArray.INT; in IntArray() 49 mValues = ArrayUtils.newUnpaddedIntArray(initialCapacity); in IntArray() 74 System.arraycopy(mValues, index, mValues, index + 1, mSize - index); in add() 77 mValues[index] = value; in add() 96 return ContainerHelpers.binarySearch(mValues, mSize, value); in binarySearch() 106 System.arraycopy(values.mValues, 0, mValues, mSize, count); in addAll() 116 if (minCapacity >= mValues.length) { in ensureCapacity() 121 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity() 122 mValues = newValues; in ensureCapacity() [all …]
|
D | LongArray.java | 30 private long[] mValues; field in LongArray 45 mValues = EmptyArray.LONG; in LongArray() 47 mValues = ArrayUtils.newUnpaddedLongArray(initialCapacity); in LongArray() 72 System.arraycopy(mValues, index, mValues, index + 1, mSize - index); in add() 75 mValues[index] = value; in add() 86 System.arraycopy(values.mValues, 0, mValues, mSize, count); in addAll() 96 if (minCapacity >= mValues.length) { in ensureCapacity() 101 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity() 102 mValues = newValues; in ensureCapacity() 118 clone.mValues = mValues.clone(); in clone() [all …]
|
D | SparseArray.java | 57 private Object[] mValues; field in SparseArray 77 mValues = EmptyArray.OBJECT; in SparseArray() 79 mValues = ArrayUtils.newUnpaddedObjectArray(initialCapacity); in SparseArray() 80 mKeys = new int[mValues.length]; in SparseArray() 92 clone.mValues = mValues.clone(); in clone() 115 if (i < 0 || mValues[i] == DELETED) { in get() 118 return (E) mValues[i]; in get() 129 if (mValues[i] != DELETED) { in delete() 130 mValues[i] = DELETED; in delete() 144 if (mValues[i] != DELETED) { in removeReturnOld() [all …]
|
D | SparseBooleanArray.java | 64 mValues = EmptyArray.BOOLEAN; in SparseBooleanArray() 67 mValues = new boolean[mKeys.length]; in SparseBooleanArray() 78 clone.mValues = mValues.clone(); in clone() 103 return mValues[i]; in get() 115 System.arraycopy(mValues, i + 1, mValues, i, mSize - (i + 1)); in delete() 123 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); in removeAt() 136 mValues[i] = value; in put() 141 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value); in put() 180 return mValues[index]; in valueAt() 185 mValues[index] = value; in setValueAt() [all …]
|
D | LongSparseArray.java | 57 private Object[] mValues; field in LongSparseArray 77 mValues = EmptyArray.OBJECT; in LongSparseArray() 80 mValues = ArrayUtils.newUnpaddedObjectArray(initialCapacity); in LongSparseArray() 92 clone.mValues = mValues.clone(); in clone() 115 if (i < 0 || mValues[i] == DELETED) { in get() 118 return (E) mValues[i]; in get() 129 if (mValues[i] != DELETED) { in delete() 130 mValues[i] = DELETED; in delete() 147 if (mValues[index] != DELETED) { in removeAt() 148 mValues[index] = DELETED; in removeAt() [all …]
|
D | SparseLongArray.java | 47 private long[] mValues; field in SparseLongArray 67 mValues = EmptyArray.LONG; in SparseLongArray() 69 mValues = ArrayUtils.newUnpaddedLongArray(initialCapacity); in SparseLongArray() 70 mKeys = new int[mValues.length]; in SparseLongArray() 81 clone.mValues = mValues.clone(); in clone() 106 return mValues[i]; in get() 126 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); in removeAt() 139 mValues[i] = value; in put() 144 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value); in put() 183 return mValues[index]; in valueAt() [all …]
|
D | SparseIntArray.java | 49 private int[] mValues; field in SparseIntArray 69 mValues = EmptyArray.INT; in SparseIntArray() 72 mValues = new int[mKeys.length]; in SparseIntArray() 83 clone.mValues = mValues.clone(); in clone() 108 return mValues[i]; in get() 128 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); in removeAt() 141 mValues[i] = value; in put() 146 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value); in put() 185 return mValues[index]; in valueAt() 193 mValues[index] = value; in setValueAt() [all …]
|
D | LongSparseLongArray.java | 49 private long[] mValues; field in LongSparseLongArray 69 mValues = EmptyArray.LONG; in LongSparseLongArray() 72 mValues = new long[mKeys.length]; in LongSparseLongArray() 83 clone.mValues = mValues.clone(); in clone() 108 return mValues[i]; in get() 128 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); in removeAt() 141 mValues[i] = value; in put() 146 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value); in put() 185 return mValues[index]; in valueAt() 207 if (mValues[i] == value) in indexOfValue() [all …]
|
D | KeyValueListParser.java | 27 private final ArrayMap<String, String> mValues = new ArrayMap<>(); field in KeyValueListParser 50 mValues.clear(); in setString() 56 mValues.clear(); in setString() 60 mValues.put(pair.substring(0, sep).trim(), pair.substring(sep + 1).trim()); in setString() 72 String value = mValues.get(key); in getInt() 90 String value = mValues.get(key); in getLong() 108 String value = mValues.get(key); in getFloat() 126 String value = mValues.get(key); in getString()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Matrix_Delegate.java | 52 private float mValues[] = new float[MATRIX_SIZE]; field in Matrix_Delegate 85 System.arraycopy(matrix.mValues, 0, mValues, 0, MATRIX_SIZE); in set() 93 System.arraycopy(values, 0, mValues, 0, MATRIX_SIZE); in set() 100 reset(mValues); in reset() 109 if (mValues[k] != ((i==j) ? 1 : 0)) { in isIdentity() 165 return getAffineTransform(mValues); in getAffineTransform() 169 return (mValues[6] != 0 || mValues[7] != 0 || mValues[8] != 1); in hasPerspective() 186 oldDelegate.mValues, 0, in native_create() 187 newDelegate.mValues, 0, in native_create() 232 reset(d.mValues); in native_reset() [all …]
|
/frameworks/support/compat/java/android/support/v4/util/ |
D | LongSparseArray.java | 48 private Object[] mValues; field in LongSparseArray 68 mValues = ContainerHelpers.EMPTY_OBJECTS; in LongSparseArray() 72 mValues = new Object[initialCapacity]; in LongSparseArray() 84 clone.mValues = mValues.clone(); in clone() 107 if (i < 0 || mValues[i] == DELETED) { in get() 110 return (E) mValues[i]; in get() 121 if (mValues[i] != DELETED) { in delete() 122 mValues[i] = DELETED; in delete() 139 if (mValues[index] != DELETED) { in removeAt() 140 mValues[index] = DELETED; in removeAt() [all …]
|
D | SparseArrayCompat.java | 28 private Object[] mValues; field in SparseArrayCompat 48 mValues = ContainerHelpers.EMPTY_OBJECTS; in SparseArrayCompat() 52 mValues = new Object[initialCapacity]; in SparseArrayCompat() 64 clone.mValues = mValues.clone(); in clone() 87 if (i < 0 || mValues[i] == DELETED) { in get() 90 return (E) mValues[i]; in get() 101 if (mValues[i] != DELETED) { in delete() 102 mValues[i] = DELETED; in delete() 119 if (mValues[index] != DELETED) { in removeAt() 120 mValues[index] = DELETED; in removeAt() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | SparseWeakArray.java | 64 mValues = new WeakReference[mKeys.length]; in SparseWeakArray() 83 if (i < 0 || mValues[i] == DELETED || mValues[i].get() == null) { in get() 86 return (E) mValues[i].get(); in get() 97 if (mValues[i] != DELETED) { in delete() 98 mValues[i] = DELETED; in delete() 115 if (mValues[index] != DELETED) { in removeAt() 116 mValues[index] = DELETED; in removeAt() 125 WeakReference<?>[] values = mValues; in gc() 155 mValues[i] = new WeakReference(value); in put() 159 if (i < mSize && (mValues[i] == DELETED || mValues[i].get() == null)) { in put() [all …]
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | PositionMap.java | 30 private Object[] mValues; field in PositionMap 50 mValues = ContainerHelpers.EMPTY_OBJECTS; in PositionMap() 54 mValues = new Object[initialCapacity]; in PositionMap() 66 clone.mValues = mValues.clone(); in clone() 89 if (i < 0 || mValues[i] == DELETED) { in get() 92 return (E) mValues[i]; in get() 103 if (mValues[i] != DELETED) { in delete() 104 mValues[i] = DELETED; in delete() 121 if (mValues[index] != DELETED) { in removeAt() 122 mValues[index] = DELETED; in removeAt() [all …]
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/ |
D | SimpleStringAdapter.java | 34 private List<String> mValues; field in SimpleStringAdapter 52 return mValues.get(position); in getValueAt() 62 mValues = new ArrayList<String>(); in SimpleStringAdapter() 63 Collections.addAll(mValues, strings); in SimpleStringAdapter() 67 String tmp = mValues.get(pos1); in swap() 68 mValues.set(pos1, mValues.get(pos2)); in swap() 69 mValues.set(pos2, tmp); in swap() 94 holder.mBoundString = mValues.get(position); in onBindViewHolder() 95 holder.mTextView.setText(position + ":" + mValues.get(position)); in onBindViewHolder() 96 holder.mTextView.setMinHeight((200 + mValues.get(position).length() * 10)); in onBindViewHolder() [all …]
|
/frameworks/support/core-ui/java/android/support/v4/view/animation/ |
D | LookupTableInterpolator.java | 27 private final float[] mValues; field in LookupTableInterpolator 31 mValues = values; in LookupTableInterpolator() 32 mStepSize = 1f / (mValues.length - 1); in LookupTableInterpolator() 46 int position = Math.min((int) (input * (mValues.length - 1)), mValues.length - 2); in getInterpolation() 54 return mValues[position] + weight * (mValues[position + 1] - mValues[position]); in getInterpolation()
|
/frameworks/base/core/java/android/text/ |
D | PackedObjectVector.java | 32 private Object[] mValues; field in PackedObjectVector 38 mValues = EmptyArray.OBJECT; in PackedObjectVector() 51 Object value = mValues[row * mColumns + column]; in getValue() 62 mValues[row * mColumns + column] = value; in setValue() 119 System.arraycopy(mValues, 0, newvalues, 0, mColumns * mRowGapStart); in growBuffer() 120 …System.arraycopy(mValues, (mRows - after) * mColumns, newvalues, (newsize - after) * mColumns, aft… in growBuffer() 124 mValues = newvalues; in growBuffer() 143 Object val = mValues[i * mColumns + j]; in moveRowGapTo() 145 mValues[destrow * mColumns + j] = val; in moveRowGapTo() 159 Object val = mValues[i * mColumns + j]; in moveRowGapTo() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | ObjectAnimator.java | 117 if (mValues != null) { in setPropertyName() 118 PropertyValuesHolder valuesHolder = mValues[0]; in setPropertyName() 139 if (mValues != null) { in setProperty() 140 PropertyValuesHolder valuesHolder = mValues[0]; in setProperty() 177 } else if (mValues != null && mValues.length > 0) { in getPropertyName() 178 for (int i = 0; i < mValues.length; ++i) { in getPropertyName() 184 propertyName += mValues[i].getPropertyName(); in getPropertyName() 762 if (mValues == null || mValues.length == 0) { in setIntValues() 777 if (mValues == null || mValues.length == 0) { in setFloatValues() 792 if (mValues == null || mValues.length == 0) { in setObjectValues() [all …]
|
D | ValueAnimator.java | 228 PropertyValuesHolder[] mValues; field in ValueAnimator 396 if (mValues == null || mValues.length == 0) { in setIntValues() 399 PropertyValuesHolder valuesHolder = mValues[0]; in setIntValues() 424 if (mValues == null || mValues.length == 0) { in setFloatValues() 427 PropertyValuesHolder valuesHolder = mValues[0]; in setFloatValues() 461 if (mValues == null || mValues.length == 0) { in setObjectValues() 464 PropertyValuesHolder valuesHolder = mValues[0]; in setObjectValues() 481 mValues = values; in setValues() 500 return mValues; in getValues() 516 int numValues = mValues.length; in initAnimation() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | MotionSensorWTime.java | 41 private float[] mValues = new float[3]; field in MotionSensorWTime 80 synchronized(mValues) { in onSensorChanged() 81 mValues[0] = event.values[0]; in onSensorChanged() 82 mValues[1] = event.values[1]; in onSensorChanged() 83 mValues[2] = event.values[2]; in onSensorChanged() 91 synchronized(mValues) { in onProcess() 93 mTemp[0][mCounter] = mValues[0]; in onProcess() 94 mTemp[1][mCounter] = mValues[1]; in onProcess() 95 mTemp[2][mCounter] = mValues[2]; in onProcess()
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | CastTest.java | 26 ArrayList<String> mValues = new ArrayList<>(); field in CastTest 36 mValues.clear(); in testCast() 37 mValues.add("hello"); in testCast() 38 mValues.add("world"); in testCast() 39 mValues.add("not seen"); in testCast() 43 mBinder.setList(mValues); in testCast()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | MotionSensor.java | 39 private float[] mValues = new float[3]; field in MotionSensor 74 synchronized(mValues) { in onSensorChanged() 75 mValues[0] = event.values[0]; in onSensorChanged() 76 mValues[1] = event.values[1]; in onSensorChanged() 77 mValues[2] = event.values[2]; in onSensorChanged() 85 synchronized(mValues) { in onProcess() 86 outFrame.setValues(mValues); in onProcess()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | TouchAnimator.java | 124 private List<KeyframeSet> mValues = new ArrayList<>(); field in TouchAnimator.Builder 143 mValues.add(keyframeSet); in add() 197 mValues.toArray(new KeyframeSet[mValues.size()]), in build() 231 private final float[] mValues; field in TouchAnimator.FloatKeyframeSet 237 mValues = values; in FloatKeyframeSet() 242 float firstFloat = mValues[index - 1]; in interpolate() 243 float secondFloat = mValues[index]; in interpolate() 249 private final int[] mValues; field in TouchAnimator.IntKeyframeSet 255 mValues = values; in IntKeyframeSet() 260 int firstFloat = mValues[index - 1]; in interpolate() [all …]
|