Lines Matching refs:Tree
35 const int Tree::MAX_CACHED_BITMAP_SIZE = 2048;
405 int Tree::draw(Canvas* outCanvas, SkColorFilter* colorFilter, const SkRect& bounds, in draw()
423 scaledWidth = std::min(Tree::MAX_CACHED_BITMAP_SIZE, scaledWidth); in draw()
424 scaledHeight = std::min(Tree::MAX_CACHED_BITMAP_SIZE, scaledHeight); in draw()
452 void Tree::drawStaging(Canvas* outCanvas) { in drawStaging()
470 void Tree::getPaintFor(SkPaint* outPaint, const TreeProperties &prop) const { in getPaintFor()
479 Bitmap& Tree::getBitmapUpdateIfDirty() { in getBitmapUpdateIfDirty()
489 void Tree::updateCache(sp<skiapipeline::VectorDrawableAtlas>& atlas, GrContext* context) { in updateCache()
519 void Tree::Cache::setAtlas(sp<skiapipeline::VectorDrawableAtlas> newAtlas, in setAtlas()
527 sk_sp<SkSurface> Tree::Cache::getSurface(SkRect* bounds) { in getSurface()
540 void Tree::Cache::clear() { in clear()
549 void Tree::draw(SkCanvas* canvas, const SkRect& bounds, const SkPaint& inPaint) { in draw()
594 void Tree::updateBitmapCache(Bitmap& bitmap, bool useStagingData) { in updateBitmapCache()
612 bool Tree::allocateBitmapIfNeeded(Cache& cache, int width, int height) { in allocateBitmapIfNeeded()
621 bool Tree::canReuseBitmap(Bitmap* bitmap, int width, int height) { in canReuseBitmap()
625 void Tree::onPropertyChanged(TreeProperties* prop) { in onPropertyChanged()
662 BitmapPalette Tree::computePalette() { in computePalette()