Searched refs:oldInfo (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/viewcapture_analysis/ |
D | FlashDetector.java | 116 String detectAnomalies(AnalysisNode oldInfo, AnalysisNode newInfo, int frameN, in detectAnomalies() argument 123 if (oldInfo == null) return null; in detectAnomalies() 129 if (oldInfo.alpha < 1) return null; in detectAnomalies() 131 final AnalysisNode latestInfo = newInfo != null ? newInfo : oldInfo; in detectAnomalies() 142 && oldInfo.timeBecameVisibleNs != -1) { in detectAnomalies() 143 final long wasVisibleTimeMs = (frameTimeNs - oldInfo.timeBecameVisibleNs) / 1000000; in detectAnomalies() 162 && frameN != oldInfo.frameN + 1) { in detectAnomalies() 166 oldInfo.timeBecameInvisibleNs != -1); in detectAnomalies() 168 final long wasInvisibleTimeMs = (frameTimeNs - oldInfo.timeBecameInvisibleNs) / 1000000; in detectAnomalies()
|
D | PositionJumpDetector.java | 97 String detectAnomalies(AnalysisNode oldInfo, AnalysisNode newInfo, int frameN, in detectAnomalies() argument 104 if (oldInfo == null || frameN != oldInfo.frameN + 1) return null; in detectAnomalies() 110 newInfo.left - oldInfo.left, in detectAnomalies() 111 newInfo.top - oldInfo.top, in detectAnomalies() 112 newInfo.right - oldInfo.right, in detectAnomalies() 113 newInfo.bottom - oldInfo.bottom in detectAnomalies()
|
D | AlphaJumpDetector.java | 162 String detectAnomalies(AnalysisNode oldInfo, AnalysisNode newInfo, int frameN, long timestamp, in detectAnomalies() argument 166 if (oldInfo != null && oldInfo.frameN != frameN) return null; in detectAnomalies() 168 final AnalysisNode latestInfo = newInfo != null ? newInfo : oldInfo; in detectAnomalies() 172 final float oldAlpha = oldInfo != null ? oldInfo.alpha : 0; in detectAnomalies()
|
D | AnomalyDetector.java | 82 @Nullable ViewCaptureAnalyzer.AnalysisNode oldInfo, in detectAnomalies()
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | DynamicShortcuts.java | 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()
|
D | DialerShortcut.java | 146 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/ |
D | DisplayController.java | 301 Info oldInfo = mInfo; in handleInfoChange() local 304 Info newInfo = new Info(displayInfoContext, wmProxy, oldInfo.mPerDisplayBounds); in handleInfoChange() 306 if (newInfo.densityDpi != oldInfo.densityDpi || newInfo.fontScale != oldInfo.fontScale in handleInfoChange() 307 || newInfo.getNavigationMode() != oldInfo.getNavigationMode()) { in handleInfoChange() 314 if (!newInfo.normalizedDisplayInfo.equals(oldInfo.normalizedDisplayInfo)) { in handleInfoChange() 317 if (newInfo.rotation != oldInfo.rotation) { in handleInfoChange() 320 if (newInfo.densityDpi != oldInfo.densityDpi || newInfo.fontScale != oldInfo.fontScale) { in handleInfoChange() 323 if (newInfo.getNavigationMode() != oldInfo.getNavigationMode()) { in handleInfoChange() 326 if (!newInfo.supportedBounds.equals(oldInfo.supportedBounds) in handleInfoChange() 327 || !newInfo.mPerDisplayBounds.equals(oldInfo.mPerDisplayBounds)) { in handleInfoChange() [all …]
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | CallForwardInfoUtil.java | 60 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/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 370 WorkspaceItemInfo oldInfo = getTag() instanceof WorkspaceItemInfo in shouldAnimateIconChange() local 373 boolean changedIcons = oldInfo != null && oldInfo.getTargetComponent() != null in shouldAnimateIconChange() 375 && !oldInfo.getTargetComponent().equals(newInfo.getTargetComponent()); in shouldAnimateIconChange()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 11188 NetworkInfo oldInfo = null; 11190 oldInfo = networkAgent.networkInfo; 11196 + oldInfo.getState() + " to " + state); 11353 } else if (networkAgent.isCreated() && (oldInfo.getState() == NetworkInfo.State.SUSPENDED
|