Searched refs:bitmapHeight (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/libs/hwui/ |
D | PatchCache.h | 50 Patch* get(const float bitmapWidth, const float bitmapHeight, 69 PatchDescription(): bitmapWidth(0), bitmapHeight(0), pixelWidth(0), pixelHeight(0), in PatchDescription() 73 PatchDescription(const float bitmapWidth, const float bitmapHeight, in PatchDescription() 77 bitmapWidth(bitmapWidth), bitmapHeight(bitmapHeight), in PatchDescription() 85 LTE_FLOAT(bitmapHeight) { in LTE_FLOAT() 104 float bitmapHeight; member
|
D | PatchCache.cpp | 53 Patch* PatchCache::get(const float bitmapWidth, const float bitmapHeight, in get() argument 75 const PatchDescription description(bitmapWidth, bitmapHeight, in get() 87 width, height, pixelWidth, pixelHeight, bitmapWidth, bitmapHeight); in get() 92 mesh->updateVertices(bitmapWidth, bitmapHeight, 0.0f, 0.0f, pixelWidth, pixelHeight); in get() 102 mesh->updateVertices(bitmapWidth, bitmapHeight, 0.0f, 0.0f, pixelWidth, pixelHeight); in get()
|
D | Patch.cpp | 109 void Patch::updateVertices(const float bitmapWidth, const float bitmapHeight, in updateVertices() argument 144 const float fixed = bitmapHeight - stretchSize; in updateVertices() 167 float v2 = fmax(0.0f, stepY - 0.5f) / bitmapHeight; in updateVertices() 182 v1 = (stepY + 0.5f) / bitmapHeight; in updateVertices() 187 if (previousStepY != bitmapHeight) { in updateVertices()
|
D | Patch.h | 51 void updateVertices(const float bitmapWidth, const float bitmapHeight,
|
/frameworks/base/media/java/android/media/videoeditor/ |
D | MediaImageItem.java | 947 float bitmapWidth, bitmapHeight; in scaleImage() local 956 bitmapHeight = (float)Math.ceil(nativeHeight / dx); in scaleImage() 958 bitmapHeight = (float)Math.floor(nativeHeight / dx); in scaleImage() 968 bitmapHeight = height; in scaleImage() 984 bitmapHeight = height; in scaleImage() 998 (int)bitmapHeight, in scaleImage() 1004 (int)bitmapHeight), sResizePaint); in scaleImage()
|
/frameworks/base/core/jni/android/graphics/ |
D | NinePatchImpl.cpp | 187 const int bitmapHeight = bitmap.height(); in NinePatch_Draw() local 201 int numFixedYPixelsRemaining = bitmapHeight - numStretchyYPixelsRemaining; in NinePatch_Draw() 230 j <= numYDivs && src.fTop < bitmapHeight; in NinePatch_Draw() 235 src.fBottom = bitmapHeight; in NinePatch_Draw()
|
/frameworks/base/core/java/android/text/ |
D | TextLine.java | 235 float bitmapHeight = bm.getHeight(); in draw() local 236 float scale = -bmAscent / bitmapHeight; in draw()
|