/frameworks/base/libs/hwui/ |
D | Patch.cpp | 50 TextureVertex* Patch::createMesh(const float bitmapWidth, const float bitmapHeight, in createMesh() argument 53 return createMesh(bitmapWidth, bitmapHeight, width, height, mapper, patch); in createMesh() 56 TextureVertex* Patch::createMesh(const float bitmapWidth, const float bitmapHeight, in createMesh() argument 113 const float fixed = bitmapHeight - stretchSize; in createMesh() 140 float v2 = fmax(0.0f, stepY - vOffset) / bitmapHeight; in createMesh() 141 v1 += vOffset / bitmapHeight; in createMesh() 149 v1 = stepY / bitmapHeight; in createMesh() 154 if (previousStepY != bitmapHeight) { in createMesh()
|
D | PatchCache.h | 58 const uint32_t bitmapWidth, const uint32_t bitmapHeight, 97 PatchDescription(const uint32_t bitmapWidth, const uint32_t bitmapHeight, in PatchDescription() 99 mPatch(patch), mBitmapWidth(bitmapWidth), mBitmapHeight(bitmapHeight), in PatchDescription()
|
D | Patch.h | 58 TextureVertex* createMesh(const float bitmapWidth, const float bitmapHeight, 60 TextureVertex* createMesh(const float bitmapWidth, const float bitmapHeight,
|
D | PatchCache.cpp | 242 const uint32_t bitmapWidth, const uint32_t bitmapHeight, in get() argument 245 const PatchDescription description(bitmapWidth, bitmapHeight, pixelWidth, pixelHeight, patch); in get() 254 vertices = newMesh->createMesh(bitmapWidth, bitmapHeight, in get() 257 vertices = newMesh->createMesh(bitmapWidth, bitmapHeight, in get()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | RedEyeFilter.java | 155 int bitmapHeight = mHeight / 2; in createRedEyeFrame() local 157 … Bitmap redEyeBitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888); in createRedEyeFrame() 160 mRadius = Math.max(MIN_RADIUS, RADIUS_RATIO * Math.min(bitmapWidth, bitmapHeight)); in createRedEyeFrame() 163 mCanvas.drawCircle(mCenters[i] * bitmapWidth, mCenters[i + 1] * bitmapHeight, in createRedEyeFrame() 167 FrameFormat format = ImageFormat.create(bitmapWidth, bitmapHeight, in createRedEyeFrame()
|
/frameworks/base/core/java/android/transition/ |
D | TransitionUtils.java | 127 int bitmapHeight = Math.round(bounds.height()); in createViewBitmap() local 128 if (bitmapWidth > 0 && bitmapHeight > 0) { in createViewBitmap() 129 float scale = Math.min(1f, ((float)MAX_IMAGE_SIZE) / (bitmapWidth * bitmapHeight)); in createViewBitmap() 131 bitmapHeight *= scale; in createViewBitmap() 134 bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888); in createViewBitmap()
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | SharedElementCallback.java | 142 int bitmapHeight = Math.round(screenBounds.height()); in onCaptureSharedElementSnapshot() local 144 if (bitmapWidth > 0 && bitmapHeight > 0) { in onCaptureSharedElementSnapshot() 150 bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888); in onCaptureSharedElementSnapshot()
|
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/ |
D | RoundedBitmapDrawable21.java | 51 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, in gravityCompatApply() argument 53 Gravity.apply(gravity, bitmapWidth, bitmapHeight, in gravityCompatApply()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
D | PdfManipulationService.java | 99 public void renderPage(int pageIndex, int bitmapWidth, int bitmapHeight, in renderPage() argument 123 (float) bitmapHeight / srcHeightPts); in renderPage() 126 displayScale = (float) bitmapHeight / dstHeightPts; in renderPage() 149 clip.bottom = (int) (bitmapHeight - paddingBottomPts * displayScale); in renderPage() 155 Bitmap bitmap = getBitmapForSize(bitmapWidth, bitmapHeight); in renderPage()
|
D | IPdfRenderer.aidl | 29 oneway void renderPage(int pageIndex, int bitmapWidth, int bitmapHeight, in renderPage() argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PageContentRepository.java | 337 final int bitmapHeight; field in PageContentRepository.RenderSpec 340 public RenderSpec(int bitmapWidth, int bitmapHeight, in RenderSpec() argument 343 this.bitmapHeight = bitmapHeight; in RenderSpec() 360 if (bitmapHeight != other.bitmapHeight) { in equals() 379 && bitmap.getHeight() == bitmapHeight; in hasSameSize() 385 result = 31 * result + bitmapHeight; in hashCode() 566 final int bitmapSizeInBytes = renderSpec.bitmapWidth * renderSpec.bitmapHeight in startPreload() 724 * mRenderSpec.bitmapHeight * BYTES_PER_PIXEL; in onPreExecute() 763 mRenderSpec.bitmapHeight, Bitmap.Config.ARGB_8888); in onPreExecute()
|
/frameworks/support/v4/java/android/support/v4/graphics/drawable/ |
D | RoundedBitmapDrawableFactory.java | 55 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, in gravityCompatApply() argument 57 GravityCompat.apply(gravity, bitmapWidth, bitmapHeight, in gravityCompatApply()
|
/frameworks/base/core/jni/android/graphics/ |
D | NinePatchImpl.cpp | 189 const int bitmapHeight = bitmap.height(); in NinePatch_Draw() local 203 int numFixedYPixelsRemaining = bitmapHeight - numStretchyYPixelsRemaining; in NinePatch_Draw() 232 j <= numYDivs && src.fTop < bitmapHeight; in NinePatch_Draw() 237 src.fBottom = bitmapHeight; in NinePatch_Draw()
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
D | RoundedBitmapDrawable.java | 213 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, in gravityCompatApply() argument
|
/frameworks/base/core/java/android/text/ |
D | TextLine.java | 241 float bitmapHeight = bm.getHeight(); in draw() local 242 float scale = -bmAscent / bitmapHeight; in draw()
|
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 213 uint32_t bitmapWidth, uint32_t bitmapHeight, Rect* bounds, const float* pos) { in drawCachedGlyphBitmap() argument
|