Home
last modified time | relevance | path

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

/frameworks/support/core-utils/gingerbread/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable.java63 private int mBitmapWidth; field in RoundedBitmapDrawable
81 mBitmapWidth = mBitmap.getScaledWidth(mTargetDensity); in computeBitmapSize()
226 final int minDimen = Math.min(mBitmapWidth, mBitmapHeight); in updateDstRect()
237 gravityCompatApply(mGravity, mBitmapWidth, mBitmapHeight, getBounds(), mDstRect); in updateDstRect()
312 final int minCircularSize = Math.min(mBitmapHeight, mBitmapWidth); in updateCircularCornerRadius()
358 return mBitmapWidth; in getIntrinsicWidth()
389 mBitmapWidth = mBitmapHeight = -1; in RoundedBitmapDrawable()
/frameworks/base/libs/hwui/
DPatchCache.h87 PatchDescription(): mPatch(nullptr), mBitmapWidth(0), mBitmapHeight(0), in PatchDescription()
93 mPatch(patch), mBitmapWidth(bitmapWidth), mBitmapHeight(bitmapHeight), in PatchDescription()
127 uint32_t mBitmapWidth; member
DPatchCache.cpp51 hash = JenkinsHashMix(hash, mBitmapWidth); in hash()
/frameworks/base/libs/hwui/font/
DCachedGlyphInfo.h33 uint32_t mBitmapWidth; member
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()
226 for (uint32_t i = 0; i < glyph->mBitmapWidth; ++i) { in drawCachedGlyphBitmap()
239 const float halfWidth = glyph->mBitmapWidth * 0.5f; in drawCachedGlyph()
453 glyph->mBitmapWidth = skiaGlyph.fWidth; in updateGlyphCache()
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.java98 private int mBitmapWidth; field in BitmapDrawable
217 mBitmapWidth = bitmap.getScaledWidth(mTargetDensity); in computeBitmapSize()
220 mBitmapWidth = mBitmapHeight = -1; in computeBitmapSize()
598 Gravity.apply(mBitmapState.mGravity, mBitmapWidth, mBitmapHeight, in updateDstRectAndInsetsIfDirty()
922 return mBitmapWidth; in getIntrinsicWidth()
DNinePatchDrawable.java85 private int mBitmapWidth = -1; field in NinePatchDrawable
517 return mBitmapWidth; in getIntrinsicWidth()
700 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