Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/platform/
DDragImage.cpp36 DragImageRef fitDragImageToMaxSize(DragImageRef image, const IntSize& srcSize, const IntSize& size) in fitDragImageToMaxSize() argument
43 if (srcSize.width() > size.width()) { in fitDragImageToMaxSize()
44 widthResizeRatio = size.width() / (float)srcSize.width(); in fitDragImageToMaxSize()
48 if (srcSize.height() > size.height()) { in fitDragImageToMaxSize()
49 heightResizeRatio = size.height() / (float)srcSize.height(); in fitDragImageToMaxSize()
54 if (srcSize == originalSize) in fitDragImageToMaxSize()
58 float scalex = srcSize.width() / (float)originalSize.width(); in fitDragImageToMaxSize()
59 float scaley = srcSize.height() / (float)originalSize.height(); in fitDragImageToMaxSize()
DDragImage.h92 …DragImageRef fitDragImageToMaxSize(DragImageRef image, const IntSize& srcSize, const IntSize& size…
/external/webkit/Source/WebCore/platform/text/brew/
DTextCodecBrew.cpp85 int srcSize; in decode() local
89 srcSize = length + m_numBufferedBytes; in decode()
90 prefixedBytes.grow(srcSize); in decode()
99 srcSize = length; in decode()
104 unsigned char* srcEnd = srcBegin + srcSize; in decode()
106 Vector<UChar> dstBuffer(srcSize); in decode()
114 …code = ICharsetConv_CharsetConvert(m_charsetConverter, &src, &srcSize, &dst, &dstSize, &numCharsCo… in decode()
166 int srcSize = length * sizeof(UChar); in encode() local
169 unsigned char* srcEnd = srcBegin + srcSize; in encode()
179 …code = ICharsetConv_CharsetConvert(m_charsetConverter, &src, &srcSize, &dst, &dstSize, &numCharsCo… in encode()
/external/webkit/Source/WebCore/platform/graphics/win/
DImageCairoWin.cpp95 …urceSize(GraphicsContext* ctxt, const FloatRect& dstRect, const IntSize& srcSize, ColorSpace style… in drawFrameMatchingSourceSize() argument
100 …t(image) == static_cast<size_t>(srcSize.height()) && cairo_image_surface_get_width(image) == stati… in drawFrameMatchingSourceSize()
103 …draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, srcSize.width(), srcSize.height()), ColorSpaceDeviceRGB,… in drawFrameMatchingSourceSize()
DImageCGWin.cpp89 …urceSize(GraphicsContext* ctxt, const FloatRect& dstRect, const IntSize& srcSize, ColorSpace style… in drawFrameMatchingSourceSize() argument
94 …etHeight(image) == static_cast<size_t>(srcSize.height()) && CGImageGetWidth(image) == static_cast<… in drawFrameMatchingSourceSize()
97 …draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, srcSize.width(), srcSize.height()), styleColorSpace, com… in drawFrameMatchingSourceSize()
/external/skia/src/images/
DSkImageDecoder_wbmp.cpp143 size_t srcSize = height * srcRB; in onDecode() local
144 uint8_t* src = dst + decodedBitmap->getSize() - srcSize; in onDecode()
145 if (stream->read(src, srcSize) != srcSize) { in onDecode()
/external/webkit/Source/WebCore/platform/graphics/wince/
DImageWinCE.cpp91 …urceSize(GraphicsContext* ctxt, const FloatRect& dstRect, const IntSize& srcSize, ColorSpace style… in drawFrameMatchingSourceSize() argument
96 … || bmp->height() != static_cast<unsigned>(srcSize.height()) || bmp->width() != static_cast<unsign… in drawFrameMatchingSourceSize()
101 …draw(ctxt, dstRect, FloatRect(0, 0, srcSize.width(), srcSize.height()), styleColorSpace, composite… in drawFrameMatchingSourceSize()
/external/skia/include/core/
DSkPackBits.h54 static int Unpack16(const uint8_t src[], size_t srcSize, uint16_t dst[]);
63 static int Unpack8(const uint8_t src[], size_t srcSize, uint8_t dst[]);
/external/webkit/Source/WebCore/platform/win/
DDragImageCairoWin.cpp111 IntSize srcSize = dragImageSize(image); in scaleDragImage() local
112 …IntSize dstSize(static_cast<int>(srcSize.width() * scale.width()), static_cast<int>(srcSize.height… in scaleDragImage()
DDragImageCGWin.cpp89 IntSize srcSize = dragImageSize(image); in scaleDragImage() local
90 …IntSize dstSize(static_cast<int>(srcSize.width() * scale.width()), static_cast<int>(srcSize.height… in scaleDragImage()
/external/icu4c/test/cintltst/
Dcbiditst.c720 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); in testReorder() local
721 int32_t destSize = srcSize*2; in testReorder()
726 pseudoToU16(srcSize,logicalOrder[i],src); in testReorder()
728 ubidi_setPara(bidi,src,srcSize,UBIDI_DEFAULT_LTR ,NULL,&ec); in testReorder()
737 }else if(destSize!=srcSize){ in testReorder()
738 … log_err("Pre-flighting did not give expected size: Expected: %d. Got: %d \n",srcSize,destSize); in testReorder()
744 if(destSize!=srcSize){ in testReorder()
755 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); in testReorder() local
756 int32_t destSize = srcSize*2; in testReorder()
761 pseudoToU16(srcSize,logicalOrder[i],src); in testReorder()
[all …]
/external/webkit/Source/WebCore/platform/graphics/skia/
DPlatformContextSkia.h174 void getImageResamplingHint(IntSize* srcSize, FloatSize* dstSize) const;
175 void setImageResamplingHint(const IntSize& srcSize, const FloatSize& dstSize);
DImageSkia.cpp73 IntSize srcSize; in computeResamplingMode() local
75 platformContext->getImageResamplingHint(&srcSize, &dstSize); in computeResamplingMode()
76 srcWidth = srcSize.width(); in computeResamplingMode()
77 srcHeight = srcSize.height(); in computeResamplingMode()
DPlatformContextSkia.cpp625 void PlatformContextSkia::getImageResamplingHint(IntSize* srcSize, FloatSize* dstSize) const in getImageResamplingHint() argument
627 *srcSize = m_imageResamplingHintSrcSize; in getImageResamplingHint()
631 void PlatformContextSkia::setImageResamplingHint(const IntSize& srcSize, const FloatSize& dstSize) in setImageResamplingHint() argument
633 m_imageResamplingHintSrcSize = srcSize; in setImageResamplingHint()
/external/skia/src/core/
DSkPackBits.cpp282 int SkPackBits::Unpack16(const uint8_t* SK_RESTRICT src, size_t srcSize, in Unpack16() argument
285 const uint8_t* stop = src + srcSize; in Unpack16()
304 int SkPackBits::Unpack8(const uint8_t* SK_RESTRICT src, size_t srcSize, in Unpack8() argument
307 const uint8_t* stop = src + srcSize; in Unpack8()
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dthrobber_view.mm121 NSSize srcSize;
126 srcSize = image1Size_;
133 srcSize = image2Size_;
141 NSMakeRect(0, 0, srcSize.width, srcSize.height);
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp593 uint64_t srcSize = TD->getTypeAllocSize(srcAlloca->getAllocatedType()) * in performCallSlotOptzn() local
596 if (cpyLen < srcSize) in performCallSlotOptzn()
611 if (destSize < srcSize) in performCallSlotOptzn()
622 if (destSize < srcSize) in performCallSlotOptzn()
665 if (AA.getModRefInfo(C, cpyDest, srcSize) != AliasAnalysis::NoModRef) in performCallSlotOptzn()
/external/webkit/Source/WebCore/platform/graphics/
DImage.h168 …ingSourceSize(GraphicsContext*, const FloatRect& dstRect, const IntSize& srcSize, ColorSpace style… in drawFrameMatchingSourceSize() argument
DBitmapImage.h184 …ingSourceSize(GraphicsContext*, const FloatRect& dstRect, const IntSize& srcSize, ColorSpace style…
/external/skia/src/effects/
DSkBlurMask.cpp648 size_t srcSize = src.computeImageSize(); in Blur() local
649 if (0 == srcSize) { in Blur()
652 dst->fImage = SkMask::AllocImage(srcSize); in Blur()
/external/skia/src/ports/
DSkFontHost_mac_coretext.cpp1992 size_t srcSize = CFDataGetLength(srcData); in GetTableData() local
1993 if (offset >= srcSize) { in GetTableData()
1997 if ((offset + length) > srcSize) { in GetTableData()
1998 length = srcSize - offset; in GetTableData()
/external/opencv/cvaux/src/
Dcvtrifocal.cpp474 int srcSize; in icvSelectColsByNumbers() local
477 srcSize = srcMatr->cols; in icvSelectColsByNumbers()
488 if( src >=0 && src < srcSize ) in icvSelectColsByNumbers()