/frameworks/av/media/libmediaformatshaper/ |
D | CodecProperties.cpp | 115 std::string resolution = key.substr(strlen("vq-target-qpmax-")); in setTuningValue() local 116 if (qpMaxPoint(resolution, value)) { in setTuningValue() 128 std::string resolution = key.substr(strlen("vq-target-bpp-")); in setTuningValue() local 129 if (bppPoint(resolution, value)) { in setTuningValue() 179 bool CodecProperties::bppPoint(std::string resolution, std::string value) { in bppPoint() argument 186 if (resolution == "1080p") { in bppPoint() 188 } else if (resolution == "720p") { in bppPoint() 190 } else if (resolution == "540p") { in bppPoint() 192 } else if (resolution == "480p") { in bppPoint() 195 size_t sep = resolution.find('x'); in bppPoint() [all …]
|
D | CodecProperties.h | 124 bool bppPoint(std::string resolution, std::string value); 137 bool qpMaxPoint(std::string resolution, std::string value);
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestContext.cpp | 47 config.resolution = ui::Size(1080, 1920); in getActiveDisplayMode() 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()
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | SFFakeHwc_test.cpp | 352 const ui::Size& resolution = mode.resolution; in Test_HotplugOneConfig() local 353 EXPECT_EQ(ui::Size(200, 400), resolution); in Test_HotplugOneConfig() 358 resolution.getWidth(), resolution.getHeight(), in Test_HotplugOneConfig() 413 EXPECT_EQ(ui::Size(200, 400), mode.resolution); in Test_HotplugTwoSeparateConfigs() 418 const ui::Size& resolution = mode.resolution; in Test_HotplugTwoSeparateConfigs() local 421 resolution.getWidth(), resolution.getHeight(), in Test_HotplugTwoSeparateConfigs() 452 if (mode.resolution.getWidth() == 800) { in Test_HotplugTwoSeparateConfigs() 466 EXPECT_EQ(ui::Size(800, 1600), mode.resolution); in Test_HotplugTwoSeparateConfigs() 471 const ui::Size& resolution = mode.resolution; in Test_HotplugTwoSeparateConfigs() local 474 resolution.getWidth(), resolution.getHeight(), in Test_HotplugTwoSeparateConfigs() [all …]
|
/frameworks/native/services/sensorservice/ |
D | SensorDeviceUtils.h | 38 inline void quantizeValue(float *value, double resolution, double factor = 0.125) { 39 if (resolution == 0) { 43 double incRes = factor * resolution; 48 void quantizeSensorEventValues(sensors_event_t *event, float resolution);
|
D | SensorDeviceUtils.cpp | 33 void quantizeSensorEventValues(sensors_event_t *event, float resolution) { in quantizeSensorEventValues() argument 34 if (resolution == 0) { in quantizeSensorEventValues() 77 quantizeValue(&event->data[i], resolution); in quantizeSensorEventValues() 92 return sensor.resolution; in resolutionForSensor() 99 return std::max(sensor.resolution, static_cast<float>(lowerBound)); in resolutionForSensor() 118 return sensor.resolution; in resolutionForSensor()
|
D | RotationVectorSensor.cpp | 39 .resolution = 1.0f / (1<<24), in RotationVectorSensor() 125 .resolution = 1.0f / (1<<24), in GyroDriftSensor()
|
/frameworks/native/opengl/tests/lib/ |
D | WindowSurface.cpp | 59 const ui::Size& resolution = displayMode.resolution; in WindowSurface() local 60 auto width = resolution.getWidth(); in WindowSurface() 61 auto height = resolution.getHeight(); in WindowSurface()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | JoystickInputMapper.h | 42 float resolution, float filter) in Axis() 54 resolution(resolution), in Axis() 73 float resolution; // normalized resolution in units/mm member
|
D | SensorInputMapper.h | 45 float offset, float min, float max, float flat, float fuzz, float resolution, in Axis() 55 resolution(resolution), in Axis() 70 float resolution; // normalized resolution in units member
|
D | SensorInputMapper.cpp | 111 axis.min, axis.max, axis.flat, axis.fuzz, axis.resolution); in dump() 118 axis.rawAxisInfo.resolution); in dump() 172 scale = 1.0f / rawAxisInfo.resolution; in createAxis() 175 const float max = rawAxisInfo.maxValue / rawAxisInfo.resolution; in createAxis() 176 const float min = rawAxisInfo.minValue / rawAxisInfo.resolution; in createAxis() 179 const float resolution = rawAxisInfo.resolution; in createAxis() local 184 return Axis(rawAxisInfo, axisInfo, scale, offset, min, max, flat, fuzz, resolution, filter); in createAxis()
|
D | JoystickInputMapper.cpp | 47 axis.resolution); in addMotionRange() 54 axis.fuzz, axis.resolution); in addMotionRange() 95 axis.min, axis.max, axis.flat, axis.fuzz, axis.resolution); in dump() 103 axis.rawAxisInfo.resolution); in dump() 199 const float resolution = rawAxisInfo.resolution * scale; in createAxis() local 205 max, flat, fuzz, resolution, filter); in createAxis()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | TransactionTestHarnesses.h | 45 const ui::Size& resolution = displayMode.resolution; in getScreenCapture() local 54 consumer->setDefaultBufferSize(resolution.getWidth(), resolution.getHeight()); in getScreenCapture() 70 Rect(displayState.layerStackSpaceRect), Rect(resolution)); in getScreenCapture()
|
D | MultiDisplayLayerBounds_test.cpp | 45 consumer->setDefaultBufferSize(mMainDisplayMode.resolution.getWidth(), in SetUp() 46 mMainDisplayMode.resolution.getHeight()); in SetUp() 62 Rect(layerStackSize), Rect(mMainDisplayMode.resolution)); in createDisplay()
|
/frameworks/native/include/input/ |
D | InputDevice.h | 113 float maxRange, float resolution, float power, int32_t minDelay, in InputDeviceSensorInfo() 123 resolution(resolution), in InputDeviceSensorInfo() 145 float resolution; member 204 float resolution; member 227 float min, float max, float flat, float fuzz, float resolution);
|
/frameworks/native/libs/ui/ |
D | DisplayMode.cpp | 30 FlattenableHelpers::getFlattenedSize(resolution) + in getFlattenedSize() 45 RETURN_IF_ERROR(FlattenableHelpers::flatten(&buffer, &size, resolution)); in flatten() 58 RETURN_IF_ERROR(FlattenableHelpers::unflatten(&buffer, &size, &resolution)); in unflatten()
|
/frameworks/base/tools/xmlpersistence/src/main/kotlin/ |
D | Parser.kt | 30 import com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration 31 import com.github.javaparser.resolution.types.ResolvedPrimitiveType 32 import com.github.javaparser.resolution.types.ResolvedReferenceType 35 import com.github.javaparser.symbolsolver.resolution.typesolvers.CombinedTypeSolver 36 import com.github.javaparser.symbolsolver.resolution.typesolvers.MemoryTypeSolver 37 import com.github.javaparser.symbolsolver.resolution.typesolvers.ReflectionTypeSolver
|
/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() 337 input_usage_t usage, int32_t min, int32_t max, float resolution) { in input_report_definition_declare_usage_int() argument 339 driver->inputReportDefinitionDeclareUsageInt(report, id, usage, min, max, resolution); in input_report_definition_declare_usage_int()
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputSensorInfo.java | 80 float resolution, in InputSensorInfo() argument 100 this.mResolution = resolution; in InputSensorInfo() 265 float resolution = in.readFloat(); in InputSensorInfo() local 286 this.mResolution = resolution; in InputSensorInfo()
|
/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 = mode.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 = mode.resolution; in main() local 421 const ssize_t displayWidth = resolution.getWidth(); in main() 422 const ssize_t displayHeight = resolution.getHeight(); in main()
|
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/ |
D | InputAbsInfo.aidl | 25 int resolution;
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | TestSceneRunner.cpp | 112 const ui::Size& resolution = getActiveDisplayResolution(); in doRun() local 113 const int width = resolution.getWidth(); in doRun() 114 const int height = resolution.getHeight(); in doRun()
|
/frameworks/base/cmds/uinput/ |
D | README.md | 78 | resolution | integer | resolution of axis | 100 "maximum":255, "fuzz":0, "flat":0, "resolution":1} 103 "maximum":255, "fuzz":0, "flat":0, "resolution":1}
|