Home
last modified time | relevance | path

Searched refs:storedTile (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleSpaceUtils.java404 PeopleSpaceTile storedTile = widgetIdToTile.get(appWidgetId); in getDataFromContacts() local
405 if (storedTile == null || storedTile.getContactUri() == null) { in getDataFromContacts()
406 if (DEBUG) Log.d(TAG, "No contact uri for: " + storedTile); in getDataFromContacts()
407 updateTileContactFields(peopleSpaceWidgetManager, context, storedTile, in getDataFromContacts()
413 storedTile, in getDataFromContacts()
423 Context context, PeopleSpaceTile storedTile, int appWidgetId, float affinity, in updateTileContactFields() argument
425 boolean outdatedBirthdayStatus = hasBirthdayStatus(storedTile, context) in updateTileContactFields()
427 boolean addBirthdayStatus = !hasBirthdayStatus(storedTile, context) in updateTileContactFields()
429 boolean shouldUpdate = storedTile.getContactAffinity() != affinity || outdatedBirthdayStatus in updateTileContactFields()
432 if (DEBUG) Log.d(TAG, "Update " + storedTile.getUserName() + " from contacts"); in updateTileContactFields()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManager.java442 PeopleSpaceTile.Builder storedTile = new PeopleSpaceTile.Builder(channel, in getTileFromPersistentStorage() local
444 if (storedTile == null) { in getTileFromPersistentStorage()
445 return storedTile.build(); in getTileFromPersistentStorage()
451 && storedTile.build().getContactUri() == null) { in getTileFromPersistentStorage()
453 storedTile.setContactUri(Uri.parse(contactUri)); in getTileFromPersistentStorage()
457 return getTileWithCurrentState(storedTile.build(), ACTION_BOOT_COMPLETED); in getTileFromPersistentStorage()
728 PeopleSpaceTile storedTile = getTileForExistingWidget(appWidgetId); in updateStorageAndViewWithConversationData() local
729 if (storedTile == null) { in updateStorageAndViewWithConversationData()
733 PeopleSpaceTile.Builder updatedTile = storedTile.toBuilder(); in updateStorageAndViewWithConversationData()