Searched defs:bitmapHeight (Results 1 - 10 of 10) sorted by relevance

/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/
H A DRoundedBitmapDrawable21.java54 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, argument
56 Gravity.apply(gravity, bitmapWidth, bitmapHeight,
H A DRoundedBitmapDrawableFactory.java60 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, argument
62 GravityCompat.apply(gravity, bitmapWidth, bitmapHeight,
H A DRoundedBitmapDrawable.java221 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, argument
/frameworks/base/libs/hwui/
H A DPatchCache.cpp226 const Patch* PatchCache::get(const uint32_t bitmapWidth, const uint32_t bitmapHeight, argument
229 const PatchDescription description(bitmapWidth, bitmapHeight, pixelWidth, pixelHeight, patch);
234 new Patch(bitmapWidth, bitmapHeight, pixelWidth, pixelHeight, sIdentity, patch);
H A DPatch.cpp38 Patch::Patch(const float bitmapWidth, const float bitmapHeight, float width, float height, argument
92 const float fixed = bitmapHeight - stretchSize;
119 float v2 = std::max(0.0f, stepY - vOffset) / bitmapHeight;
120 v1 += vOffset / bitmapHeight;
128 v1 = stepY / bitmapHeight;
133 if (previousStepY != bitmapHeight) {
H A DPatchCache.h56 const Patch* get(const uint32_t bitmapWidth, const uint32_t bitmapHeight,
87 PatchDescription(const uint32_t bitmapWidth, const uint32_t bitmapHeight, argument
92 , mBitmapHeight(bitmapHeight)
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DPdfManipulationService.java105 public void renderPage(int pageIndex, int bitmapWidth, int bitmapHeight, argument
128 (float) bitmapHeight / srcHeightPts);
131 displayScale = (float) bitmapHeight / dstHeightPts;
154 clip.bottom = (int) (bitmapHeight - paddingBottomPts * displayScale);
160 Bitmap bitmap = getBitmapForSize(bitmapWidth, bitmapHeight);
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/testutils/
H A DTestUtils.java58 final int bitmapHeight = view.getHeight();
61 final Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight,
151 int bitmapWidth, int bitmapHeight, @ColorInt int color,
154 for (int row = 0; row < bitmapHeight; row++) {
164 + bitmapWidth + "," + bitmapHeight + ") found "
150 assertAllPixelsOfColor(String failMessagePrefix, @NonNull Bitmap bitmap, int bitmapWidth, int bitmapHeight, @ColorInt int color, int allowedComponentVariance, boolean throwExceptionIfFails) argument
/frameworks/base/libs/hwui/font/
H A DFont.cpp205 uint32_t bitmapWidth, uint32_t bitmapHeight, Rect* bounds,
204 drawCachedGlyphBitmap(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapWidth, uint32_t bitmapHeight, Rect* bounds, const float* pos) argument
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPageContentRepository.java362 final int bitmapHeight; field in class:PageContentRepository.RenderSpec
365 public RenderSpec(int bitmapWidth, int bitmapHeight, argument
368 this.bitmapHeight = bitmapHeight;
385 if (bitmapHeight != other.bitmapHeight) {
404 && bitmap.getHeight() == bitmapHeight;
410 result = 31 * result + bitmapHeight;
590 final int bitmapSizeInBytes = renderSpec.bitmapWidth * renderSpec.bitmapHeight
839 * mRenderSpec.bitmapHeight * BYTES_PER_PIXE
[all...]

Completed in 112 milliseconds