Home
last modified time | relevance | path

Searched refs:displayId (Results 1 – 25 of 29) sorted by relevance

12

/development/samples/VirtualDeviceManager/client/src/com/example/android/vdmdemo/client/
DInputManager.java85 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 …]
DDisplayAdapter.java83 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 …]
DDisplayController.java38 DisplayController(int displayId, RemoteIo remoteIo) { in DisplayController() argument
39 mDisplayId = displayId; in DisplayController()
/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/
DDisplayRepository.java47 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()
DVdmService.java159 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 …]
DRunningVdmUidsTracker.java83 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()
DVdmCompat.java49 static void setDisplayImePolicy(VirtualDevice virtualDevice, int displayId, int policy) { in setDisplayImePolicy() argument
51 virtualDevice.setDisplayImePolicy(displayId, policy); in setDisplayImePolicy()
DDisplayActivity.java366 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/
DHomeDemoActivity.java81 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/
DPresentationActivity.java182 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/
Drects_component_test.ts195 {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 …]
Drects_component.ts551 !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/
Drects_computation.ts62 const displayId = container.getEagerPropertyByName('displayId')?.getValue(); constant
63 if (displayId === undefined) {
97 .setGroupId(displayId)
Drects_computation_test.ts130 displayId: 1,
144 displayId: 1,
/development/tools/winscope/src/viewers/common/
Ddisplay_identifier.ts18 displayId: number | string; property
/development/samples/MultiDisplay/src/com/example/android/multidisplay/wallpaper/
DSampleWallpaper.java255 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/
DVideoManager.java105 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/
Dpresenter_test.ts288 displayId: '4619827677550801152',
410 displayId: '4619827259835644672',
416 displayId: '4619827551948147201',
422 displayId: '4619827540095559171',
428 displayId: '4619827124781842690',
434 displayId: '11529215046312967684',
472 displayId: '4619827677550801152',
Dpresenter.ts508 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/
DOverlayDisplayWindow.java367 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/
Dpresenter.ts81 displayId: {
201 Presenter.COLUMNS.displayId,
325 spec: Presenter.COLUMNS.displayId,
/development/tools/winscope/src/viewers/viewer_view_capture/
Dpresenter_test.ts212 {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/
Dpresenter.ts210 displayId: rect.id,
Dpresenter_test.ts213 displayId: 'DisplayContent 1f3454e Built-in Screen',
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DLauncherActivity.java313 DisplayItem(int displayId, String description) { in DisplayItem() argument
314 mId = displayId; in DisplayItem()

12