Home
last modified time | relevance | path

Searched refs:SkView (Results 1 – 25 of 121) sorted by relevance

12345

/external/skia/src/views/
DSkView.cpp19 SkView::SkView(uint32_t flags) : fFlags(SkToU8(flags)) { in SkView() function in SkView
27 SkView::~SkView() { in ~SkView()
31 void SkView::setFlags(uint32_t flags) { in setFlags()
46 void SkView::setVisibleP(bool pred) { in setVisibleP()
50 void SkView::setEnabledP(bool pred) { in setEnabledP()
54 void SkView::setFocusableP(bool pred) { in setFocusableP()
58 void SkView::setClipToBounds(bool pred) { in setClipToBounds()
62 void SkView::setSize(SkScalar width, SkScalar height) { in setSize()
77 void SkView::setLoc(SkScalar x, SkScalar y) { in setLoc()
85 void SkView::offset(SkScalar dx, SkScalar dy) { in offset()
[all …]
DSkViewPriv.cpp13 void SkView::Artist::draw(SkView* view, SkCanvas* canvas) in draw()
19 void SkView::Artist::inflate(const SkDOM& dom, const SkDOM::Node* node) in inflate()
25 void SkView::Artist::onInflate(const SkDOM&, const SkDOM::Node*) in onInflate()
30 SkView::Artist* SkView::getArtist() const in getArtist()
38 SkView::Artist* SkView::setArtist(Artist* obj) in setArtist()
58 void SkView::Layout::layoutChildren(SkView* parent) in layoutChildren()
65 void SkView::Layout::inflate(const SkDOM& dom, const SkDOM::Node* node) in inflate()
71 void SkView::Layout::onInflate(const SkDOM&, const SkDOM::Node*) in onInflate()
76 SkView::Layout* SkView::getLayout() const in getLayout()
84 SkView::Layout* SkView::setLayout(Layout* obj, bool invokeLayoutNow) in setLayout()
DSkViewPriv.h14 SkView::Layout* fLayout;
16 Layout_SkTagList(SkView::Layout* layout) in Layout_SkTagList()
29 SkView::Artist* fArtist;
31 Artist_SkTagList(SkView::Artist* artist) in Artist_SkTagList()
DSkWindow.cpp148 SkView* focus = this->getFocusView(); in handleChar()
166 SkView* focus = this->getFocusView(); in handleKey()
193 SkView* focus = this->getFocusView(); in handleKeyUp()
229 bool SkWindow::onGetFocusView(SkView** focus) const { in onGetFocusView()
235 bool SkWindow::onSetFocusView(SkView* focus) { in onSetFocusView()
291 SkView::DoClickDown(click, x, y, modifierKeys); in onDispatchClick()
298 SkView::DoClickMoved(fClicks[index], x, y, modifierKeys); in onDispatchClick()
304 SkView::DoClickUp(fClicks[index], x, y, modifierKeys); in onDispatchClick()
/external/skia/include/views/
DSkView.h28 class SkView : public SkEventSink {
51 SkView(uint32_t flags = 0);
52 virtual ~SkView();
126 SkView* getFocusView() const;
136 SkView* moveFocus(FocusDirection);
142 Click(SkView* target);
169 friend class SkView; variable
181 SkView* sendEventToParents(const SkEvent&);
186 SkView* sendQueryToParents(SkEvent*);
191 SkView* getParent() const { return fParent; } in getParent()
[all …]
DSkWindow.h29 class SkWindow : public SkView {
102 virtual bool onGetFocusView(SkView** focus) const;
103 virtual bool onSetFocusView(SkView* focus);
114 SkView* fFocusView;
120 typedef SkView INHERITED;
/external/skia/samplecode/
DSampleCode.h21 static SkView* SK_MACRO_APPEND_LINE(F_)() { code } \
41 static bool RequestTitle(SkView* view, SkString* title);
56 virtual SkView* operator() () const = 0;
59 typedef SkView* (*SkViewCreateFunc)();
65 SkView* operator() () const override;
84 SkView* operator() () const override;
113 class SampleView : public SkView {
125 static bool IsSampleView(SkView*);
126 static bool SetRepeatDraw(SkView*, int count);
127 static bool SetUsePipe(SkView*, SkOSMenu::TriState);
[all …]
DOverView.h11 class SkView; variable
14 SkView* create_overview(int, const SkViewFactory*[]);
16 bool is_overview(SkView* view);
DSampleCode.cpp48 bool SampleCode::RequestTitle(SkView* view, SkString* title) { in RequestTitle()
86 SkView* SkFuncViewFactory::operator() () const { in operator ()()
96 SkView* SkGMSampleViewFactory::operator() () const { in operator ()()
119 bool SampleView::IsSampleView(SkView* view) { in IsSampleView()
124 bool SampleView::SetRepeatDraw(SkView* view, int count) { in SetRepeatDraw()
DOverView.cpp45 class OverView : public SkView {
120 typedef SkView INHERITED;
123 SkView* create_overview(int count, const SkViewFactory* factories[]) { in create_overview()
127 bool is_overview(SkView* view) { in is_overview()
138 SkView* view = (*fFactories[i])(); in OverView()
DSampleLCD.cpp13 class LCDView : public SkView {
59 typedef SkView INHERITED;
64 static SkView* MyFactory() { return new LCDView; } in MyFactory()
DSamplePathClip.cpp58 SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) override { in onFindClickHandler()
238 MyClick(SkView* view) : Click(view) {} in MyClick()
245 VertClick(SkView* view, SkPoint* pt) : MyClick(view), fPt(pt) {} in VertClick()
252 DragRectClick(SkView* view, SkRect* rect) : MyClick(view), fRect(rect) {} in DragRectClick()
261 DragPolyClick(SkView* view, SkPoint poly[], int count) in DragPolyClick()
278 DoNothingClick(SkView* view) : MyClick(view) {} in DoNothingClick()
289 SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) override { in onFindClickHandler()
DSampleBigBlur.cpp42 typedef SkView INHERITED;
47 static SkView* MyFactory() { return new BigBlurView; } in MyFactory()
DSampleTextAlpha.cpp67 SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) override { in onFindClickHandler()
91 static SkView* MyFactory() { return new TextAlphaView; } in MyFactory()
DSampleAnimator.cpp19 class SkAnimatorView : public SkView {
41 typedef SkView INHERITED;
160 static SkView* MyFactory() { in MyFactory()
DSampleLayers.cpp115 class LayersView : public SkView {
194 SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned modi) override { in onFindClickHandler()
210 typedef SkView INHERITED;
273 SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned modi) override { in onFindClickHandler()
DSampleXfer.cpp33 class HasEventWig : public SkView {
96 if (click->fState == SkView::Click::kUp_State) { in onClick()
160 sk_sp<SkView> v(new PushButtonWig(SkBlendMode_Name(gModes[i]), (int)gModes[i])); in addButtons()
223 SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) override { in onFindClickHandler()
/external/skia/experimental/SimpleiOSApp/
DSimpleApp.mm18 class SkSampleView : public SkView {
36 typedef SkView INHERITED;
57 class FillLayout : public SkView::Layout {
59 virtual void onLayoutChildren(SkView* parent) {
60 SkView* view = SkView::F2BIter(parent).next();
/external/skia/experimental/DrawingBoard/
DSkColorPalette.cpp75 SkView::Click* SkColorPalette::onFindClickHandler(SkScalar x, SkScalar y) { in onFindClickHandler()
79 bool SkColorPalette::onClick(SkView::Click* click) { in onClick()
85 case SkView::Click::kDown_State: in onClick()
86 case SkView::Click::kMoved_State: in onClick()
87 case SkView::Click::kUp_State: in onClick()
106 case SkView::Click::kDown_State: in onClick()
107 case SkView::Click::kMoved_State: in onClick()
108 case SkView::Click::kUp_State: in onClick()
DSkColorPalette.h13 class SkColorPalette : public SkView {
20 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y);
21 virtual bool onClick(SkView::Click* click);
31 typedef SkView INHERITED;
DSampleDrawingClient.cpp141 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y) { in onFindClickHandler()
145 virtual bool onClick(SkView::Click* click) { in onClick()
147 case SkView::Click::kDown_State: in onClick()
153 case SkView::Click::kMoved_State: in onClick()
156 case SkView::Click::kUp_State: in onClick()
277 static SkView* MyFactory() { return new DrawingClientView; } in MyFactory()
/external/skia/tools/
DiOSShell.cpp20 static SkView* curr_view(SkWindow* wind) { in curr_view()
21 SkView::F2BIter iter(wind); in curr_view()
51 SkView::F2BIter iter(this); in onSizeChange()
52 SkView* view = iter.next(); in onSizeChange()
/external/skia/experimental/FileReaderApp/
DReaderView.h17 class ReaderView : public SkView {
28 typedef SkView INHERITED;
/external/skia/experimental/iOSSampleApp/Shared/
DSkUIView.mm64 fWind->handleClick(loc.x, loc.y, SkView::Click::kDown_State, touch);
71 fWind->handleClick(loc.x, loc.y, SkView::Click::kMoved_State, touch);
78 fWind->handleClick(loc.x, loc.y, SkView::Click::kUp_State, touch);
85 fWind->handleClick(loc.x, loc.y, SkView::Click::kUp_State, touch);
/external/skia/experimental/SimpleCocoaApp/
DSimpleApp.mm56 class SkSampleView : public SkView {
97 typedef SkView INHERITED;
285 class FillLayout : public SkView::Layout {
287 virtual void onLayoutChildren(SkView* parent) {
288 SkView* view = SkView::F2BIter(parent).next();

12345