/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | SparseWeakArray.java | 64 mValues = new WeakReference[initialCapacity]; 83 if (i < 0 || mValues[i] == DELETED || mValues[i].get() == null) { 86 return (E) mValues[i].get(); 97 if (mValues[i] != DELETED) { 98 mValues[i] = DELETED; 115 if (mValues[index] != DELETED) { 116 mValues[index] = DELETED; 125 WeakReference<?>[] values = mValues; 151 System.arraycopy(mValues, 374 private WeakReference<?>[] mValues; field in class:SparseWeakArray [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentValues.java | 36 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 D | ContentProviderOperation.java | 44 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); 281 * expansion of back references. This can be called if either mValues or mValuesBackReferences 287 return mValues; 290 if (mValues == null) { 293 values = new ContentValues(mValues); 406 private ContentValues mValues; field in class:ContentProviderOperation.Builder [all...] |
H A D | ContentQueryMap.java | 43 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 D | DefaultDataHandler.java | 84 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 D | Entity.java | 34 final private ContentValues mValues; field in class:Entity 38 mValues = values; 43 return mValues;
|
/frameworks/base/core/java/android/util/ |
H A D | SparseBooleanArray.java | 44 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 D | SparseIntArray.java | 43 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 D | SparseArray.java | 46 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; 98 if (mValues[index] != DELETED) { 99 mValues[index] = DELETED; 110 Object[] values = mValues; 140 mValues[i] = value; 144 if (i < mSize && mValues[ 349 private Object[] mValues; field in class:SparseArray [all...] |
H A D | LongSparseArray.java | 48 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...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix_Delegate.java | 52 private float mValues[] = new float[MATRIX_SIZE]; field in class:Matrix_Delegate 85 System.arraycopy(matrix.mValues, 0, mValues, 0, MATRIX_SIZE); 93 System.arraycopy(values, 0, mValues, 0, MATRIX_SIZE); 100 reset(mValues); 109 if (mValues[k] != ((i==j) ? 1 : 0)) { 165 return getAffineTransform(mValues); 169 return (mValues[6] != 0 || mValues[7] != 0 || mValues[ [all...] |
/frameworks/base/core/java/android/text/ |
H A D | PackedObjectVector.java | 29 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 D | PackedIntVector.java | 34 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 D | MediaScannerClient.cpp | 29 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 D | CursorJoiner.java | 53 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 D | DatabasePerformanceTests.java | 909 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 D | NewDatabasePerformanceTests.java | 801 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 D | mediascanner.h | 87 StringArray* mValues; member in class:android::MediaScannerClient
|
/frameworks/base/tools/aapt/ |
H A D | Bundle.h | 40 mWantUTF16(false), mValues(false), 83 bool getValues(void) const { return mValues; } 84 void setValues(bool val) { mValues = val; } 214 bool mValues; member in class:Bundle
|
H A D | StringPool.cpp | 38 : 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 D | StringPool.h | 140 // 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 D | Settings.java | 597 // Must synchronize on 'this' to access mValues and mValuesVersion. 598 private final HashMap<String, String> mValues = new HashMap<String, String>(); field in class:Settings.NameValueCache 624 mValues.clear(); 628 if (mValues.containsKey(name)) { 629 return mValues.get(name); // Could be null, that's OK -- negative caching 651 mValues.put(name, value); 674 mValues.put(name, value);
|
/frameworks/base/core/java/android/hardware/ |
H A D | SensorManager.java | 1653 private float mValues[] = new float[6]; field in class:SensorManager.LegacyListener 1690 final float v[] = mValues;
|