Searched defs:bitmapHeight (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/
H A DPatchCache.cpp50 deltaInt = lhs.bitmapHeight - rhs.bitmapHeight;
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 DPatchCache.h49 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),
104 uint32_t bitmapHeight; member in struct:android::uirenderer::PatchCache::PatchDescription
H A DPatch.cpp108 void Patch::updateVertices(const float bitmapWidth, const float bitmapHeight, argument
143 const float fixed = bitmapHeight - stretchSize;
169 float v2 = fmax(0.0f, stepY - vOffset) / bitmapHeight;
170 v1 += vOffset / bitmapHeight;
185 v1 = stepY / bitmapHeight;
190 if (previousStepY != bitmapHeight) {
/frameworks/base/core/jni/android/graphics/
H A DNinePatchImpl.cpp187 const int bitmapHeight = bitmap.height(); local
201 int numFixedYPixelsRemaining = bitmapHeight - numStretchyYPixelsRemaining;
230 j <= numYDivs && src.fTop < bitmapHeight;
235 src.fBottom = bitmapHeight;
/frameworks/base/libs/hwui/font/
H A DFont.cpp205 uint32_t bitmapWidth, uint32_t bitmapHeight, Rect* bounds, const float* pos) {
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 78 milliseconds