Searched refs:resolution (Results 1 - 21 of 21) sorted by relevance

/frameworks/native/include/input/
H A DInputDevice.h72 float resolution; member in struct:android::InputDeviceInfo::MotionRange
93 float min, float max, float flat, float fuzz, float resolution);
/frameworks/native/services/sensorservice/
H A DRotationVectorSensor.cpp71 hwSensor.resolution = 1.0f / (1<<24);
120 hwSensor.resolution = 1.0f / (1<<24);
H A DLinearAccelerationSensor.cpp70 hwSensor.resolution = gsensor.getResolution();
H A DCorrectedGyroSensor.cpp77 hwSensor.resolution = mGyro.getResolution();
H A DGravitySensor.cpp85 hwSensor.resolution = mAccelerometer.getResolution();
H A DOrientationSensor.cpp84 hwSensor.resolution = 1.0f/256.0f; // FIXME: real value here
/frameworks/native/libs/input/
H A DInputDevice.cpp176 float flat, float fuzz, float resolution) {
177 MotionRange range = { axis, source, min, max, flat, fuzz, resolution };
175 addMotionRange(int32_t axis, uint32_t source, float min, float max, float flat, float fuzz, float resolution) argument
/frameworks/base/core/java/android/view/
H A DInputDevice.java689 float min, float max, float flat, float fuzz, float resolution) {
690 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz, resolution));
742 float resolution) {
749 mResolution = resolution;
830 * Gets the resolution for input device measurements with respect to this axis.
831 * @return The resolution in units per millimeter, or units per radian for rotational axes.
918 description.append(" resolution=").append(range.mResolution);
688 addMotionRange(int axis, int source, float min, float max, float flat, float fuzz, float resolution) argument
741 MotionRange(int axis, int source, float min, float max, float flat, float fuzz, float resolution) argument
/frameworks/base/core/jni/
H A Dandroid_view_InputDevice.cpp70 range.source, range.min, range.max, range.flat, range.fuzz, range.resolution);
H A Dandroid_hardware_SensorManager.cpp47 jfieldID resolution; member in struct:android::SensorOffsets
74 sensorOffsets.resolution = _env->GetFieldID(sensorClass, "mResolution","F");
109 env->SetFloatField(sensor, sensorOffsets.resolution, list->getResolution());
/frameworks/base/core/java/android/print/
H A DPrinterCapabilitiesInfo.java419 * Adds a supported resolution.
424 * @param resolution A resolution.
433 public Builder addResolution(Resolution resolution, boolean isDefault) { argument
438 mPrototype.mResolutions.add(resolution);
524 throw new IllegalStateException("No resolution specified.");
527 throw new IllegalStateException("No default resolution specified.");
H A DPrintAttributes.java36 * letter size with 300 DPI (dots per inch) resolution, have a margin of
86 * Gets the resolution.
88 * @return The resolution or <code>null</code> if not set.
95 * Sets the resolution.
97 * @param The resolution.
101 public void setResolution(Resolution resolution) { argument
102 mResolution = resolution;
171 * attributes such as resolution and margins are properly adjusted.
184 * attributes such as resolution and margins are properly adjusted.
201 // Rotate the resolution
1307 setResolution(Resolution resolution) argument
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPrintSpoolerService.java694 private static final String TAG_RESOLUTION = "resolution";
849 Resolution resolution = attributes.getResolution();
850 if (resolution != null) {
852 serializer.attribute(null, ATTR_ID, resolution.getId());
854 resolution.getHorizontalDpi()));
856 resolution.getVerticalDpi()));
858 resolution.getLabel());
1092 Resolution resolution = new Resolution(id, label, horizontalDpi, verticalDpi);
1093 builder.setResolution(resolution);
/frameworks/native/services/inputflinger/
H A DEventHub.h88 int32_t resolution; // resolution in units per mm or radians per mm member in struct:android::RawAbsoluteAxisInfo
96 resolution = 0;
H A DInputReader.cpp897 "min=%0.3f, max=%0.3f, flat=%0.3f, fuzz=%0.3f, resolution=%0.3f\n",
899 range.resolution);
1807 dump.appendFormat(INDENT4 "%s: min=%d, max=%d, flat=%d, fuzz=%d, resolution=%d\n",
1808 name, axis.minValue, axis.maxValue, axis.flat, axis.fuzz, axis.resolution);
2653 x.fuzz, x.resolution);
2655 y.fuzz, y.resolution);
2657 x.fuzz, x.resolution);
2659 y.fuzz, y.resolution);
3123 mOrientedRanges.touchMajor.resolution = 0;
3134 mOrientedRanges.toolMajor.resolution
[all...]
H A DInputReader.h1798 float resolution; // normalized resolution in units/mm member in struct:android::JoystickInputMapper::Axis
1809 float min, float max, float flat, float fuzz, float resolution) {
1821 this->resolution = resolution;
1806 initialize(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, bool explicitlyMapped, float scale, float offset, float highScale, float highOffset, float min, float max, float flat, float fuzz, float resolution) argument
H A DEventHub.cpp296 outAxisInfo->resolution = info.resolution;
/frameworks/native/libs/gui/
H A DSensor.cpp52 mResolution = hwSensor->resolution;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintActivity.java738 // Take the resolution only if the current printer supports is.
747 Resolution resolution = resolutions.get(i);
748 if (resolution.equals(newResolution)) {
749 currAttributes.setResolution(resolution);
989 Resolution resolution = attributes.getResolution();
990 if (resolution == null || !capabilities.getResolutions().contains(resolution)) {
2034 builder.addResolution(new Resolution("PDF resolution", "PDF resolution", 300, 300),
/frameworks/base/media/java/android/media/
H A DMediaScanner.java773 String resolution = null;
777 resolution = mWidth + "x" + mHeight;
787 if (resolution != null) {
788 map.put(Video.Media.RESOLUTION, resolution);
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp378 int32_t minValue, int32_t maxValue, int flat, int fuzz, int resolution = 0) {
387 info.resolution = resolution;

Completed in 5366 milliseconds