Home
last modified time | relevance | path

Searched refs:mValues (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/core/java/android/content/
DContentValues.java36 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 …]
DContentProviderOperation.java45 private final ContentValues mValues; field in ContentProviderOperation
60 mValues = builder.mValues; in ContentProviderOperation()
72 mValues = source.readInt() != 0 ? ContentValues.CREATOR.createFromParcel(source) : null; in ContentProviderOperation()
99 mValues = cpo.mValues; in ContentProviderOperation()
119 if (mValues != null) { in writeToParcel()
121 mValues.writeToParcel(dest, 0); in writeToParcel()
313 return mValues; in resolveValueBackReferences()
316 if (mValues == null) { in resolveValueBackReferences()
319 values = new ContentValues(mValues); in resolveValueBackReferences()
370 ", mValues: " + mValues + in toString()
[all …]
DContentQueryMap.java43 private Map<String, ContentValues> mValues = null; field in ContentQueryMap
126 return mValues.get(rowName); in getValues()
150 int capacity = mValues != null ? mValues.size() : 0; in readCursorIntoCache()
151 mValues = new HashMap<String, ContentValues>(capacity); in readCursorIntoCache()
159 mValues.put(cursor.getString(mKeyColumn), values); in readCursorIntoCache()
165 return mValues; in getRows()
DDefaultDataHandler.java84 private ContentValues mValues; field in DefaultDataHandler
128 Uri u = mContentResolver.insert(mUris.lastElement(), mValues); in insertRow()
129 mValues = null; in insertRow()
136 if (mValues != null) { in startElement()
168 if (mValues == null) { in startElement()
169 mValues = new ContentValues(); in startElement()
171 mValues.put(key, value); in startElement()
205 if (mValues != null) { in endElement()
/frameworks/support/v4/java/android/support/v4/util/
DLongSparseArray.java48 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 …]
DSparseArrayCompat.java28 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/core/java/android/util/
DLongArray.java30 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 …]
DSparseArray.java57 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()
147 if (mValues[index] != DELETED) { in removeAt()
[all …]
DSparseBooleanArray.java64 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 …]
DLongSparseArray.java57 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 …]
DSparseLongArray.java47 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 …]
DSparseIntArray.java47 private int[] mValues; field in SparseIntArray
67 mValues = EmptyArray.INT; in SparseIntArray()
70 mValues = new int[mKeys.length]; in SparseIntArray()
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()
205 if (mValues[i] == value) in indexOfValue()
[all …]
DLongSparseLongArray.java49 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 …]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java52 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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DSparseWeakArray.java64 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/
DPositionMap.java30 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/base/core/java/android/text/
DPackedObjectVector.java32 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 …]
DPackedIntVector.java35 private int[] mValues; field in PackedIntVector
51 mValues = null; in PackedIntVector()
78 int value = mValues[row * columns + column]; in getValue()
112 mValues[row * mColumns + column] = value; in setValue()
133 mValues[row * mColumns + column] = value; in setValueInternal()
265 if (mValues != null) { in growBuffer()
266 System.arraycopy(mValues, 0, newvalues, 0, columns * rowgapstart); in growBuffer()
267 System.arraycopy(mValues, (mRows - after) * columns, in growBuffer()
284 mValues = newvalues; in growBuffer()
293 final int[] values = mValues; in moveValueGapTo()
[all …]
/frameworks/base/core/java/android/animation/
DObjectAnimator.java92 if (mValues != null) { in setPropertyName()
93 PropertyValuesHolder valuesHolder = mValues[0]; in setPropertyName()
114 if (mValues != null) { in setProperty()
115 PropertyValuesHolder valuesHolder = mValues[0]; in setProperty()
152 } else if (mValues != null && mValues.length > 0) { in getPropertyName()
153 for (int i = 0; i < mValues.length; ++i) { in getPropertyName()
159 propertyName += mValues[i].getPropertyName(); in getPropertyName()
709 if (mValues == null || mValues.length == 0) { in setIntValues()
724 if (mValues == null || mValues.length == 0) { in setFloatValues()
739 if (mValues == null || mValues.length == 0) { in setObjectValues()
[all …]
DValueAnimator.java214 PropertyValuesHolder[] mValues; field in ValueAnimator
373 if (mValues == null || mValues.length == 0) { in setIntValues()
376 PropertyValuesHolder valuesHolder = mValues[0]; in setIntValues()
401 if (mValues == null || mValues.length == 0) { in setFloatValues()
404 PropertyValuesHolder valuesHolder = mValues[0]; in setFloatValues()
433 if (mValues == null || mValues.length == 0) { in setObjectValues()
436 PropertyValuesHolder valuesHolder = mValues[0]; in setObjectValues()
453 mValues = values; in setValues()
472 return mValues; in getValues()
487 int numValues = mValues.length; in initAnimation()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DMotionSensorWTime.java41 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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DMotionSensor.java39 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/libs/hwui/
DInterpolator.cpp94 mValues = values; in LUTInterpolator()
99 delete mValues; in ~LUTInterpolator()
100 mValues = 0; in ~LUTInterpolator()
106 return mValues[mSize - 1]; in interpolate()
117 i1, i2, input, lutpos, mSize, mValues, ipart, weight); in interpolate()
119 float v1 = mValues[i1]; in interpolate()
120 float v2 = mValues[i2]; in interpolate()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptIntrinsicConvolve5x5.java26 private final float[] mValues = new float[25]; field in ScriptIntrinsicConvolve5x5
87 for (int ct=0; ct < mValues.length; ct++) { in setCoefficients()
88 mValues[ct] = v[ct]; in setCoefficients()
89 fp.addF32(mValues[ct]); in setCoefficients()
DScriptIntrinsicConvolve3x3.java26 private final float[] mValues = new float[9]; field in ScriptIntrinsicConvolve3x3
91 for (int ct=0; ct < mValues.length; ct++) { in setCoefficients()
92 mValues[ct] = v[ct]; in setCoefficients()
93 fp.addF32(mValues[ct]); in setCoefficients()

123