/external/skia/samplecode/ |
H A D | SampleMegaStroke.cpp | 30 bool onQuery(SkEvent* evt) override { 31 if (SampleCode::TitleQ(*evt)) { 32 SampleCode::TitleR(evt, "MegaStroke"); 37 if (SampleCode::CharQ(*evt, &uni)) { 40 if (evt->isType("SampleCode_Key_Event")) { 43 return this->INHERITED::onQuery(evt);
|
H A D | SampleAnimBlur.cpp | 31 bool onQuery(SkEvent* evt) override { 32 if (SampleCode::TitleQ(*evt)) { 33 SampleCode::TitleR(evt, "AnimBlur"); 36 return this->INHERITED::onQuery(evt);
|
H A D | SampleIdentityScale.cpp | 38 bool onQuery(SkEvent* evt) override { 39 if (SampleCode::TitleQ(*evt)) { 40 SampleCode::TitleR(evt, "IdentityScale"); 43 return this->INHERITED::onQuery(evt);
|
H A D | SampleLCD.cpp | 19 virtual bool onQuery(SkEvent* evt) { argument 20 if (SampleCode::TitleQ(*evt)) { 21 SampleCode::TitleR(evt, "LCD Text"); 24 return this->INHERITED::onQuery(evt);
|
H A D | SampleLayerMask.cpp | 25 virtual bool onQuery(SkEvent* evt) { argument 26 if (SampleCode::TitleQ(*evt)) { 27 SampleCode::TitleR(evt, "LayerMask"); 30 return this->INHERITED::onQuery(evt);
|
H A D | SampleManyRects.cpp | 27 bool onQuery(SkEvent* evt) override { 28 if (SampleCode::TitleQ(*evt)) { 29 SampleCode::TitleR(evt, "ManyRects"); 32 return this->INHERITED::onQuery(evt);
|
H A D | SamplePoints.cpp | 30 virtual bool onQuery(SkEvent* evt) { argument 31 if (SampleCode::TitleQ(*evt)) { 32 SampleCode::TitleR(evt, "Points"); 35 return this->INHERITED::onQuery(evt);
|
H A D | SampleRepeatTile.cpp | 50 bool onQuery(SkEvent* evt) override { 51 if (SampleCode::TitleQ(*evt)) { 52 SampleCode::TitleR(evt, "RepeatTile"); 55 return this->INHERITED::onQuery(evt);
|
H A D | SampleSVGFile.cpp | 59 bool onQuery(SkEvent* evt) override { 60 if (SampleCode::TitleQ(*evt)) { 61 SampleCode::TitleR(evt, fLabel.c_str()); 65 return this->INHERITED::onQuery(evt);
|
H A D | SampleStringArt.cpp | 24 bool onQuery(SkEvent* evt) override { 25 if (SampleCode::TitleQ(*evt)) { 26 SampleCode::TitleR(evt, "StringArt"); 29 return this->INHERITED::onQuery(evt);
|
H A D | SampleStrokeRect.cpp | 18 virtual bool onQuery(SkEvent* evt) { argument 19 if (SampleCode::TitleQ(*evt)) { 20 SampleCode::TitleR(evt, "Stroke Rects"); 23 return this->INHERITED::onQuery(evt);
|
H A D | SampleTextAlpha.cpp | 35 bool onQuery(SkEvent* evt) override { 36 if (SampleCode::TitleQ(*evt)) { 37 SampleCode::TitleR(evt, "TextAlpha"); 40 return this->INHERITED::onQuery(evt);
|
H A D | SampleWritePixels.cpp | 37 virtual bool onQuery(SkEvent* evt) { argument 38 if (SampleCode::TitleQ(*evt)) { 39 SampleCode::TitleR(evt, "WritePixels"); 42 return this->INHERITED::onQuery(evt);
|
/external/skqp/samplecode/ |
H A D | SampleMegaStroke.cpp | 30 bool onQuery(SkEvent* evt) override { 31 if (SampleCode::TitleQ(*evt)) { 32 SampleCode::TitleR(evt, "MegaStroke"); 37 if (SampleCode::CharQ(*evt, &uni)) { 40 if (evt->isType("SampleCode_Key_Event")) { 43 return this->INHERITED::onQuery(evt);
|
H A D | SampleAnimBlur.cpp | 31 bool onQuery(SkEvent* evt) override { 32 if (SampleCode::TitleQ(*evt)) { 33 SampleCode::TitleR(evt, "AnimBlur"); 36 return this->INHERITED::onQuery(evt);
|
H A D | SampleIdentityScale.cpp | 38 bool onQuery(SkEvent* evt) override { 39 if (SampleCode::TitleQ(*evt)) { 40 SampleCode::TitleR(evt, "IdentityScale"); 43 return this->INHERITED::onQuery(evt);
|
H A D | SampleLCD.cpp | 19 virtual bool onQuery(SkEvent* evt) { argument 20 if (SampleCode::TitleQ(*evt)) { 21 SampleCode::TitleR(evt, "LCD Text"); 24 return this->INHERITED::onQuery(evt);
|
H A D | SampleLayerMask.cpp | 25 virtual bool onQuery(SkEvent* evt) { argument 26 if (SampleCode::TitleQ(*evt)) { 27 SampleCode::TitleR(evt, "LayerMask"); 30 return this->INHERITED::onQuery(evt);
|
H A D | SampleManyRects.cpp | 27 bool onQuery(SkEvent* evt) override { 28 if (SampleCode::TitleQ(*evt)) { 29 SampleCode::TitleR(evt, "ManyRects"); 32 return this->INHERITED::onQuery(evt);
|
H A D | SamplePoints.cpp | 30 virtual bool onQuery(SkEvent* evt) { argument 31 if (SampleCode::TitleQ(*evt)) { 32 SampleCode::TitleR(evt, "Points"); 35 return this->INHERITED::onQuery(evt);
|
H A D | SampleRepeatTile.cpp | 50 bool onQuery(SkEvent* evt) override { 51 if (SampleCode::TitleQ(*evt)) { 52 SampleCode::TitleR(evt, "RepeatTile"); 55 return this->INHERITED::onQuery(evt);
|
H A D | SampleSVGFile.cpp | 59 bool onQuery(SkEvent* evt) override { 60 if (SampleCode::TitleQ(*evt)) { 61 SampleCode::TitleR(evt, fLabel.c_str()); 65 return this->INHERITED::onQuery(evt);
|
H A D | SampleStringArt.cpp | 24 bool onQuery(SkEvent* evt) override { 25 if (SampleCode::TitleQ(*evt)) { 26 SampleCode::TitleR(evt, "StringArt"); 29 return this->INHERITED::onQuery(evt);
|
H A D | SampleStrokeRect.cpp | 18 virtual bool onQuery(SkEvent* evt) { argument 19 if (SampleCode::TitleQ(*evt)) { 20 SampleCode::TitleR(evt, "Stroke Rects"); 23 return this->INHERITED::onQuery(evt);
|
/external/python/cpython2/Demo/tkinter/ttk/ |
H A D | roundframe.py | 103 entry.bind("<FocusIn>", lambda evt: frame.state(["focus"])) 104 entry.bind("<FocusOut>", lambda evt: frame.state(["!focus"])) 108 text.bind("<FocusIn>", lambda evt: frame2.state(["focus"])) 109 text.bind("<FocusOut>", lambda evt: frame2.state(["!focus"]))
|