Home
last modified time | relevance | path

Searched refs:mBitmapHeight (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/
DPatchCache.h93 PatchDescription(): mPatch(NULL), mBitmapWidth(0), mBitmapHeight(0), in PatchDescription()
99 mPatch(patch), mBitmapWidth(bitmapWidth), mBitmapHeight(bitmapHeight), in PatchDescription()
134 uint32_t mBitmapHeight; member
DPatchCache.cpp72 hash = JenkinsHashMix(hash, mBitmapHeight); in hash()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java125 private int mBitmapHeight; field in LockPatternView
285 mBitmapHeight = Math.max(mBitmapHeight, bitmap.getHeight()); in LockPatternView()
941 final int offsetY = ((int) mSquareHeight - mBitmapHeight) / 2;
948 final int cellHeight = mBitmapHeight;
957 float sy = Math.min(mSquareHeight / mBitmapHeight, 1.0f);
959 mArrowMatrix.preTranslate(mBitmapWidth/2, mBitmapHeight/2);
961 mArrowMatrix.preTranslate(-mBitmapWidth/2, -mBitmapHeight/2);
999 final int height = mBitmapHeight;
1009 float sy = Math.min(mSquareHeight / mBitmapHeight, 1.0f);
1012 mCircleMatrix.preTranslate(mBitmapWidth/2, mBitmapHeight/2);
[all …]
/frameworks/base/libs/hwui/font/
DFont.cpp148 int height = (int) glyph->mBitmapHeight; in measureCachedGlyph()
167 float nPenY = y + glyph->mBitmapTop + glyph->mBitmapHeight; in drawCachedGlyph()
170 float height = (float) glyph->mBitmapHeight; in drawCachedGlyph()
186 p[0].iset(glyph->mBitmapLeft, glyph->mBitmapTop + glyph->mBitmapHeight); in drawCachedGlyphTransformed()
187 p[1].iset(glyph->mBitmapLeft + glyph->mBitmapWidth, glyph->mBitmapTop + glyph->mBitmapHeight); in drawCachedGlyphTransformed()
219 uint32_t endY = startY + (glyph->mBitmapHeight * cacheWidth); in drawCachedGlyphBitmap()
233 const float height = glyph->mBitmapHeight; in drawCachedGlyph()
447 glyph->mBitmapHeight = skiaGlyph.fHeight; in updateGlyphCache()
DCachedGlyphInfo.h36 uint32_t mBitmapHeight; member
/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java68 private int mBitmapHeight; field in NinePatchDrawable
199 mBitmapHeight = mNinePatch.getHeight(); in computeBitmapSize()
203 mBitmapHeight = Bitmap.scaleFromDensity(mNinePatch.getHeight(), sdensity, tdensity); in computeBitmapSize()
398 return mBitmapHeight; in getIntrinsicHeight()
408 return mBitmapHeight; in getMinimumHeight()
DBitmapDrawable.java77 private int mBitmapHeight; field in BitmapDrawable
190 mBitmapHeight = mBitmap.getScaledHeight(mTargetDensity); in computeBitmapSize()
199 mBitmapWidth = mBitmapHeight = -1; in setBitmap()
480 Gravity.apply(state.mGravity, mBitmapWidth, mBitmapHeight, in draw()
615 return mBitmapHeight; in getIntrinsicHeight()
/frameworks/rs/
DrsFont.cpp97 int32_t nPenY = y - glyph->mBitmapTop + glyph->mBitmapHeight; in drawCachedGlyph()
105 int32_t height = (int32_t) glyph->mBitmapHeight; in drawCachedGlyph()
119 uint32_t endY = glyph->mBitmapMinY + glyph->mBitmapHeight; in drawCachedGlyph()
141 int32_t nPenY = y - glyph->mBitmapTop + glyph->mBitmapHeight; in measureCachedGlyph()
144 int32_t height = (int32_t) glyph->mBitmapHeight; in measureCachedGlyph()
272 glyph->mBitmapHeight = bitmap->rows; in updateGlyphCache()
DrsFont.h100 uint32_t mBitmapHeight; member