Searched defs:scaledWidth (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/
H A DVectorDrawable.cpp420 int scaledWidth = (int) (bounds.width() * canvasScaleX); local
422 scaledWidth = std::min(Tree::MAX_CACHED_BITMAP_SIZE, scaledWidth);
425 if (scaledWidth <= 0 || scaledHeight <= 0) {
429 mStagingProperties.setScaledSize(scaledWidth, scaledHeight);
448 return scaledWidth * scaledHeight;
501 int scaledWidth = SkScalarCeilToInt(mProperties.getScaledWidth()); local
503 auto atlasEntry = atlas->requestNewEntry(scaledWidth, scaledHeight, context);
574 int scaledWidth = SkScalarCeilToInt(mProperties.getScaledWidth()); local
576 SkRect src = SkRect::MakeWH(scaledWidth, scaledHeigh
[all...]
H A DVectorDrawable.h583 int scaledWidth = 0; member in struct:android::uirenderer::VectorDrawable::Tree::TreeProperties::NonAnimatableProperties
625 if (mNonAnimatableProperties.scaledWidth < width
627 mNonAnimatableProperties.scaledWidth = std::max(width,
628 mNonAnimatableProperties.scaledWidth);
652 return mNonAnimatableProperties.scaledWidth;
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.cpp126 int scaledWidth, int scaledHeight) {
132 scaleDivRange(chunk->getXDivs(), chunk->numXDivs, scale, scaledWidth);
301 int scaledWidth = size.width(); local
308 scaledWidth = codec->getInfo().width() / sampleSize;
324 env->SetIntField(options, gOptions_widthFieldID, scaledWidth);
347 scaledWidth = static_cast<int>(scaledWidth * scale + 0.5f);
434 scaleNinePatchChunk(peeker.mPatch, scale, scaledWidth, scaledHeight);
475 const float sx = scaledWidth / float(decodingBitmap.width());
491 bitmapInfo.makeWH(scaledWidth, scaledHeigh
125 scaleNinePatchChunk(android::Res_png_9patch* chunk, float scale, int scaledWidth, int scaledHeight) argument
[all...]

Completed in 86 milliseconds