Searched refs:bitmapHeight (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DIPdfRenderer.aidl29 oneway void renderPage(int pageIndex, int bitmapWidth, int bitmapHeight,
H A DPdfManipulationService.java105 public void renderPage(int pageIndex, int bitmapWidth, int bitmapHeight, argument
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/
H A DRoundedBitmapDrawable21.java51 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, argument
53 Gravity.apply(gravity, bitmapWidth, bitmapHeight,
/frameworks/base/core/java/android/transition/
H A DTransitionUtils.java128 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/
H A DPatch.cpp50 TextureVertex* Patch::createMesh(const float bitmapWidth, const float bitmapHeight, argument
53 return createMesh(bitmapWidth, bitmapHeight, width, height, mapper, patch);
56 TextureVertex* Patch::createMesh(const float bitmapWidth, const float bitmapHeight, argument
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) {
H A DPatch.h58 TextureVertex* createMesh(const float bitmapWidth, const float bitmapHeight,
60 TextureVertex* createMesh(const float bitmapWidth, const float bitmapHeight,
H A DPatchCache.h58 const uint32_t bitmapWidth, const uint32_t bitmapHeight,
97 PatchDescription(const uint32_t bitmapWidth, const uint32_t bitmapHeight, argument
99 mPatch(patch), mBitmapWidth(bitmapWidth), mBitmapHeight(bitmapHeight),
H A DPatchCache.cpp242 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,
241 get(const AssetAtlas::Entry* entry, const uint32_t bitmapWidth, const uint32_t bitmapHeight, const float pixelWidth, const float pixelHeight, const Res_png_9patch* patch) argument
/frameworks/support/v4/java/android/support/v4/app/
H A DSharedElementCallback.java171 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/
H A DRedEyeFilter.java155 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/
H A DRoundedBitmapDrawableFactory.java55 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, argument
57 GravityCompat.apply(gravity, bitmapWidth, bitmapHeight,
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPageContentRepository.java338 final int bitmapHeight; field in class:PageContentRepository.RenderSpec
341 public RenderSpec(int bitmapWidth, int bitmapHeight, argument
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_PIXE
[all...]
/frameworks/base/core/jni/android/graphics/
H A DNinePatchImpl.cpp189 const int bitmapHeight = bitmap.height(); local
203 int numFixedYPixelsRemaining = bitmapHeight - numStretchyYPixelsRemaining;
232 j <= numYDivs && src.fTop < bitmapHeight;
237 src.fBottom = bitmapHeight;
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
H A DRoundedBitmapDrawable.java213 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, argument
/frameworks/base/core/java/android/text/
H A DTextLine.java244 float bitmapHeight = bm.getHeight();
245 float scale = -bmAscent / bitmapHeight;
/frameworks/base/libs/hwui/font/
H A DFont.cpp213 uint32_t bitmapWidth, uint32_t bitmapHeight, Rect* bounds, const float* pos) {
212 drawCachedGlyphBitmap(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapWidth, uint32_t bitmapHeight, Rect* bounds, const float* pos) argument

Completed in 235 milliseconds