/frameworks/support/v4/java/android/support/v4/app/ |
D | SharedElementCallback.java | 171 int bitmapHeight = Math.round(screenBounds.height()); in onCaptureSharedElementSnapshot() local 173 if (bitmapWidth > 0 && bitmapHeight > 0) { in onCaptureSharedElementSnapshot() 174 float scale = Math.min(1f, ((float)MAX_IMAGE_SIZE) / (bitmapWidth * bitmapHeight)); in onCaptureSharedElementSnapshot() 176 bitmapHeight *= scale; in onCaptureSharedElementSnapshot() 183 bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888); in onCaptureSharedElementSnapshot() 206 int bitmapHeight = (int) (height * scale); in createDrawableBitmap() local 207 Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888); in createDrawableBitmap() 214 drawable.setBounds(0, 0, bitmapWidth, bitmapHeight); in createDrawableBitmap()
|
/frameworks/base/core/java/android/transition/ |
D | TransitionUtils.java | 128 int bitmapHeight = (int) (height * scale); in createDrawableBitmap() local 129 Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888); in createDrawableBitmap() 136 drawable.setBounds(0, 0, bitmapWidth, bitmapHeight); in createDrawableBitmap() 158 int bitmapHeight = Math.round(bounds.height()); in createViewBitmap() local 159 if (bitmapWidth > 0 && bitmapHeight > 0) { in createViewBitmap() 160 float scale = Math.min(1f, ((float)MAX_IMAGE_SIZE) / (bitmapWidth * bitmapHeight)); in createViewBitmap() 162 bitmapHeight *= scale; in createViewBitmap() 165 bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888); in createViewBitmap()
|
/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/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PageContentRepository.java | 338 final int bitmapHeight; field in PageContentRepository.RenderSpec 341 public RenderSpec(int bitmapWidth, int bitmapHeight, in RenderSpec() argument 344 this.bitmapHeight = bitmapHeight; in RenderSpec() 361 if (bitmapHeight != other.bitmapHeight) { in equals() 380 && bitmap.getHeight() == bitmapHeight; in hasSameSize() 386 result = 31 * result + bitmapHeight; in hashCode() 526 final int bitmapSizeInBytes = renderSpec.bitmapWidth * renderSpec.bitmapHeight in startPreload() 769 * mRenderSpec.bitmapHeight * BYTES_PER_PIXEL; in onPreExecute() 808 mRenderSpec.bitmapHeight, Bitmap.Config.ARGB_8888); in onPreExecute()
|
/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/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/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
D | PdfManipulationService.java | 105 public void renderPage(int pageIndex, int bitmapWidth, int bitmapHeight, in renderPage() argument 129 (float) bitmapHeight / srcHeightPts); in renderPage() 132 displayScale = (float) bitmapHeight / dstHeightPts; in renderPage() 155 clip.bottom = (int) (bitmapHeight - paddingBottomPts * displayScale); in renderPage() 161 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/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 | 244 float bitmapHeight = bm.getHeight(); in draw() local 245 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
|