Lines Matching refs:SkImageView
8 #include "SkImageView.h"
17 SkImageView::SkImageView()
28 SkImageView::~SkImageView()
36 void SkImageView::getUri(SkString* uri) const
42 void SkImageView::setUri(const char uri[])
51 void SkImageView::setUri(const SkString& uri)
60 void SkImageView::setScaleType(ScaleType st)
72 bool SkImageView::getImageMatrix(SkMatrix* matrix) const
89 void SkImageView::setImageMatrix(const SkMatrix* matrix)
118 bool SkImageView::onEvent(const SkEvent& evt)
129 static inline SkMatrix::ScaleToFit scaleTypeToScaleToFit(SkImageView::ScaleType st)
131 SkASSERT(st != SkImageView::kMatrix_ScaleType);
132 SkASSERT((unsigned)st <= SkImageView::kFitEnd_ScaleType);
134 SkASSERT(SkImageView::kFitXY_ScaleType - 1 == SkMatrix::kFill_ScaleToFit);
135 SkASSERT(SkImageView::kFitStart_ScaleType - 1 == SkMatrix::kStart_ScaleToFit);
136 SkASSERT(SkImageView::kFitCenter_ScaleType - 1 == SkMatrix::kCenter_ScaleToFit);
137 SkASSERT(SkImageView::kFitEnd_ScaleType - 1 == SkMatrix::kEnd_ScaleToFit);
142 void SkImageView::onDraw(SkCanvas* canvas)
174 SkDEBUGF(("SkImageView : now = %X[%12.3f], diff = %d\n", now, now/1000., diff));
190 void SkImageView::onInflate(const SkDOM& dom, const SkDOMNode* node)
207 void SkImageView::onUriChange()
214 bool SkImageView::freeData()
229 bool SkImageView::getDataBounds(SkRect* bounds)
258 bool SkImageView::ensureUriIsLoaded()