Searched refs:mValues (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix.java28 float mValues[] = new float[9]; field in class:Matrix
52 mValues = data;
66 tmp[0] = matrix[0] * mValues[0] + matrix[1] * mValues[3] + matrix[2] * mValues[6];
67 tmp[1] = matrix[0] * mValues[1] + matrix[1] * mValues[4] + matrix[2] * mValues[7];
68 tmp[2] = matrix[0] * mValues[2] + matrix[1] * mValues[
[all...]
/frameworks/base/core/java/android/content/
H A DContentValues.java36 private HashMap<String, Object> mValues; field in class:ContentValues
44 mValues = new HashMap<String, Object>(8);
53 mValues = new HashMap<String, Object>(size, 1.0f);
62 mValues = new HashMap<String, Object>(from.mValues);
73 mValues = values;
81 return mValues.equals(((ContentValues) object).mValues);
86 return mValues.hashCode();
96 mValues
[all...]
H A DContentProviderOperation.java44 private final ContentValues mValues; field in class:ContentProviderOperation
59 mValues = builder.mValues;
71 mValues = source.readInt() != 0 ? ContentValues.CREATOR.createFromParcel(source) : null;
93 if (mValues != null) {
95 mValues.writeToParcel(dest, 0);
278 * expansion of back references. This can be called if either mValues or mValuesBackReferences
286 return mValues;
289 if (mValues == null) {
292 values = new ContentValues(mValues);
404 private ContentValues mValues; field in class:ContentProviderOperation.Builder
[all...]
H A DContentQueryMap.java43 private Map<String, ContentValues> mValues = null; field in class:ContentQueryMap
126 return mValues.get(rowName);
140 int capacity = mValues != null ? mValues.size() : 0;
141 mValues = new HashMap<String, ContentValues>(capacity);
149 mValues.put(mCursor.getString(mKeyColumn), values);
155 return mValues;
H A DDefaultDataHandler.java84 private ContentValues mValues; field in class:DefaultDataHandler
128 Uri u = mContentResolver.insert(mUris.lastElement(), mValues);
129 mValues = null;
136 if (mValues != null) {
168 if (mValues == null) {
169 mValues = new ContentValues();
171 mValues.put(key, value);
205 if (mValues != null) {
H A DEntity.java34 final private ContentValues mValues; field in class:Entity
38 mValues = values;
43 return mValues;
/frameworks/base/core/java/android/util/
H A DSparseBooleanArray.java44 mValues = new boolean[initialCapacity];
66 return mValues[i];
78 System.arraycopy(mValues, i + 1, mValues, i, mSize - (i + 1));
92 mValues[i] = value;
104 System.arraycopy(mValues, 0, nvalues, 0, mValues.length);
107 mValues = nvalues;
113 System.arraycopy(mValues, i, mValues,
243 private boolean[] mValues; field in class:SparseBooleanArray
[all...]
H A DSparseIntArray.java43 mValues = new int[initialCapacity];
65 return mValues[i];
85 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
98 mValues[i] = value;
110 System.arraycopy(mValues, 0, nvalues, 0, mValues.length);
113 mValues = nvalues;
119 System.arraycopy(mValues, i, mValues,
249 private int[] mValues; field in class:SparseIntArray
[all...]
H A DLongSparseArray.java48 mValues = new Object[initialCapacity];
89 if (i < 0 || mValues[i] == DELETED) {
92 return (E) mValues[i];
103 if (mValues[i] != DELETED) {
104 mValues[i] = DELETED;
123 Object[] values = mValues;
153 mValues[i] = value;
157 if (i < mSize && mValues[i] == DELETED) {
159 mValues[i] = value;
178 System.arraycopy(mValues,
362 private Object[] mValues; field in class:LongSparseArray
[all...]
H A DSparseArray.java46 mValues = new Object[initialCapacity];
65 if (i < 0 || mValues[i] == DELETED) {
68 return (E) mValues[i];
79 if (mValues[i] != DELETED) {
80 mValues[i] = DELETED;
99 Object[] values = mValues;
129 mValues[i] = value;
133 if (i < mSize && mValues[i] == DELETED) {
135 mValues[i] = value;
154 System.arraycopy(mValues,
338 private Object[] mValues; field in class:SparseArray
[all...]
/frameworks/base/core/java/android/text/
H A DPackedObjectVector.java29 private Object[] mValues; field in class:PackedObjectVector
40 mValues = new Object[mRows * mColumns];
49 Object value = mValues[row * mColumns + column];
60 mValues[row * mColumns + column] = value;
118 System.arraycopy(mValues, 0, newvalues, 0, mColumns * mRowGapStart);
119 System.arraycopy(mValues, (mRows - after) * mColumns, newvalues, (newsize - after) * mColumns, after * mColumns);
123 mValues = newvalues;
142 Object val = mValues[i * mColumns + j];
144 mValues[destrow * mColumns + j] = val;
158 Object val = mValues[
[all...]
H A DPackedIntVector.java34 private int[] mValues; field in class:PackedIntVector
50 mValues = null;
77 int value = mValues[row * columns + column];
111 mValues[row * mColumns + column] = value;
132 mValues[row * mColumns + column] = value;
264 if (mValues != null) {
265 System.arraycopy(mValues, 0, newvalues, 0, columns * rowgapstart);
266 System.arraycopy(mValues, (mRows - after) * columns,
283 mValues = newvalues;
292 final int[] values = mValues;
[all...]
/frameworks/base/media/libmedia/
H A DMediaScannerClient.cpp29 mValues(NULL),
37 delete mValues;
62 mValues = new StringArray;
84 mValues->push_back(value);
159 uint8_t* src = (uint8_t *)mValues->getEntry(i);
173 const char* source = mValues->getEntry(i);
184 mValues->setEntry(i, "???");
188 mValues->setEntry(i, buffer);
207 encoding &= possibleEncodings(mValues->getEntry(i));
215 if (!handleStringTag(mNames->getEntry(i), mValues
[all...]
/frameworks/base/core/java/android/database/
H A DCursorJoiner.java53 private String[] mValues; field in class:CursorJoiner
95 mValues = new String[mColumnsLeft.length * 2];
167 populateValues(mValues, mCursorLeft, mColumnsLeft, 0 /* start filling at index 0 */);
168 populateValues(mValues, mCursorRight, mColumnsRight, 1 /* start filling at index 1 */);
169 switch (compareStrings(mValues)) {
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabasePerformanceTests.java909 ContentValues[] mValues = new ContentValues[SIZE]; field in class:DatabasePerformanceTests.Perf20Test
933 mValues[i] = b;
941 mDatabase.update("t1", mValues[i], where[i], null);
953 ContentValues[] mValues = new ContentValues[SIZE]; field in class:DatabasePerformanceTests.Perf21Test
976 mValues[i] = b;
983 mDatabase.update("t1", mValues[i], where[i], null);
994 ContentValues[] mValues = new ContentValues[SIZE]; field in class:DatabasePerformanceTests.Perf22Test
1008 mValues[i] = b;
1015 mDatabase.insert("t1", null, mValues[i]);
1026 ContentValues[] mValues field in class:DatabasePerformanceTests.Perf23Test
1059 ContentValues[] mValues = new ContentValues[SIZE]; field in class:DatabasePerformanceTests.Perf24Test
1091 ContentValues[] mValues = new ContentValues[SIZE]; field in class:DatabasePerformanceTests.Perf25Test
[all...]
H A DNewDatabasePerformanceTests.java801 ContentValues[] mValues = new ContentValues[SIZE]; field in class:NewDatabasePerformanceTests.UpdateIndexWhere1000
825 mValues[i] = b;
832 mDatabase.update("t1", mValues[i], where[i], null);
844 ContentValues[] mValues = new ContentValues[SIZE]; field in class:NewDatabasePerformanceTests.UpdateWhere1000
867 mValues[i] = b;
873 mDatabase.update("t1", mValues[i], where[i], null);
884 ContentValues[] mValues = new ContentValues[SIZE]; field in class:NewDatabasePerformanceTests.InsertInteger10000
898 mValues[i] = b;
904 mDatabase.insert("t1", null, mValues[i]);
915 ContentValues[] mValues field in class:NewDatabasePerformanceTests.InsertIntegerIndex10000
947 ContentValues[] mValues = new ContentValues[SIZE]; field in class:NewDatabasePerformanceTests.InsertString10000
978 ContentValues[] mValues = new ContentValues[SIZE]; field in class:NewDatabasePerformanceTests.InsertStringIndexed10000
[all...]
/frameworks/base/include/media/
H A Dmediascanner.h87 StringArray* mValues; member in class:android::MediaScannerClient
/frameworks/base/tools/aapt/
H A DBundle.h40 mWantUTF16(false), mValues(false),
83 bool getValues(void) const { return mValues; }
84 void setValues(bool val) { mValues = val; }
210 bool mValues; member in class:Bundle
H A DStringPool.cpp38 : mSorted(sorted), mUTF8(utf8), mValues(-1), mIdents(-1)
68 ssize_t vidx = mValues.indexOfKey(value);
69 ssize_t pos = vidx >= 0 ? mValues.valueAt(vidx) : -1;
83 vidx = mValues.add(value, pos);
147 return mSorted ? mValues.size() : mEntryArray.size();
155 return mEntries[mEntryArray[mValues.valueAt(idx)]];
406 ssize_t pos = mValues.valueFor(val);
H A DStringPool.h140 // Mapping from indices in mEntryArray to indices in mValues.
144 DefaultKeyedVector<String16, ssize_t> mValues; member in class:StringPool
/frameworks/base/core/java/android/provider/
H A DSettings.java568 // Must synchronize on 'this' to access mValues and mValuesVersion.
569 private final HashMap<String, String> mValues = new HashMap<String, String>(); field in class:Settings.NameValueCache
595 mValues.clear();
599 if (mValues.containsKey(name)) {
600 return mValues.get(name); // Could be null, that's OK -- negative caching
622 mValues.put(name, value);
645 mValues.put(name, value);
/frameworks/base/core/java/android/hardware/
H A DSensorManager.java1359 private float mValues[] = new float[6]; field in class:SensorManager.LegacyListener
1396 final float v[] = mValues;

Completed in 2088 milliseconds