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()
75 Info oldInfo = mInfo; in onDisplayChanged() local79 if (info.hasDifferentSize(oldInfo)) { in onDisplayChanged()82 if (oldInfo.rotation != info.rotation) { in onDisplayChanged()85 if (info.singleFrameMs != oldInfo.singleFrameMs) { in onDisplayChanged()
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()
163 BatteryInfo oldInfo = batteryInfos.get(0); in updateViews() local165 percentRemaining.setText(Utils.formatPercentage(oldInfo.batteryLevel)); in updateViews()172 PowerUtil.convertUsToMs(oldInfo.remainingTimeUs))); in updateViews()178 batteryView.setBatteryLevel(oldInfo.batteryLevel); in updateViews()179 batteryView.setCharging(!oldInfo.discharging); in updateViews()
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()