Searched defs:bitmapWidth (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | PatchCache.cpp | 47 int deltaInt = lhs.bitmapWidth - rhs.bitmapWidth; 82 Patch* PatchCache::get(const uint32_t bitmapWidth, const uint32_t bitmapHeight, argument 104 const PatchDescription description(bitmapWidth, bitmapHeight, 116 width, height, pixelWidth, pixelHeight, bitmapWidth, bitmapHeight); 121 mesh->updateVertices(bitmapWidth, bitmapHeight, 0.0f, 0.0f, pixelWidth, pixelHeight); 131 mesh->updateVertices(bitmapWidth, bitmapHeight, 0.0f, 0.0f, pixelWidth, pixelHeight);
|
H A D | PatchCache.h | 49 Patch* get(const uint32_t bitmapWidth, const uint32_t bitmapHeight, 68 PatchDescription(): bitmapWidth(0), bitmapHeight(0), pixelWidth(0), pixelHeight(0), 72 PatchDescription(const uint32_t bitmapWidth, const uint32_t bitmapHeight, argument 76 bitmapWidth(bitmapWidth), bitmapHeight(bitmapHeight), 103 uint32_t bitmapWidth; member in struct:android::uirenderer::PatchCache::PatchDescription
|
H A D | Patch.cpp | 108 void Patch::updateVertices(const float bitmapWidth, const float bitmapHeight, argument 131 const float fixed = bitmapWidth - stretchSize; 178 bitmapWidth, quadCount); 197 bitmapWidth, quadCount); 218 float stretchX, float rescaleX, float width, float bitmapWidth, uint32_t& quadCount) { 237 float u2 = fmax(0.0f, stepX - uOffset) / bitmapWidth; 238 u1 += uOffset / bitmapWidth; 252 u1 = stepX / bitmapWidth; 257 if (previousStepX != bitmapWidth) { 217 generateRow(TextureVertex*& vertex, float y1, float y2, float v1, float v2, float stretchX, float rescaleX, float width, float bitmapWidth, uint32_t& quadCount) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatchImpl.cpp | 186 const int bitmapWidth = bitmap.width(); local 196 int numFixedXPixelsRemaining = bitmapWidth - numStretchyXPixelsRemaining; 256 i <= numXDivs && src.fLeft < bitmapWidth; 260 src.fRight = bitmapWidth;
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 205 uint32_t bitmapWidth, uint32_t bitmapHeight, Rect* bounds, const float* pos) { 218 for (uint32_t cacheY = startY, bitmapY = dstY * bitmapWidth; cacheY < endY; 219 cacheY += cacheWidth, bitmapY += bitmapWidth) { 204 drawCachedGlyphBitmap(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapWidth, uint32_t bitmapHeight, Rect* bounds, const float* pos) argument
|
Completed in 506 milliseconds