Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java121 private int mBitmapWidth; field in LockPatternView
282 mBitmapWidth = Math.max(mBitmapWidth, bitmap.getWidth()); in LockPatternView()
475 return 3 * mBitmapWidth; in getSuggestedMinimumWidth()
481 return 3 * mBitmapWidth; in getSuggestedMinimumHeight()
1001 final int offsetX = ((int) mSquareWidth - mBitmapWidth) / 2;
1008 final int cellWidth = mBitmapWidth;
1017 float sx = Math.min(mSquareWidth / mBitmapWidth, 1.0f);
1020 mArrowMatrix.preTranslate(mBitmapWidth/2, mBitmapHeight/2);
1022 mArrowMatrix.preTranslate(-mBitmapWidth/2, -mBitmapHeight/2);
1059 final int width = mBitmapWidth;
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java66 private int mBitmapWidth; field in NinePatchDrawable
196 mBitmapWidth = mNinePatch.getWidth(); in computeBitmapSize()
200 mBitmapWidth = Bitmap.scaleFromDensity(mNinePatch.getWidth(), in computeBitmapSize()
345 return mBitmapWidth; in getIntrinsicWidth()
358 return mBitmapWidth; in getMinimumWidth()
DBitmapDrawable.java72 private int mBitmapWidth; field in BitmapDrawable
179 mBitmapWidth = mBitmap.getScaledWidth(mTargetDensity); in computeBitmapSize()
189 mBitmapWidth = mBitmapHeight = -1; in setBitmap()
389 Gravity.apply(state.mGravity, mBitmapWidth, mBitmapHeight, in draw()
483 return mBitmapWidth; in getIntrinsicWidth()
/frameworks/base/libs/hwui/font/
DCachedGlyphInfo.h35 uint32_t mBitmapWidth; member
DFont.cpp67 int width = (int) glyph->mBitmapWidth; in measureCachedGlyph()
94 int width = (int) glyph->mBitmapWidth; in drawCachedGlyph()
108 uint32_t endX = glyph->mStartX + glyph->mBitmapWidth; in drawCachedGlyphBitmap()
133 const float halfWidth = glyph->mBitmapWidth * 0.5f; in drawCachedGlyph()
394 glyph->mBitmapWidth = skiaGlyph.fWidth; in updateGlyphCache()
/frameworks/rs/
DrsFont.cpp102 int32_t width = (int32_t) glyph->mBitmapWidth; in drawCachedGlyph()
116 uint32_t endX = glyph->mBitmapMinX + glyph->mBitmapWidth; in drawCachedGlyph()
141 int32_t width = (int32_t) glyph->mBitmapWidth; in measureCachedGlyph()
269 glyph->mBitmapWidth = bitmap->width; in updateGlyphCache()
DrsFont.h100 uint32_t mBitmapWidth; member