Home
last modified time | relevance | path

Searched refs:MyClick (Results 1 – 6 of 6) sorted by relevance

/external/skqp/samplecode/
DSampleAAGeometry.cpp649 class MyClick : public Sample::Click { class
688 MyClick(Sample* target, ClickType type, ControlType control) in MyClick() function in MyClick
696 MyClick(Sample* target, ClickType type, int index) in MyClick() function in MyClick
704 MyClick(Sample* target, ClickType type, int index, SkPath::Verb verb, SkScalar weight) in MyClick() function in MyClick
728 kControlCount = MyClick::kLastControl - MyClick::kFirstControl + 1,
733 MyClick::ControlType fControlType;
737 kButtonCount = MyClick::kLastButton - MyClick::kFirstButton + 1,
738 kVerbCount = MyClick::kLastVerbButton - MyClick::kFirstButton + 1,
743 MyClick::ControlType fButtonType;
746 static void enable_verb_button(MyClick::ControlType type) { in enable_verb_button()
[all …]
DSamplePathClip.cpp240 class MyClick : public Click { class in EdgeClipView
242 MyClick(Sample* view) : Click(view) {} in MyClick() function in EdgeClipView::MyClick
246 class VertClick : public MyClick {
249 VertClick(Sample* view, SkPoint* pt) : MyClick(view), fPt(pt) {} in VertClick()
253 class DragRectClick : public MyClick {
256 DragRectClick(Sample* view, SkRect* rect) : MyClick(view), fRect(rect) {} in DragRectClick()
260 class DragPolyClick : public MyClick {
266 : MyClick(view), fPoly(poly), fCount(count) in DragPolyClick()
280 class DoNothingClick : public MyClick {
282 DoNothingClick(Sample* view) : MyClick(view) {} in DoNothingClick()
[all …]
DSampleQuadStroker.cpp721 class MyClick : public Click { class in QuadStrokerView
724 MyClick(Sample* target, int index) : Click(target), fIndex(index) {} in MyClick() function in QuadStrokerView::MyClick
731 return new MyClick(this, (int)i); in onFindClickHandler()
736 return new MyClick(this, (int) SK_ARRAY_COUNT(fPts) + 1); in onFindClickHandler()
739 return new MyClick(this, (int) SK_ARRAY_COUNT(fPts) + 2); in onFindClickHandler()
743 return new MyClick(this, (int) SK_ARRAY_COUNT(fPts) + 3); in onFindClickHandler()
747 return new MyClick(this, (int) SK_ARRAY_COUNT(fPts) + 4); in onFindClickHandler()
751 return new MyClick(this, (int) SK_ARRAY_COUNT(fPts) + 5); in onFindClickHandler()
755 return new MyClick(this, (int) SK_ARRAY_COUNT(fPts) + 6); in onFindClickHandler()
759 return new MyClick(this, (int) SK_ARRAY_COUNT(fPts) + 7); in onFindClickHandler()
[all …]
/external/skia/samplecode/
DSampleAAGeometry.cpp649 class MyClick : public Sample::Click { class
688 MyClick(Sample* target, ClickType type, ControlType control) in MyClick() function in MyClick
696 MyClick(Sample* target, ClickType type, int index) in MyClick() function in MyClick
704 MyClick(Sample* target, ClickType type, int index, SkPath::Verb verb, SkScalar weight) in MyClick() function in MyClick
728 kControlCount = MyClick::kLastControl - MyClick::kFirstControl + 1,
733 MyClick::ControlType fControlType;
737 kButtonCount = MyClick::kLastButton - MyClick::kFirstButton + 1,
738 kVerbCount = MyClick::kLastVerbButton - MyClick::kFirstButton + 1,
743 MyClick::ControlType fButtonType;
746 static void enable_verb_button(MyClick::ControlType type) { in enable_verb_button()
[all …]
DSamplePathClip.cpp240 class MyClick : public Click { class in EdgeClipView
242 MyClick(Sample* view) : Click(view) {} in MyClick() function in EdgeClipView::MyClick
246 class VertClick : public MyClick {
249 VertClick(Sample* view, SkPoint* pt) : MyClick(view), fPt(pt) {} in VertClick()
253 class DragRectClick : public MyClick {
256 DragRectClick(Sample* view, SkRect* rect) : MyClick(view), fRect(rect) {} in DragRectClick()
260 class DragPolyClick : public MyClick {
266 : MyClick(view), fPoly(poly), fCount(count) in DragPolyClick()
280 class DoNothingClick : public MyClick {
282 DoNothingClick(Sample* view) : MyClick(view) {} in DoNothingClick()
[all …]
DSampleQuadStroker.cpp721 class MyClick : public Click { class in QuadStrokerView
724 MyClick(Sample* target, int index) : Click(target), fIndex(index) {} in MyClick() function in QuadStrokerView::MyClick
731 return new MyClick(this, (int)i); in onFindClickHandler()
736 return new MyClick(this, (int) SK_ARRAY_COUNT(fPts) + 1); in onFindClickHandler()
739 return new MyClick(this, (int) SK_ARRAY_COUNT(fPts) + 2); in onFindClickHandler()
743 return new MyClick(this, (int) SK_ARRAY_COUNT(fPts) + 3); in onFindClickHandler()
747 return new MyClick(this, (int) SK_ARRAY_COUNT(fPts) + 4); in onFindClickHandler()
751 return new MyClick(this, (int) SK_ARRAY_COUNT(fPts) + 5); in onFindClickHandler()
755 return new MyClick(this, (int) SK_ARRAY_COUNT(fPts) + 6); in onFindClickHandler()
759 return new MyClick(this, (int) SK_ARRAY_COUNT(fPts) + 7); in onFindClickHandler()
[all …]