Lines Matching refs:height
149 RoundRectShapeCacheEntry(float width, float height, float rx, float ry, SkPaint* paint): in RoundRectShapeCacheEntry()
152 mHeight = *(uint32_t*) &height; in RoundRectShapeCacheEntry()
208 OvalShapeCacheEntry(float width, float height, SkPaint* paint): in OvalShapeCacheEntry()
211 mHeight = *(uint32_t*) &height; in OvalShapeCacheEntry()
234 RectShapeCacheEntry(float width, float height, SkPaint* paint): in RectShapeCacheEntry()
237 mHeight = *(uint32_t*) &height; in RectShapeCacheEntry()
260 ArcShapeCacheEntry(float width, float height, float startAngle, float sweepAngle, in ArcShapeCacheEntry()
264 mHeight = *(uint32_t*) &height; in ArcShapeCacheEntry()
346 void purgeCache(uint32_t width, uint32_t height);
348 void initBitmap(SkBitmap& bitmap, uint32_t width, uint32_t height);
351 bool checkTextureSize(uint32_t width, uint32_t height);
380 PathTexture* getRoundRect(float width, float height, float rx, float ry, SkPaint* paint);
394 PathTexture* getOval(float width, float height, SkPaint* paint);
401 PathTexture* getRect(float width, float height, SkPaint* paint);
408 PathTexture* getArc(float width, float height, float startAngle, float sweepAngle,
491 const uint32_t size = texture->width * texture->height; in removeTexture()
506 float& left, float& top, float& offset, uint32_t& width, uint32_t& height);
508 float& left, float& top, float& offset, uint32_t& width, uint32_t& height);
511 uint32_t width, uint32_t height, uint32_t id) { in createTexture() argument
517 texture->height = height; in createTexture()
523 void ShapeCache<Entry>::purgeCache(uint32_t width, uint32_t height) { in purgeCache() argument
524 const uint32_t size = width * height; in purgeCache()
534 void ShapeCache<Entry>::initBitmap(SkBitmap& bitmap, uint32_t width, uint32_t height) { in initBitmap() argument
535 bitmap.setConfig(SkBitmap::kA8_Config, width, height); in initBitmap()
554 bool ShapeCache<Entry>::checkTextureSize(uint32_t width, uint32_t height) { in checkTextureSize() argument
555 if (width > mMaxTextureSize || height > mMaxTextureSize) { in checkTextureSize()
557 mName, width, height, mMaxTextureSize, mMaxTextureSize); in checkTextureSize()
568 uint32_t width, height; in addTexture() local
569 computePathBounds(path, paint, left, top, offset, width, height); in addTexture()
571 if (!checkTextureSize(width, height)) return NULL; in addTexture()
573 purgeCache(width, height); in addTexture()
576 initBitmap(bitmap, width, height); in addTexture()
585 PathTexture* texture = createTexture(left, top, offset, width, height, path->getGenerationID()); in addTexture()
595 uint32_t size = texture->width * texture->height; in addTexture()
629 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, texture->width, texture->height, 0, in generateTexture()