• Home
  • Raw
  • Download

Lines Matching full:sample

8 #include "Sample.h"
20 Sample::Event::Event() : Event("") {} in Event()
22 Sample::Event::Event(const Event& that) { in Event()
26 Sample::Event::Event(const char type[]) : fType(type), f32(0) { in Event()
30 Sample::Event::~Event() {} in ~Event()
32 bool Sample::Event::isType(const char type[]) const { in isType()
36 const char* Sample::kCharEvtName = "SampleCode_Char_Event";
37 const char* Sample::kTitleEvtName = "SampleCode_Title_Event";
39 bool Sample::CharQ(const Event& evt, SkUnichar* outUni) { in CharQ()
49 bool Sample::TitleQ(const Event& evt) { in TitleQ()
53 void Sample::TitleR(Event* evt, const char title[]) { in TitleR()
58 bool Sample::RequestTitle(Sample* view, SkString* title) { in RequestTitle()
69 bool Sample::doEvent(const Event& evt) { in doEvent()
73 bool Sample::onEvent(const Event&) { in onEvent()
77 bool Sample::doQuery(Event* evt) { in doQuery()
82 bool Sample::onQuery(Sample::Event* evt) { in onQuery()
89 void Sample::setSize(SkScalar width, SkScalar height) { in setSize()
101 void Sample::draw(SkCanvas* canvas) { in draw()
133 Sample::Click::Click(Sample* target) { in 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()
151 Sample* target = click->fTarget.get(); in DoClickDown()
167 void Sample::DoClickMoved(Click* click, int x, int y, unsigned modi) { in DoClickMoved()
170 Sample* target = click->fTarget.get(); in DoClickMoved()
186 void Sample::DoClickUp(Click* click, int x, int y, unsigned modi) { in DoClickUp()
189 Sample* target = click->fTarget.get(); in DoClickUp()
207 void Sample::onSizeChange() {} in onSizeChange()
209 Sample::Click* Sample::onFindClickHandler(SkScalar x, SkScalar y, unsigned modi) { in onFindClickHandler()
213 bool Sample::onClick(Click*) { in onClick()
217 void Sample::onDrawBackground(SkCanvas* canvas) { in onDrawBackground()