HomeSort by relevance Sort by last modified time
    Searched refs:bitmapHeight (Results 1 - 24 of 24) sorted by null

  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
IPdfRenderer.aidl 29 oneway void renderPage(int pageIndex, int bitmapWidth, int bitmapHeight,
PdfManipulationService.java 105 public void renderPage(int pageIndex, int bitmapWidth, int bitmapHeight,
129 (float) bitmapHeight / srcHeightPts);
132 displayScale = (float) bitmapHeight / dstHeightPts;
155 clip.bottom = (int) (bitmapHeight - paddingBottomPts * displayScale);
161 Bitmap bitmap = getBitmapForSize(bitmapWidth, bitmapHeight);
  /frameworks/support/v4/api21/android/support/v4/graphics/drawable/
RoundedBitmapDrawable21.java 51 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight,
53 Gravity.apply(gravity, bitmapWidth, bitmapHeight,
  /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/core/java/android/transition/
TransitionUtils.java 128 int bitmapHeight = (int) (height * scale);
129 Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888);
136 drawable.setBounds(0, 0, bitmapWidth, bitmapHeight);
158 int bitmapHeight = Math.round(bounds.height());
159 if (bitmapWidth > 0 && bitmapHeight > 0) {
160 float scale = Math.min(1f, ((float)MAX_IMAGE_SIZE) / (bitmapWidth * bitmapHeight));
162 bitmapHeight *= scale;
165 bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888);
  /frameworks/base/libs/hwui/
Patch.cpp 50 TextureVertex* Patch::createMesh(const float bitmapWidth, const float bitmapHeight,
53 return createMesh(bitmapWidth, bitmapHeight, width, height, mapper, patch);
56 TextureVertex* Patch::createMesh(const float bitmapWidth, const float bitmapHeight,
113 const float fixed = bitmapHeight - stretchSize;
140 float v2 = fmax(0.0f, stepY - vOffset) / bitmapHeight;
141 v1 += vOffset / bitmapHeight;
149 v1 = stepY / bitmapHeight;
154 if (previousStepY != bitmapHeight) {
Patch.h 58 TextureVertex* createMesh(const float bitmapWidth, const float bitmapHeight,
60 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 242 const uint32_t bitmapWidth, const uint32_t bitmapHeight,
245 const PatchDescription description(bitmapWidth, bitmapHeight, pixelWidth, pixelHeight, patch);
254 vertices = newMesh->createMesh(bitmapWidth, bitmapHeight,
257 vertices = newMesh->createMesh(bitmapWidth, bitmapHeight,
  /frameworks/support/v4/java/android/support/v4/app/
SharedElementCallback.java 171 int bitmapHeight = Math.round(screenBounds.height());
173 if (bitmapWidth > 0 && bitmapHeight > 0) {
174 float scale = Math.min(1f, ((float)MAX_IMAGE_SIZE) / (bitmapWidth * bitmapHeight));
176 bitmapHeight *= scale;
183 bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888);
206 int bitmapHeight = (int) (height * scale);
207 Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888);
214 drawable.setBounds(0, 0, bitmapWidth, bitmapHeight);
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
RedEyeFilter.java 155 int bitmapHeight = mHeight / 2;
157 Bitmap redEyeBitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888);
160 mRadius = Math.max(MIN_RADIUS, RADIUS_RATIO * Math.min(bitmapWidth, bitmapHeight));
163 mCanvas.drawCircle(mCenters[i] * bitmapWidth, mCenters[i + 1] * bitmapHeight,
167 FrameFormat format = ImageFormat.create(bitmapWidth, bitmapHeight,
  /frameworks/support/v4/java/android/support/v4/graphics/drawable/
RoundedBitmapDrawableFactory.java 55 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight,
57 GravityCompat.apply(gravity, 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/packages/PrintSpooler/src/com/android/printspooler/model/
PageContentRepository.java 338 final int bitmapHeight;
341 public RenderSpec(int bitmapWidth, int bitmapHeight,
344 this.bitmapHeight = bitmapHeight;
361 if (bitmapHeight != other.bitmapHeight) {
380 && bitmap.getHeight() == bitmapHeight;
386 result = 31 * result + bitmapHeight;
526 final int bitmapSizeInBytes = renderSpec.bitmapWidth * renderSpec.bitmapHeight
769 * mRenderSpec.bitmapHeight * BYTES_PER_PIXEL
    [all...]
  /frameworks/base/core/jni/android/graphics/
NinePatchImpl.cpp 189 const int bitmapHeight = bitmap.height();
203 int numFixedYPixelsRemaining = bitmapHeight - numStretchyYPixelsRemaining;
232 j <= numYDivs && src.fTop < bitmapHeight;
237 src.fBottom = bitmapHeight;
  /frameworks/support/v4/donut/android/support/v4/graphics/drawable/
RoundedBitmapDrawable.java 213 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight,
  /packages/apps/Camera2/src/com/android/camera/
MultiToggleImageButton.java 378 int bitmapHeight = (height*2) + ((mParentSize - height)/2);
380 bitmap = Bitmap.createBitmap(width, bitmapHeight, Bitmap.Config.ARGB_8888);
  /external/chromium_org/third_party/skia/src/images/
SkImageDecoder_libpng.cpp 872 png_uint_32 bitmapHeight = (png_uint_32) decodedBitmap.height();
873 for (png_uint_32 y = 0; y < bitmapHeight; y++) {
    [all...]
  /external/skia/src/images/
SkImageDecoder_libpng.cpp 872 png_uint_32 bitmapHeight = (png_uint_32) decodedBitmap.height();
873 for (png_uint_32 y = 0; y < bitmapHeight; y++) {
    [all...]
  /frameworks/base/core/java/android/text/
TextLine.java 244 float bitmapHeight = bm.getHeight();
245 float scale = -bmAscent / bitmapHeight;
    [all...]
  /frameworks/base/libs/hwui/font/
Font.cpp 213 uint32_t bitmapWidth, uint32_t bitmapHeight, Rect* bounds, const float* pos) {
  /prebuilts/sdk/current/support/v13/
android-support-v13.jar 
  /prebuilts/sdk/current/support/v4/
android-support-v4.jar 
  /external/chromium_org/third_party/android_platform/webview/
frameworks.jar 

Completed in 465 milliseconds