Searched refs:oldInfo (Results 1 – 7 of 7) sorted by relevance
161 for (ShortcutInfo oldInfo : shortcutManager.getDynamicShortcuts()) { in updateIcons()162 newShortcuts.add(shortcutInfoFactory.withUpdatedIcon(oldInfo)); in updateIcons()181 for (ShortcutInfo oldInfo : oldDynamicShortcuts) { in computeDelta()183 DialerShortcut newShortcut = newDynamicShortcutsById.get(oldInfo.getId()); in computeDelta()185 if (newShortcut.needsUpdate(oldInfo)) { in computeDelta()187 delta.shortcutsToUpdateById.put(oldInfo.getId(), newShortcut); in computeDelta()192 delta.shortcutIdsToRemove.add(oldInfo.getId()); in computeDelta()231 for (ShortcutInfo oldInfo : shortcutInfos) { in containsShortcut()232 if (oldInfo.getId().equals(shortcutId)) { in containsShortcut()
146 boolean needsUpdate(@NonNull ShortcutInfo oldInfo) { in needsUpdate() argument147 if (this.getRank() != NO_RANK && oldInfo.getRank() != this.getRank()) { in needsUpdate()150 if (!oldInfo.getShortLabel().equals(this.getShortLabel())) { in needsUpdate()153 if (!oldInfo.getLongLabel().equals(this.getLongLabel())) { in needsUpdate()
60 public static boolean isUpdateRequired(CallForwardInfo oldInfo, CallForwardInfo newInfo) { in isUpdateRequired() argument61 if (oldInfo == null) { in isUpdateRequired()66 && oldInfo.status == CALL_FORWARD_INFO_INACTIVE_STATUS) { in isUpdateRequired()
151 BatteryInfo oldInfo = batteryInfos.get(0); in updateViews() local153 percentRemaining.setText(Utils.formatPercentage(oldInfo.batteryLevel)); in updateViews()160 PowerUtil.convertUsToMs(oldInfo.remainingTimeUs)))); in updateViews()167 batteryView.setBatteryLevel(oldInfo.batteryLevel); in updateViews()168 batteryView.setCharging(!oldInfo.discharging); in updateViews()
166 BatteryInfo oldInfo = batteryInfos.get(0); in updateViews() local168 percentRemaining.setText(Utils.formatPercentage(oldInfo.batteryLevel)); in updateViews()175 PowerUtil.convertUsToMs(oldInfo.remainingTimeUs)))); in updateViews()182 batteryView.setBatteryLevel(oldInfo.batteryLevel); in updateViews()183 batteryView.setCharging(!oldInfo.discharging); in updateViews()
234 final RuntimePermissionUsageInfo oldInfo = mOldUsageInfos.get(index); in areSamePermissionGroups() local236 if (!newInfo.getName().equals(oldInfo.getName()) || in areSamePermissionGroups()237 newInfo.getAppAccessCount() != oldInfo.getAppAccessCount()) { in areSamePermissionGroups()
240 final RuntimePermissionUsageInfo oldInfo = mOldUsageInfos.get(index); in areSamePermissionGroups() local242 if (!newInfo.getName().equals(oldInfo.getName()) || in areSamePermissionGroups()243 newInfo.getAppAccessCount() != oldInfo.getAppAccessCount()) { in areSamePermissionGroups()