Home
last modified time | relevance | path

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

/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable.java61 private int mBitmapWidth; field in RoundedBitmapDrawable
79 mBitmapWidth = mBitmap.getScaledWidth(mTargetDensity); in computeBitmapSize()
224 final int minDimen = Math.min(mBitmapWidth, mBitmapHeight); in updateDstRect()
235 gravityCompatApply(mGravity, mBitmapWidth, mBitmapHeight, getBounds(), mDstRect); in updateDstRect()
308 final int minCircularSize = Math.min(mBitmapHeight, mBitmapWidth); in updateCircularCornerRadius()
354 return mBitmapWidth; in getIntrinsicWidth()
385 mBitmapWidth = mBitmapHeight = -1; in RoundedBitmapDrawable()
/frameworks/base/libs/hwui/
DPatchCache.h94 PatchDescription(): mPatch(nullptr), mBitmapWidth(0), mBitmapHeight(0), in PatchDescription()
100 mPatch(patch), mBitmapWidth(bitmapWidth), mBitmapHeight(bitmapHeight), in PatchDescription()
134 uint32_t mBitmapWidth; member
DPatchCache.cpp77 hash = JenkinsHashMix(hash, mBitmapWidth); in hash()
/frameworks/base/libs/hwui/font/
DFont.cpp142 int width = (int) glyph->mBitmapWidth; in measureCachedGlyph()
164 float width = (float) glyph->mBitmapWidth; in drawCachedGlyph()
183 float width = (float) glyph->mBitmapWidth; in drawCachedGlyphTransformed()
231 for (uint32_t i = 0; i < glyph->mBitmapWidth; ++i) { in drawCachedGlyphBitmap()
244 const float halfWidth = glyph->mBitmapWidth * 0.5f; in drawCachedGlyph()
457 glyph->mBitmapWidth = skiaGlyph.fWidth; in updateGlyphCache()
DCachedGlyphInfo.h35 uint32_t mBitmapWidth; member
/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java80 private int mBitmapWidth = -1; field in NinePatchDrawable
195 mBitmapWidth = mNinePatch.getWidth(); in computeBitmapSize()
199 mBitmapWidth = Bitmap.scaleFromDensity(mNinePatch.getWidth(), sdensity, tdensity); in computeBitmapSize()
222 mBitmapWidth = mBitmapHeight = -1; in setNinePatch()
531 return mBitmapWidth; in getIntrinsicWidth()
544 return mBitmapWidth; in getMinimumWidth()
DBitmapDrawable.java96 private int mBitmapWidth; field in BitmapDrawable
215 mBitmapWidth = bitmap.getScaledWidth(mTargetDensity); in computeBitmapSize()
218 mBitmapWidth = mBitmapHeight = -1; in computeBitmapSize()
580 Gravity.apply(mBitmapState.mGravity, mBitmapWidth, mBitmapHeight, in updateDstRectAndInsetsIfDirty()
868 return mBitmapWidth; in getIntrinsicWidth()
/frameworks/rs/java/tests/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/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java77 private int mBitmapWidth; field in ImageProcessingActivityJB
197 switch(mBitmapWidth) { in Processor()
683 int tw = mBitmapWidth; in startProcessor()
725 mBitmapWidth = i.getIntExtra("resolution X", 0); in onResume()
/frameworks/rs/
DrsFont.cpp104 int32_t width = (int32_t) glyph->mBitmapWidth; in drawCachedGlyph()
118 uint32_t endX = glyph->mBitmapMinX + glyph->mBitmapWidth; in drawCachedGlyph()
143 int32_t width = (int32_t) glyph->mBitmapWidth; in measureCachedGlyph()
271 glyph->mBitmapWidth = bitmap->width; in updateGlyphCache()
DrsFont.h99 uint32_t mBitmapWidth; member