/development/samples/VirtualDeviceManager/client/src/com/example/android/vdmdemo/client/ |
D | InputManager.java | 85 void addFocusableDisplay(int displayId) { in addFocusableDisplay() argument 87 if (mFocusableDisplays.add(displayId)) { in addFocusableDisplay() 88 setFocusedDisplayId(displayId); in addFocusableDisplay() 93 void removeFocusableDisplay(int displayId) { in removeFocusableDisplay() argument 95 mFocusableDisplays.remove(displayId); in removeFocusableDisplay() 96 if (displayId == mFocusedDisplayId) { in removeFocusableDisplay() 103 void sendInputEvent(InputDeviceType deviceType, InputEvent inputEvent, int displayId) { in sendInputEvent() argument 109 sendTouchEvent(deviceType, event, displayId); in sendInputEvent() 112 sendMouseEvent(event, displayId); in sendInputEvent() 115 sendRotaryEvent(event, displayId); in sendInputEvent() [all …]
|
D | DisplayAdapter.java | 83 int displayId = in onFullscreenActivityResult() local 86 removeDisplay(displayId); in onFullscreenActivityResult() 90 rotateDisplay(displayId, requestedRotation); in onFullscreenActivityResult() 102 void removeDisplay(int displayId) { in removeDisplay() argument 103 Log.i(TAG, "Removing display " + displayId); in removeDisplay() 105 if (displayId == mDisplayRepository.get(i).getDisplayId()) { in removeDisplay() 113 void rotateDisplay(int displayId, int rotationDegrees) { in rotateDisplay() argument 114 DisplayHolder holder = getDisplayHolder(displayId); in rotateDisplay() 156 private DisplayHolder getDisplayHolder(int displayId) { in getDisplayHolder() argument 158 if (displayId == mDisplayRepository.get(i).getDisplayId()) { in getDisplayHolder() [all …]
|
D | DisplayController.java | 38 DisplayController(int displayId, RemoteIo remoteIo) { in DisplayController() argument 39 mDisplayId = displayId; in DisplayController()
|
/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/ |
D | DisplayRepository.java | 47 void removeDisplay(int displayId) { in removeDisplay() argument 48 getDisplay(displayId).ifPresent(this::closeDisplay); in removeDisplay() 55 void onDisplayChanged(int displayId) { in onDisplayChanged() argument 56 getDisplay(displayId).ifPresent(RemoteDisplay::onDisplayChanged); in onDisplayChanged() 91 int getRemoteDisplayId(int displayId) { in getRemoteDisplayId() argument 92 return getDisplay(displayId) in getRemoteDisplayId() 106 private Optional<RemoteDisplay> getDisplay(int displayId) { in getDisplay() argument 109 .filter(display -> display.getDisplayId() == displayId) in getDisplay()
|
D | VdmService.java | 159 public void onDisplayAdded(int displayId) { 163 public void onDisplayRemoved(int displayId) { 167 public void onDisplayChanged(int displayId) { 168 mDisplayRepository.onDisplayChanged(displayId); 183 int displayId, @NonNull ComponentName componentName, @NonNull UserHandle user, 185 Log.w(TAG, "onActivityLaunchBlocked " + displayId + ": " + componentName); 193 showToast(displayId, componentName, 202 ActivityOptions.makeBasic().setLaunchDisplayId(displayId).toBundle()); 215 showToast(displayId, componentName, 219 showToast(displayId, componentName, [all …]
|
D | RunningVdmUidsTracker.java | 83 public void onTopActivityChanged(int displayId, @NonNull ComponentName componentName) { in onTopActivityChanged() argument 94 mDisplayIdToRunningUids.computeIfAbsent(displayId, k -> new HashSet<>()); in onTopActivityChanged() 107 public void onDisplayEmpty(int displayId) { in onDisplayEmpty() argument 112 mDisplayIdToRunningUids.remove(displayId); in onDisplayEmpty()
|
D | VdmCompat.java | 49 static void setDisplayImePolicy(VirtualDevice virtualDevice, int displayId, int policy) { in setDisplayImePolicy() argument 51 virtualDevice.setDisplayImePolicy(displayId, policy); in setDisplayImePolicy()
|
D | DisplayActivity.java | 366 public void onDisplayAdded(int displayId) {} in onDisplayAdded() argument 369 public void onDisplayRemoved(int displayId) { in onDisplayRemoved() argument 370 if (mDisplay != null && displayId == mDisplay.getDisplayId()) { in onDisplayRemoved() 376 public void onDisplayChanged(int displayId) {} in onDisplayChanged() argument
|
/development/samples/VirtualDeviceManager/demos/src/com/example/android/vdmdemo/demos/ |
D | HomeDemoActivity.java | 81 int displayId = which == 0 in sendIntentToDisplay() 86 String requiredDisplayCategory = getRequiredDisplayCategory(displayId); in sendIntentToDisplay() 92 if (displayId != Display.INVALID_DISPLAY) { in sendIntentToDisplay() 93 options.setLaunchDisplayId(displayId); in sendIntentToDisplay() 100 private String getRequiredDisplayCategory(int displayId) { in getRequiredDisplayCategory() argument 101 if (displayId == Display.DEFAULT_DISPLAY || !BuildCompat.isAtLeastV()) { in getRequiredDisplayCategory() 104 if (displayId == Display.INVALID_DISPLAY) { in getRequiredDisplayCategory() 105 displayId = getDisplay().getDisplayId(); in getRequiredDisplayCategory() 118 if (deviceDisplayId == displayId) { in getRequiredDisplayCategory()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | PresentationActivity.java | 182 int displayId = mActivePresentations.keyAt(i); in onPause() local 183 mSavedPresentationContents.put(displayId, presentation.mContents); in onPause() 200 final int displayId = display.getDisplayId(); in showPresentation() local 201 if (mActivePresentations.get(displayId) != null) { in showPresentation() 206 + " on display #" + displayId + "."); in showPresentation() 211 mActivePresentations.put(displayId, presentation); in showPresentation() 218 final int displayId = display.getDisplayId(); in hidePresentation() local 219 DemoPresentation presentation = mActivePresentations.get(displayId); in hidePresentation() 224 Log.d(TAG, "Dismissing presentation on display #" + displayId + "."); in hidePresentation() 227 mActivePresentations.delete(displayId); in hidePresentation() [all …]
|
/development/tools/winscope/src/viewers/components/rects/ |
D | rects_component_test.ts | 195 {displayId: 0, groupId: 0, name: 'Display 0', isActive: false}, 196 {displayId: 1, groupId: 1, name: 'Display 1', isActive: false}, 197 {displayId: 2, groupId: 2, name: 'Display 2', isActive: false}, 205 {displayId: 0, groupId: 0, name: 'Display 0', isActive: false}, 206 {displayId: 1, groupId: 1, name: 'Display 1', isActive: false}, 207 {displayId: 2, groupId: 2, name: 'Display 2', isActive: false}, 235 {displayId: 0, groupId: 0, name: 'Display 0', isActive: false}, 236 {displayId: 1, groupId: 1, name: 'Display 1', isActive: false}, 237 {displayId: 2, groupId: 2, name: 'Display 2', isActive: false}, 265 {displayId: 10, groupId: 0, name: 'Display 0', isActive: false}, [all …]
|
D | rects_component.ts | 551 !curr.every((d, index) => d.displayId === prev[index].displayId)); 610 this.currentDisplays.some((curr) => curr.displayId === display.displayId), 662 return storedIds.some((id) => display.displayId === id); 859 JSON.stringify(displays.map((d) => d.displayId)),
|
/development/tools/winscope/src/parsers/window_manager/computations/ |
D | rects_computation.ts | 62 const displayId = container.getEagerPropertyByName('displayId')?.getValue(); constant 63 if (displayId === undefined) { 97 .setGroupId(displayId)
|
D | rects_computation_test.ts | 130 displayId: 1, 144 displayId: 1,
|
/development/tools/winscope/src/viewers/common/ |
D | display_identifier.ts | 18 displayId: number | string; property
|
/development/samples/MultiDisplay/src/com/example/android/multidisplay/wallpaper/ |
D | SampleWallpaper.java | 255 public void onDisplayChanged(int displayId) { 256 if (mDisplay.getDisplayId() == displayId) { 262 public void onDisplayRemoved(int displayId) { 267 public void onDisplayAdded(int displayId) {
|
/development/samples/VirtualDeviceManager/common/src/com/example/android/vdmdemo/common/ |
D | VideoManager.java | 105 int displayId, RemoteIo remoteIo, boolean recordEncoderOutput) { in createDisplayEncoder() argument 108 return new VideoManager(new DisplayProtoHelper(displayId), remoteIo, mediaCodec, in createDisplayEncoder() 116 public static VideoManager createDisplayDecoder(int displayId, RemoteIo remoteIo) { in createDisplayDecoder() argument 119 return new VideoManager(new DisplayProtoHelper(displayId), remoteIo, mediaCodec, false); in createDisplayDecoder() 356 DisplayProtoHelper(int displayId) { in DisplayProtoHelper() argument 357 mDisplayId = displayId; in DisplayProtoHelper()
|
/development/tools/winscope/src/viewers/viewer_surface_flinger/ |
D | presenter_test.ts | 288 displayId: '4619827677550801152', 410 displayId: '4619827259835644672', 416 displayId: '4619827551948147201', 422 displayId: '4619827540095559171', 428 displayId: '4619827124781842690', 434 displayId: '11529215046312967684', 472 displayId: '4619827677550801152',
|
D | presenter.ts | 508 const displayId = rect.id.slice(10, rect.id.length); constant 510 displayId, 526 ids.push({displayId: -1, groupId: rect.groupId, name, isActive: false});
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | OverlayDisplayWindow.java | 367 public void onDisplayAdded(int displayId) { 371 public void onDisplayChanged(int displayId) { 372 if (displayId == mDefaultDisplay.getDisplayId()) { 382 public void onDisplayRemoved(int displayId) { 383 if (displayId == mDefaultDisplay.getDisplayId()) {
|
/development/tools/winscope/src/viewers/viewer_input/ |
D | presenter.ts | 81 displayId: { 201 Presenter.COLUMNS.displayId, 325 spec: Presenter.COLUMNS.displayId,
|
/development/tools/winscope/src/viewers/viewer_view_capture/ |
D | presenter_test.ts | 212 {displayId: 0, groupId: 0, name: 'Taskbar', isActive: true}, 213 {displayId: 1, groupId: 1, name: 'PhoneWindow@25063d9', isActive: true},
|
/development/tools/winscope/src/viewers/viewer_window_manager/ |
D | presenter.ts | 210 displayId: rect.id,
|
D | presenter_test.ts | 213 displayId: 'DisplayContent 1f3454e Built-in Screen',
|
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/ |
D | LauncherActivity.java | 313 DisplayItem(int displayId, String description) { in DisplayItem() argument 314 mId = displayId; in DisplayItem()
|