Home
last modified time | relevance | path

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

123456

/external/skia/samplecode/
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;
DSampleStrokeVerb.cpp43 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) override;
44 bool onClick(Sample::Click*) override;
48 class Click;
128 class CCPRGeometryView::Click : public Sample::Click { class in CCPRGeometryView
130 Click(int ptIdx) : fPtIdx(ptIdx) {} in Click() function in CCPRGeometryView::Click
146 Sample::Click* CCPRGeometryView::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 CCPRGeometryView::onClick(Sample::Click* click) { in onClick()
159 Click* myClick = (Click*)click; in onClick()
DSampleTessellatedWedge.cpp50 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) override;
51 bool onClick(Sample::Click*) override;
60 class Click;
120 class TessellatedWedge::Click : public Sample::Click { class in TessellatedWedge
122 Click(int ptIdx) : fPtIdx(ptIdx) {} in Click() function in TessellatedWedge::Click
138 Sample::Click* TessellatedWedge::onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) { in onFindClickHandler()
144 return new Click(i); in onFindClickHandler()
147 return new Click(-1); in onFindClickHandler()
179 bool TessellatedWedge::onClick(Sample::Click* click) { in onClick()
180 Click* myClick = (Click*)click; in onClick()
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()
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.cpp384 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) override;
385 bool onClick(Sample::Click*) override;
390 class Click;
455 class DegenerateQuadSample::Click : public Sample::Click { class in DegenerateQuadSample
457 Click(const SkRect& clamp, int index) in Click() function in DegenerateQuadSample::Click
483 Sample::Click* DegenerateQuadSample::onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey) { in onFindClickHandler()
487 return new Click(fOuterRect, i); in onFindClickHandler()
490 return new Click(fOuterRect, -1); in onFindClickHandler()
493 bool DegenerateQuadSample::onClick(Sample::Click* click) { in onClick()
494 Click* myClick = (Click*) click; 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()
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()
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()
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()
747 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
752 return new Click([this, i](Click* c) { in onFindClickHandler()
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
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()
DSampleClip.cpp324 Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
325 return new Click; in onFindClickHandler()
328 bool onClick(Click* click) override { in onClick()
397 Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
402 Click* c = new Click; in onFindClickHandler()
410 bool onClick(Click* click) override { in onClick()
609 Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
615 return new Click([this, i](Click* c) { in onFindClickHandler()
DSample3D.cpp315 Click* onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi) override { in onFindClickHandler()
318 Click* c = new Click(); in onFindClickHandler()
323 Click* c = new Click(); in onFindClickHandler()
332 bool onClick(Click* click) override { in onClick()
/external/skqp/samplecode/
DSample.cpp133 Sample::Click::Click(Sample* target) { in Click() function in Sample::Click
138 Sample::Click::~Click() {} in ~Click()
140 Sample::Click* Sample::findClickHandler(SkScalar x, SkScalar y, unsigned modi) { in findClickHandler()
148 void Sample::DoClickDown(Click* click, int x, int y, unsigned modi) { in DoClickDown()
162 click->fState = Click::kDown_State; in DoClickDown()
167 void Sample::DoClickMoved(Click* click, int x, int y, unsigned modi) { in DoClickMoved()
181 click->fState = Click::kMoved_State; in DoClickMoved()
186 void Sample::DoClickUp(Click* click, int x, int y, unsigned modi) { in DoClickUp()
200 click->fState = Click::kUp_State; in DoClickUp()
209 Sample::Click* Sample::onFindClickHandler(SkScalar x, SkScalar y, unsigned modi) { in onFindClickHandler()
[all …]
DSample.h51 class Click {
53 Click(Sample* target);
54 virtual ~Click();
78 Click* findClickHandler(SkScalar x, SkScalar y, unsigned modifierKeys);
79 static void DoClickDown(Click*, int x, int y, unsigned modi);
80 static void DoClickMoved(Click*, int x, int y, unsigned modi);
81 static void DoClickUp(Click*, int x, int y, unsigned modi);
205 virtual Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned modi);
208 virtual bool onClick(Click*);
DSampleLua.cpp116 virtual Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, in onFindClickHandler()
128 return new Click(this); in onFindClickHandler()
135 bool onClick(Click* click) override { in onClick()
138 case Click::kMoved_State: in onClick()
141 case Click::kUp_State: in onClick()
DSampleCCPRGeometry.cpp47 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) override;
48 bool onClick(Sample::Click*) override;
52 class Click;
394 class CCPRGeometryView::Click : public Sample::Click { class in CCPRGeometryView
396 Click(Sample* target, int ptIdx) : Sample::Click(target), fPtIdx(ptIdx) {} in Click() function in CCPRGeometryView::Click
417 Sample::Click* CCPRGeometryView::onFindClickHandler(SkScalar x, SkScalar y, unsigned) { in onFindClickHandler()
423 return new Click(this, i); in onFindClickHandler()
426 return new Click(this, -1); in onFindClickHandler()
429 bool CCPRGeometryView::onClick(Sample::Click* click) { in onClick()
430 Click* myClick = (Click*)click; in onClick()
DSamplePath.cpp198 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned modi) override { in onFindClickHandler()
293 bool onClick(Click* click) override { in onClick()
303 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned modi) override { in onFindClickHandler()
308 Click* click = new Click(this); in onFindClickHandler()
426 bool onClick(Click* click) override { in onClick()
436 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned modi) override { in onFindClickHandler()
441 Click* click = new Click(this); in onFindClickHandler()
549 bool onClick(Click* click) override { in onClick()
559 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned modi) override { in onFindClickHandler()
564 Click* click = new Click(this); in onFindClickHandler()
[all …]
DSampleXfer.cpp171 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) override { in onFindClickHandler()
175 Click* click = new Click(this); in onFindClickHandler()
187 return fSelected ? new Click(this) : nullptr; in onFindClickHandler()
190 bool onClick(Click* click) override { in onClick()
193 if (fSelected && Click::kUp_State == click->fState) { in onClick()
DSamplePathClip.cpp61 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) override { in onFindClickHandler()
62 return new Click(this); in onFindClickHandler()
65 bool onClick(Click* click) override { in onClick()
240 class MyClick : public Click {
242 MyClick(Sample* view) : Click(view) {} in MyClick()
293 Sample::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) override { in onFindClickHandler()
312 bool onClick(Click* click) override { in onClick()
/external/skqp/tools/viewer/
DSampleSlide.cpp57 … modifierKeys |= (modifiers & Window::kShift_ModifierKey) ? Sample::Click::kShift_ModifierKey : 0; in onMouse()
58 …modifierKeys |= (modifiers & Window::kControl_ModifierKey) ? Sample::Click::kControl_ModifierKey :… in onMouse()
59 …modifierKeys |= (modifiers & Window::kOption_ModifierKey) ? Sample::Click::kOption_ModifierKey : 0; in onMouse()
60 …modifierKeys |= (modifiers & Window::kCommand_ModifierKey) ? Sample::Click::kCommand_ModifierKey :… in onMouse()
/external/python/cpython3/PC/bdist_wininst/
Dinstall.rc23 …LTEXT "This Wizard will install %s on your computer. Click Next to continue or Cancel to…
57 …EXT "Click Next to begin the installation. If you want to review or change any of your i…
71 LTEXT "Click the Finish button to exit the Setup wizard.",
/external/python/cpython2/PC/bdist_wininst/
Dinstall.rc100 …LTEXT "This Wizard will install %s on your computer. Click Next to continue or Cancel to…
134 …EXT "Click Next to begin the installation. If you want to review or change any of your i…
148 LTEXT "Click the Finish button to exit the Setup wizard.",

123456