Home
last modified time | relevance | path

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

12345678910>>...19

/third_party/libinput/src/
Devdev-mt-touchpad-tap.c118 tap_state_to_str(tp->tap.state)); in log_tap_bug()
134 assert(tp->tap.map < ARRAY_LENGTH(button_map)); in tp_tap_notify()
139 button = button_map[tp->tap.map][nfingers - 1]; in tp_tap_notify()
142 tp->tap.buttons_pressed |= (1 << nfingers); in tp_tap_notify()
144 tp->tap.buttons_pressed &= ~(1 << nfingers); in tp_tap_notify()
155 libinput_timer_set(&tp->tap.timer, time + DEFAULT_TAP_TIMEOUT_PERIOD); in tp_tap_set_timer()
162 libinput_timer_set(&tp->tap.timer, in tp_tap_set_drag_timer()
171 libinput_timer_set(&tp->tap.timer, in tp_tap_set_draglock_timer()
178 libinput_timer_cancel(&tp->tap.timer); in tp_tap_clear_timer()
184 tp->tap.state = TAP_STATE_DEAD; in tp_tap_move_to_dead()
[all …]
/third_party/flutter/flutter/packages/flutter/test/gestures/
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 …]
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 …]
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 …]
Dtext_field_focus_test.dart45 await tester.tap(find.byType(TextField));
119 await tester.tap(find.byType(TextField));
128 await tester.tap(find.byType(TextField));
229 await tester.tap(find.byType(TextField));
270 await tester.tap(find.byKey(textField0));
277 await tester.tap(find.byKey(textField1));
281 await tester.tap(find.byKey(textField0));
285 await tester.tap(find.byKey(textField1));
292 await tester.tap(find.byKey(textField0));
345 await tester.tap(find.byKey(textField0));
[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 …]
Dmodal_barrier_test.dart42 await tester.tap(find.text('target'));
45 reason: 'because the tap is not prevented by ModalBarrier');
58 await tester.tap(find.text('target'));
61 reason: 'because the tap is prevented by ModalBarrier');
92 …testWidgets('ModalBarrier pops the Navigator when dismissed by primay tap', (WidgetTester tester) …
104 await tester.tap(find.text('X'));
109 await tester.tap(find.byKey(const ValueKey<String>('barrier')));
117 …testWidgets('ModalBarrier pops the Navigator when dismissed by primary tap down', (WidgetTester te…
129 await tester.tap(find.text('X'));
142 …testWidgets('ModalBarrier pops the Navigator when dismissed by non-primary tap down', (WidgetTeste…
[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,
Dclip_test.dart137 onTap: () { log.add('tap'); },
148 expect(log, equals(<String>['tap']));
157 onTap: () { log.add('tap'); },
168 expect(log, equals(<String>['tap']));
179 onTap: () { log.add('tap'); },
191 expect(log, equals(<String>['tap']));
206 onTap: () { log.add('tap'); },
215 expect(log, equals(<String>['a', 'tap']));
218 expect(log, equals(<String>['a', 'tap']));
230 onTap: () { log.add('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/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.
53 the initial tap decide the type of button click. For example, to
54 middle-click drag, tap with three fingers followed by a
62 Note that drag lock only applies if tap-and-drag is be enabled.
64 .. figure:: tap-n-drag.svg
69 The above diagram explains the process, a tap (a) followed by a finger held
78 simply tap again (f).
92 - if a finger moves more than an implementation-defined distance while in contact, it's not a tap
[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/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 …]
/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();

12345678910>>...19