Home
last modified time | relevance | path

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

123456

/external/skia/src/views/
DSkView.cpp13 SkView::SkView(uint32_t flags) : fFlags(SkToU8(flags)) in SkView() function in SkView
22 SkView::~SkView() in ~SkView()
27 void SkView::setFlags(uint32_t flags) in setFlags()
44 void SkView::setVisibleP(bool pred) in setVisibleP()
49 void SkView::setEnabledP(bool pred) in setEnabledP()
54 void SkView::setFocusableP(bool pred) in setFocusableP()
59 void SkView::setClipToBounds(bool pred) { in setClipToBounds()
63 void SkView::setSize(SkScalar width, SkScalar height) in setSize()
79 void SkView::setLoc(SkScalar x, SkScalar y) in setLoc()
89 void SkView::offset(SkScalar dx, SkScalar dy) in offset()
[all …]
DSkViewPriv.cpp12 void SkView::Artist::draw(SkView* view, SkCanvas* canvas) in draw()
18 void SkView::Artist::inflate(const SkDOM& dom, const SkDOM::Node* node) in inflate()
24 void SkView::Artist::onInflate(const SkDOM&, const SkDOM::Node*) in onInflate()
29 SkView::Artist* SkView::getArtist() const in getArtist()
37 SkView::Artist* SkView::setArtist(Artist* obj) in setArtist()
57 void SkView::Layout::layoutChildren(SkView* parent) in layoutChildren()
64 void SkView::Layout::inflate(const SkDOM& dom, const SkDOM::Node* node) in inflate()
70 void SkView::Layout::onInflate(const SkDOM&, const SkDOM::Node*) in onInflate()
75 SkView::Layout* SkView::getLayout() const in getLayout()
83 SkView::Layout* SkView::setLayout(Layout* obj, bool invokeLayoutNow) in setLayout()
DSkStackViewLayout.cpp62 typedef SkScalar (SkView::*GetSizeProc)() const;
63 typedef void (SkView::*SetLocProc)(SkScalar coord);
64 typedef void (SkView::*SetSizeProc)(SkScalar coord);
74 static SkScalar compute_children_limit(SkView* parent, GetSizeProc sizeProc, int* count, in compute_children_limit()
77 SkView::B2FIter iter(parent); in compute_children_limit()
78 SkView* child; in compute_children_limit()
97 void SkStackViewLayout::onLayoutChildren(SkView* parent) in onLayoutChildren()
110 SkView::Flag_Mask flexMask; in onLayoutChildren()
119 mainGetSizeP = &SkView::width; in onLayoutChildren()
120 crossGetSizeP = &SkView::height; in onLayoutChildren()
[all …]
DSkViewInflate.cpp20 void SkViewInflate::rInflate(const SkDOM& dom, const SkDOM::Node* node, SkView* parent) in rInflate()
29 SkView* view = this->createView(dom, child); in rInflate()
53 void SkViewInflate::inflateView(SkView* view, const SkDOM& dom, const SkDOM::Node* node) in inflateView()
61 SkView* SkViewInflate::inflate(const SkDOM& dom, const SkDOM::Node* node, SkView* root) in inflate()
78 SkView* target; in inflate()
101 SkView* SkViewInflate::inflate(const char xml[], size_t len, SkView* root) in inflate()
109 SkView* SkViewInflate::findViewByID(const char id[]) const in findViewByID()
112 SkView* view; in findViewByID()
116 SkView* SkViewInflate::createView(const SkDOM& dom, const SkDOM::Node* node) in createView()
119 return new SkView; in createView()
[all …]
DSkViewPriv.h15 SkView::Layout* fLayout;
17 Layout_SkTagList(SkView::Layout* layout) in Layout_SkTagList()
30 SkView::Artist* fArtist;
32 Artist_SkTagList(SkView::Artist* artist) in Artist_SkTagList()
DSkWindow.cpp176 SkView* focus = this->getFocusView(); in handleChar()
194 SkView* focus = this->getFocusView(); in handleKey()
221 SkView* focus = this->getFocusView(); in handleKeyUp()
257 bool SkWindow::onGetFocusView(SkView** focus) const { in onGetFocusView()
263 bool SkWindow::onSetFocusView(SkView* focus) { in onSetFocusView()
319 SkView::DoClickDown(click, x, y, modifierKeys); in onDispatchClick()
326 SkView::DoClickMoved(fClicks[index], x, y, modifierKeys); in onDispatchClick()
332 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 …]
DSkViewInflate.h17 class SkView; variable
29 SkView* inflate(const SkDOM& dom, const SkDOM::Node* node, SkView* root = NULL);
30 SkView* inflate(const char xml[], size_t len, SkView* root = NULL);
35 SkView* findViewByID(const char id[]) const;
46 virtual SkView* createView(const SkDOM& dom, const SkDOM::Node* node);
51 virtual void inflateView(SkView* view, const SkDOM& dom, const SkDOM::Node* node);
57 SkTDict<SkView*> fIDs;
60 SkView* fView;
66 void addIDStr(SkTDArray<IDStr>* list, SkView*, const char* str);
68 void rInflate(const SkDOM& dom, const SkDOM::Node* node, SkView* parent);
DSkWidget.h25 class SkWidget : public SkView {
27 SkWidget(uint32_t flags = 0) : SkView(flags | kFocusable_Mask | kEnabled_Mask) {}
44 typedef SkView INHERITED;
130 class SkStaticTextView : public SkView {
174 typedef SkView INHERITED;
179 class SkBitmapView : public SkView {
194 typedef SkView INHERITED;
199 class SkHasLabelView : public SkView {
250 class SkProgressView : public SkView {
271 typedef SkView INHERITED;
[all …]
DSkStackViewLayout.h15 class SkStackViewLayout : public SkView::Layout {
63 virtual void onLayoutChildren(SkView* parent);
72 class SkFillViewLayout : public SkView::Layout {
80 virtual void onLayoutChildren(SkView* parent);
85 typedef SkView::Layout INHERITED;
DSkWindow.h34 class SkWindow : public SkView {
96 virtual bool onGetFocusView(SkView** focus) const;
97 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 } \
32 static bool RequestTitle(SkView* view, SkString* title);
47 virtual SkView* operator() () const = 0;
50 typedef SkView* (*SkViewCreateFunc)();
56 SkView* operator() () const override;
75 SkView* operator() () const override;
104 class SampleView : public SkView {
116 static bool IsSampleView(SkView*);
117 static bool SetRepeatDraw(SkView*, int count);
118 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);
DOverView.cpp45 class OverView : public SkView {
118 typedef SkView INHERITED;
121 SkView* create_overview(int count, const SkViewFactory* factories[]) { in create_overview()
125 bool is_overview(SkView* view) { in is_overview()
136 SkView* view = (*fFactories[i])(); in OverView()
DSampleLCD.cpp15 class LCDView : public SkView {
61 typedef SkView INHERITED;
66 static SkView* MyFactory() { return new LCDView; } in MyFactory()
DSampleApp.cpp52 SkView* operator() () const override { in operator ()()
64 SkView* operator() () const override { in operator ()()
364 SkView* SkFuncViewFactory::operator() () const { in operator ()()
374 SkView* SkGMSampleViewFactory::operator() () const { in operator ()()
547 bool SampleCode::RequestTitle(SkView* view, SkString* title) { in RequestTitle()
609 static SkView* curr_view(SkWindow* wind) { in curr_view()
610 SkView::F2BIter iter(wind); in curr_view()
615 SkView* view = curr_view(wind); in curr_title()
627 SkView* view = curr_view(this); in sendAnimatePulse()
683 SkView* view = (*sampleFactory)(); in getSampleTitle()
[all …]
/external/skia/experimental/SimpleiOSApp/
DSimpleApp.mm11 class SkSampleView : public SkView {
29 typedef SkView INHERITED;
51 class FillLayout : public SkView::Layout {
53 virtual void onLayoutChildren(SkView* parent) {
54 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/include/views/animated/
DSkWidgetViews.h50 SkView* SkWidgetFactory(SkWidgetEnum);
55 SkView* SkWidgetFactory(const char name[]);
59 class SkWidgetView : public SkView {
101 typedef SkView INHERITED;
157 class SkStaticTextView : public SkView {
201 typedef SkView INHERITED;
/external/skia/experimental/FileReaderApp/
DReaderView.h17 class ReaderView : public SkView {
28 typedef SkView INHERITED;
/external/skia/experimental/iOSSampleApp/Shared/
DSkUIView.mm59 fWind->handleClick(loc.x, loc.y, SkView::Click::kDown_State, touch);
66 fWind->handleClick(loc.x, loc.y, SkView::Click::kMoved_State, touch);
73 fWind->handleClick(loc.x, loc.y, SkView::Click::kUp_State, touch);
80 fWind->handleClick(loc.x, loc.y, SkView::Click::kUp_State, touch);
/external/skia/src/views/animated/
DSkWidgetViews.cpp91 SkWidgetView::SkWidgetView() : SkView(SkView::kFocusable_Mask | SkView::kEnabled_Mask) in SkWidgetView()
347 SkView* SkWidgetFactory(const char name[]) in SkWidgetFactory()
376 SkView* SkWidgetFactory(SkWidgetEnum sw) in SkWidgetFactory()

123456