Searched refs:bitmapWidth (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/
H A DPatchCache.h50 Patch* get(const float bitmapWidth, const float bitmapHeight,
69 PatchDescription(): bitmapWidth(0), bitmapHeight(0), pixelWidth(0), pixelHeight(0),
73 PatchDescription(const float bitmapWidth, const float bitmapHeight, argument
77 bitmapWidth(bitmapWidth), bitmapHeight(bitmapHeight),
84 LTE_FLOAT(bitmapWidth) {
103 float bitmapWidth; member in struct:android::uirenderer::PatchCache::PatchDescription
H A DPatchCache.cpp53 Patch* PatchCache::get(const float bitmapWidth, const float bitmapHeight, argument
75 const PatchDescription description(bitmapWidth, bitmapHeight,
87 width, height, pixelWidth, pixelHeight, bitmapWidth, bitmapHeight);
92 mesh->updateVertices(bitmapWidth, bitmapHeight, 0.0f, 0.0f, pixelWidth, pixelHeight);
102 mesh->updateVertices(bitmapWidth, bitmapHeight, 0.0f, 0.0f, pixelWidth, pixelHeight);
H A DPatch.h51 void updateVertices(const float bitmapWidth, const float bitmapHeight,
79 float width, float bitmapWidth, uint32_t& quadCount);
H A DPatch.cpp109 void Patch::updateVertices(const float bitmapWidth, const float bitmapHeight, argument
134 const float fixed = bitmapWidth - stretchSize;
181 bitmapWidth, quadCount);
200 bitmapWidth, quadCount);
221 float stretchX, float rescaleX, float width, float bitmapWidth, uint32_t& quadCount) {
240 float u2 = fmax(0.0f, stepX - uOffset) / bitmapWidth;
241 u1 += uOffset / bitmapWidth;
255 u1 = stepX / bitmapWidth;
260 if (previousStepX != bitmapWidth) {
220 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/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DRedEyeFilter.java159 int bitmapWidth = mWidth / 2;
162 Bitmap redEyeBitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888);
165 mRadius = Math.max(MIN_RADIUS, RADIUS_RATIO * Math.min(bitmapWidth, bitmapHeight));
168 mCanvas.drawCircle(mCenters[i] * bitmapWidth, mCenters[i + 1] * bitmapHeight,
172 FrameFormat format = ImageFormat.create(bitmapWidth, bitmapHeight,
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaImageItem.java947 float bitmapWidth, bitmapHeight;
953 bitmapWidth = width;
963 bitmapWidth = (float)Math.floor(nativeWidth / dy);
965 bitmapWidth = (float)Math.ceil(nativeWidth / dy);
975 (float) nativeWidth / bitmapWidth,
982 bitmapWidth = width;
996 final Bitmap bitmap = Bitmap.createBitmap((int)bitmapWidth,
1002 new Rect(0, 0, (int)bitmapWidth,
/frameworks/base/core/jni/android/graphics/
H A DNinePatchImpl.cpp186 const int bitmapWidth = bitmap.width(); local
196 int numFixedXPixelsRemaining = bitmapWidth - numStretchyXPixelsRemaining;
256 i <= numXDivs && src.fLeft < bitmapWidth;
260 src.fRight = bitmapWidth;

Completed in 126 milliseconds