/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/ |
D | PresentTestFragment.java | 110 public void onDisplayAdded(int displayId) { in setupListeners() 111 Log.d(TAG, "Display #" + displayId + " added."); in setupListeners() 116 public void onDisplayChanged(int displayId) { in setupListeners() 117 Log.d(TAG, "Display #" + displayId + " changed."); in setupListeners() 122 public void onDisplayRemoved(int displayId) { in setupListeners() 123 Log.d(TAG, "Display #" + displayId + " removed."); in setupListeners() 132 int displayId = presentation.getDisplay().getDisplayId(); in setupListeners() 133 Log.d(TAG, "Presentation on display #" + displayId + " was dismissed."); in setupListeners() 134 mActivePresentations.delete(displayId); in setupListeners() 206 final int displayId = display.getDisplayId(); in showPresentation() local [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | SystemActivityMonitoringService.java | 61 public final int displayId; field in SystemActivityMonitoringService.TopTaskInfoContainer 66 int displayId, int position, StackInfo stackInfo) { in TopTaskInfoContainer() argument 69 this.displayId = displayId; in TopTaskInfoContainer() 78 && this.displayId == taskInfo.displayId in isMatching() 88 topActivity, taskId, stackInfo.stackId, stackInfo.userId, displayId, position); in toString() 150 int displayId = mTopTasks.keyAt(i); in dump() local 153 writer.println("display id " + displayId + ": " + info); in dump() 290 int displayId = info.displayId; in updateTasks() local 296 info.displayId, info.position, info); in updateTasks() 297 TopTaskInfoContainer currentTopTaskInfo = topTasks.get(displayId); in updateTasks() [all …]
|
D | CarUxRestrictionsManagerService.java | 312 ICarUxRestrictionsChangeListener listener, int displayId) { in registerUxRestrictionsChangeListener() argument 321 client = new UxRestrictionsClient(listener, displayId); in registerUxRestrictionsChangeListener() 380 public synchronized CarUxRestrictions getCurrentUxRestrictions(int displayId) { in getCurrentUxRestrictions() argument 381 CarUxRestrictions restrictions = mCurrentUxRestrictions.get(getPhysicalPort(displayId)); in getCurrentUxRestrictions() 385 displayId)); in getCurrentUxRestrictions() 555 UxRestrictionsClient(ICarUxRestrictionsChangeListener l, int displayId) { in UxRestrictionsClient() argument 558 mDisplayId = displayId; in UxRestrictionsClient() 866 private Byte getPhysicalPort(int displayId) { in getPhysicalPort() argument 867 if (!mPortLookup.containsKey(displayId)) { in getPhysicalPort() 868 Display display = mDisplayManager.getDisplay(displayId); in getPhysicalPort() [all …]
|
D | CarProjectionService.java | 540 int displayId = res.getInteger(R.integer.config_projectionActivityDisplayId); in createActivityOptions() local 541 if (displayId != -1) { in createActivityOptions() 542 activityOptions.setLaunchDisplayId(displayId); in createActivityOptions()
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | ClusterDisplayProvider.java | 82 public void onDisplayAdded(int displayId) { in trackClusterDisplay() 86 mClusterDisplayId = displayId; in trackClusterDisplay() 89 Display display = mDisplayManager.getDisplay(displayId); in trackClusterDisplay() 91 mClusterDisplayId = displayId; in trackClusterDisplay() 97 mListener.onDisplayAdded(displayId); in trackClusterDisplay() 102 public void onDisplayRemoved(int displayId) { in trackClusterDisplay() 103 if (displayId == mClusterDisplayId) { in trackClusterDisplay() 105 mListener.onDisplayRemoved(displayId); in trackClusterDisplay() 110 public void onDisplayChanged(int displayId) { in trackClusterDisplay() 111 if (displayId == mClusterDisplayId) { in trackClusterDisplay() [all …]
|
D | ActivityMonitor.java | 49 void onTopActivityChanged(int displayId, @Nullable ComponentName activity); in onTopActivityChanged() argument 84 public void addListener(int displayId, ActivityListener listener) { in addListener() argument 85 mListeners.computeIfAbsent(displayId, k -> new HashSet<>()).add(listener); in addListener() 91 public void removeListener(int displayId, ActivityListener listener) { in removeListener() argument 92 mListeners.computeIfAbsent(displayId, k -> new HashSet<>()).remove(listener); in removeListener() 137 Set<ActivityListener> listeners = mListeners.get(info.displayId); in notifyTopActivities() 140 listener.onTopActivityChanged(info.displayId, info.topActivity); in notifyTopActivities()
|
D | NavigationFragment.java | 66 public void onDisplayAdded(int displayId) { 68 Log.i(TAG, "onDisplayAdded, displayId: " + displayId 71 if (navDisplayId == displayId) { 72 mRegisteredNavDisplayId = displayId; 78 public void onDisplayRemoved(int displayId) { 79 if (mRegisteredNavDisplayId == displayId) { 86 public void onDisplayChanged(int displayId) {}
|
D | ClusterRenderingService.java | 88 public void onDisplayAdded(int displayId) { 89 Log.i(TAG, "Cluster display found, displayId: " + displayId); 90 mDisplayId = displayId; 95 public void onDisplayRemoved(int displayId) { 100 public void onDisplayChanged(int displayId) { 105 public void setActivityLaunchOptions(int displayId, ClusterActivityState state) { in setActivityLaunchOptions() argument 107 ActivityOptions options = displayId != Display.INVALID_DISPLAY in setActivityLaunchOptions() 108 ? ActivityOptions.makeBasic().setLaunchDisplayId(displayId) in setActivityLaunchOptions()
|
D | MainClusterActivity.java | 130 public VirtualDisplay(int displayId, Rect unobscuredBounds) { in VirtualDisplay() argument 131 mDisplayId = displayId; in VirtualDisplay() 169 private ActivityMonitor.ActivityListener mNavigationActivityMonitor = (displayId, activity) -> { 170 if (displayId != mNavigationDisplay.mDisplayId) {
|
/packages/services/Car/service/src/com/android/car/systeminterface/ |
D | DisplayInterface.java | 98 public void onDisplayAdded(int displayId) { 103 public void onDisplayRemoved(int displayId) { 108 public void onDisplayChanged(int displayId) { 109 if (displayId == Display.DEFAULT_DISPLAY) { 240 int displayId = display.getDisplayId(); in reconfigureSecondaryDisplays() local 243 int windowingMode = wm.getWindowingMode(displayId); in reconfigureSecondaryDisplays() 244 wm.setWindowingMode(displayId, windowingMode); in reconfigureSecondaryDisplays()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | TaskSystemShortcut.java | 120 protected abstract boolean isAvailable(BaseDraggingActivity activity, int displayId); in isAvailable() argument 129 final int displayId = task.key.displayId; in getOnClickListener() local 133 if (!isAvailable(activity, displayId)) { in getOnClickListener() 223 protected boolean isAvailable(BaseDraggingActivity activity, int displayId) { 229 && (displayId == -1 || displayId == DEFAULT_DISPLAY); 265 protected boolean isAvailable(BaseDraggingActivity activity, int displayId) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | ColorModePreference.java | 59 public void onDisplayAdded(int displayId) { in onDisplayAdded() argument 60 if (displayId == Display.DEFAULT_DISPLAY) { in onDisplayAdded() 66 public void onDisplayChanged(int displayId) { in onDisplayChanged() argument 67 if (displayId == Display.DEFAULT_DISPLAY) { in onDisplayChanged() 73 public void onDisplayRemoved(int displayId) { in onDisplayRemoved() argument
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | ColorModePreference.java | 81 public void onDisplayAdded(int displayId) { in onDisplayAdded() argument 82 if (displayId == Display.DEFAULT_DISPLAY) { in onDisplayAdded() 88 public void onDisplayChanged(int displayId) { in onDisplayChanged() argument 89 if (displayId == Display.DEFAULT_DISPLAY) { in onDisplayChanged() 95 public void onDisplayRemoved(int displayId) { in onDisplayRemoved() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | ColorModePreference.java | 81 public void onDisplayAdded(int displayId) { in onDisplayAdded() argument 82 if (displayId == Display.DEFAULT_DISPLAY) { in onDisplayAdded() 88 public void onDisplayChanged(int displayId) { in onDisplayChanged() argument 89 if (displayId == Display.DEFAULT_DISPLAY) { in onDisplayChanged() 95 public void onDisplayRemoved(int displayId) { in onDisplayRemoved() argument
|
/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/ |
D | SystemProximityWakeLock.java | 68 public void onDisplayAdded(int displayId) {} in onDisplayAdded() argument 71 public void onDisplayRemoved(int displayId) {} in onDisplayRemoved() argument 74 public void onDisplayChanged(int displayId) { in onDisplayChanged() argument 75 if (displayId == Display.DEFAULT_DISPLAY) { in onDisplayChanged()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ProximitySensor.java | 288 public void onDisplayRemoved(int displayId) {} in onDisplayRemoved() argument 291 public void onDisplayChanged(int displayId) { in onDisplayChanged() argument 292 if (displayId == Display.DEFAULT_DISPLAY) { in onDisplayChanged() 293 final Display display = displayManager.getDisplay(displayId); in onDisplayChanged() 306 public void onDisplayAdded(int displayId) {} in onDisplayAdded() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ConfigMonitor.java | 94 public void onDisplayAdded(int displayId) { } in onDisplayAdded() argument 97 public void onDisplayRemoved(int displayId) { } in onDisplayRemoved() argument 100 public void onDisplayChanged(int displayId) { in onDisplayChanged() argument 101 if (displayId != mDisplayId) { in onDisplayChanged()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarPackageManagerService.java | 302 if (!isUxRestrictedOnDisplay(info.displayId)) { in isActivityBackedBySafeActivity() 433 int displayId = physicalDisplay.getDisplayId(); in doHandleInit() local 435 mUxRestrictionsListeners.put(displayId, listener); in doHandleInit() 436 mCarUxRestrictionsService.registerUxRestrictionsChangeListener(listener, displayId); in doHandleInit() 929 int displayId = mUxRestrictionsListeners.keyAt(i); in dump() local 932 displayId, (listener.isRestricted() ? "restricted" : "unrestricted"))); in dump() 998 private boolean isUxRestrictedOnDisplay(int displayId) { in isUxRestrictedOnDisplay() argument 1000 if (mUxRestrictionsListeners.indexOfKey(displayId) < 0) { in isUxRestrictedOnDisplay() 1008 listenerForTopTaskDisplay = mUxRestrictionsListeners.get(displayId); in isUxRestrictedOnDisplay() 1026 if (isUxRestrictedOnDisplay(topTask.displayId)) { in blockTopActivityIfNecessary() [all …]
|
/packages/services/Car/car-lib/src/android/car/drivingstate/ |
D | CarUxRestrictionsManager.java | 136 public void registerListener(@NonNull OnUxRestrictionsChangedListener listener, int displayId) { in registerListener() argument 153 mUxRService.registerUxRestrictionsChangeListener(mListenerToService, displayId); in registerListener() 218 public CarUxRestrictions getCurrentCarUxRestrictions(int displayId) { in getCurrentCarUxRestrictions() argument 220 return mUxRService.getCurrentUxRestrictions(displayId); in getCurrentCarUxRestrictions()
|
D | ICarUxRestrictionsManager.aidl | 31 …isterUxRestrictionsChangeListener(in ICarUxRestrictionsChangeListener listener, int displayId) = 0; in registerUxRestrictionsChangeListener() argument 33 CarUxRestrictions getCurrentUxRestrictions(int displayId) = 2; in getCurrentUxRestrictions() argument
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperPreview.java | 654 final int displayId = getWindow().getDecorView().getDisplay().getDisplayId(); in onServiceConnected() local 659 new Rect(0, 0, 0, 0), displayId); in onServiceConnected() 674 public void attachEngine(IWallpaperEngine engine, int displayId) { in attachEngine() argument 698 public void onWallpaperColorsChanged(WallpaperColors colors, int displayId) in onWallpaperColorsChanged() argument
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarProjectionServiceTest.java | 231 final int displayId = 1; in getProjectionOptions_nonDefaults() local 238 .thenReturn(displayId); in getProjectionOptions_nonDefaults() 245 assertThat(options.getActivityOptions().getLaunchDisplayId()).isEqualTo(displayId); in getProjectionOptions_nonDefaults()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | SystemActivityMonitoringServiceTest.java | 199 private static void startActivity(Context ctx, ComponentName name, int displayId) { in startActivity() argument 205 options.setLaunchDisplayId(displayId); in startActivity()
|
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/ |
D | LauncherActivity.java | 327 DisplayItem(int displayId, String description) { in DisplayItem() argument 328 mId = displayId; in DisplayItem()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ScanManager.java | 1319 public void onDisplayAdded(int displayId) {} 1322 public void onDisplayRemoved(int displayId) {} 1325 public void onDisplayChanged(int displayId) {
|