Home
last modified time | relevance | path

Searched refs:mBitmapWidth (Results 1 – 14 of 14) sorted by relevance

/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/
DRoundedBitmapDrawable.java64 private int mBitmapWidth; field in RoundedBitmapDrawable
84 mBitmapWidth = mBitmap.getScaledWidth(mTargetDensity); in computeBitmapSize()
229 final int minDimen = Math.min(mBitmapWidth, mBitmapHeight); in updateDstRect()
240 gravityCompatApply(mGravity, mBitmapWidth, mBitmapHeight, getBounds(), mDstRect); in updateDstRect()
315 final int minCircularSize = Math.min(mBitmapHeight, mBitmapWidth); in updateCircularCornerRadius()
361 return mBitmapWidth; in getIntrinsicWidth()
392 mBitmapWidth = mBitmapHeight = -1; in RoundedBitmapDrawable()
/frameworks/base/libs/hwui/
DPatchCache.h82 , mBitmapWidth(0) in PatchDescription()
91 , mBitmapWidth(bitmapWidth) in PatchDescription()
119 uint32_t mBitmapWidth; member
DPatchCache.cpp51 hash = JenkinsHashMix(hash, mBitmapWidth); in hash()
/frameworks/base/core/java/android/widget/
DMagnifier.java80 private final int mBitmapWidth; field in Magnifier
123 mBitmapWidth = Math.round(mWindowWidth / mZoom); in Magnifier()
167 final int startX = mClampedCenterZoomCoords.x - mBitmapWidth / 2; in show()
326 mClampedCenterZoomCoords.x = Math.max(viewVisibleRegion.left + mBitmapWidth / 2, Math.min( in obtainContentCoordinates()
327 mCenterZoomCoords.x, viewVisibleRegion.right - mBitmapWidth / 2)); in obtainContentCoordinates()
351 Math.min(startXInSurface, mContentCopySurface.mWidth - mBitmapWidth)); in performPixelCopy()
374 clampedStartXInSurface + mBitmapWidth, in performPixelCopy()
378 Bitmap.createBitmap(mBitmapWidth, mBitmapHeight, Bitmap.Config.ARGB_8888); in performPixelCopy()
/frameworks/base/libs/hwui/font/
DFont.cpp137 int width = (int)glyph->mBitmapWidth; in measureCachedGlyph()
159 float width = (float)glyph->mBitmapWidth; in drawCachedGlyph()
178 float width = (float)glyph->mBitmapWidth; in drawCachedGlyphTransformed()
224 for (uint32_t i = 0; i < glyph->mBitmapWidth; ++i) { in drawCachedGlyphBitmap()
237 const float halfWidth = glyph->mBitmapWidth * 0.5f; in drawCachedGlyph()
444 glyph->mBitmapWidth = skiaGlyph.fWidth; in updateGlyphCache()
DCachedGlyphInfo.h33 uint32_t mBitmapWidth; member
DFontCacheHistoryTracker.cpp69 entry.glyph.bitmapW = glyphInfo->mBitmapWidth; in glyphRendered()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java69 private int mBitmapWidth; field in ImageProcessingActivityJB
93 mBitmapWidth = 1920; in prepareInstrumentationTest()
200 switch(mBitmapWidth) { in Processor()
679 int tw = mBitmapWidth; in startProcessor()
721 mBitmapWidth = i.getIntExtra("resolution X", 0); in onResume()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DImageProcessingActivity2.java75 private int mBitmapWidth; field in ImageProcessingActivity2
203 switch(mBitmapWidth) { in Processor()
246 switch(mBitmapWidth) { in Processor()
723 int tw = mBitmapWidth; in startProcessor()
765 mBitmapWidth = i.getIntExtra("resolution X", 0); in onResume()
/frameworks/base/graphics/java/android/graphics/drawable/
DBitmapDrawable.java100 private int mBitmapWidth; field in BitmapDrawable
233 mBitmapWidth = bitmap.getScaledWidth(mTargetDensity); in computeBitmapSize()
236 mBitmapWidth = mBitmapHeight = -1; in computeBitmapSize()
614 Gravity.apply(mBitmapState.mGravity, mBitmapWidth, mBitmapHeight, in updateDstRectAndInsetsIfDirty()
948 return mBitmapWidth; in getIntrinsicWidth()
DNinePatchDrawable.java85 private int mBitmapWidth = -1; field in NinePatchDrawable
524 return mBitmapWidth; in getIntrinsicWidth()
708 mBitmapWidth = Drawable.scaleFromDensity( in computeBitmapSize()
/frameworks/rs/
DrsFont.cpp103 int32_t width = (int32_t) glyph->mBitmapWidth; in drawCachedGlyph()
117 uint32_t endX = glyph->mBitmapMinX + glyph->mBitmapWidth; in drawCachedGlyph()
142 int32_t width = (int32_t) glyph->mBitmapWidth; in measureCachedGlyph()
270 glyph->mBitmapWidth = bitmap->width; in updateGlyphCache()
DrsFont.h99 uint32_t mBitmapWidth; member
/frameworks/base/config/
Dhiddenapi-private-dex.txt24717 Landroid/graphics/drawable/BitmapDrawable;->mBitmapWidth:I
25196 Landroid/graphics/drawable/NinePatchDrawable;->mBitmapWidth:I
103066 Landroid/widget/Magnifier;->mBitmapWidth:I