Home
last modified time | relevance | path

Searched refs:displaySize (Results 1 – 6 of 6) sorted by relevance

/development/tools/winscope/src/parsers/surface_flinger/computations/
Dvisibility_properties_computation.ts82 const displaySize = this.getDisplaySize(layer); constant
92 if (!this.layerContains(other, layer, displaySize)) {
134 if (!this.layerOverlaps(other, layer, displaySize)) {
157 return this.layerOverlaps(other, layer, displaySize);
321 const displaySize = new Rect(0, 0, 0, 0); constant
331 return this.getRect(rectNode) ?? displaySize;
333 return displaySize;
/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/
DStylusFragment.java96 Optional<PointF> displaySize = mInputController.getFocusedDisplaySize(); in sendMotionEvent() local
97 if (action < 0 || !displaySize.isPresent()) { in sendMotionEvent()
101 int x = (int) (e.getX() / view.getWidth() * displaySize.get().x); in sendMotionEvent()
102 int y = (int) (e.getY() / view.getHeight() * displaySize.get().y); in sendMotionEvent()
DMouseFragment.java149 PointF displaySize =
152 x *= SENSOR_EVENT_SCALE * displaySize.x;
153 y *= SENSOR_EVENT_SCALE * displaySize.y;
DRemoteDisplay.java335 Point displaySize = new Point(5000, 5000); in processNavigationTouchpadEvent() local
339 displaySize.x, displaySize.y) in processNavigationTouchpadEvent()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java543 Point displaySize = new Point(); in setUpCameraOutputs() local
544 activity.getWindowManager().getDefaultDisplay().getSize(displaySize); in setUpCameraOutputs()
547 int maxPreviewWidth = displaySize.x; in setUpCameraOutputs()
548 int maxPreviewHeight = displaySize.y; in setUpCameraOutputs()
553 maxPreviewWidth = displaySize.y; in setUpCameraOutputs()
554 maxPreviewHeight = displaySize.x; in setUpCameraOutputs()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java1053 Point displaySize = new Point(); in configureTransform() local
1054 activity.getWindowManager().getDefaultDisplay().getSize(displaySize); in configureTransform()
1064 int maxPreviewWidth = displaySize.x; in configureTransform()
1065 int maxPreviewHeight = displaySize.y; in configureTransform()
1070 maxPreviewWidth = displaySize.y; in configureTransform()
1071 maxPreviewHeight = displaySize.x; in configureTransform()