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

12

/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DCalendarInteraction.java25 private ContentValues mValues; field in class:CalendarInteraction
28 mValues = values;
95 return mValues.getAsString(Attendees.ATTENDEE_EMAIL);
99 return mValues.getAsString(Attendees.ATTENDEE_IDENTITY);
103 return mValues.getAsString(Attendees.ATTENDEE_ID_NAMESPACE);
107 return mValues.getAsString(Attendees.ATTENDEE_NAME);
111 return mValues.getAsInteger(Attendees.ATTENDEE_RELATIONSHIP);
115 return mValues.getAsInteger(Attendees.ATTENDEE_STATUS);
119 return mValues.getAsInteger(Attendees.ATTENDEE_TYPE);
123 return mValues
[all...]
H A DSmsInteraction.java41 private ContentValues mValues; field in class:SmsInteraction
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
[all...]
H A DCallLogInteraction.java56 private ContentValues mValues; field in class:CallLogInteraction
59 mValues = values;
71 String number = mValues.getAsString(Calls.NUMBER);
152 return mValues.getAsString(Calls.CACHED_NAME);
156 return mValues.getAsString(Calls.CACHED_NUMBER_LABEL);
160 return mValues.getAsInteger(Calls.CACHED_NUMBER_TYPE);
164 return mValues.getAsLong(Calls.DATE);
168 return mValues.getAsLong(Calls.DURATION);
172 return mValues.getAsBoolean(Calls.IS_READ);
176 return mValues
[all...]
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
H A DMockSharedPreferences.java33 private HashMap<String, Object> mValues = Maps.newHashMap(); field in class:MockSharedPreferences
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
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
H A DMockSharedPreferences.java33 private HashMap<String, Object> mValues = Maps.newHashMap(); field in class:MockSharedPreferences
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
[all...]
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/
H A DSparseArray.java24 private final ArrayList<E> mValues; field in class:SparseArray
32 mValues = new ArrayList<>(initialCapacity);
41 mValues.clear();
47 mValues.set(index, value);
52 mValues.add(insertIndex, value);
62 return mValues.get(index);
72 return mValues.indexOf(value);
80 return mValues.get(index);
/packages/apps/Dialer/java/com/android/voicemail/impl/
H A DVoicemailStatus.java37 private ContentValues mValues = new ContentValues(); field in class:VoicemailStatus.Editor
56 mValues.put(Status.SOURCE_TYPE, type);
61 mValues.put(Status.CONFIGURATION_STATE, configurationState);
66 mValues.put(Status.DATA_CHANNEL_STATE, dataChannelState);
71 mValues.put(Status.NOTIFICATION_CHANNEL_STATE, notificationChannelState);
81 mValues.put(Status.QUOTA_OCCUPIED, occupied);
82 mValues.put(Status.QUOTA_TOTAL, total);
95 mValues.put(
98 mValues.put(Status.PHONE_ACCOUNT_ID, mPhoneAccountHandle.getId());
102 contentResolver.insert(statusUri, mValues);
[all...]
/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/Email/tests/src/com/android/email/
H A DMockSharedPreferences.java33 private HashMap<String, Object> mValues = Maps.newHashMap(); field in class:MockSharedPreferences
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
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DSparseLongArray.java30 private long[] mValues; field in class:SparseLongArray
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,
[all...]
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DFakeSharedPreferences.java29 private HashMap<String, Object> mValues = new HashMap<String, Object>(); field in class:FakeSharedPreferences
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
[all...]
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/utils/
H A DAnomalyPolicyBuilder.java38 private Map<String, String> mValues; field in class:AnomalyPolicyBuilder
41 mValues = new HashMap<>();
45 mValues.put(key, value);
50 mValues.put(key, Long.toString(value));
56 mValues.put(key, value ? "true" : "false");
62 for (Map.Entry<String, String> entry : mValues.entrySet()) {
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DContentWriter.java36 private final ContentValues mValues; field in class:ContentWriter
53 mValues = values;
58 mValues.put(key, value);
63 mValues.put(key, value);
68 mValues.put(key, value);
73 mValues.put(key, value == null ? null : value.toString());
78 mValues.put(key, value == null ? null : value.toUri(0));
100 mValues.put(LauncherSettings.Favorites.ICON, Utilities.flattenBitmap(mIcon));
103 return mValues;
/packages/apps/Messaging/src/com/android/messaging/sms/
H A DMmsConfig.java105 private final Bundle mValues; field in class:MmsConfig
128 mValues = values;
176 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_SMS_TO_MMS_TEXT_THRESHOLD,
181 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_SMS_TO_MMS_TEXT_LENGTH_THRESHOLD,
186 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_MAX_MESSAGE_SIZE,
202 return mValues.getBoolean(CarrierConfigValuesLoader.CONFIG_ENABLED_TRANS_ID,
207 return mValues.getString(CarrierConfigValuesLoader.CONFIG_EMAIL_GATEWAY_NUMBER,
212 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_MAX_IMAGE_HEIGHT,
217 return mValues.getInt(CarrierConfigValuesLoader.CONFIG_MAX_IMAGE_WIDTH,
222 final int limit = mValues
[all...]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DMockSuggestionProviderCursor.java91 private final Object[] mValues; field in class:MockSuggestionProviderCursor.Row
96 mValues = new Object[mColumns.length];
103 mValues[column] = value;
108 return mValues[column];
112 Object o = mValues[column];
119 Object o = mValues[column];
126 Object o = mValues[column];
132 Object o = mValues[column];
138 Object o = mValues[column];
144 Object o = mValues[colum
[all...]
/packages/apps/Contacts/src/com/android/contacts/compat/
H A DAggregationSuggestionsCompat.java40 private final ArrayList<String> mValues = new ArrayList<String>(); field in class:AggregationSuggestionsCompat.Builder
62 mValues.add(name);
89 int count = mValues.size();
92 + ":" + mValues.get(i));
/packages/apps/Messaging/src/android/support/v7/mms/
H A DApnsXmlParser.java39 private final ContentValues mValues = new ContentValues(); field in class:ApnsXmlParser
50 mValues.clear();
55 mValues.put(key, mInputParser.getAttributeValue(i));
60 mApnProcessor.process(mValues);
/packages/apps/Contacts/src/com/android/contacts/model/
H A DRawContactDelta.java64 private ValuesDelta mValues; field in class:RawContactDelta
82 mValues = values;
91 rawContactDelta.mValues = ValuesDelta.fromBefore(before.getValues());
92 rawContactDelta.mValues.setIdColumn(RawContacts._ID);
107 final ValuesDelta remoteValues = remote.mValues;
114 final Long localVersion = (local.mValues == null) ? null : local.mValues
116 final Long remoteVersion = remote.mValues.getAsLong(RawContacts.VERSION);
122 local.mValues = ValuesDelta.mergeAfter(local.mValues, remot
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
H A DTypedUriMatcherImpl.java28 private final T[] mValues; field in class:TypedUriMatcherImpl
34 mValues = values;
58 return mValues[match];
/packages/apps/Settings/src/com/android/settings/accessibility/
H A DToggleFontSizePreferenceFragment.java34 private float[] mValues; field in class:ToggleFontSizePreferenceFragment
51 mValues = new float[strEntryValues.length];
53 mValues[i] = Float.parseFloat(strEntryValues[i]);
61 config.fontScale = mValues[index];
72 Settings.System.putFloat(resolver, Settings.System.FONT_SCALE, mValues[mCurrentIndex]);
/packages/apps/Settings/src/com/android/settings/display/
H A DScreenZoomSettings.java42 private int[] mValues; field in class:ScreenZoomSettings
63 mValues = new int[] { densityDpi };
68 mValues = density.getValues();
79 config.densityDpi = mValues[index];
88 final int densityDpi = mValues[mCurrentIndex];
/packages/apps/Settings/src/com/android/settings/notification/
H A DSettingPref.java41 private final int[] mValues; field in class:SettingPref
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/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DEntityDelta.java65 private ValuesDelta mValues; field in class:EntityDelta
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, remot
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DLegacyApiSupport.java477 private final ContentValues mValues = new ContentValues(); field in class:LegacyApiSupport
833 Uri contactUri = mContactsProvider.insertInTransaction(RawContacts.CONTENT_URI, mValues);
850 ContactsDatabaseHelper.copyLongValue(mValues, Data.RAW_CONTACT_ID,
853 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues);
860 mValues.put(Data.RAW_CONTACT_ID, rawContactId);
862 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues);
875 mValues.put(Data.RAW_CONTACT_ID, rawContactId);
876 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues);
881 mValues.clear();
883 mValues
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DAutoInstallsLayout.java163 @Thunk final ContentValues mValues; field in class:AutoInstallsLayout
176 mValues = new ContentValues();
258 mValues.clear();
263 mValues.put(Favorites.CONTAINER, container);
264 mValues.put(Favorites.SCREEN, screenId);
266 mValues.put(Favorites.CELLX,
268 mValues.put(Favorites.CELLY,
290 mValues.put(Favorites.INTENT, intent.toUri(0));
291 mValues.put(Favorites.TITLE, title);
292 mValues
[all...]

Completed in 670 milliseconds

12