/frameworks/base/libs/hwui/tests/common/ |
D | TestContext.cpp | 47 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()
|
D | TestContext.h | 43 return getActiveDisplayConfig().resolution; in getActiveDisplayResolution()
|
/frameworks/native/opengl/tests/lib/ |
D | WindowSurface.cpp | 59 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/ |
D | SFFakeHwc_test.cpp | 343 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/ |
D | TransactionTestHarnesses.h | 45 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()
|
D | MultiDisplayLayerBounds_test.cpp | 45 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/ |
D | SensorDeviceUtils.h | 35 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);
|
D | SensorDeviceUtils.cpp | 33 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()
|
D | RotationVectorSensor.cpp | 39 .resolution = 1.0f / (1<<24), in RotationVectorSensor() 125 .resolution = 1.0f / (1<<24), in GyroDriftSensor()
|
D | OrientationSensor.cpp | 40 .resolution = 1.0f/256.0f, // FIXME: real value here in OrientationSensor()
|
D | LinearAccelerationSensor.cpp | 42 .resolution = gsensor.getResolution(), in LinearAccelerationSensor()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | JoystickInputMapper.h | 53 float resolution; // normalized resolution in units/mm member 64 float resolution) { in initialize() 76 this->resolution = resolution; in initialize()
|
D | JoystickInputMapper.cpp | 47 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/ |
D | InputDriver.cpp | 69 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()
|
D | InputDriver.h | 57 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/ |
D | TestSceneRunner.cpp | 117 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/ |
D | VtsHalAutomotiveDisplayV1_0TargetTest.cpp | 63 ASSERT_GT(pConfig->resolution.getWidth(), 0); in TEST_P() 64 ASSERT_GT(pConfig->resolution.getHeight(), 0); in TEST_P()
|
/frameworks/av/cmds/stagefright/ |
D | stream.cpp | 327 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()
|
D | codec.cpp | 420 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/ |
D | InputDevice.h | 82 float resolution; member 105 float min, float max, float flat, float fuzz, float resolution);
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | DisplayConfig.h | 28 ui::Size resolution; member
|
/frameworks/native/libs/ui/include/ui/ |
D | DisplayConfig.h | 28 ui::Size resolution; member
|
/frameworks/native/services/automotive/display/ |
D | AutomotiveDisplayProxyService.cpp | 60 auto displayWidth = displayConfig.resolution.getWidth(); in getIGraphicBufferProducer() 61 auto displayHeight = displayConfig.resolution.getHeight(); in getIGraphicBufferProducer()
|
/frameworks/base/core/java/android/view/ |
D | InputDevice.java | 762 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/ |
D | InputDevice.cpp | 202 float flat, float fuzz, float resolution) { in addMotionRange() argument 203 MotionRange range = { axis, source, min, max, flat, fuzz, resolution }; in addMotionRange()
|