Lines Matching defs:SkView
8 #include "SkView.h"
13 SkView::SkView(uint32_t flags) : fFlags(SkToU8(flags))
22 SkView::~SkView()
27 void SkView::setFlags(uint32_t flags)
44 void SkView::setVisibleP(bool pred)
49 void SkView::setEnabledP(bool pred)
54 void SkView::setFocusableP(bool pred)
59 void SkView::setClipToBounds(bool pred) {
63 void SkView::setSize(SkScalar width, SkScalar height)
79 void SkView::setLoc(SkScalar x, SkScalar y)
89 void SkView::offset(SkScalar dx, SkScalar dy)
95 void SkView::setLocalMatrix(const SkMatrix& matrix)
102 void SkView::draw(SkCanvas* canvas)
135 SkView* child;
146 void SkView::inval(SkRect* rect) {
147 SkView* view = this;
167 SkView* parent = view->fParent;
181 bool SkView::setFocusView(SkView* fv)
183 SkView* view = this;
192 SkView* SkView::getFocusView() const
194 SkView* focus = NULL;
195 const SkView* view = this;
203 bool SkView::hasFocus() const
208 bool SkView::acceptFocus()
216 SkView* SkView::acceptFocus(FocusDirection dir)
224 SkView* child, *focus;
232 SkView* child, *focus;
244 SkView* SkView::moveFocus(FocusDirection dir)
246 SkView* focus = this->getFocusView();
255 SkView* child, *parent;
306 void SkView::onFocusChange(bool gainFocusP)
313 SkView::Click::Click(SkView* target)
322 SkView::Click::~Click()
327 void SkView::Click::resetType()
337 bool SkView::Click::isType(const char type[]) const
351 void SkView::Click::setType(const char type[])
357 void SkView::Click::copyType(const char type[])
372 SkView::Click* SkView::findClickHandler(SkScalar x, SkScalar y)
380 SkView* child;
397 void SkView::DoClickDown(Click* click, int x, int y)
401 SkView* target = (SkView*)SkEventSink::FindSink(click->fTargetID);
416 void SkView::DoClickMoved(Click* click, int x, int y)
420 SkView* target = (SkView*)SkEventSink::FindSink(click->fTargetID);
435 void SkView::DoClickUp(Click* click, int x, int y)
439 SkView* target = (SkView*)SkEventSink::FindSink(click->fTargetID);
456 void SkView::invokeLayout() {
457 SkView::Layout* layout = this->getLayout();
464 void SkView::onDraw(SkCanvas* canvas) {
472 void SkView::onSizeChange() {}
474 bool SkView::onSendClickToChildren(SkScalar x, SkScalar y) {
478 SkView::Click* SkView::onFindClickHandler(SkScalar x, SkScalar y) {
482 bool SkView::onClick(Click*) {
486 bool SkView::handleInval(const SkRect*) {
492 void SkView::getLocalBounds(SkRect* bounds) const
501 void SkView::detachFromParent_NoLayout()
511 SkView* next = NULL;
528 void SkView::detachFromParent()
530 SkView* parent = fParent;
539 SkView* SkView::attachChildToBack(SkView* child)
571 SkView* SkView::attachChildToFront(SkView* child)
603 void SkView::detachAllChildren()
609 void SkView::localToGlobal(SkMatrix* matrix) const
613 const SkView* view = this;
622 void SkView::globalToLocal(SkScalar x, SkScalar y, SkPoint* local) const
641 void SkView::onInflate(const SkDOM& dom, const SkDOM::Node* node)
672 void SkView::inflate(const SkDOM& dom, const SkDOM::Node* node)
677 void SkView::onPostInflate(const SkTDict<SkView*>&)
682 void SkView::postInflate(const SkTDict<SkView*>& dict)
687 SkView* child;
694 SkView* SkView::sendEventToParents(const SkEvent& evt)
696 SkView* parent = fParent;
707 SkView* SkView::sendQueryToParents(SkEvent* evt) {
708 SkView* parent = fParent;
722 SkView::F2BIter::F2BIter(const SkView* parent)
728 SkView* SkView::F2BIter::next()
730 SkView* curr = fChild;
742 SkView::B2FIter::B2FIter(const SkView* parent)
748 SkView* SkView::B2FIter::next()
750 SkView* curr = fChild;
754 SkView* next = fChild->fNextSibling;
779 static void dumpview(const SkView* view, int level, bool recurse)
791 SkView::B2FIter iter(view);
792 SkView* child;
818 void SkView::dump(bool recurse) const