Home | History | Annotate | Download | only in util

Lines Matching refs:contentValues

19 import android.content.ContentValues;
73 * Converts the given structured name (provided as ContentValues) into a display name string.
78 public static String structuredNameToDisplayName(Context context, ContentValues values) {
140 * values into a new or existing ContentValues object).
146 * @param contentValues The content values object to place the structured name values into. If
148 * @return The ContentValues object containing the structured name fields derived from the
151 public static ContentValues displayNameToStructuredName(Context context, String displayName,
152 ContentValues contentValues) {
153 if (contentValues == null) {
154 contentValues = new ContentValues();
158 contentValues.put(key, mapValues.get(key));
160 return contentValues;
170 * Parses phonetic name and returns parsed data (family, middle, given) as ContentValues.
177 * @param values ContentValues to be used for storing data. If null, new instance will be
179 * @return ContentValues with parsed data. Those data can be null.