Home
last modified time | relevance | path

Searched refs:oldInfo (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DDynamicShortcuts.java161 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()
DDialerShortcut.java146 boolean needsUpdate(@NonNull ShortcutInfo oldInfo) { in needsUpdate() argument
147 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()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DDefaultDisplay.java75 Info oldInfo = mInfo; in onDisplayChanged() local
79 if (info.hasDifferentSize(oldInfo)) { in onDisplayChanged()
82 if (oldInfo.rotation != info.rotation) { in onDisplayChanged()
85 if (info.singleFrameMs != oldInfo.singleFrameMs) { in onDisplayChanged()
/packages/services/Telephony/src/com/android/phone/settings/
DCallForwardInfoUtil.java60 public static boolean isUpdateRequired(CallForwardInfo oldInfo, CallForwardInfo newInfo) { in isUpdateRequired() argument
61 if (oldInfo == null) { in isUpdateRequired()
66 && oldInfo.status == CALL_FORWARD_INFO_INACTIVE_STATUS) { in isUpdateRequired()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DPowerUsageSummary.java151 BatteryInfo oldInfo = batteryInfos.get(0); in updateViews() local
153 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()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageSummary.java163 BatteryInfo oldInfo = batteryInfos.get(0); in updateViews() local
165 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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/privacy/
DPermissionBarChartPreferenceController.java240 final RuntimePermissionUsageInfo oldInfo = mOldUsageInfos.get(index); in areSamePermissionGroups() local
242 if (!newInfo.getName().equals(oldInfo.getName()) || in areSamePermissionGroups()
243 newInfo.getAppAccessCount() != oldInfo.getAppAccessCount()) { in areSamePermissionGroups()