Home
last modified time | relevance | path

Searched refs:resolution (Results 1 – 25 of 80) sorted by relevance

1234

/frameworks/base/libs/hwui/tests/common/
DTestContext.cpp47 config.resolution = ui::Size(1080, 1920); in getActiveDisplayConfig()
89 const ui::Size& resolution = getActiveDisplayResolution(); in createWindowSurface() local
91 mSurfaceComposerClient->createSurface(String8("HwuiTest"), resolution.getWidth(), in createWindowSurface()
92 resolution.getHeight(), PIXEL_FORMAT_RGBX_8888); in createWindowSurface()
106 const ui::Size& resolution = getActiveDisplayResolution(); in createOffscreenSurface() local
107 mConsumer->setDefaultBufferSize(resolution.getWidth(), resolution.getHeight()); in createOffscreenSurface()
DTestContext.h43 return getActiveDisplayConfig().resolution; in getActiveDisplayResolution()
/frameworks/native/opengl/tests/lib/
DWindowSurface.cpp59 const ui::Size& resolution = displayConfig.resolution; in WindowSurface() local
60 auto width = resolution.getWidth(); in WindowSurface()
61 auto height = resolution.getHeight(); in WindowSurface()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp343 const ui::Size& resolution = config.resolution; in Test_HotplugOneConfig() local
344 EXPECT_EQ(ui::Size(200, 400), resolution); in Test_HotplugOneConfig()
349 resolution.getWidth(), resolution.getHeight(), in Test_HotplugOneConfig()
404 EXPECT_EQ(ui::Size(200, 400), config.resolution); in Test_HotplugTwoSeparateConfigs()
409 const ui::Size& resolution = config.resolution; in Test_HotplugTwoSeparateConfigs() local
412 resolution.getWidth(), resolution.getHeight(), in Test_HotplugTwoSeparateConfigs()
442 if (config.resolution.getWidth() == 800) { in Test_HotplugTwoSeparateConfigs()
456 EXPECT_EQ(ui::Size(800, 1600), config.resolution); in Test_HotplugTwoSeparateConfigs()
461 const ui::Size& resolution = config.resolution; in Test_HotplugTwoSeparateConfigs() local
464 resolution.getWidth(), resolution.getHeight(), in Test_HotplugTwoSeparateConfigs()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DTransactionTestHarnesses.h45 const ui::Size& resolution = displayConfig.resolution; in getScreenCapture() local
54 consumer->setDefaultBufferSize(resolution.getWidth(), resolution.getHeight()); in getScreenCapture()
68 Rect(displayState.viewport), Rect(resolution)); in getScreenCapture()
DMultiDisplayLayerBounds_test.cpp45 consumer->setDefaultBufferSize(mMainDisplayConfig.resolution.getWidth(), in SetUp()
46 mMainDisplayConfig.resolution.getHeight()); in SetUp()
62 Rect(layerStackSize), Rect(mMainDisplayConfig.resolution)); in createDisplay()
/frameworks/native/services/sensorservice/
DSensorDeviceUtils.h35 inline void quantizeValue(float *value, double resolution) { in quantizeValue() argument
39 double incRes = 0.125 * resolution; in quantizeValue()
44 void quantizeSensorEventValues(sensors_event_t *event, float resolution);
DSensorDeviceUtils.cpp33 void quantizeSensorEventValues(sensors_event_t *event, float resolution) { in quantizeSensorEventValues() argument
34 LOG_FATAL_IF(resolution == 0, "Resolution must be specified for all sensors!"); in quantizeSensorEventValues()
35 if (resolution == 0) { in quantizeSensorEventValues()
78 quantizeValue(&event->data[i], resolution); in quantizeSensorEventValues()
DRotationVectorSensor.cpp39 .resolution = 1.0f / (1<<24), in RotationVectorSensor()
125 .resolution = 1.0f / (1<<24), in GyroDriftSensor()
DOrientationSensor.cpp40 .resolution = 1.0f/256.0f, // FIXME: real value here in OrientationSensor()
DLinearAccelerationSensor.cpp42 .resolution = gsensor.getResolution(), in LinearAccelerationSensor()
/frameworks/native/services/inputflinger/reader/mapper/
DJoystickInputMapper.h53 float resolution; // normalized resolution in units/mm member
64 float resolution) { in initialize()
76 this->resolution = resolution; in initialize()
DJoystickInputMapper.cpp47 axis.resolution); in addMotionRange()
54 axis.fuzz, axis.resolution); in addMotionRange()
97 axis.min, axis.max, axis.flat, axis.fuzz, axis.resolution); in dump()
105 axis.rawAxisInfo.resolution); in dump()
144 rawAxisInfo.resolution * scale); in configure()
150 rawAxisInfo.resolution * scale); in configure()
155 rawAxisInfo.resolution * scale); in configure()
/frameworks/native/services/inputflinger/host/
DInputDriver.cpp69 float resolution; member
167 float resolution) { in inputReportDefinitionDeclareUsageInt() argument
170 .usage = usage, .min = min, .max = max, .resolution = resolution}); in inputReportDefinitionDeclareUsageInt()
335 input_usage_t usage, int32_t min, int32_t max, float resolution) { in input_report_definition_declare_usage_int() argument
337 driver->inputReportDefinitionDeclareUsageInt(report, id, usage, min, max, resolution); in input_report_definition_declare_usage_int()
DInputDriver.h57 float resolution) = 0;
104 float resolution) override;
157 input_usage_t usage, int32_t min, int32_t max, float resolution);
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp117 const ui::Size& resolution = getActiveDisplayResolution(); in run() local
118 const int width = resolution.getWidth(); in run()
119 const int height = resolution.getHeight(); in run()
/frameworks/hardware/interfaces/automotive/display/1.0/vts/functional/
DVtsHalAutomotiveDisplayV1_0TargetTest.cpp63 ASSERT_GT(pConfig->resolution.getWidth(), 0); in TEST_P()
64 ASSERT_GT(pConfig->resolution.getHeight(), 0); in TEST_P()
/frameworks/av/cmds/stagefright/
Dstream.cpp327 const ui::Size& resolution = config.resolution; in main() local
328 const ssize_t displayWidth = resolution.getWidth(); in main()
329 const ssize_t displayHeight = resolution.getHeight(); in main()
Dcodec.cpp420 const ui::Size& resolution = config.resolution; in main() local
421 const ssize_t displayWidth = resolution.getWidth(); in main()
422 const ssize_t displayHeight = resolution.getHeight(); in main()
/frameworks/native/include/input/
DInputDevice.h82 float resolution; member
105 float min, float max, float flat, float fuzz, float resolution);
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayConfig.h28 ui::Size resolution; member
/frameworks/native/libs/ui/include/ui/
DDisplayConfig.h28 ui::Size resolution; member
/frameworks/native/services/automotive/display/
DAutomotiveDisplayProxyService.cpp60 auto displayWidth = displayConfig.resolution.getWidth(); in getIGraphicBufferProducer()
61 auto displayHeight = displayConfig.resolution.getHeight(); in getIGraphicBufferProducer()
/frameworks/base/core/java/android/view/
DInputDevice.java762 float min, float max, float flat, float fuzz, float resolution) { in addMotionRange() argument
763 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz, resolution)); in addMotionRange()
871 float resolution) { in MotionRange() argument
878 mResolution = resolution; in MotionRange()
/frameworks/native/libs/input/
DInputDevice.cpp202 float flat, float fuzz, float resolution) { in addMotionRange() argument
203 MotionRange range = { axis, source, min, max, flat, fuzz, resolution }; in addMotionRange()

1234