Home
last modified time | relevance | path

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

12

/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.java44 private final ContentValues mValues; field in ContentProviderOperation
59 mValues = builder.mValues; in ContentProviderOperation()
71 mValues = source.readInt() != 0 ? ContentValues.CREATOR.createFromParcel(source) : null; in ContentProviderOperation()
93 if (mValues != null) { in writeToParcel()
95 mValues.writeToParcel(dest, 0); in writeToParcel()
287 return mValues; in resolveValueBackReferences()
290 if (mValues == null) { in resolveValueBackReferences()
293 values = new ContentValues(mValues); in resolveValueBackReferences()
344 ", mValues: " + mValues + in toString()
406 private ContentValues mValues; field in ContentProviderOperation.Builder
[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()
DEntity.java34 final private ContentValues mValues; field in Entity
38 mValues = values; in Entity()
43 return mValues; in getEntityValues()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DSparseWeakArray.java64 mValues = new WeakReference[initialCapacity]; 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()
151 System.arraycopy(mValues, 0, nvalues, 0, newSize); in gc()
154 mValues = nvalues; in gc()
[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()
222 reset(d.mValues); in native_reset()
[all …]
/frameworks/base/core/java/android/util/
DSparseArray.java31 private Object[] mValues; field in SparseArray
50 mValues = new Object[initialCapacity]; in SparseArray()
61 clone.mValues = mValues.clone(); in clone()
84 if (i < 0 || mValues[i] == DELETED) { in get()
87 return (E) mValues[i]; in get()
98 if (mValues[i] != DELETED) { in delete()
99 mValues[i] = DELETED; in delete()
116 if (mValues[index] != DELETED) { in removeAt()
117 mValues[index] = DELETED; in removeAt()
128 Object[] values = mValues; in gc()
[all …]
DLongSparseArray.java31 private Object[] mValues; field in LongSparseArray
50 mValues = new Object[initialCapacity]; in LongSparseArray()
61 clone.mValues = mValues.clone(); in clone()
84 if (i < 0 || mValues[i] == DELETED) { in get()
87 return (E) mValues[i]; in get()
98 if (mValues[i] != DELETED) { in delete()
99 mValues[i] = DELETED; in delete()
116 if (mValues[index] != DELETED) { in removeAt()
117 mValues[index] = DELETED; in removeAt()
128 Object[] values = mValues; in gc()
[all …]
DSparseIntArray.java29 private int[] mValues; field in SparseIntArray
48 mValues = new int[initialCapacity]; in SparseIntArray()
58 clone.mValues = mValues.clone(); in clone()
83 return mValues[i]; in get()
103 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); in removeAt()
116 mValues[i] = value; in put()
128 System.arraycopy(mValues, 0, nvalues, 0, mValues.length); in put()
131 mValues = nvalues; in put()
137 System.arraycopy(mValues, i, mValues, i + 1, mSize - i); in put()
141 mValues[i] = value; in put()
[all …]
DSparseBooleanArray.java44 mValues = new boolean[initialCapacity]; in SparseBooleanArray()
54 clone.mValues = mValues.clone(); in clone()
79 return mValues[i]; in get()
91 System.arraycopy(mValues, i + 1, mValues, i, mSize - (i + 1)); in delete()
105 mValues[i] = value; in put()
117 System.arraycopy(mValues, 0, nvalues, 0, mValues.length); in put()
120 mValues = nvalues; in put()
126 System.arraycopy(mValues, i, mValues, i + 1, mSize - i); in put()
130 mValues[i] = value; in put()
158 return mValues[index]; in valueAt()
[all …]
DSparseLongArray.java31 private long[] mValues; field in SparseLongArray
50 mValues = new long[initialCapacity]; in SparseLongArray()
60 clone.mValues = mValues.clone(); in clone()
85 return mValues[i]; in get()
105 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); in removeAt()
118 mValues[i] = value; in put()
128 System.arraycopy(mValues, i, mValues, i + 1, mSize - i); in put()
132 mValues[i] = value; in put()
160 return mValues[index]; in valueAt()
182 if (mValues[i] == value) in indexOfValue()
[all …]
/frameworks/support/v4/java/android/support/v4/util/
DLongSparseArray.java29 private Object[] mValues; field in LongSparseArray
48 mValues = new Object[initialCapacity]; in LongSparseArray()
59 clone.mValues = mValues.clone(); in clone()
82 if (i < 0 || mValues[i] == DELETED) { in get()
85 return (E) mValues[i]; in get()
96 if (mValues[i] != DELETED) { in delete()
97 mValues[i] = DELETED; in delete()
114 if (mValues[index] != DELETED) { in removeAt()
115 mValues[index] = DELETED; in removeAt()
126 Object[] values = mValues; in gc()
[all …]
DSparseArrayCompat.java43 mValues = new Object[initialCapacity]; in SparseArrayCompat()
62 if (i < 0 || mValues[i] == DELETED) { in get()
65 return (E) mValues[i]; in get()
76 if (mValues[i] != DELETED) { in delete()
77 mValues[i] = DELETED; in delete()
94 if (mValues[index] != DELETED) { in removeAt()
95 mValues[index] = DELETED; in removeAt()
119 Object[] values = mValues; in gc()
149 mValues[i] = value; in put()
153 if (i < mSize && mValues[i] == DELETED) { in put()
[all …]
/frameworks/base/core/java/android/animation/
DObjectAnimator.java81 if (mValues != null) { in setPropertyName()
82 PropertyValuesHolder valuesHolder = mValues[0]; in setPropertyName()
103 if (mValues != null) { in setProperty()
104 PropertyValuesHolder valuesHolder = mValues[0]; in setProperty()
315 if (mValues == null || mValues.length == 0) { in setIntValues()
330 if (mValues == null || mValues.length == 0) { in setFloatValues()
345 if (mValues == null || mValues.length == 0) { in setObjectValues()
362 for (int i = 0; i < mValues.length; ++i) { in start()
363 PropertyValuesHolder pvh = mValues[i]; in start()
390 int numValues = mValues.length; in initAnimation()
[all …]
DValueAnimator.java198 PropertyValuesHolder[] mValues; field in ValueAnimator
332 if (mValues == null || mValues.length == 0) { in setIntValues()
335 PropertyValuesHolder valuesHolder = mValues[0]; in setIntValues()
360 if (mValues == null || mValues.length == 0) { in setFloatValues()
363 PropertyValuesHolder valuesHolder = mValues[0]; in setFloatValues()
392 if (mValues == null || mValues.length == 0) { in setObjectValues()
396 PropertyValuesHolder valuesHolder = mValues[0]; in setObjectValues()
413 mValues = values; in setValues()
432 return mValues; in getValues()
447 int numValues = mValues.length; in initAnimation()
[all …]
/frameworks/base/core/java/android/text/
DPackedObjectVector.java29 private Object[] mValues; field in PackedObjectVector
40 mValues = new Object[mRows * mColumns]; in PackedObjectVector()
49 Object value = mValues[row * mColumns + column]; in getValue()
60 mValues[row * mColumns + column] = value; in setValue()
118 System.arraycopy(mValues, 0, newvalues, 0, mColumns * mRowGapStart); in growBuffer()
119 …System.arraycopy(mValues, (mRows - after) * mColumns, newvalues, (newsize - after) * mColumns, aft… in growBuffer()
123 mValues = newvalues; in growBuffer()
142 Object val = mValues[i * mColumns + j]; in moveRowGapTo()
144 mValues[destrow * mColumns + j] = val; in moveRowGapTo()
158 Object val = mValues[i * mColumns + j]; in moveRowGapTo()
[all …]
DPackedIntVector.java34 private int[] mValues; field in PackedIntVector
50 mValues = null; in PackedIntVector()
77 int value = mValues[row * columns + column]; in getValue()
111 mValues[row * mColumns + column] = value; in setValue()
132 mValues[row * mColumns + column] = value; in setValueInternal()
264 if (mValues != null) { in growBuffer()
265 System.arraycopy(mValues, 0, newvalues, 0, columns * rowgapstart); in growBuffer()
266 System.arraycopy(mValues, (mRows - after) * columns, in growBuffer()
283 mValues = newvalues; in growBuffer()
292 final int[] values = mValues; in moveValueGapTo()
[all …]
/frameworks/av/media/libmedia/
DMediaScannerClient.cpp29 mValues(NULL), in MediaScannerClient()
37 delete mValues; in ~MediaScannerClient()
62 mValues = new StringArray; in beginFile()
84 mValues->push_back(value); in addStringTag()
159 uint8_t* src = (uint8_t *)mValues->getEntry(i); in convertValues()
173 const char* source = mValues->getEntry(i); in convertValues()
185 mValues->setEntry(i, "???"); in convertValues()
189 mValues->setEntry(i, buffer); in convertValues()
208 encoding &= possibleEncodings(mValues->getEntry(i)); in endFile()
216 status_t status = handleStringTag(mNames->getEntry(i), mValues->getEntry(i)); in endFile()
[all …]
/frameworks/base/core/java/android/preference/
DMultiSelectListPreference.java44 private Set<String> mValues = new HashSet<String>(); field in MultiSelectListPreference
128 mValues.clear(); in setValues()
129 mValues.addAll(values); in setValues()
138 return mValues; in getValues()
180 mNewValues.addAll(mValues); in onPrepareDialogBuilder()
186 final Set<String> values = mValues; in getSelectedItems()
224 setValues(restoreValue ? getPersistedStringSet(mValues) : (Set<String>) defaultValue); in onSetInitialValue()
/frameworks/base/core/java/android/database/
DCursorJoiner.java53 private String[] mValues; field in CursorJoiner
95 mValues = new String[mColumnsLeft.length * 2]; in CursorJoiner()
167 populateValues(mValues, mCursorLeft, mColumnsLeft, 0 /* start filling at index 0 */); in next()
168 populateValues(mValues, mCursorRight, mColumnsRight, 1 /* start filling at index 1 */); in next()
169 switch (compareStrings(mValues)) { in next()
/frameworks/base/core/tests/coretests/src/android/database/
DNewDatabasePerformanceTests.java794 ContentValues[] mValues = new ContentValues[SIZE]; field in NewDatabasePerformanceTests.UpdateIndexWhere1000
818 mValues[i] = b; in setUp()
825 mDatabase.update("t1", mValues[i], where[i], null); in testRun()
837 ContentValues[] mValues = new ContentValues[SIZE]; field in NewDatabasePerformanceTests.UpdateWhere1000
860 mValues[i] = b; in setUp()
866 mDatabase.update("t1", mValues[i], where[i], null); in testRun()
877 ContentValues[] mValues = new ContentValues[SIZE]; field in NewDatabasePerformanceTests.InsertInteger10000
891 mValues[i] = b; in setUp()
897 mDatabase.insert("t1", null, mValues[i]); in testRun()
908 ContentValues[] mValues = new ContentValues[SIZE]; field in NewDatabasePerformanceTests.InsertIntegerIndex10000
[all …]
DDatabasePerformanceTests.java910 ContentValues[] mValues = new ContentValues[SIZE]; field in DatabasePerformanceTests.Perf20Test
934 mValues[i] = b; in setUp()
942 mDatabase.update("t1", mValues[i], where[i], null); in run()
954 ContentValues[] mValues = new ContentValues[SIZE]; field in DatabasePerformanceTests.Perf21Test
977 mValues[i] = b; in setUp()
984 mDatabase.update("t1", mValues[i], where[i], null); in run()
995 ContentValues[] mValues = new ContentValues[SIZE]; field in DatabasePerformanceTests.Perf22Test
1009 mValues[i] = b; in setUp()
1016 mDatabase.insert("t1", null, mValues[i]); in run()
1027 ContentValues[] mValues = new ContentValues[SIZE]; field in DatabasePerformanceTests.Perf23Test
[all …]
/frameworks/base/tools/aapt/
DBundle.h53 mWantUTF16(false), mValues(false), in Bundle()
98 bool getValues(void) const { return mValues; } in getValues()
99 void setValues(bool val) { mValues = val; } in setValues()
247 bool mValues; variable
DStringPool.cpp105 mUTF8(utf8), mValues(-1) in StringPool()
122 ssize_t vidx = mValues.indexOfKey(value); in add()
123 ssize_t pos = vidx >= 0 ? mValues.valueAt(vidx) : -1; in add()
170 vidx = mValues.add(value, pos); in add()
329 mValues.clear(); in sortByConfig()
332 mValues.add(ent.value, ent.indices[0]); in sortByConfig()
569 ssize_t pos = mValues.valueFor(val); in offsetsForString()

12