/frameworks/base/core/java/android/content/ |
ContentProviderOperation.java | 50 private final ContentValues mValues; 65 mValues = builder.mValues; 77 mValues = source.readInt() != 0 ? ContentValues.CREATOR.createFromParcel(source) : null; 104 mValues = cpo.mValues; 124 if (mValues != null) { 126 mValues.writeToParcel(dest, 0); 369 * expansion of back references. This can be called if either mValues or mValuesBackReferences 375 return mValues; [all...] |
ContentQueryMap.java | 43 private Map<String, ContentValues> mValues = null; 126 return mValues.get(rowName); 150 int capacity = mValues != null ? mValues.size() : 0; 151 mValues = new HashMap<String, ContentValues>(capacity); 159 mValues.put(cursor.getString(mKeyColumn), values); 165 return mValues;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
RawContactDelta.java | 67 private ValuesDelta mValues; 85 mValues = values; 94 rawContactDelta.mValues = ValuesDelta.fromBefore(before.getValues()); 95 rawContactDelta.mValues.setIdColumn(RawContacts._ID); 110 final ValuesDelta remoteValues = remote.mValues; 117 final Long localVersion = (local.mValues == null) ? null : local.mValues 119 final Long remoteVersion = remote.mValues.getAsLong(RawContacts.VERSION); 125 local.mValues = ValuesDelta.mergeAfter(local.mValues, remote.mValues) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
SearchIndexManager.java | 242 private ContentValues mValues = new ContentValues(); 394 mValues.clear(); 395 mValues.put(SearchIndexColumns.CONTENT, builder.getContent()); 396 mValues.put(SearchIndexColumns.NAME, builder.getName()); 397 mValues.put(SearchIndexColumns.TOKENS, builder.getTokens()); 398 mValues.put(SearchIndexColumns.CONTACT_ID, contactId); 399 db.insert(Tables.SEARCH_INDEX, null, mValues);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
ProjectNamePage.java | 70 private final NewProjectWizardState mValues; 101 mValues = values; 129 if (mValues.mode != Mode.TEST) { 176 if (mValues.projectName != null) { 177 mProjectNameText.setText(mValues.projectName); 180 if (mValues.mode == Mode.ANY || mValues.mode == Mode.TEST) { 181 if (mValues.useExisting) { 186 } else if (mValues.mode == Mode.SAMPLE) { 189 if (mValues.projectLocation != null) [all...] |
NewProjectWizard.java | 48 private NewProjectWizardState mValues; 78 mValues = new NewProjectWizardState(mMode); 81 mNamePage = new ProjectNamePage(mValues); 91 addPage(new TestTargetPage(mValues)); 94 mSdkPage = new SdkSelectionPage(mValues); 100 mSamplePage = new SampleSelectionPage(mValues); 106 mPropertiesPage = new ApplicationInfoPage(mValues); 136 NewProjectCreator creator = new NewProjectCreator(mValues, getContainer()); 151 if (mValues.mode != Mode.TEST) { 155 if (mValues.mode == Mode.SAMPLE) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
NewProjectWizard.java | 91 private NewProjectWizardState mValues; 101 mValues = new NewProjectWizardState(); 102 mMainPage = new NewProjectPage(mValues); 103 mContentsPage = new ProjectContentsPage(mValues); 105 mActivityPage = new ActivityPage(mValues, true, true); 124 if (mValues.createIcon) { 126 CreateAssetSetWizardState iconState = mValues.iconState; 145 WizardPage p = getIconPage(mValues.iconState); 149 if (mValues.createActivity) { 161 if (page == mActivityPage && mValues.createActivity) [all...] |
NewActivityWizard.java | 55 private NewProjectWizardState mValues; 75 mValues = new NewProjectWizardState(); 76 mActivityPage = new ActivityPage(mValues, mOnlyActivities, false); 78 mActivityValues = mValues.activityValues;
|
/external/smali/util/src/main/java/org/jf/util/ |
SparseArray.java | 61 mValues = new Object[initialCapacity]; 80 if (i < 0 || mValues[i] == DELETED) { 83 return (E) mValues[i]; 94 if (mValues[i] != DELETED) { 95 mValues[i] = DELETED; 114 Object[] values = mValues; 144 mValues[i] = value; 148 if (i < mSize && mValues[i] == DELETED) { 150 mValues[i] = value; 169 System.arraycopy(mValues, 0, nvalues, 0, mValues.length) [all...] |
SparseIntArray.java | 54 mValues = new int[initialCapacity]; 76 return mValues[i]; 92 return mValues[i]; 94 return mValues[i]; 114 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); 127 mValues[i] = value; 139 System.arraycopy(mValues, 0, nvalues, 0, mValues.length); 142 mValues = nvalues [all...] |
/frameworks/base/core/java/android/database/ |
CursorJoiner.java | 53 private String[] mValues; 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/java/android/text/ |
PackedIntVector.java | 35 private int[] mValues; 51 mValues = null; 78 int value = mValues[row * columns + column]; 112 mValues[row * mColumns + column] = value; 133 mValues[row * mColumns + column] = value; 265 if (mValues != null) { 266 System.arraycopy(mValues, 0, newvalues, 0, columns * rowgapstart); 267 System.arraycopy(mValues, (mRows - after) * columns, 284 mValues = newvalues; 293 final int[] values = mValues; [all...] |
/frameworks/base/core/java/android/util/ |
LongSparseArray.java | 57 private Object[] mValues; 77 mValues = EmptyArray.OBJECT; 80 mValues = ArrayUtils.newUnpaddedObjectArray(initialCapacity); 92 clone.mValues = mValues.clone(); 115 if (i < 0 || mValues[i] == DELETED) { 118 return (E) mValues[i]; 129 if (mValues[i] != DELETED) { 130 mValues[i] = DELETED; 147 if (mValues[index] != DELETED) [all...] |
SparseArray.java | 57 private Object[] mValues; 77 mValues = EmptyArray.OBJECT; 79 mValues = ArrayUtils.newUnpaddedObjectArray(initialCapacity); 80 mKeys = new int[mValues.length]; 92 clone.mValues = mValues.clone(); 115 if (i < 0 || mValues[i] == DELETED) { 118 return (E) mValues[i]; 129 if (mValues[i] != DELETED) { 130 mValues[i] = DELETED [all...] |
SparseBooleanArray.java | 64 mValues = EmptyArray.BOOLEAN; 67 mValues = new boolean[mKeys.length]; 78 clone.mValues = mValues.clone(); 103 return mValues[i]; 115 System.arraycopy(mValues, i + 1, mValues, i, mSize - (i + 1)); 123 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); 136 mValues[i] = value [all...] |
/frameworks/base/tools/aapt/ |
StringPool.h | 176 DefaultKeyedVector<String16, ssize_t> mValues;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
SparseWeakArray.java | 64 mValues = new WeakReference[mKeys.length]; 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; 155 mValues[i] = new WeakReference(value) [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/ |
FakeSharedPreferences.java | 29 private HashMap<String, Object> mValues = new HashMap<String, Object>(); 39 return mValues.containsKey(key); 44 return new HashMap<String, Object>(mValues); 49 if (mValues.containsKey(key)) { 50 return ((Boolean)mValues.get(key)).booleanValue(); 57 if (mValues.containsKey(key)) { 58 return ((Float)mValues.get(key)).floatValue(); 65 if (mValues.containsKey(key)) { 66 return ((Integer)mValues.get(key)).intValue(); 73 if (mValues.containsKey(key)) [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
SmsInteraction.java | 41 private ContentValues mValues; 44 mValues = values; 97 final String address = mValues.getAsString(Sms.ADDRESS); 103 return mValues.getAsString(Sms.BODY); 107 return mValues.getAsLong(Sms.DATE); 112 return mValues.getAsLong(Sms.DATE_SENT); 116 return mValues.getAsInteger(Sms.ERROR_CODE); 120 return mValues.getAsBoolean(Sms.LOCKED); 124 return mValues.getAsInteger(Sms.PERSON); 128 return mValues.getAsInteger(Sms.PROTOCOL) [all...] |
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
MockSharedPreferences.java | 33 private HashMap<String, Object> mValues = Maps.newHashMap(); 41 return mValues.containsKey(key); 45 return new HashMap<String, Object>(mValues); 49 if (mValues.containsKey(key)) { 50 return ((Boolean)mValues.get(key)).booleanValue(); 56 if (mValues.containsKey(key)) { 57 return ((Float)mValues.get(key)).floatValue(); 63 if (mValues.containsKey(key)) { 64 return ((Integer)mValues.get(key)).intValue(); 70 if (mValues.containsKey(key)) [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
MockSharedPreferences.java | 33 private HashMap<String, Object> mValues = Maps.newHashMap(); 38 mTempValues = (HashMap<String, Object>) mValues.clone(); 43 return mValues.containsKey(key); 47 return new HashMap<String, Object>(mValues); 51 if (mValues.containsKey(key)) { 52 return ((Boolean)mValues.get(key)).booleanValue(); 58 if (mValues.containsKey(key)) { 59 return ((Float)mValues.get(key)).floatValue(); 65 if (mValues.containsKey(key)) { 66 return ((Integer)mValues.get(key)).intValue() [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
SettingPref.java | 41 private final int[] mValues; 52 mValues = values; 75 CharSequence[] entries = new CharSequence[mValues.length]; 76 CharSequence[] values = new CharSequence[mValues.length]; 77 for (int i = 0; i < mValues.length; i++) { 78 entries[i] = getCaption(context.getResources(), mValues[i]); 79 values[i] = Integer.toString(mValues[i]);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
SparseLongArray.java | 30 private long[] mValues; 47 mValues = new long[initialCapacity]; 57 clone.mValues = mValues.clone(); 82 return mValues[i]; 102 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); 115 mValues[i] = value; 125 System.arraycopy(mValues, i, mValues, i + 1, mSize - i) [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
EntityDelta.java | 65 private ValuesDelta mValues; 77 mValues = values; 86 entity.mValues = ValuesDelta.fromBefore(before.getEntityValues()); 87 entity.mValues.setIdColumn(RawContacts._ID); 102 final ValuesDelta remoteValues = remote.mValues; 109 final Long localVersion = (local.mValues == null) ? null : local.mValues 111 final Long remoteVersion = remote.mValues.getAsLong(RawContacts.VERSION); 117 local.mValues = ValuesDelta.mergeAfter(local.mValues, remote.mValues) [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
MockSharedPreferences.java | 33 private HashMap<String, Object> mValues = Maps.newHashMap(); 41 return mValues.containsKey(key); 45 return new HashMap<String, Object>(mValues); 49 if (mValues.containsKey(key)) { 50 return ((Boolean)mValues.get(key)).booleanValue(); 56 if (mValues.containsKey(key)) { 57 return ((Float)mValues.get(key)).floatValue(); 63 if (mValues.containsKey(key)) { 64 return ((Integer)mValues.get(key)).intValue(); 70 if (mValues.containsKey(key)) [all...] |