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

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DBarrierConsumer.java36 private ArrayList<A> mValues; field in class:BarrierConsumer
45 mValues = new ArrayList<A>(expectedCount);
64 ArrayList<A> values = mValues;
65 mValues = null; // mark that getValues() has returned
77 if (mValues == null || isFull()) {
80 mValues.add(value);
92 return mValues.size() == mExpectedCount;
/packages/apps/Gallery3D/src/com/cooliris/media/
H A DLongSparseArray.java52 mValues = new Object[initialCapacity];
72 if (i < 0 || mValues[i] == DELETED) {
75 return (E) mValues[i];
86 if (mValues[i] != DELETED) {
87 mValues[i] = DELETED;
106 Object[] values = mValues;
135 mValues[i] = value;
139 if (i < mSize && mValues[i] == DELETED) {
141 mValues[i] = value;
160 System.arraycopy(mValues,
343 private Object[] mValues; field in class:LongSparseArray
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DFetchUrlMimeType.java50 ContentValues mValues; field in class:FetchUrlMimeType
58 mValues = values[0];
61 String uri = mValues.getAsString(Downloads.Impl.COLUMN_URI);
69 mValues.getAsString(Downloads.Impl.COLUMN_USER_AGENT));
72 String cookie = mValues.getAsString(Downloads.Impl.COLUMN_COOKIE_DATA);
77 String referer = mValues.getAsString(Downloads.Impl.COLUMN_REFERER);
113 String url = mValues.getAsString(Downloads.Impl.COLUMN_URI);
120 mValues.put(Downloads.Impl.COLUMN_MIME_TYPE, newMimeType);
125 mValues.put(Downloads.Impl.COLUMN_FILE_NAME_HINT, filename);
130 mActivity.getContentResolver().insert(Downloads.Impl.CONTENT_URI, mValues);
[all...]
/packages/apps/Settings/src/com/android/settings/battery_history/
H A DGraphableButton.java25 double[] mValues; field in class:GraphableButton
32 mValues = values.clone();
34 mValues[i] /= maxValue;
48 for (int i = 0; i < mValues.length; i++) {
49 int endx = xmin + (int) (mValues[i] * (xmax - xmin));
/packages/apps/Contacts/src/com/android/contacts/model/
H A DEntityDelta.java67 private ValuesDelta mValues; field in class:EntityDelta
79 mValues = values;
88 entity.mValues = ValuesDelta.fromBefore(before.getEntityValues());
89 entity.mValues.setIdColumn(RawContacts._ID);
104 final ValuesDelta remoteValues = remote.mValues;
111 final Long localVersion = (local.mValues == null) ? null : local.mValues
113 final Long remoteVersion = remote.mValues.getAsLong(RawContacts.VERSION);
119 local.mValues = ValuesDelta.mergeAfter(local.mValues, remot
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DLegacyApiSupport.java503 private final ContentValues mValues = new ContentValues(); field in class:LegacyApiSupport
862 Uri contactUri = mContactsProvider.insertInTransaction(RawContacts.CONTENT_URI, mValues);
879 ContactsDatabaseHelper.copyLongValue(mValues, Data.RAW_CONTACT_ID,
882 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues);
889 mValues.put(Data.RAW_CONTACT_ID, rawContactId);
891 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues);
904 mValues.put(Data.RAW_CONTACT_ID, rawContactId);
905 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues);
910 mValues.clear();
912 mValues
[all...]
H A DContactsProvider2.java1825 private ContentValues mValues = new ContentValues(); field in class:ContactsProvider2
2539 mValues.clear();
2540 mValues.putAll(values);
2541 mValues.putNull(RawContacts.CONTACT_ID);
2543 final Account account = resolveAccount(uri, mValues);
2547 mValues.put(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_DISABLED);
2550 long rawContactId = mDb.insert(Tables.RAW_CONTACTS, RawContacts.CONTACT_ID, mValues);
2552 if (mValues.containsKey(RawContacts.AGGREGATION_MODE)) {
2553 aggregationMode = mValues.getAsInteger(RawContacts.AGGREGATION_MODE);
2571 mValues
[all...]
H A DLegacyContactImporter.java78 private ContentValues mValues = new ContentValues(); field in class:LegacyContactImporter
1200 mValues.clear();
1201 mValues.put(Calls._ID, c.getLong(CallsQuery.ID));
1202 mValues.put(Calls.NUMBER, c.getString(CallsQuery.NUMBER));
1203 mValues.put(Calls.DATE, c.getLong(CallsQuery.DATE));
1204 mValues.put(Calls.DURATION, c.getLong(CallsQuery.DURATION));
1205 mValues.put(Calls.NEW, c.getLong(CallsQuery.NEW));
1206 mValues.put(Calls.TYPE, c.getLong(CallsQuery.TYPE));
1207 mValues.put(Calls.CACHED_NAME, c.getString(CallsQuery.NAME));
1208 mValues
[all...]
H A DContactAggregator.java129 private ContentValues mValues = new ContentValues(); field in class:ContactAggregator
375 aggregateContact(db, rawContactIds[i], contactIds[i], mCandidates, mMatcher, mValues);
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DPowerUsageDetail.java102 private double[] mValues; field in class:PowerUsageDetail
175 mValues = intent.getDoubleArrayExtra(EXTRA_DETAIL_VALUES);
270 if (mTypes != null && mValues != null) {
273 if (mValues[i] <= 0) continue;
279 value = Utils.formatBytes(this, mValues[i]);
282 value = String.format("%d%%", (int) Math.floor(mValues[i]));
288 value = Utils.formatElapsedTime(this, mValues[i]);

Completed in 87 milliseconds