Home
last modified time | relevance | path

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

/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()
119 sendKeyEvent(deviceType, event, displayId); in sendInputEvent()
[all …]
DDisplayAdapter.java82 int displayId = in onFullscreenActivityResult() local
85 removeDisplay(displayId); in onFullscreenActivityResult()
89 rotateDisplay(displayId, requestedRotation); in onFullscreenActivityResult()
100 void removeDisplay(int displayId) { in removeDisplay() argument
101 Log.i(TAG, "Removing display " + displayId); in removeDisplay()
103 if (displayId == mDisplayRepository.get(i).getDisplayId()) { in removeDisplay()
111 void rotateDisplay(int displayId, int rotationDegrees) { in rotateDisplay() argument
112 DisplayHolder holder = getDisplayHolder(displayId); in rotateDisplay()
154 private DisplayHolder getDisplayHolder(int displayId) { in getDisplayHolder() argument
156 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()
88 int getRemoteDisplayId(int displayId) { in getRemoteDisplayId() argument
89 return getDisplay(displayId) in getRemoteDisplayId()
103 private Optional<RemoteDisplay> getDisplay(int displayId) { in getDisplay() argument
106 .filter(display -> display.getDisplayId() == displayId) in getDisplay()
DRunningVdmUidsTracker.java81 public void onTopActivityChanged(int displayId, @NonNull ComponentName componentName) { in onTopActivityChanged() argument
92 mDisplayIdToRunningUids.computeIfAbsent(displayId, k -> new HashSet<>()); in onTopActivityChanged()
105 public void onDisplayEmpty(int displayId) { in onDisplayEmpty() argument
110 mDisplayIdToRunningUids.remove(displayId); in onDisplayEmpty()
DVdmCompat.java44 static void setDisplayImePolicy(VirtualDevice virtualDevice, int displayId, int policy) { in setDisplayImePolicy() argument
46 virtualDevice.setDisplayImePolicy(displayId, policy); in setDisplayImePolicy()
DVdmService.java141 public void onDisplayAdded(int displayId) {
145 public void onDisplayRemoved(int displayId) {
149 public void onDisplayChanged(int displayId) {
150 mDisplayRepository.onDisplayChanged(displayId);
450 int displayId, @NonNull ComponentName componentName) { in createVirtualDevice() argument
451 Log.w(TAG, "onTopActivityChanged " + displayId + ": " + componentName); in createVirtualDevice()
452 int remoteDisplayId = mDisplayRepository.getRemoteDisplayId(displayId); in createVirtualDevice()
474 public void onDisplayEmpty(int displayId) { in createVirtualDevice() argument
475 Log.i(TAG, "Display " + displayId + " is empty, removing"); in createVirtualDevice()
476 mDisplayRepository.removeDisplay(displayId); in createVirtualDevice()
[all …]
/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.ts152 {displayId: 0, groupId: 0, name: 'Display 0'},
153 {displayId: 1, groupId: 1, name: 'Display 1'},
154 {displayId: 2, groupId: 2, name: 'Display 2'},
162 {displayId: 0, groupId: 0, name: 'Display 0'},
163 {displayId: 1, groupId: 1, name: 'Display 1'},
164 {displayId: 2, groupId: 2, name: 'Display 2'},
191 {displayId: 10, groupId: 0, name: 'Display 0'},
192 {displayId: 20, groupId: 1, name: 'Display 1'},
198 {displayId: 20, groupId: 2, name: 'Display 1'},
199 {displayId: 10, groupId: 1, name: 'Display 0'},
[all …]
Drects_component.ts413 !curr.every((d, index) => d.displayId === prev?.at(index)?.displayId);
451 (display) => display.displayId === this.currentDisplay?.displayId,
/development/tools/winscope/src/parsers/window_manager/computations/
Drects_computation.ts53 const displayId = container.getEagerPropertyByName('displayId')?.getValue(); constant
54 if (displayId === undefined) {
88 .setGroupId(displayId)
Drects_computation_test.ts82 displayId: 1,
96 displayId: 1,
/development/tools/winscope/src/viewers/viewer_surface_flinger/
Dpresenter_test.ts271 displayId: '11529215046312967684',
275 {displayId: '4619827259835644672', groupId: 0, name: 'EMU_display_0'},
276 {displayId: '4619827551948147201', groupId: 2, name: 'EMU_display_1'},
277 {displayId: '4619827124781842690', groupId: 3, name: 'EMU_display_2'},
278 {displayId: '4619827540095559171', groupId: 4, name: 'EMU_display_3'},
Dpresenter.ts215 const displayId = rect.id.slice(10, rect.id.length); constant
216 ids.push({displayId, groupId: rect.groupId, name: rect.label});
228 ids.push({displayId: -1, groupId: rect.groupId, name});
/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/trace/
Dtrace_tree_node.ts35 displayId?: number; property
/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_window_manager/
Dpresenter.ts180 ids.push({displayId: rect.id, groupId: rect.groupId, name: displayName});
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DLauncherActivity.java313 DisplayItem(int displayId, String description) { in DisplayItem() argument
314 mId = displayId; in DisplayItem()
/development/tools/winscope/src/viewers/viewer_view_capture/
Dpresenter.ts255 displayId: traceId,
/development/samples/VirtualDeviceManager/
DREADME.md322 adb pull /sdcard/Download/vdmdemo_encoder_output_<displayId>.h264
323 ffplay -f h264 vdmdemo_encoder_output_<displayId>.h264
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...