Home
last modified time | relevance | path

Searched refs:scaledWidth (Results 1 – 18 of 18) sorted by relevance

/external/skia/tools/skpdiff/
Ddiff_viewer.js138 var scaledWidth = MAGNIFIER_WIDTH * scope.imgScaleFactor;
141 x: event.offsetX - (scaledWidth * 0.5),
143 width: scaledWidth,
/external/chromium_org/third_party/skia/src/images/
DSkScaledBitmapSampler.h21 int scaledWidth() const { return fScaledWidth; } in scaledWidth() function
DSkImageDecoder_libbmp.cpp136 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight(), 0, in onDecode()
DSkImageDecoder_libjpeg.cpp609 return bm->setConfig(config, smpl.scaledWidth(), smpl.scaledHeight(), in onDecode()
628 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight(), 0, in onDecode()
836 bitmap.setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); in onDecodeSubset()
841 bitmap.setConfig(config, sampler.scaledWidth(), sampler.scaledHeight(), 0, in onDecodeSubset()
DSkImageDecoder_libwebp.cpp341 const int width = sampler.scaledWidth(); in onDecodeSubset()
414 if (!setDecodeConfig(decodedBitmap, sampler.scaledWidth(), in onDecode()
DSkImageDecoder_libgif.cpp276 bm->setConfig(SkBitmap::kIndex8_Config, sampler.scaledWidth(),
DSkImageDecoder_libpng.cpp334 decodedBitmap->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); in onDecode()
806 decodedBitmap.setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); in onDecodeSubset()
/external/skia/src/images/
DSkScaledBitmapSampler.h21 int scaledWidth() const { return fScaledWidth; } in scaledWidth() function
DSkImageDecoder_libbmp.cpp136 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight(), 0, in onDecode()
DSkImageDecoder_libjpeg.cpp609 return bm->setConfig(config, smpl.scaledWidth(), smpl.scaledHeight(), in onDecode()
628 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight(), 0, in onDecode()
836 bitmap.setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); in onDecodeSubset()
841 bitmap.setConfig(config, sampler.scaledWidth(), sampler.scaledHeight(), 0, in onDecodeSubset()
DSkImageDecoder_libwebp.cpp341 const int width = sampler.scaledWidth(); in onDecodeSubset()
414 if (!setDecodeConfig(decodedBitmap, sampler.scaledWidth(), in onDecode()
DSkImageDecoder_libgif.cpp276 bm->setConfig(SkBitmap::kIndex8_Config, sampler.scaledWidth(),
DSkImageDecoder_libpng.cpp334 decodedBitmap->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); in onDecode()
805 decodedBitmap.setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); in onDecodeSubset()
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DWebTestProxy.cpp583 int scaledWidth = static_cast<int>(ceil(static_cast<float>(rect.width) * deviceScaleFactor)); in paintRect() local
585 WebRect deviceRect(scaledX, scaledY, scaledWidth, scaledHeight); in paintRect()
654 …int scaledWidth = static_cast<int>(ceil(static_cast<float>(widgetSize.width) * deviceScaleFactor)); in canvas() local
656 m_canvas.reset(skia::CreateBitmapCanvas(scaledWidth, scaledHeight, true)); in canvas()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderReplaced.cpp103 int scaledWidth = static_cast<int>(cDefaultWidth * style()->effectiveZoom()); in intrinsicSizeChanged() local
105 m_intrinsicSize = IntSize(scaledWidth, scaledHeight); in intrinsicSizeChanged()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DContentViewCore.java577 int scaledWidth = Math.round(width * scale); in getViewAndroidDelegate() local
580 if (scaledWidth + leftMargin > mContainerView.getWidth()) { in getViewAndroidDelegate()
581 scaledWidth = mContainerView.getWidth() - leftMargin; in getViewAndroidDelegate()
584 scaledWidth, Math.round(height * scale)); in getViewAndroidDelegate()
599 scaledWidth, (int) (height * scale), leftMargin, topMargin); in getViewAndroidDelegate()
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA1/
DSDL_epocvideo.cpp592 TInt scaledWidth = (w * (scaleValue-1))/scaleValue; in EPOC_SetVideoMode() local
593 if (scaledWidth > Private->EPOC_ScreenSize.iWidth) in EPOC_SetVideoMode()
/external/webp/
DREADME496 config.options.scaled_width = scaledWidth();