Home
last modified time | relevance | path

Searched refs:srcSize (Results 1 – 13 of 13) sorted by relevance

/external/webkit/WebCore/platform/
DDragImage.cpp34 DragImageRef fitDragImageToMaxSize(DragImageRef image, const IntSize& srcSize, const IntSize& size) in fitDragImageToMaxSize() argument
41 if (srcSize.width() > size.width()) { in fitDragImageToMaxSize()
42 widthResizeRatio = size.width() / (float)srcSize.width(); in fitDragImageToMaxSize()
46 if (srcSize.height() > size.height()) { in fitDragImageToMaxSize()
47 heightResizeRatio = size.height() / (float)srcSize.height(); in fitDragImageToMaxSize()
52 if (srcSize == originalSize) in fitDragImageToMaxSize()
56 float scalex = srcSize.width() / (float)originalSize.width(); in fitDragImageToMaxSize()
57 float scaley = srcSize.height() / (float)originalSize.height(); in fitDragImageToMaxSize()
DDragImage.h84 …DragImageRef fitDragImageToMaxSize(DragImageRef image, const IntSize& srcSize, const IntSize& size…
/external/webkit/WebCore/platform/graphics/win/
DImageCGWin.cpp66 …urceSize(GraphicsContext* ctxt, const FloatRect& dstRect, const IntSize& srcSize, CompositeOperato… in drawFrameMatchingSourceSize() argument
71 …etHeight(image) == static_cast<size_t>(srcSize.height()) && CGImageGetWidth(image) == static_cast<… in drawFrameMatchingSourceSize()
74 … draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, srcSize.width(), srcSize.height()), compositeOp); in drawFrameMatchingSourceSize()
DImageCairoWin.cpp74 …urceSize(GraphicsContext* ctxt, const FloatRect& dstRect, const IntSize& srcSize, CompositeOperato… in drawFrameMatchingSourceSize() argument
79 …t(image) == static_cast<size_t>(srcSize.height()) && cairo_image_surface_get_width(image) == stati… in drawFrameMatchingSourceSize()
82 … draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, srcSize.width(), srcSize.height()), compositeOp); in drawFrameMatchingSourceSize()
/external/skia/src/images/
DSkImageDecoder_wbmp.cpp142 size_t srcSize = height * srcRB; in onDecode() local
143 uint8_t* src = dst + decodedBitmap->getSize() - srcSize; in onDecode()
144 if (stream->read(src, srcSize) != srcSize) { in onDecode()
/external/icu4c/test/cintltst/
Dcbiditst.c710 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); in testReorder() local
711 int32_t destSize = srcSize*2; in testReorder()
716 pseudoToU16(srcSize,logicalOrder[i],src); in testReorder()
718 ubidi_setPara(bidi,src,srcSize,UBIDI_DEFAULT_LTR ,NULL,&ec); in testReorder()
727 }else if(destSize!=srcSize){ in testReorder()
728 … log_err("Pre-flighting did not give expected size: Expected: %d. Got: %d \n",srcSize,destSize); in testReorder()
734 if(destSize!=srcSize){ in testReorder()
745 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); in testReorder() local
746 int32_t destSize = srcSize*2; in testReorder()
751 pseudoToU16(srcSize,logicalOrder[i],src); in testReorder()
[all …]
/external/webkit/WebCore/platform/win/
DDragImageCairoWin.cpp114 IntSize srcSize = dragImageSize(image); in scaleDragImage() local
115 …IntSize dstSize(static_cast<int>(srcSize.width() * scale.width()), static_cast<int>(srcSize.height… in scaleDragImage()
DDragImageCGWin.cpp93 IntSize srcSize = dragImageSize(image); in scaleDragImage() local
94 …IntSize dstSize(static_cast<int>(srcSize.width() * scale.width()), static_cast<int>(srcSize.height… in scaleDragImage()
/external/skia/include/core/
DSkPackBits.h61 static int Unpack16(const uint8_t src[], size_t srcSize, uint16_t dst[]);
70 static int Unpack8(const uint8_t src[], size_t srcSize, uint8_t dst[]);
/external/skia/src/core/
DSkPackBits.cpp275 int SkPackBits::Unpack16(const uint8_t SK_RESTRICT src[], size_t srcSize, in Unpack16() argument
278 const uint8_t* stop = src + srcSize; in Unpack16()
297 int SkPackBits::Unpack8(const uint8_t SK_RESTRICT src[], size_t srcSize, in Unpack8() argument
300 const uint8_t* stop = src + srcSize; in Unpack8()
/external/skia/src/effects/
DSkBlurMask.cpp302 size_t srcSize = src.computeImageSize(); in Blur() local
303 if (0 == srcSize) { in Blur()
306 dst->fImage = SkMask::AllocImage(srcSize); in Blur()
/external/webkit/WebCore/platform/graphics/
DImage.h164 …ingSourceSize(GraphicsContext*, const FloatRect& dstRect, const IntSize& srcSize, CompositeOperato… in drawFrameMatchingSourceSize() argument
DBitmapImage.h165 …ingSourceSize(GraphicsContext*, const FloatRect& dstRect, const IntSize& srcSize, CompositeOperato…