Home
last modified time | relevance | path

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

123456

/external/skia/src/views/
DSkView.cpp18 SkView::SkView(uint32_t flags) : fFlags(SkToU8(flags)) { in SkView() function in SkView
26 SkView::~SkView() { in ~SkView()
30 void SkView::setFlags(uint32_t flags) { in setFlags()
45 void SkView::setVisibleP(bool pred) { in setVisibleP()
49 void SkView::setEnabledP(bool pred) { in setEnabledP()
53 void SkView::setFocusableP(bool pred) { in setFocusableP()
57 void SkView::setClipToBounds(bool pred) { in setClipToBounds()
61 void SkView::setSize(SkScalar width, SkScalar height) { in setSize()
76 void SkView::setLoc(SkScalar x, SkScalar y) { in setLoc()
84 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.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 …]
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.h24 class SkWidget : public SkView {
26 SkWidget(uint32_t flags = 0) : SkView(flags | kFocusable_Mask | kEnabled_Mask) {}
43 typedef SkView INHERITED;
129 class SkStaticTextView : public SkView {
173 typedef SkView INHERITED;
178 class SkBitmapView : public SkView {
193 typedef SkView INHERITED;
198 class SkHasLabelView : public SkView {
249 class SkProgressView : public SkView {
270 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.h29 class SkWindow : public SkView {
91 virtual bool onGetFocusView(SkView** focus) const;
92 virtual bool onSetFocusView(SkView* focus);
108 SkView* fFocusView;
114 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()
DSamplePathClip.cpp61 SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) override { in onFindClickHandler()
241 MyClick(SkView* view) : Click(view) {} in MyClick()
248 VertClick(SkView* view, SkPoint* pt) : MyClick(view), fPt(pt) {} in VertClick()
255 DragRectClick(SkView* view, SkRect* rect) : MyClick(view), fRect(rect) {} in DragRectClick()
264 DragPolyClick(SkView* view, SkPoint poly[], int count) in DragPolyClick()
281 DoNothingClick(SkView* view) : MyClick(view) {} in DoNothingClick()
292 SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) override { in onFindClickHandler()
DSampleApp.cpp73 SkView* operator() () const override { in operator ()()
85 SkView* operator() () const override { in operator ()()
381 SkView* SkFuncViewFactory::operator() () const { in operator ()()
391 SkView* SkGMSampleViewFactory::operator() () const { in operator ()()
571 bool SampleCode::RequestTitle(SkView* view, SkString* title) { in RequestTitle()
633 static SkView* curr_view(SkWindow* wind) { in curr_view()
634 SkView::F2BIter iter(wind); in curr_view()
639 SkView* view = curr_view(wind); in curr_title()
651 SkView* view = curr_view(this); in sendAnimatePulse()
704 SkView* view = (*sampleFactory)(); in getSampleTitle()
[all …]
/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/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/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/FileReaderApp/
DReaderView.h17 class ReaderView : public SkView {
28 typedef SkView INHERITED;

123456