Home
last modified time | relevance | path

Searched refs:pressure (Results 1 – 25 of 564) sorted by relevance

12345678910>>...23

/third_party/flutter/flutter/packages/flutter/lib/src/gestures/
Dforce_press.dart27 // A pointer is down and the gesture has started, ie. the pressure of the pointer
31 // A pointer is down and the pressure of the pointer has just become greater
55 @required this.pressure,
57 assert(pressure != null),
66 /// The pressure of the pointer on the screen.
67 final double pressure;
88 /// device pressure to a value in the range [0, 1] given the device's pressure
89 /// min and pressure max.
90 …stureForceInterpolation = double Function(double pressureMin, double pressureMax, double pressure);
99 /// pointer's pressure was never greater than
[all …]
/third_party/flutter/flutter/packages/flutter/test/gestures/
Dforce_press_test.dart20 // Interpolated Flutter pressure values.
21 const double startPressure = 0.4; // = Device pressure of 2.66.
22 const double peakPressure = 0.85; // = Device pressure of 5.66.
45 …= PointerDownEvent(pointer: pointerValue, position: Offset(10.0, 10.0), pressure: 0, pressureMin: …
56 …t PointerMoveEvent(pointer: pointerValue, position: Offset(10.0, 10.0), pressure: 2.5, pressureMin…
58 // We have not hit the start pressure, so no events should be true.
64 …t PointerMoveEvent(pointer: pointerValue, position: Offset(10.0, 10.0), pressure: 2.8, pressureMin…
66 …// We have just hit the start pressure so just the start event should be triggered and one update …
72 …t PointerMoveEvent(pointer: pointerValue, position: Offset(10.0, 10.0), pressure: 3.3, pressureMin…
73 …t PointerMoveEvent(pointer: pointerValue, position: Offset(10.0, 10.0), pressure: 4.0, pressureMin…
[all …]
Devents_test.dart72 expect(event.pressure, empty.pressure);
99 expect(event.pressure, empty.pressure);
237 pressure: 34,
348 pressure: 34,
407 pressure: 34,
458 expect(transformed.pressure, original.pressure);
/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_touch.c172 SDL_AddFinger(SDL_Touch *touch, SDL_FingerID fingerid, float x, float y, float pressure) in SDL_AddFinger() argument
194 finger->pressure = pressure; in SDL_AddFinger()
217 SDL_bool down, float x, float y, float pressure) in SDL_SendTouch() argument
234 if (SDL_AddFinger(touch, fingerid, x, y, pressure) < 0) { in SDL_SendTouch()
248 event.tfinger.pressure = pressure; in SDL_SendTouch()
268 event.tfinger.pressure = pressure; in SDL_SendTouch()
279 float x, float y, float pressure) in SDL_SendTouchMotion() argument
293 return SDL_SendTouch(id, fingerid, SDL_TRUE, x, y, pressure); in SDL_SendTouchMotion()
298 prel = pressure - finger->pressure; in SDL_SendTouchMotion()
311 finger->pressure = pressure; in SDL_SendTouchMotion()
[all …]
DSDL_touch_c.h47 SDL_bool down, float x, float y, float pressure);
51 float x, float y, float pressure);
/third_party/libinput/doc/user/
Dtouchpad-pressure.rst4 Touchpad pressure-based touch detection
7 libinput uses the touchpad pressure values and/or touch size values to
14 Most devices only support one of either touch pressure or touch size.
22 the pressure ranges and :ref:`touchpad_touch_size_hwdb` for instructions on
36 and cannot be modified. On touchpads where pressure or touch size is not
40 Many contemporary touchpad devices provide an absolute pressure axis in
41 addition to ``BTN_TOUCH``. This pressure generally increases as the pressure
42 increases, however few touchpads are capable of detecting true pressure. The
43 pressure value is usually related to the covered area - as the pressure
Dtouchpad-pressure-debugging.rst2 Debugging touchpad pressure/size ranges
5 :ref:`Touchpad pressure/size ranges <touchpad_pressure>` depend on
7 pressure/size range is already defined for your device, use the
13 pressure/size range, a palm threshold and a thumb threshold. Start with
21 Debugging touchpad pressure ranges
24 This section describes how to determine the touchpad pressure ranges
28 with the updated pressure ranges when testing has completed.
33 Use the ``libinput measure touchpad-pressure`` tool provided by libinput.
34 This tool will search for your touchpad device and print some pressure
37 .. note:: This tool will only work on touchpads with pressure.
[all …]
Dtrackpoints.rst39 measured in mm, the trackpoint only responds to pressure. Without special
40 equipment it is impossible to measure identical pressure values across
44 to the pressure applied to the trackstick. For example, pressure towards the
46 as the pressure increases and once events are reported at the maximum rate,
48 this concept. As the pressure
64 sufficient pressure to even get close to the maximum ranges.
Dtablet-support.rst64 Some tablet tools' pressure detection is too sensitive, causing phantom
66 tools are capable of detecting 1 gram of pressure.
68 libinput uses a device-specific pressure threshold to determine when the tip
70 pressure value while the tip is logically up. Most application can and
71 should ignore pressure information until they receive the event of type
73 fine-grained pressure sensitivity should use the pressure data instead of
77 Note that the pressure threshold to trigger a logical tip event may be zero
78 on some devices. On tools without pressure sensitivity, determining when a
115 surface and the pressure exerted on the tip when in contact. Some tablets
121 Illustration of the distance, pressure and tilt axes
[all …]
Dtouchpad-thumb-detection.rst27 Thumb detection based on pressure or size
31 pressure value goes above a certain threshold. This threshold is usually
36 the pressure-based palm detection in that a touch is labelled as palm when
42 For some information on how to detect pressure on a touch and debug the
43 pressure ranges, see :ref:`touchpad_pressure`. Pressure- and size-based
56 thumb as such if the pressure or size thresholds are exceeded.
64 pressure threshold. In the lower (dark red) area, a touch is always labelled
Dpalm-detection.rst49 Palm detection based on pressure
52 The simplest form of palm detection labels a touch as palm when the pressure
55 palm based on pressure, it will remain so even if the pressure drops below
57 pressure changes as the user is typing.
59 For some information on how to detect pressure on a touch and debug the
60 pressure ranges, see :ref:`touchpad_pressure`.
70 the pressure-based palm detection in that a touch is labelled as palm when
145 finger width or pressure data is unreliable.
191 libinput uses two triggers for thumb detection: pressure and
192 location. A touch exceeding a pressure threshold is considered a thumb if it
[all …]
/third_party/libinput/tools/
Dlibinput-measure-touchpad-pressure.py99 def __init__(self, pressure=None): argument
100 self.pressure = pressure
125 self.prange.update(touch.pressure)
127 if touch.pressure < self.device.up:
129 elif touch.pressure > self.device.down:
133 self.is_palm = touch.pressure > self.device.palm
137 self.is_thumb = touch.pressure > self.device.thumb
147 return int(sum([p.pressure for p in self.points]) / len(self.points))
151 ps = sorted([p.pressure for p in self.points])
172 self.prange.max, self.points[-1].pressure])
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/mir/
DSDL_mirevents.c132 HandleTouchPress(int device_id, int source_id, SDL_bool down, float x, float y, float pressure) in HandleTouchPress() argument
134 SDL_SendTouch(device_id, source_id, down, x, y, pressure); in HandleTouchPress()
138 HandleTouchMotion(int device_id, int source_id, float x, float y, float pressure) in HandleTouchMotion() argument
140 SDL_SendTouchMotion(device_id, source_id, x, y, pressure); in HandleTouchMotion()
176 float pressure = MIR_mir_touch_event_axis_value(touch, i, mir_touch_axis_pressure); in HandleTouchEvent() local
180 HandleTouchPress(device_id, id, SDL_FALSE, n_x, n_y, pressure); in HandleTouchEvent()
183 HandleTouchPress(device_id, id, SDL_TRUE, n_x, n_y, pressure); in HandleTouchEvent()
186 HandleTouchMotion(device_id, id, n_x, n_y, pressure); in HandleTouchEvent()
/third_party/boost/boost/units/systems/cgs/
Dpressure.hpp23 typedef unit<pressure_dimension,cgs::system> pressure; typedef
25 BOOST_UNITS_STATIC_CONSTANT(barye,pressure);
26 BOOST_UNITS_STATIC_CONSTANT(baryes,pressure);
/third_party/boost/boost/units/systems/si/
Dpressure.hpp23 typedef unit<pressure_dimension,si::system> pressure; typedef
39 BOOST_UNITS_STATIC_CONSTANT(pascal,pressure);
41 BOOST_UNITS_STATIC_CONSTANT(pascals,pressure);
/third_party/flutter/engine/flutter/lib/ui/
Dpointer.dart82 this.pressure = 0.0,
133 /// The pressure of the touch as a number ranging from 0.0, indicating a touch
134 /// with no discernible pressure, to 1.0, indicating a touch with "normal"
135 /// pressure, and possibly beyond, indicating a stronger touch. For devices
136 /// that do not detect pressure (e.g. mice), returns 1.0.
137 final double pressure;
139 /// The minimum value that [pressure] can return for this pointer. For devices
140 /// that do not detect pressure (e.g. mice), returns 1.0. This will always be
144 /// The maximum value that [pressure] can return for this pointer. For devices
145 /// that do not detect pressure (e.g. mice), returns 1.0. This will always be
[all …]
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dpointer.dart82 this.pressure = 0.0,
133 /// The pressure of the touch as a number ranging from 0.0, indicating a touch
134 /// with no discernible pressure, to 1.0, indicating a touch with "normal"
135 /// pressure, and possibly beyond, indicating a stronger touch. For devices
136 /// that do not detect pressure (e.g. mice), returns 1.0.
137 final double pressure;
139 /// The minimum value that [pressure] can return for this pointer. For devices
140 /// that do not detect pressure (e.g. mice), returns 1.0. This will always be
144 /// The maximum value that [pressure] can return for this pointer. For devices
145 /// that do not detect pressure (e.g. mice), returns 1.0. This will always be
[all …]
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dgesture_detector_test.dart376 pressure: 0.0,
382 …nst PointerMoveEvent(pointer: pointerValue, position: Offset(0.0, 0.0), pressure: 0.3, pressureMin…
389 …nst PointerMoveEvent(pointer: pointerValue, position: Offset(0.0, 0.0), pressure: 0.5, pressureMin…
396 …nst PointerMoveEvent(pointer: pointerValue, position: Offset(0.0, 0.0), pressure: 0.6, pressureMin…
397 …nst PointerMoveEvent(pointer: pointerValue, position: Offset(0.0, 0.0), pressure: 0.7, pressureMin…
398 …nst PointerMoveEvent(pointer: pointerValue, position: Offset(0.0, 0.0), pressure: 0.2, pressureMin…
399 …nst PointerMoveEvent(pointer: pointerValue, position: Offset(0.0, 0.0), pressure: 0.3, pressureMin…
406 …nst PointerMoveEvent(pointer: pointerValue, position: Offset(0.0, 0.0), pressure: 0.9, pressureMin…
450 pressure: 0.0,
456 … PointerMoveEvent(pointer: pointerValue, position: Offset(400.0, 50.0), pressure: 0.3, pressureMin…
[all …]
Dtext_selection_test.dart209 pressure: 0.0,
215 …nst PointerMoveEvent(pointer: pointerValue, position: Offset(0.0, 0.0), pressure: 0.5, pressureMin…
224 pressure: 0.0,
229 …nst PointerMoveEvent(pointer: pointerValue, position: Offset(0.0, 0.0), pressure: 0.5, pressureMin…
238 pressure: 0.0,
243 …nst PointerMoveEvent(pointer: pointerValue, position: Offset(0.0, 0.0), pressure: 0.5, pressureMin…
252 pressure: 0.0,
257 …nst PointerMoveEvent(pointer: pointerValue, position: Offset(0.0, 0.0), pressure: 0.5, pressureMin…
273 pressure: 0.0,
284 pressure: 0.0,
[all …]
/third_party/libinput/src/
Devdev-tablet.c544 tablet->axes.pressure = normalize_pressure(absinfo, tool); in tablet_update_pressure()
723 axes.pressure = tablet->axes.pressure; in tablet_check_notify_axes()
1078 const struct input_absinfo *pressure; in tool_set_pressure_thresholds() local
1087 pressure = libevdev_get_abs_info(device->evdev, ABS_PRESSURE); in tool_set_pressure_thresholds()
1088 if (!pressure) in tool_set_pressure_thresholds()
1094 tool->pressure_offset = pressure->minimum; in tool_set_pressure_thresholds()
1097 hi = axis_range_percentage(pressure, 5); in tool_set_pressure_thresholds()
1098 lo = axis_range_percentage(pressure, 1); in tool_set_pressure_thresholds()
1242 *pressure; in sanitize_pressure_distance() local
1245 pressure = libevdev_get_abs_info(tablet->device->evdev, ABS_PRESSURE); in sanitize_pressure_distance()
[all …]
/third_party/icu/icu4c/source/test/testdata/cldr/units/
DunitPreferencesTest.txt328 pressure; baromtrc; 001; 110; 110.0; kilogram-per-meter-square-second; 11 / 10; 1.1; hectopascal
329 pressure; baromtrc; 001; 100; 100.0; kilogram-per-meter-square-second; 1; 1.0; hectopascal
330 pressure; baromtrc; 001; 90; 90.0; kilogram-per-meter-square-second; 9 / 10; 0.9; hectopascal
332 pressure; baromtrc; IN; 37250275043751 / 10000000000; 3725.0275043751; kilogram-per-meter-square-se…
333 pressure; baromtrc; IN; 3386388640341 / 1000000000; 3386.388640341; kilogram-per-meter-square-secon…
334 pressure; baromtrc; IN; 30477497763069 / 10000000000; 3047.7497763069; kilogram-per-meter-square-se…
336 pressure; baromtrc; BR; 110; 110.0; kilogram-per-meter-square-second; 11 / 10; 1.1; millibar
337 pressure; baromtrc; BR; 100; 100.0; kilogram-per-meter-square-second; 1; 1.0; millibar
338 pressure; baromtrc; BR; 90; 90.0; kilogram-per-meter-square-second; 9 / 10; 0.9; millibar
340 pressure; baromtrc; MX; 293309252313 / 2000000000; 146.6546261565; kilogram-per-meter-square-second…
[all …]
DunitsTest.txt139 pressure ; pascal ; kilogram-per-meter-square-second ; 1 * x ; 1000.0
140 pressure ; hectopascal ; kilogram-per-meter-square-second ; 100 * x ; 100000.0
141 pressure ; millibar ; kilogram-per-meter-square-second ; 100 * x ; 100000.0
142 pressure ; millimeter-ofhg ; kilogram-meter-per-square-meter-square-second ; 133.322387415 * x ; 13…
143 pressure ; kilopascal ; kilogram-per-meter-square-second ; 1,000 * x ; 1000000.0
144 pressure ; inch-ofhg ; kilogram-meter-per-square-meter-square-second ; 3,386.388640341 * x ; 338638…
145 pressure ; pound-force-per-square-inch ; kilogram-meter-per-square-meter-square-second ; 111,205,54…
146 pressure ; bar ; kilogram-per-meter-square-second ; 100,000 * x ; 1.0E8
147 pressure ; atmosphere ; kilogram-per-meter-square-second ; 101,325 * x ; 1.01325E8
148 pressure ; megapascal ; kilogram-per-meter-square-second ; 1,000,000 * x ; 1.0E9
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/cldr/units/
DunitPreferencesTest.txt328 pressure; baromtrc; 001; 110; 110.0; kilogram-per-meter-square-second; 11 / 10; 1.1; hectopascal
329 pressure; baromtrc; 001; 100; 100.0; kilogram-per-meter-square-second; 1; 1.0; hectopascal
330 pressure; baromtrc; 001; 90; 90.0; kilogram-per-meter-square-second; 9 / 10; 0.9; hectopascal
332 pressure; baromtrc; IN; 37250275043751 / 10000000000; 3725.0275043751; kilogram-per-meter-square-se…
333 pressure; baromtrc; IN; 3386388640341 / 1000000000; 3386.388640341; kilogram-per-meter-square-secon…
334 pressure; baromtrc; IN; 30477497763069 / 10000000000; 3047.7497763069; kilogram-per-meter-square-se…
336 pressure; baromtrc; BR; 110; 110.0; kilogram-per-meter-square-second; 11 / 10; 1.1; millibar
337 pressure; baromtrc; BR; 100; 100.0; kilogram-per-meter-square-second; 1; 1.0; millibar
338 pressure; baromtrc; BR; 90; 90.0; kilogram-per-meter-square-second; 9 / 10; 0.9; millibar
340 pressure; baromtrc; MX; 293309252313 / 2000000000; 146.6546261565; kilogram-per-meter-square-second…
[all …]
DunitsTest.txt139 pressure ; pascal ; kilogram-per-meter-square-second ; 1 * x ; 1000.0
140 pressure ; hectopascal ; kilogram-per-meter-square-second ; 100 * x ; 100000.0
141 pressure ; millibar ; kilogram-per-meter-square-second ; 100 * x ; 100000.0
142 pressure ; millimeter-ofhg ; kilogram-meter-per-square-meter-square-second ; 133.322387415 * x ; 13…
143 pressure ; kilopascal ; kilogram-per-meter-square-second ; 1,000 * x ; 1000000.0
144 pressure ; inch-ofhg ; kilogram-meter-per-square-meter-square-second ; 3,386.388640341 * x ; 338638…
145 pressure ; pound-force-per-square-inch ; kilogram-meter-per-square-meter-square-second ; 111,205,54…
146 pressure ; bar ; kilogram-per-meter-square-second ; 100,000 * x ; 1.0E8
147 pressure ; atmosphere ; kilogram-per-meter-square-second ; 101,325 * x ; 1.01325E8
148 pressure ; megapascal ; kilogram-per-meter-square-second ; 1,000,000 * x ; 1.0E9
[all …]
/third_party/boost/libs/units/test/
Dtest_implicit_conversion.cpp74 … BOOST_CHECK((bu::is_implicitly_convertible<bu::si::pressure,bu::cgs::pressure>::value == false)); in test_main()
95 … BOOST_CHECK((bu::is_implicitly_convertible<bu::cgs::pressure,bu::si::pressure>::value == false)); in test_main()

12345678910>>...23