/frameworks/base/core/java/android/util/ |
SparseIntArray.java | 29 private int[] mValues; 48 mValues = new int[initialCapacity]; 58 clone.mValues = mValues.clone(); 83 return mValues[i]; 103 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); 116 mValues[i] = value; 128 System.arraycopy(mValues, 0, nvalues, 0, mValues.length) [all...] |
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, 0, nvalues, 0, mValues.length) [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/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/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...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/util/ |
SparseArray.java | 45 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, 0, nvalues, 0, mValues.length) [all...] |
SparseIntArray.java | 42 mValues = new int[initialCapacity]; 64 return mValues[i]; 84 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1)); 97 mValues[i] = value; 109 System.arraycopy(mValues, 0, nvalues, 0, mValues.length); 112 mValues = nvalues; 118 System.arraycopy(mValues, i, mValues, i + 1, mSize - i) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_TestDataBuilder.java | 61 protected ContentValues mValues = new ContentValues(); 105 mValues.put(key, value); 111 mValues.put(key, value); 117 mValues.put(key, value); 130 mUri = mProvider.insert(getContentUri(), mValues); 170 Set<Map.Entry<String, Object>> entries = mValues.valueSet(); 191 fail("No data rows for " + getContentUri() + "[" + mValues.toString() + "]"); 315 mValues.put(Data.MIMETYPE, mimeType); 325 mValues.put(Data.RAW_CONTACT_ID, mRawContact.getId());
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
EntityDelta.java | 67 private ValuesDelta mValues; 85 mValues = values; 94 entity.mValues = ValuesDelta.fromBefore(before.getEntityValues()); 95 entity.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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
ApplicationInfoPage.java | 63 private final NewProjectWizardState mValues; 85 mValues = values; 114 if (mValues.mode != Mode.TEST) { 169 if (mValues.mode == Mode.SAMPLE) { 199 if (mValues.applicationName != null) { 200 mApplicationText.setText(mValues.applicationName); 202 if (mValues.packageName != null) { 203 mPackageText.setText(mValues.packageName); 208 if (mValues.mode != Mode.TEST) { 209 mCreateActivityCheckbox.setSelection(mValues.createActivity) [all...] |
SampleSelectionPage.java | 50 private final NewProjectWizardState mValues; 65 mValues = values; 98 if (mValues.projectName != null) { 101 mSampleProjectName.setText(mValues.projectName); 109 if (mCurrentSamplesTarget != mValues.target) { 110 mCurrentSamplesTarget = mValues.target; 129 int n = mValues.samplesDir.getPath().length(); 148 if (mValues.samples != null && mValues.samples.size() > 0) { 149 Object[] samples = mValues.samples.toArray() [all...] |
/development/apps/Development/src/com/android/development/ |
MediaScannerActivity.java | 53 ContentValues mValues[] = new ContentValues[10]; 97 mValues[i] = new ContentValues(); 175 mValues[i].clear(); 177 final ContentValues map = mValues[i]; 192 mResolver.bulkInsert(mAudioUri, mValues);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Compass.java | 36 private float[] mValues; 42 mValues = event.values; 110 if (mValues != null) { 111 canvas.rotate(-mValues[0]);
|
SensorTest.java | 35 private float[] mValues; 193 if (mValues != null) { 194 canvas.rotate(-mValues[0]);
|
/frameworks/base/core/java/android/preference/ |
MultiSelectListPreference.java | 44 private Set<String> mValues = new HashSet<String>(); 128 mValues = values; 137 return mValues; 179 mNewValues.addAll(mValues); 185 final Set<String> values = mValues; 223 setValues(restoreValue ? getPersistedStringSet(mValues) : (Set<String>) defaultValue);
|
/frameworks/base/core/tests/coretests/src/android/database/ |
NewDatabasePerformanceTests.java | 801 ContentValues[] mValues = new ContentValues[SIZE]; 825 mValues[i] = b; 832 mDatabase.update("t1", mValues[i], where[i], null); 844 ContentValues[] mValues = new ContentValues[SIZE]; 867 mValues[i] = b; 873 mDatabase.update("t1", mValues[i], where[i], null); 884 ContentValues[] mValues = new ContentValues[SIZE]; 898 mValues[i] = b; 904 mDatabase.insert("t1", null, mValues[i]); 915 ContentValues[] mValues = new ContentValues[SIZE] [all...] |
DatabasePerformanceTests.java | 909 ContentValues[] mValues = new ContentValues[SIZE]; 933 mValues[i] = b; 941 mDatabase.update("t1", mValues[i], where[i], null); 953 ContentValues[] mValues = new ContentValues[SIZE]; 976 mValues[i] = b; 983 mDatabase.update("t1", mValues[i], where[i], null); 994 ContentValues[] mValues = new ContentValues[SIZE]; 1008 mValues[i] = b; 1015 mDatabase.insert("t1", null, mValues[i]); 1026 ContentValues[] mValues = new ContentValues[SIZE] [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
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, 0, nvalues, 0, newSize) [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
HCSparseArray.java | 44 mValues = new Object[initialCapacity]; 63 if (i < 0 || mValues[i] == DELETED) { 66 return (E) mValues[i]; 77 if (mValues[i] != DELETED) { 78 mValues[i] = DELETED; 95 if (mValues[index] != DELETED) { 96 mValues[index] = DELETED; 107 Object[] values = mValues; 137 mValues[i] = value; 141 if (i < mSize && mValues[i] == DELETED) [all...] |
/packages/apps/Browser/src/com/android/browser/preferences/ |
GeneralPreferencesFragment.java | 59 String[] mChoices, mValues; 67 mValues = res.getStringArray(R.array.pref_homepage_values); 194 for (int i = 0; i < mValues.length; i++) { 195 if (value.equals(mValues[i])) {
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/calllog/ |
FillCallLogTestActivity.java | 189 private final ContentValues[] mValues; 194 mValues = values; 225 ContentValues values = mValues[index % mValues.length];
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
NewXmlFileWizard.java | 74 private Values mValues; 81 mValues = new Values(); 82 mMainPage = createMainPage(mValues); 87 mConfigPage = new ChooseConfigurationPage(mValues); 161 IFile file = mValues.getDestinationFile(); 162 TypeInfo type = mValues.type; 178 String attrs = type.getDefaultAttrs(mValues.project, root); 179 String child = type.getChild(mValues.project, root);
|
/packages/apps/Calendar/tests/src/com/android/calendar/event/ |
EditEventHelperTest.java | 108 private ContentValues mValues; [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
LegacyApiSupport.java | 505 private final ContentValues mValues = new ContentValues(); [all...] |
LegacyContactImporter.java | 80 private ContentValues mValues = new ContentValues(); [all...] |