Home
last modified time | relevance | path

Searched refs:click (Results 1 – 25 of 356) sorted by relevance

12345678910>>...15

/third_party/gstreamer/gstplugins_good/gst/debugutils/
Dgstnavigationtest.c82 ButtonClick *click = g_new (ButtonClick, 1); in gst_navigationtest_src_event() local
84 gst_structure_get_double (s, "pointer_x", &click->x); in gst_navigationtest_src_event()
85 gst_structure_get_double (s, "pointer_y", &click->y); in gst_navigationtest_src_event()
86 click->images_left = (fps_n + fps_d - 1) / fps_d; in gst_navigationtest_src_event()
88 click->cy = 150; in gst_navigationtest_src_event()
89 click->cu = 46; in gst_navigationtest_src_event()
90 click->cv = 21; in gst_navigationtest_src_event()
91 navtest->clicks = g_slist_prepend (navtest->clicks, click); in gst_navigationtest_src_event()
93 ButtonClick *click = g_new (ButtonClick, 1); in gst_navigationtest_src_event() local
95 gst_structure_get_double (s, "pointer_x", &click->x); in gst_navigationtest_src_event()
[all …]
/third_party/skia/samplecode/
DSampleSG.cpp77 Click* click = new Click(); in onFindClickHandler() local
78 click->fMeta.setPtr("node", (void*)node); in onFindClickHandler()
79 return click; in onFindClickHandler()
84 bool onClick(Click* click) override { in onClick() argument
86 if (click->fMeta.findPtr("node", (void**)&node)) { in onClick()
90 SkScalar dx = click->fCurr.fX - click->fPrev.fX; in onClick()
91 SkScalar dy = click->fCurr.fY - click->fPrev.fY; in onClick()
DSampleXfer.cpp167 Click* click = new Click(); in onFindClickHandler() local
168 click->fMeta.setS32("mode", i); in onFindClickHandler()
169 return click; in onFindClickHandler()
182 bool onClick(Click* click) override { in onClick() argument
184 if (click->fMeta.findS32("mode", &mode)) { in onClick()
185 if (fSelected && skui::InputState::kUp == click->fState) { in onClick()
189 fSelected->fLoc.fX += click->fCurr.fX - click->fPrev.fX; in onClick()
190 fSelected->fLoc.fY += click->fCurr.fY - click->fPrev.fY; in onClick()
291 return new Click([this](Click* click) { in onFindClickHandler() argument
292 auto [B, C] = pin_unitize(fDomain, click->fCurr); in onFindClickHandler()
DSampleAudio.cpp72 return new Click([this, wasPlaying](Click* click) { in onFindClickHandler() argument
73 if (fBar.contains(click->fCurr.fX, click->fCurr.fY)) { in onFindClickHandler()
74 fPlayer->setNormalizedTime((click->fCurr.fX - fBar.fLeft) / fBar.width()); in onFindClickHandler()
77 if (click->fState == skui::InputState::kUp) { in onFindClickHandler()
DSampleMixer.cpp80 bool onClick(Click* click) override { in onClick() argument
81 fRect.offset(click->fCurr.fX - click->fPrev.fX, in onClick()
82 click->fCurr.fY - click->fPrev.fY); in onClick()
DSamplePatch.cpp310 bool onClick(Click* click) override { in onClick()
311 fPts[((PtClick*)click)->fIndex].set(click->fCurr.fX - DX, click->fCurr.fY - DY); in onClick()
398 Click* click = new Click(); in onFindClickHandler() local
401 return click; in onFindClickHandler()
404 bool onClick(Click* click) override { in onClick() argument
405 switch (click->fState) { in onClick()
407 fPath.lineTo(click->fCurr); in onClick()
486 Click* click = new Click(); in onFindClickHandler() local
489 return click; in onFindClickHandler()
492 bool onClick(Click* click) override { in onClick() argument
[all …]
DSample3D.cpp332 bool onClick(Click* click) override { in onClick() argument
333 if (click->fMeta.hasS32("type", 0)) { in onClick()
334 fLight.fLoc = fSphere.pinLoc({click->fCurr.fX, click->fCurr.fY}); in onClick()
337 if (click->fMeta.hasS32("type", 1)) { in onClick()
338 if (click->fState == skui::InputState::kUp) { in onClick()
343 {click->fOrig.fX, click->fOrig.fY}, in onClick()
344 {click->fCurr.fX, click->fCurr.fY}); in onClick()
DSampleFatBits.cpp368 static int GetIndex(Sample::Click* click) { in GetIndex() argument
369 return ((IndexClick*)click)->fIndex; in GetIndex()
485 bool onClick(Click* click) override { in onClick() argument
486 int index = IndexClick::GetIndex(click); in onClick()
488 fPts[index] = click->fCurr; in onClick()
490 SkScalar dx = click->fCurr.fX - click->fPrev.fX; in onClick()
491 SkScalar dy = click->fCurr.fY - click->fPrev.fY; in onClick()
/third_party/flutter/skia/samplecode/
DSampleSG.cpp77 Click* click = new Click(); in onFindClickHandler() local
78 click->fMeta.setPtr("node", (void*)node); in onFindClickHandler()
79 return click; in onFindClickHandler()
84 bool onClick(Click* click) override { in onClick() argument
86 if (click->fMeta.findPtr("node", (void**)&node)) { in onClick()
90 SkScalar dx = click->fCurr.fX - click->fPrev.fX; in onClick()
91 SkScalar dy = click->fCurr.fY - click->fPrev.fY; in onClick()
DSampleXfer.cpp167 Click* click = new Click(); in onFindClickHandler() local
168 click->fMeta.setS32("mode", i); in onFindClickHandler()
169 return click; in onFindClickHandler()
182 bool onClick(Click* click) override { in onClick() argument
184 if (click->fMeta.findS32("mode", &mode)) { in onClick()
185 if (fSelected && InputState::kUp == click->fState) { in onClick()
189 fSelected->fLoc.fX += click->fCurr.fX - click->fPrev.fX; in onClick()
190 fSelected->fLoc.fY += click->fCurr.fY - click->fPrev.fY; in onClick()
DSamplePath.cpp282 bool onClick(Click* click) override { in onClick() argument
284 if (click->fMeta.findS32("index", &index)) { in onClick()
286 fPts[index] = click->fCurr; in onClick()
297 Click* click = new Click(); in onFindClickHandler() local
298 click->fMeta.setS32("index", i); in onFindClickHandler()
299 return click; in onFindClickHandler()
410 bool onClick(Click* click) override { in onClick() argument
412 if (click->fMeta.findS32("index", &index)) { in onClick()
414 fPts[index] = click->fCurr; in onClick()
425 Click* click = new Click(); in onFindClickHandler() local
[all …]
DPerlinPatch.cpp188 bool onClick(Click* click) override { in onClick() argument
189 PtClick* ptClick = (PtClick*)click; in onClick()
191 fPts[ptClick->fIndex].set(click->fCurr.fX , click->fCurr.fY ); in onClick()
193 SkScalar xDiff = click->fPrev.fX - click->fCurr.fX; in onClick()
194 SkScalar yDiff = click->fPrev.fY - click->fCurr.fY; in onClick()
198 SkScalar yDiff = click->fCurr.fY - click->fPrev.fY; in onClick()
DSampleMixer.cpp79 bool onClick(Click* click) override { in onClick() argument
80 fRect.offset(click->fCurr.fX - click->fPrev.fX, in onClick()
81 click->fCurr.fY - click->fPrev.fY); in onClick()
163 bool onClick(Click* click) override { in onClick() argument
169 SkScalar x = click->fCurr.fX - fRect.fLeft; in onClick()
170 SkScalar y = click->fCurr.fY - fRect.fTop; in onClick()
DSamplePatch.cpp311 bool onClick(Click* click) override { in onClick()
312 fPts[((PtClick*)click)->fIndex].set(click->fCurr.fX - DX, click->fCurr.fY - DY); in onClick()
400 Click* click = new Click(); in onFindClickHandler() local
403 return click; in onFindClickHandler()
406 bool onClick(Click* click) override { in onClick() argument
407 switch (click->fState) { in onClick()
409 fPath.lineTo(click->fCurr); in onClick()
488 Click* click = new Click(); in onFindClickHandler() local
491 return click; in onFindClickHandler()
494 bool onClick(Click* click) override { in onClick() argument
[all …]
DSampleLua.cpp130 bool onClick(Click* click) override { in onClick() argument
132 switch (click->fState) { in onClick()
145 fLua->pushScalar(click->fCurr.x()); in onClick()
146 fLua->pushScalar(click->fCurr.y()); in onClick()
DSampleAAGeometry.cpp1650 bool onClick(Click* click) override { in onClick() argument
1651 MyClick* myClick = (MyClick*) click; in onClick()
1654 savePath(click->fState); in onClick()
1657 pt.offset(SkIntToScalar(click->fCurr.fX - click->fPrev.fX), in onClick()
1658 SkIntToScalar(click->fCurr.fY - click->fPrev.fY)); in onClick()
1664 savePath(click->fState); in onClick()
1665 fPath.offset(SkIntToScalar(click->fCurr.fX - click->fPrev.fX), in onClick()
1666 SkIntToScalar(click->fCurr.fY - click->fPrev.fY)); in onClick()
1682 if (click->fState != InputState::kDown && myClick->isButton()) { in onClick()
1687 SkScalar val = MapScreenYtoValue(click->fCurr.fY, fFilterControl); in onClick()
[all …]
DSampleFatBits.cpp369 static int GetIndex(Sample::Click* click) { in GetIndex() argument
370 return ((IndexClick*)click)->fIndex; in GetIndex()
486 bool onClick(Click* click) override { in onClick() argument
487 int index = IndexClick::GetIndex(click); in onClick()
489 fPts[index] = click->fCurr; in onClick()
491 SkScalar dx = click->fCurr.fX - click->fPrev.fX; in onClick()
492 SkScalar dy = click->fCurr.fY - click->fPrev.fY; in onClick()
/third_party/libinput/doc/user/
Dclickpad-softbuttons.rst18 is a clickpad or not. To perform a right-click on a Clickpad, libinput
21 .. note:: The term "click" refers refer to a physical button press
23 the events generated by libinput in response to a click.
32 middle or right button events on click. The height of the button area
43 - if a finger is in the main area or the left button area, a click generates
45 - if a finger is in the right area, a click generates right button events.
46 - if a finger is in the middle area, a click generates middle button events.
51 Left, right and middle-button click with software button areas
71 middle click.
88 right-button click.
[all …]
/third_party/flutter/flutter/dev/integration_tests/android_semantics_testing/test_driver/
Dmain_test.dart75 AndroidSemanticsAction.click,
89 AndroidSemanticsAction.click,
106 AndroidSemanticsAction.click,
123 AndroidSemanticsAction.click,
137 AndroidSemanticsAction.click,
154 AndroidSemanticsAction.click,
180 AndroidSemanticsAction.click,
194 AndroidSemanticsAction.click,
215 AndroidSemanticsAction.click,
229 AndroidSemanticsAction.click,
[all …]
/third_party/libwebsockets/lib/drivers/button/
DREADME.md85 ms_min_down_longpress|300ms|Down events longer than this are reported as a long-click
87 ms_doubleclick_grace|120ms|The time allowed after a click to see if a second, double-click, is fort…
116 the interaction, eg, that it can be understood as a single "double-click" event.
123 click|The button activity resulted in a classification as a single-click
124 longclick|The button activity resulted in a classification as a long-click
125 doubleclick|The button activity resulted in a classification as a double-click
127 Since double-click detection requires delaying click reporting until it becomes
128 clear a second click isn't coming, it is enabled as a possible classification in
132 the button is doing, eg, a "click" event on a specific button. Rather than
140 if (!lws_json_simple_strcmp(buf, len, "\"event\":", "click")) {
[all …]
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/semantics/
Dtappable.dart7 /// Listens to HTML "click" gestures detected by the browser.
9 /// This gestures is different from the click and tap gestures detected by the
12 /// click as [ui.SemanticsAction.tap].
44 element.addEventListener('click', _clickListener);
57 semanticsObject.element.removeEventListener('click', _clickListener);
/third_party/libinput/completion/zsh/
D_libinput52 '--set-click-method=[Set the desired click method]:click-method:(none clickfinger buttonareas)' \
58 lrm\:2-fingers\ right-click\ /\ 3-fingers\ middle-click \
59 lmr\:2-fingers\ middle-click\ /\ 3-fingers\ right-click \
61 + '(tap-to-click)' \
62 '--enable-tap[Enable tap-to-click]' \
63 '--disable-tap[Disable tap-to-click]' \
110 "touchpad-tap:Measure tap-to-click time"
/third_party/node/test/fixtures/wpt/resources/
Dtestdriver.js76 test_driver.click(button).catch(reject);
97 click: function(element) { method
120 return window.test_driver_internal.click(element,
230 click: function(element, coords) { method
/third_party/ffmpeg/libavfilter/
Daf_adeclick.c42 uint8_t *click; member
87 double *acoefficients, uint8_t *click, int *index,
205 c->click = av_calloc(s->window_size, sizeof(*c->click)); in config_input()
208 if (!c->auxiliary || !c->acoefficients || !c->detection || !c->click || in config_input()
462 uint8_t *click, int *index, in detect_clicks() argument
477 click[i] = fabs(detection[i]) > sigmae * threshold; in detect_clicks()
482 if (!click[i]) in detect_clicks()
487 click[j] = 1; in detect_clicks()
491 memset(click, 0, s->ar_order * sizeof(*click)); in detect_clicks()
492 memset(click + (s->window_size - s->ar_order), 0, s->ar_order * sizeof(*click)); in detect_clicks()
[all …]
/third_party/toybox/lib/
Ddeflate.c88 int click = bb->bitpos >> 3, blow, blen; in bitbuf_get() local
91 if (click == bb->len) { in bitbuf_get()
93 click = 0; in bitbuf_get()
100 result |= ((bb->buf[click] >> blow) & ((1<<blen)-1)) << offset; in bitbuf_get()
121 int click = bb->bitpos >> 3, blow, blen; in bitbuf_put() local
124 if (click == bb->max) { in bitbuf_put()
126 click = 0; in bitbuf_put()
131 bb->buf[click] |= data << blow; in bitbuf_put()

12345678910>>...15