Home
last modified time | relevance | path

Searched refs:display (Results 1 – 25 of 86) sorted by relevance

1234

/development/tools/winscope/src/parsers/surface_flinger/operations/
Dadd_display_properties.ts29 for (const display of displays.getAllChildren()) { constant
30 const dpiX = display.getChildByName('dpiX');
31 const dpiY = display.getChildByName('dpiY');
35 const size = assertDefined(display.getChildByName('size'));
43 display.addOrReplaceChild(
45 display.id,
52 display.getChildByName('layerStack'),
61 display.addOrReplaceChild(
63 display.id,
/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/
DDisplayRepository.java41 void addDisplay(RemoteDisplay display) { in addDisplay() argument
43 mDisplayRepository.add(display); in addDisplay()
60 Optional<RemoteDisplay> display = getDisplayByRemoteId(event.getDisplayId()); in resetDisplay() local
61 display.ifPresent(d -> d.reset(event.getDisplayCapabilities())); in resetDisplay()
62 return display.isPresent(); in resetDisplay()
106 .filter(display -> display.getDisplayId() == displayId) in getDisplay()
114 .filter(display -> display.getRemoteDisplayId() == remoteDisplayId) in getDisplayByRemoteId()
119 private void closeDisplay(RemoteDisplay display) { in closeDisplay() argument
121 mDisplayRepository.remove(display); in closeDisplay()
123 display.close(); in closeDisplay()
DInputController.java116 Optional<RemoteDisplay> display = getFocusedDisplayLocked(); in getFocusedDisplaySize() local
117 return display.isPresent() in getFocusedDisplaySize()
118 ? Optional.of(display.get().getDisplaySize()) in getFocusedDisplaySize()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPresentationActivity.java31 import android.hardware.display.DisplayManager;
157 final Display display = mDisplayListAdapter.getItem(i); in onResume() local
159 mSavedPresentationContents.get(display.getDisplayId()); in onResume()
161 showPresentation(display, contents); in onResume()
199 private void showPresentation(Display display, DemoPresentationContents contents) { in showPresentation() argument
200 final int displayId = display.getDisplayId(); in showPresentation()
208 DemoPresentation presentation = new DemoPresentation(this, display, contents); in showPresentation()
217 private void hidePresentation(Display display) { in hidePresentation() argument
218 final int displayId = display.getDisplayId(); in hidePresentation()
234 private void setPresentationDisplayMode(Display display, int displayModeId) { in setPresentationDisplayMode() argument
[all …]
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceRandom.java21 import android.hardware.display.DisplayManagerGlobal;
269 … Display display = DisplayManagerGlobal.getInstance().getRealDisplay(Display.DEFAULT_DISPLAY); in generatePointerEvent() local
271 PointF p1 = randomPoint(random, display); in generatePointerEvent()
285 randomWalk(random, display, p1, v1); in generatePointerEvent()
293 PointF p2 = randomPoint(random, display); in generatePointerEvent()
296 randomWalk(random, display, p1, v1); in generatePointerEvent()
305 randomWalk(random, display, p1, v1); in generatePointerEvent()
306 randomWalk(random, display, p2, v2); in generatePointerEvent()
314 randomWalk(random, display, p1, v1); in generatePointerEvent()
315 randomWalk(random, display, p2, v2); in generatePointerEvent()
[all …]
DMonkeySourceNetworkVars.java18 import android.hardware.display.DisplayManagerGlobal;
85 … Display display = DisplayManagerGlobal.getInstance().getRealDisplay(Display.DEFAULT_DISPLAY);
86 VAR_MAP.put("display.width", new StaticVarGetter(Integer.toString(display.getWidth())));
87 VAR_MAP.put("display.height", new StaticVarGetter(Integer.toString(display.getHeight())));
90 display.getMetrics(dm);
/development/tools/external_crates/crate_health/src/
Dmigration.rs48 .context(format!("Failed to get file name for {}", entry.display()))? in copy_customizations()
53 entry.display(), in copy_customizations()
59 return Err(anyhow!("Destination file {} exists", dest_file.display())); in copy_customizations()
63 entry.display(), in copy_customizations()
64 dest_dir_absolute.display() in copy_customizations()
77 dest.display(), in copy_customizations()
Dlib.rs80 Err(anyhow!(".repo directory not found in any ancestor of {}", cwd.display())) in default_repo_root()
94 remove_dir_all(&dir).context(format!("Failed to remove {}", dir.display()))?; in ensure_exists_and_empty()
96 create_dir_all(&dir).context(format!("Failed to create {}", dir.display())) in ensure_exists_and_empty()
106 src.as_ref().display(), in copy_dir()
107 dst.as_ref().display(), in copy_dir()
/development/samples/VirtualDeviceManager/
DREADME.md138 - Clicking an app icon will create a new virtual display, launch the app there
139 and start streaming the display contents to the client. The client will show
140 the surface of that display and render its contents.
143 display to launch the app on instead of creating a new one.
146 new virtual display, launch the secondary home activity there and start
147 streaming the display contents to the client. The display on the Client app
158 a new virtual display, mirror the default host display there and start
159 streaming the display contents to the client. Run the commands below to
173 from the host device into the focused display on the client device. The focused
174 display is indicated by the frame around its header whenever there are more than
[all …]
/development/tools/winscope/src/parsers/window_manager/computations/
Drects_computation.ts24 makeDisplayRect(display: HierarchyTreeNode, absoluteZ: number): TraceRect {
25 const displayInfo = display.getEagerPropertyByName('displayInfo');
36 .setId(display.id)
37 .setName(`Display - ${display.name}`)
40 assertDefined(display.getEagerPropertyByName('id')).getValue(),
/development/tools/winscope/src/viewers/common/
Dwm_ime_utils.ts72 const display = assertDefined( constant
83 const activities = this.getActivitiesForWindowState(state, display);
96 display: HierarchyTreeNode,
98 return this.getRootTasks(display).reduce((activities, stack) => {
122 private getRootTasks(display: HierarchyTreeNode): HierarchyTreeNode[] {
123 const tasks = display.filterDfs((node) => {
/development/tools/winscope/src/viewers/components/rects/
Drects_component.ts451 (display) => display.displayId === this.currentDisplay?.displayId,
459 (display) => display.groupId === this.mapper3d.getCurrentGroupId(),
559 const display = assertDefined( constant
562 this.updateCurrentDisplay(display);
565 detail: {groupId: display.groupId},
635 displays.find((display) =>
637 (rect) => !rect.isDisplay && rect.groupId === display.groupId,
643 private updateCurrentDisplay(display: DisplayIdentifier) {
644 this.currentDisplay = display;
645 this.mapper3d.setCurrentGroupId(display.groupId);
/development/build/tools/
Dmk_sdk_repo_xml.sh117 Extra.VendorDisplay vendor-display 4
121 Extra.NameDisplay name-display 4
128 SystemImage.TagDisplay tag-display r:9,s:2
130 Addon.VendorDisplay add-on/vendor-display s:3
134 vendor-display vendor-display 4
135 vendor vendor-display 4
138 name-display name-display 4
139 name name-display 4
/development/tools/winscope/src/parsers/surface_flinger/computations/
Drects_computation.ts29 return displays.map((display, index) => {
31 display.getChildByName('layerStackSpaceRect'),
35 display.getChildByName('layerStack'),
37 let displayName = display.getChildByName('name')?.getValue();
41 const id = assertDefined(display.getChildByName('id')).getValue();
64 .setIsVirtual(display.getChildByName('isVirtual')?.getValue() ?? false)
/development/tools/otagui/src/components/
DJobDisplay.vue3 <div class="job-display">
38 .job-display {
46 .job-display:hover {
DOTAJobTable.vue46 display: function (row) {
63 display: function (row) {
71 display: function (row) {
/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/
DSamplePresentation.java42 public SamplePresentation(Context outerContext, Display display) { in SamplePresentation() argument
43 super(outerContext, display); in SamplePresentation()
51 setContentView(R.layout.display); in onCreate()
/development/tools/motion/motion_test_watcher_app/src/app/
Dapp.component.scss2 display: flex;
23 display: flex;
/development/tools/motion/motion_test_watcher_app/src/app/test-overview/
Dtest-overview.component.scss2 display: flex;
11 display: flex;
/development/tools/motion/motion_test_watcher_app/src/app/screenshot-golden/
Dscreenshot-golden.component.scss2 display: flex;
11 display: flex;
/development/samples/browseable/BasicMediaRouter/
D_index.jd8 This sample demonstrates the use of the MediaRouter API to display
9 content on a secondary display.\n\nUse the "Media Route Action Item" in the ActionBar
/development/tools/motion/motion_test_watcher_app/src/app/motion-golden/
Dmotion-golden.component.scss2 display: flex;
11 display: flex;
/development/tools/winscope/src/
Dstyles.css27 display: flex;
38 display: flex;
84 display: flex;
/development/tools/winscope/src/app/components/bottomnav/
Ddrawer.scss45 display: block;
84 display: block;
90 // We use 'visibility: hidden | visible' because 'display: none' will not animate any
116 display: block;
134 display: block;
184 display: none;
/development/samples/browseable/PdfRendererBasic/
D_index.jd8 This sample demonstrates how to use PdfRenderer to display PDF documents on the screen.

1234