/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterCropRepresentation.java | 96 public static void findScaledCrop(RectF crop, int bitmapWidth, int bitmapHeight) { 98 crop.top *= bitmapHeight; 100 crop.bottom *= bitmapHeight; 107 public static void findNormalizedCrop(RectF crop, int bitmapWidth, int bitmapHeight) { 109 crop.top /= bitmapHeight; 111 crop.bottom /= bitmapHeight;
|
/frameworks/base/libs/hwui/ |
Patch.cpp | 49 TextureVertex* Patch::createMesh(const float bitmapWidth, const float bitmapHeight, 52 return createMesh(bitmapWidth, bitmapHeight, width, height, mapper, patch); 55 TextureVertex* Patch::createMesh(const float bitmapWidth, const float bitmapHeight, 112 const float fixed = bitmapHeight - stretchSize; 139 float v2 = fmax(0.0f, stepY - vOffset) / bitmapHeight; 140 v1 += vOffset / bitmapHeight; 148 v1 = stepY / bitmapHeight; 153 if (previousStepY != bitmapHeight) {
|
Patch.h | 57 TextureVertex* createMesh(const float bitmapWidth, const float bitmapHeight, 59 TextureVertex* createMesh(const float bitmapWidth, const float bitmapHeight,
|
PatchCache.h | 58 const uint32_t bitmapWidth, const uint32_t bitmapHeight, 97 PatchDescription(const uint32_t bitmapWidth, const uint32_t bitmapHeight, 99 mPatch(patch), mBitmapWidth(bitmapWidth), mBitmapHeight(bitmapHeight),
|
PatchCache.cpp | 225 const uint32_t bitmapWidth, const uint32_t bitmapHeight, 228 const PatchDescription description(bitmapWidth, bitmapHeight, pixelWidth, pixelHeight, patch); 237 vertices = newMesh->createMesh(bitmapWidth, bitmapHeight, 240 vertices = newMesh->createMesh(bitmapWidth, bitmapHeight,
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
RedEyeFilter.java | 160 int bitmapHeight = mHeight / 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,
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
GeometryMathUtils.java | 430 int bitmapHeight) { 432 float centerY = bitmapHeight / 2f; 441 int bitmapHeight, int viewWidth, int viewHeight) { 442 int bh = bitmapHeight; 446 bw = bitmapHeight; 450 float s = Math.min(viewWidth / (float) bitmapWidth, viewHeight / (float) bitmapHeight); 451 Matrix m = getFullGeometryMatrix(holder, bitmapWidth, bitmapHeight); 457 public static RectF getTrueCropRect(GeometryHolder holder, int bitmapWidth, int bitmapHeight) { 459 FilterCropRepresentation.findScaledCrop(r, bitmapWidth, bitmapHeight); 462 Matrix m1 = getFullGeometryMatrix(holder, bitmapWidth, bitmapHeight); [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
MediaImageItem.java | [all...] |
/frameworks/base/core/jni/android/graphics/ |
NinePatchImpl.cpp | 187 const int bitmapHeight = bitmap.height(); 201 int numFixedYPixelsRemaining = bitmapHeight - numStretchyYPixelsRemaining; 230 j <= numYDivs && src.fTop < bitmapHeight; 235 src.fBottom = bitmapHeight;
|
/packages/apps/Settings/src/com/android/settings/ |
KeyguardAppWidgetPickActivity.java | 320 int bitmapHeight; 325 bitmapHeight = drawable.getIntrinsicHeight(); 329 bitmapHeight = appIconSize; 330 defaultPreview = Bitmap.createBitmap(bitmapWidth, bitmapHeight, 352 int finalPreviewHeight = (int) (scale * bitmapHeight); 355 bitmapHeight = Math.min(finalPreviewHeight, maxHeight); 357 Bitmap preview = Bitmap.createBitmap(bitmapWidth, bitmapHeight,
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
ImageViewTouchBase.java | 327 public static float maxZoom(int bitmapWidth, int bitmapHeight, int viewWidth, int viewHeight) { 329 final float fh = (float)bitmapHeight / viewHeight;
|
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_libpng.cpp | 881 png_uint_32 bitmapHeight = (png_uint_32) decodedBitmap.height(); 882 for (png_uint_32 y = 0; y < bitmapHeight; y++) { [all...] |
/external/skia/src/images/ |
SkImageDecoder_libpng.cpp | 880 png_uint_32 bitmapHeight = (png_uint_32) decodedBitmap.height(); 881 for (png_uint_32 y = 0; y < bitmapHeight; y++) { [all...] |
/frameworks/base/core/java/android/text/ |
TextLine.java | 241 float bitmapHeight = bm.getHeight(); 242 float scale = -bmAscent / bitmapHeight; [all...] |
/frameworks/base/libs/hwui/font/ |
Font.cpp | 211 uint32_t bitmapWidth, uint32_t bitmapHeight, Rect* bounds, const float* pos) {
|