Searched refs:displaySize (Results 1 – 6 of 6) sorted by relevance
/development/tools/winscope/src/parsers/surface_flinger/computations/ |
D | visibility_properties_computation.ts | 82 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/ |
D | StylusFragment.java | 96 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()
|
D | MouseFragment.java | 149 PointF displaySize = 152 x *= SENSOR_EVENT_SCALE * displaySize.x; 153 y *= SENSOR_EVENT_SCALE * displaySize.y;
|
D | RemoteDisplay.java | 335 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/ |
D | Camera2BasicFragment.java | 543 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/ |
D | Camera2RawFragment.java | 1053 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()
|