Home
last modified time | relevance | path

Searched refs:tap (Results 1 – 25 of 486) sorted by relevance

12345678910>>...20

/third_party/libinput/src/
Devdev-mt-touchpad-tap.c102 tap_state_to_str(tp->tap.state)); in log_tap_bug()
118 assert(tp->tap.map < ARRAY_LENGTH(button_map)); in tp_tap_notify()
123 button = button_map[tp->tap.map][nfingers - 1]; in tp_tap_notify()
126 tp->tap.buttons_pressed |= (1 << nfingers); in tp_tap_notify()
128 tp->tap.buttons_pressed &= ~(1 << nfingers); in tp_tap_notify()
139 libinput_timer_set(&tp->tap.timer, time + DEFAULT_TAP_TIMEOUT_PERIOD); in tp_tap_set_timer()
145 libinput_timer_set(&tp->tap.timer, time + DEFAULT_DRAG_TIMEOUT_PERIOD); in tp_tap_set_drag_timer()
151 libinput_timer_cancel(&tp->tap.timer); in tp_tap_clear_timer()
157 tp->tap.state = TAP_STATE_DEAD; in tp_tap_move_to_dead()
158 t->tap.state = TAP_TOUCH_STATE_DEAD; in tp_tap_move_to_dead()
[all …]
/third_party/flutter/flutter/packages/flutter/test/gestures/
Dmultitap_test.dart17 … final MultiTapGestureRecognizer tap = MultiTapGestureRecognizer(longTapDelay: kLongPressTimeout);
21 tap.onTapDown = (int pointer, TapDownDetails details) { log.add('tap-down $pointer'); };
22 tap.onTapUp = (int pointer, TapUpDetails details) { log.add('tap-up $pointer'); };
23 tap.onTap = (int pointer) { log.add('tap $pointer'); };
24tap.onLongTapDown = (int pointer, TapDownDetails details) { log.add('long-tap-down $pointer'); };
25 tap.onTapCancel = (int pointer) { log.add('tap-cancel $pointer'); };
30 tap.addPointer(down5);
32 expect(log, <String>['tap-down 5']);
39 tap.addPointer(down6);
41 expect(log, <String>['tap-down 6']);
[all …]
Ddouble_tap_test.dart29 // Down/up pair 1: normal tap sequence
40 // Down/up pair 2: normal tap sequence close to pair 1
51 // Down/up pair 3: normal tap sequence far away from pair 1
78 // Down/up pair 5: normal tap sequence identical to pair 1
89 // Down/up pair 6: normal tap sequence close to pair 1 but on secondary button
101 testGesture('Should recognize double tap', (GestureTester tester) {
102 final DoubleTapGestureRecognizer tap = DoubleTapGestureRecognizer();
105 tap.onDoubleTap = () {
109 tap.addPointer(down1);
121 tap.addPointer(down2);
[all …]
Dtap_test.dart22 // Down/up pair 1: normal tap sequence
33 // Down/up pair 2: normal tap sequence far away from pair 1
76 // Down/up sequence 5: tap sequence with secondary button
88 testGesture('Should recognize tap', (GestureTester tester) {
89 final TapGestureRecognizer tap = TapGestureRecognizer();
92 tap.onTap = () {
96 tap.addPointer(down1);
107 tap.dispose();
110 testGesture('No duplicate tap events', (GestureTester tester) {
111 final TapGestureRecognizer tap = TapGestureRecognizer();
[all …]
Ddebug_test.dart17 final TapGestureRecognizer tap = TapGestureRecognizer()
25 tap.addPointer(event);
49 tap.dispose();
63 final TapGestureRecognizer tap = TapGestureRecognizer()
71 tap.addPointer(event);
87 …izer#00000(state: ready, won arena, finalPosition: Offset(12.0, 8.0), sent tap down) calling onTap…
88 …izer#00000(state: ready, won arena, finalPosition: Offset(12.0, 8.0), sent tap down) calling onTap…
91 tap.dispose();
106 final TapGestureRecognizer tap = TapGestureRecognizer()
114 tap.addPointer(event);
[all …]
Dteam_test.dart17 final TapGestureRecognizer tap = TapGestureRecognizer();
21 expect(tap.team, isNull);
27 tap.onTap = () { log.add('tap'); };
35 tap.addPointer(down);
46 expect(log, <String>['tap']);
55 tap.dispose();
63 final TapGestureRecognizer tap = TapGestureRecognizer();
72 tap.onTap = () { log.add('tap'); };
81 tap.addPointer(down);
92 expect(log, <String>['tap']);
[all …]
/third_party/flutter/flutter/packages/flutter/test/material/
Ddate_picker_test.dart39 testWidgets('tap-select a day', (WidgetTester tester) async {
78 await tester.tap(find.text('1'));
82 await tester.tap(nextMonthIcon);
86 await tester.tap(find.text('5'));
94 await tester.tap(find.text('25'));
102 await tester.tap(find.text('17'));
150 await tester.tap(find.text('Go'));
179 await tester.tap(find.text('OK'));
186 await tester.tap(find.text('CANCEL'));
193 await tester.tap(find.text('12'));
[all …]
Dink_well_test.dart24 log.add('tap');
27 log.add('double-tap');
33 log.add('tap-down');
36 log.add('tap-cancel');
43 await tester.tap(find.byType(InkWell), pointer: 1);
49 expect(log, equals(<String>['tap-down', 'tap']));
52 await tester.tap(find.byType(InkWell), pointer: 2);
54 await tester.tap(find.byType(InkWell), pointer: 3);
56 expect(log, equals(<String>['double-tap']));
61 expect(log, equals(<String>['tap-down', 'tap-cancel', 'long-press']));
[all …]
Dsearch_test.dart28 await tester.tap(find.byTooltip('Search'));
40 await tester.tap(find.byTooltip('Back'));
66 await tester.tap(find.byTooltip('Search'));
86 await tester.tap(find.byTooltip('Search'));
100 await tester.tap(find.byTooltip('Search'));
114 await tester.tap(find.byTooltip('Search'));
145 await tester.tap(find.byTooltip('Search'));
149 await tester.tap(find.text('Suggestions'));
163 await tester.tap(find.byTooltip('Back'));
179 await tester.tap(find.byTooltip('Search'));
[all …]
Dcontrol_list_tile_test.dart116 await tester.tap(find.text('1'));
118 await tester.tap(find.byType(radioType).at(2));
121 await tester.tap(find.text('1'));
128 await tester.tap(find.byType(radioType).at(1));
130 await tester.tap(find.byType(radioType).at(2));
138 await tester.tap(find.text('1'));
140 await tester.tap(find.text('2'));
181 await tester.tap(find.text('0'));
185 await tester.tap(find.text('0'));
188 await tester.tap(find.byType(radioType).at(0));
[all …]
/third_party/typescript/tests/baselines/reference/user/
Dnpm.log941 …-nyc-and-travis/lifecycle-path.js(7,20): error TS2307: Cannot find module 'tap' or its correspondi…
944 …en-under-nyc-and-travis/whoami.js(7,20): error TS2307: Cannot find module 'tap' or its correspondi…
945 node_modules/npm/test/common-tap.js(5,47): error TS2339: Property '_extend' does not exist on type …
946 node_modules/npm/test/common-tap.js(10,3): error TS2741: Property '__promisify__' is missing in typ…
947 node_modules/npm/test/common-tap.js(10,36): error TS2322: Type '(...args: any[]) => void' is not as…
950 node_modules/npm/test/common-tap.js(12,28): error TS2345: Argument of type 'any[]' is not assignabl…
952 node_modules/npm/test/common-tap.js(175,17): error TS2339: Property '_storage' does not exist on ty…
953 node_modules/npm/test/common-tap.js(181,31): error TS2339: Property '_storage' does not exist on ty…
954 node_modules/npm/test/common-tap.js(192,12): error TS2339: Property '_storage' does not exist on ty…
955 …te/add-remote-git-get-resolved.js(2,20): error TS2307: Cannot find module 'tap' or its correspondi…
[all …]
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dscrollable_fling_test.dart60 testWidgets('fling and tap to stop', (WidgetTester tester) async {
65 …textWidgets.add(GestureDetector(onTap: () { log.add('tap $i'); }, child: Text('$i', style: testFon…
74 await tester.tap(find.byType(Scrollable));
76 expect(log, equals(<String>['tap 21']));
79 expect(log, equals(<String>['tap 21']));
80 await tester.tap(find.byType(Scrollable)); // should stop the fling but not tap anything
82 expect(log, equals(<String>['tap 21']));
83 await tester.tap(find.byType(Scrollable));
85 expect(log, equals(<String>['tap 21', 'tap 35']));
88 testWidgets('fling and wait and tap', (WidgetTester tester) async {
[all …]
Dvisibility_test.dart37 onTap: () { log.add('tap'); },
55 actions: <SemanticsAction>[SemanticsAction.tap],
77 await tester.tap(find.byType(Visibility));
78 expect(log, <String>['created new state', 'tap']);
87 await tester.tap(find.byType(Visibility));
98 await tester.tap(find.byType(Visibility));
109 await tester.tap(find.byType(Visibility));
121 await tester.tap(find.byType(Visibility));
122 expect(log, <String>['created new state', 'tap']);
133 await tester.tap(find.byType(Visibility));
[all …]
Dsemantics_11_test.dart35 actions: SemanticsAction.tap.index,
39 actions: SemanticsAction.tap.index,
43 actions: SemanticsAction.tap.index,
75 actions: SemanticsAction.tap.index,
79 actions: SemanticsAction.tap.index,
83 actions: SemanticsAction.tap.index,
/third_party/openssl/test/testutil/
Dtap_bio.c25 static BIO_METHOD *tap = NULL; in BIO_f_tap() local
27 if (tap == NULL) { in BIO_f_tap()
28 tap = BIO_meth_new(BIO_TYPE_START | BIO_TYPE_FILTER, "tap"); in BIO_f_tap()
29 if (tap != NULL) { in BIO_f_tap()
30 BIO_meth_set_write_ex(tap, tap_write_ex); in BIO_f_tap()
31 BIO_meth_set_read_ex(tap, tap_read_ex); in BIO_f_tap()
32 BIO_meth_set_puts(tap, tap_puts); in BIO_f_tap()
33 BIO_meth_set_gets(tap, tap_gets); in BIO_f_tap()
34 BIO_meth_set_ctrl(tap, tap_ctrl); in BIO_f_tap()
35 BIO_meth_set_create(tap, tap_new); in BIO_f_tap()
[all …]
/third_party/flutter/flutter/examples/catalog/test/
Danimated_list_test.dart24 await tester.tap(find.text('Item 0'));
25 await tester.tap(removeButton);
27 await tester.tap(find.text('Item 1'));
28 await tester.tap(removeButton);
30 await tester.tap(find.text('Item 2'));
31 await tester.tap(removeButton);
35 await tester.tap(insertButton);
36 await tester.tap(insertButton);
37 await tester.tap(insertButton);
38 await tester.tap(insertButton);
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/gestures/
Dconstants.dart8 /// The time that must elapse before a tap gesture sends onTapDown, if there's
9 /// any doubt that the gesture is a tap.
12 /// Maximum length of time between a tap down and a tap up for the gesture to be
13 /// considered a tap. (Currently not honored by the TapGestureRecognizer.)
14 // TODO(ianh): Remove this, or implement a hover-tap gesture recognizer which
18 /// Maximum distance between the down and up pointers for a tap. (Currently not
27 /// The maximum time from the start of the first tap to the start of the second
28 /// tap in a double-tap gesture.
33 /// The minimum time from the end of the first tap to the start of the second
34 /// tap in a double-tap gesture.
[all …]
Dmultitap.dart16 import 'tap.dart';
27 /// cause a tap has contacted the screen at a particular location.
31 /// trigger a tap has stopped contacting the screen at a particular location.
34 /// Signature used by [MultiTapGestureRecognizer] for when a tap has occurred.
38 /// [GestureMultiTapDownCallback] will not end up causing a tap.
59 /// TapTracker helps track individual tap sequences as part of a
126 // The double tap recognizer can be in one of four states. There's no
129 // Waiting on first tap: In this state, the _trackers list is empty, and
131 // First tap in progress: In this state, the _trackers list contains all
133 // have more than one entry if two pointers begin to tap.
[all …]
/third_party/flutter/flutter/examples/flutter_gallery/test/
Ddrawer_test.dart30 await tester.tap(find.byTooltip('Toggle options page'));
39 await tester.tap(find.byIcon(Icons.arrow_drop_down).first);
41 await tester.tap(find.text('Dark'));
47 await tester.tap(find.byIcon(Icons.arrow_drop_down).first);
49 await tester.tap(find.text('Light'));
55 await tester.tap(find.byIcon(Icons.arrow_drop_down).first);
57 await tester.tap(find.text('System Default').at(1));
66 await tester.tap(find.byIcon(Icons.arrow_drop_down).at(2));
68 await tester.tap(find.text('Cupertino').at(1));
78 await tester.tap(find.byIcon(Icons.arrow_drop_down).at(1));
[all …]
/third_party/skia/third_party/externals/oboe/src/flowgraph/resampler/
DMultiChannelResampler.cpp147 for (int tap = 0; tap < getNumTaps(); tap++) { in generateCoefficients() local
167 for (int tap = 0; tap < getNumTaps(); tap++) { in generateCoefficients() local
168 mCoefficients.at(gainCursor + tap) *= gainCorrection; in generateCoefficients()
/third_party/libinput/doc/user/
Dtapping.rst7 "Tapping" or "tap-to-click" is the name given to the behavior where a short
45 libinput also supports "tap-and-drag" where a tap immediately followed by a
50 tap-and-drag enabled by default.
57 Note that drag lock only applies if tap-and-drag is be enabled.
59 .. figure:: tap-n-drag.svg
64 The above diagram explains the process, a tap (a) followed by a finger held
73 simply tap again (f).
87 - if a finger moves more than an implementation-defined distance while in contact, it's not a tap
89 - a tap not meeting required pressure thresholds can be ignored as accidental touch
90 - a tap exceeding certain pressure thresholds can be ignored (see :ref:`palm_detection`)
[all …]
/third_party/boost/libs/multi_index/test/
Dtest_key_extractors.cpp227 boost::scoped_ptr<test_class*> tap(new test_class*(tp)); in test_key_extractors() local
300 BOOST_TEST(id(tap).int_member==3); in test_key_extractors()
301 BOOST_TEST(cid(tap).int_member==3); in test_key_extractors()
302 BOOST_TEST(k_m(tap)==3); in test_key_extractors()
303 BOOST_TEST(ck_m(tap)==3); in test_key_extractors()
304 BOOST_TEST(cmpk(tap)==make_tuple(test_class(3,0),3,0,true)); in test_key_extractors()
305 BOOST_TEST(ccmpk(tap)==make_tuple(test_class(3,0),3)); in test_key_extractors()
311 k_m(tap)=4; in test_key_extractors()
345 BOOST_TEST(k_cm(tap)==0); in test_key_extractors()
405 BOOST_TEST(k_cmf(tap)); in test_key_extractors()
[all …]
/third_party/boost/libs/hof/doc/html/_sources/include/boost/hof/
Dtap.hpp.txt3 tap.h
11 /// tap
17 /// The `tap` function invokes a function on the first argument passed in and
26 /// pipable constexpr T tap(T&& x, const F& f);
55 /// int r = 1 | sum(2) | tap([](int i) { std::cout << i; }) | sum(2);
78 BOOST_HOF_DECLARE_STATIC_VAR(tap, pipable_adaptor<detail::tap_f>);
/third_party/flutter/flutter/examples/layers/test/
Dgestures_test.dart19 Future<void> tap() async {
28 // every tap change swatch
30 await tap();
34 // tap on last swatch display first swatch
35 await tap();
/third_party/flutter/flutter/packages/flutter/test/cupertino/
Daction_sheet_test.dart13 …testWidgets('Verify that a tap on modal barrier dismisses an action sheet', (WidgetTester tester) …
22 await tester.tap(find.text('Go'));
32 …testWidgets('Verify that a tap on title section (not buttons) does not dismiss an action sheet', (…
41 await tester.tap(find.text('Go'));
46 await tester.tap(find.text('Action Sheet'));
93 await tester.tap(find.text('Go'));
114 await tester.tap(find.text('Go'));
132 await tester.tap(find.text('Go'));
153 await tester.tap(find.text('Go'));
196 await tester.tap(find.text('Go'));
[all …]

12345678910>>...20