Home
last modified time | relevance | path

Searched refs:Click (Results 1 – 25 of 136) sorted by relevance

123456

/third_party/skia/samplecode/
DSampleStrokeVerb.cpp43 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) override;
44 bool onClick(Sample::Click*) override;
48 class Click;
128 class StrokeVerbView::Click : public Sample::Click { class in StrokeVerbView
130 Click(int ptIdx) : fPtIdx(ptIdx) {} in Click() function in StrokeVerbView::Click
146 Sample::Click* StrokeVerbView::onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) { in onFindClickHandler()
152 return new Click(i); in onFindClickHandler()
155 return new Click(-1); in onFindClickHandler()
158 bool StrokeVerbView::onClick(Sample::Click* click) { in onClick()
159 Click* myClick = (Click*)click; in onClick()
DSample.h58 class Click {
60 Click() {} in Click() function
61 Click(std::function<bool(Click*)> f) : fFunc(f), fHasFunc(true) {} in Click() function
62 virtual ~Click() = default;
71 std::function<bool(Click*)> fFunc;
86 virtual Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi);
89 virtual bool onClick(Click*);
97 std::unique_ptr<Click> fClick;
DSampleFitCubicToCircle.cpp40 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) override;
41 bool onClick(Sample::Click*) override;
57 class Click;
189 class SampleFitCubicToCircle::Click : public Sample::Click { class in SampleFitCubicToCircle
191 Click(int ptIdx) : fPtIdx(ptIdx) {} in Click() function in SampleFitCubicToCircle::Click
211 Sample::Click* SampleFitCubicToCircle::onFindClickHandler(SkScalar x, SkScalar y, in onFindClickHandler()
218 return new Click(0); in onFindClickHandler()
220 return new Click(1); in onFindClickHandler()
224 bool SampleFitCubicToCircle::onClick(Sample::Click* click) { in onClick()
225 Click* myClick = (Click*)click; in onClick()
DSamplePathTessellators.cpp204 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) override;
205 bool onClick(Sample::Click*) override;
216 class Click;
268 class SamplePathTessellators::Click : public Sample::Click { class in skgpu::SamplePathTessellators
270 Click(int ptIdx) : fPtIdx(ptIdx) {} in Click() function in skgpu::SamplePathTessellators::Click
281 Sample::Click* SamplePathTessellators::onFindClickHandler(SkScalar x, SkScalar y, in onFindClickHandler()
287 return new Click(i); in onFindClickHandler()
293 bool SamplePathTessellators::onClick(Sample::Click* click) { in onClick()
294 Click* myClick = (Click*)click; in onClick()
DSampleXfer.cpp163 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) override { in onFindClickHandler()
167 Click* click = new Click(); in onFindClickHandler()
179 return fSelected ? new Click() : nullptr; in onFindClickHandler()
182 bool onClick(Click* click) override { in onClick()
289 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) override { in onFindClickHandler()
291 return new Click([this](Click* click) { in onFindClickHandler()
DSampleDegenerateQuads.cpp389 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) override;
390 bool onClick(Sample::Click*) override;
395 class Click;
460 class DegenerateQuadSample::Click : public Sample::Click { class in DegenerateQuadSample
462 Click(const SkRect& clamp, int index) in Click() function in DegenerateQuadSample::Click
488 Sample::Click* DegenerateQuadSample::onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) { in onFindClickHandler()
492 return new Click(fOuterRect, i); in onFindClickHandler()
495 return new Click(fOuterRect, -1); in onFindClickHandler()
498 bool DegenerateQuadSample::onClick(Sample::Click* click) { in onClick()
499 Click* myClick = (Click*) click; in onClick()
DSamplePatch.cpp289 class PtClick : public Click {
299 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
310 bool onClick(Click* click) override { in onClick()
397 Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
398 Click* click = new Click(); in onFindClickHandler()
404 bool onClick(Click* click) override { in onClick()
485 Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
486 Click* click = new Click(); in onFindClickHandler()
492 bool onClick(Click* click) override { in onClick()
DSampleSG.cpp75 Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
77 Click* click = new Click(); in onFindClickHandler()
84 bool onClick(Click* click) override { in onClick()
DSamplePath.cpp192 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
282 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
287 return new Click([this, i](Click* c) { in onFindClickHandler()
409 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
414 return new Click([this, i](Click* c) { in onFindClickHandler()
517 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
522 return new Click([this, i](Click* c) { in onFindClickHandler()
746 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
751 return new Click([this, i](Click* c) { in onFindClickHandler()
DSampleAudio.cpp66 Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) override { in onFindClickHandler()
72 return new Click([this, wasPlaying](Click* click) { in onFindClickHandler()
DSampleMixer.cpp75 Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) override { in onFindClickHandler()
77 SkScalarRoundToInt(y)) ? new Click() : nullptr; in onFindClickHandler()
80 bool onClick(Click* click) override { in onClick()
DSamplePathClip.cpp55 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) override { in onFindClickHandler()
56 return new Click([&](Click* c) { in onFindClickHandler()
226 class MyClick : public Click {
278 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) override { in onFindClickHandler()
297 bool onClick(Click* click) override { in onClick()
DSample.cpp65 auto dispatch = [this](Click* c) { in mouse()
114 Sample::Click* Sample::onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) { in onFindClickHandler()
118 bool Sample::onClick(Click*) { in onClick() argument
DSampleClip.cpp323 Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
324 return new Click; in onFindClickHandler()
327 bool onClick(Click* click) override { in onClick()
396 Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
401 Click* c = new Click; in onFindClickHandler()
409 bool onClick(Click* click) override { in onClick()
608 Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
614 return new Click([this, i](Click* c) { in onFindClickHandler()
/third_party/flutter/skia/samplecode/
DSample.h56 class Click {
58 virtual ~Click() = default;
78 virtual Click* onFindClickHandler(SkScalar x, SkScalar y, ModifierKey modi);
81 virtual bool onClick(Click*);
89 std::unique_ptr<Click> fClick;
DSampleCCPRGeometry.cpp50 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, ModifierKey) override;
51 bool onClick(Sample::Click*) override;
55 class Click;
402 class CCPRGeometryView::Click : public Sample::Click { class in CCPRGeometryView
404 Click(int ptIdx) : fPtIdx(ptIdx) {} in Click() function in CCPRGeometryView::Click
420 Sample::Click* CCPRGeometryView::onFindClickHandler(SkScalar x, SkScalar y, ModifierKey) { in onFindClickHandler()
426 return new Click(i); in onFindClickHandler()
429 return new Click(-1); in onFindClickHandler()
432 bool CCPRGeometryView::onClick(Sample::Click* click) { in onClick()
433 Click* myClick = (Click*)click; in onClick()
DSamplePath.cpp192 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, ModifierKey modi) override { in onFindClickHandler()
282 bool onClick(Click* click) override { in onClick()
292 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, ModifierKey modi) override { in onFindClickHandler()
297 Click* click = new Click(); in onFindClickHandler()
410 bool onClick(Click* click) override { in onClick()
420 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, ModifierKey modi) override { in onFindClickHandler()
425 Click* click = new Click(); in onFindClickHandler()
527 bool onClick(Click* click) override { in onClick()
537 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, ModifierKey modi) override { in onFindClickHandler()
542 Click* click = new Click(); in onFindClickHandler()
[all …]
DSampleMixer.cpp74 virtual Click* onFindClickHandler(SkScalar x, SkScalar y, ModifierKey) override { in onFindClickHandler()
76 SkScalarRoundToInt(y)) ? new Click() : nullptr; in onFindClickHandler()
79 bool onClick(Click* click) override { in onClick()
157 virtual Click* onFindClickHandler(SkScalar x, SkScalar y, ModifierKey) override { in onFindClickHandler()
160 SkScalarRoundToInt(y)) ? new Click() : nullptr; in onFindClickHandler()
163 bool onClick(Click* click) override { in onClick()
DSampleDegenerateQuads.cpp383 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, ModifierKey) override;
384 bool onClick(Sample::Click*) override;
389 class Click;
453 class DegenerateQuadSample::Click : public Sample::Click { class in DegenerateQuadSample
455 Click(const SkRect& clamp, int index) in Click() function in DegenerateQuadSample::Click
481 Sample::Click* DegenerateQuadSample::onFindClickHandler(SkScalar x, SkScalar y, ModifierKey) { in onFindClickHandler()
485 return new Click(fOuterRect, i); in onFindClickHandler()
488 return new Click(fOuterRect, -1); in onFindClickHandler()
491 bool DegenerateQuadSample::onClick(Sample::Click* click) { in onClick()
492 Click* myClick = (Click*) click; in onClick()
DSamplePatch.cpp290 class PtClick : public Click {
300 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, ModifierKey modi) override { in onFindClickHandler()
311 bool onClick(Click* click) override { in onClick()
399 Click* onFindClickHandler(SkScalar x, SkScalar y, ModifierKey modi) override { in onFindClickHandler()
400 Click* click = new Click(); in onFindClickHandler()
406 bool onClick(Click* click) override { in onClick()
487 Click* onFindClickHandler(SkScalar x, SkScalar y, ModifierKey modi) override { in onFindClickHandler()
488 Click* click = new Click(); in onFindClickHandler()
494 bool onClick(Click* click) override { in onClick()
DSampleSG.cpp75 Click* onFindClickHandler(SkScalar x, SkScalar y, ModifierKey modi) override { in onFindClickHandler()
77 Click* click = new Click(); in onFindClickHandler()
84 bool onClick(Click* click) override { in onClick()
DSampleXfer.cpp163 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, ModifierKey) override { in onFindClickHandler()
167 Click* click = new Click(); in onFindClickHandler()
179 return fSelected ? new Click() : nullptr; in onFindClickHandler()
182 bool onClick(Click* click) override { in onClick()
DSamplePathClip.cpp55 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, ModifierKey) override { in onFindClickHandler()
56 return new Click(); in onFindClickHandler()
59 bool onClick(Click* click) override { in onClick()
228 class MyClick : public Click {
280 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, ModifierKey) override { in onFindClickHandler()
299 bool onClick(Click* click) override { in onClick()
DSampleLua.cpp111 virtual Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, in onFindClickHandler()
123 return new Click(); in onFindClickHandler()
130 bool onClick(Click* click) override { in onClick()
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/2.0/specifying_the_type_of_this_for_functions/
Dspecifying_the_type_of_this_for_functions_2.ts27 Click(onclick: (this: void, e: Event) => void): void; method
40 Click(Onclick: (this: void, e: Event) => void) {
45 web.Click(onAir.onClickGood);

123456