Home
last modified time | relevance | path

Searched refs:fieldData (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/
DLauncherModelHelper.java214 String[] fieldData = fieldDef[i].split("=", 2); in initItem() local
215 Field f = cache.get(fieldData[0]); in initItem()
218 f.set(item, Integer.parseInt(fieldData[1])); in initItem()
220 f.set(item, fieldData[1]); in initItem()
222 if (!fieldData[1].startsWith("#Intent")) { in initItem()
223 fieldData[1] = "#Intent;" + fieldData[1] + ";end"; in initItem()
225 f.set(item, Intent.parseUri(fieldData[1], 0)); in initItem()
227 f.set(item, ComponentName.unflattenFromString(fieldData[1])); in initItem()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DMetadataEntryParser.java221 final JSONObject fieldData = fieldDatas.getJSONObject(i); in parseDataToMetaDataEntry() local
222 final String dataHashId = fieldData.getString(FIELD_DATA_ID); in parseDataToMetaDataEntry()
226 final JSONObject fieldDataPrefs = fieldData.getJSONObject(FIELD_DATA_PREFS); in parseDataToMetaDataEntry()
231 if (fieldData.has(USAGE_STATS)) { in parseDataToMetaDataEntry()
232 final JSONArray usageStats = fieldData.getJSONArray(USAGE_STATS); in parseDataToMetaDataEntry()
DContactsProvider2.java4947 final FieldData fieldData = metadataEntry.mFieldDatas.get(i); in updateFromMetaDataEntry() local
4948 final String dataHashId = fieldData.mDataHashId; in updateFromMetaDataEntry()
4954 dataValues.put(Data.IS_PRIMARY, fieldData.mIsPrimary ? 1 : 0); in updateFromMetaDataEntry()
4955 dataValues.put(Data.IS_SUPER_PRIMARY, fieldData.mIsSuperPrimary ? 1 : 0); in updateFromMetaDataEntry()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java2953 FieldData fieldData = new FieldData(hashId, true, true, usageStatsList); in testUpdateFromMetadataEntry() local
2955 fieldDataList.add(fieldData); in testUpdateFromMetadataEntry()