Lines Matching refs:entry
212 void PathCache::operator()(PathDescription& entry, PathTexture*& texture) { in operator ()() argument
274 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path, in addTexture() argument
286 generateTexture(entry, *bitmap, texture); in addTexture()
290 void PathCache::generateTexture(const PathDescription& entry, Bitmap& bitmap, in generateTexture() argument
305 mCache.put(entry, texture); in generateTexture()
366 PathDescription entry(ShapeType::Path, paint); in get() local
367 entry.shape.path.mGenerationID = path->getGenerationID(); in get()
369 PathTexture* texture = mCache.get(entry); in get()
372 texture = addTexture(entry, path, paint); in get()
382 generateTexture(entry, *bitmap, texture, false); in get()
387 mCache.remove(entry); in get()
396 PathDescription entry(ShapeType::Path, paint); in remove() local
397 entry.shape.path.mGenerationID = path->getGenerationID(); in remove()
398 mCache.remove(entry); in remove()
406 PathDescription entry(ShapeType::Path, paint); in precache() local
407 entry.shape.path.mGenerationID = path->getGenerationID(); in precache()
409 PathTexture* texture = mCache.get(entry); in precache()
430 mCache.put(entry, texture); in precache()
445 PathDescription entry(ShapeType::RoundRect, paint); in getRoundRect() local
446 entry.shape.roundRect.mWidth = width; in getRoundRect()
447 entry.shape.roundRect.mHeight = height; in getRoundRect()
448 entry.shape.roundRect.mRx = rx; in getRoundRect()
449 entry.shape.roundRect.mRy = ry; in getRoundRect()
451 PathTexture* texture = get(entry); in getRoundRect()
459 texture = addTexture(entry, &path, paint); in getRoundRect()
470 PathDescription entry(ShapeType::Circle, paint); in getCircle() local
471 entry.shape.circle.mRadius = radius; in getCircle()
473 PathTexture* texture = get(entry); in getCircle()
479 texture = addTexture(entry, &path, paint); in getCircle()
490 PathDescription entry(ShapeType::Oval, paint); in getOval() local
491 entry.shape.oval.mWidth = width; in getOval()
492 entry.shape.oval.mHeight = height; in getOval()
494 PathTexture* texture = get(entry); in getOval()
502 texture = addTexture(entry, &path, paint); in getOval()
513 PathDescription entry(ShapeType::Rect, paint); in getRect() local
514 entry.shape.rect.mWidth = width; in getRect()
515 entry.shape.rect.mHeight = height; in getRect()
517 PathTexture* texture = get(entry); in getRect()
525 texture = addTexture(entry, &path, paint); in getRect()
537 PathDescription entry(ShapeType::Arc, paint); in getArc() local
538 entry.shape.arc.mWidth = width; in getArc()
539 entry.shape.arc.mHeight = height; in getArc()
540 entry.shape.arc.mStartAngle = startAngle; in getArc()
541 entry.shape.arc.mSweepAngle = sweepAngle; in getArc()
542 entry.shape.arc.mUseCenter = useCenter; in getArc()
544 PathTexture* texture = get(entry); in getArc()
558 texture = addTexture(entry, &path, paint); in getArc()