/external/webkit/Source/WebCore/platform/ |
DragImage.cpp | 36 DragImageRef fitDragImageToMaxSize(DragImageRef image, const IntSize& srcSize, const IntSize& size) 43 if (srcSize.width() > size.width()) { 44 widthResizeRatio = size.width() / (float)srcSize.width(); 48 if (srcSize.height() > size.height()) { 49 heightResizeRatio = size.height() / (float)srcSize.height(); 54 if (srcSize == originalSize) 58 float scalex = srcSize.width() / (float)originalSize.width(); 59 float scaley = srcSize.height() / (float)originalSize.height();
|
DragImage.h | 92 DragImageRef fitDragImageToMaxSize(DragImageRef image, const IntSize& srcSize, const IntSize& size);
|
/external/skia/include/core/ |
SkPackBits.h | 57 @param srcSize Number of bytes of src to unpack 61 static int Unpack16(const uint8_t src[], size_t srcSize, uint16_t dst[]); 66 @param srcSize Number of bytes of src to unpack 70 static int Unpack8(const uint8_t src[], size_t srcSize, uint8_t dst[]);
|
SkBitmap.h | 249 @param srcSize Height of source buffer in pixels. 253 bool copyPixelsFrom(const void* const src, size_t srcSize,
|
/external/webkit/Source/WebCore/platform/text/brew/ |
TextCodecBrew.cpp | 85 int srcSize; 89 srcSize = length + m_numBufferedBytes; 90 prefixedBytes.grow(srcSize); 99 srcSize = length; 104 unsigned char* srcEnd = srcBegin + srcSize; 106 Vector<UChar> dstBuffer(srcSize); 114 code = ICharsetConv_CharsetConvert(m_charsetConverter, &src, &srcSize, &dst, &dstSize, &numCharsConverted); 166 int srcSize = length * sizeof(UChar); 169 unsigned char* srcEnd = srcBegin + srcSize; 179 code = ICharsetConv_CharsetConvert(m_charsetConverter, &src, &srcSize, &dst, &dstSize, &numCharsConverted) [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
ImageCGWin.cpp | 89 void BitmapImage::drawFrameMatchingSourceSize(GraphicsContext* ctxt, const FloatRect& dstRect, const IntSize& srcSize, ColorSpace styleColorSpace, CompositeOperator compositeOp) 94 if (CGImageGetHeight(image) == static_cast<size_t>(srcSize.height()) && CGImageGetWidth(image) == static_cast<size_t>(srcSize.width())) { 97 draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, srcSize.width(), srcSize.height()), styleColorSpace, compositeOp);
|
ImageCairoWin.cpp | 95 void BitmapImage::drawFrameMatchingSourceSize(GraphicsContext* ctxt, const FloatRect& dstRect, const IntSize& srcSize, ColorSpace styleColorSpace, CompositeOperator compositeOp) 100 if (cairo_image_surface_get_height(image) == static_cast<size_t>(srcSize.height()) && cairo_image_surface_get_width(image) == static_cast<size_t>(srcSize.width())) { 103 draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, srcSize.width(), srcSize.height()), ColorSpaceDeviceRGB, compositeOp);
|
/external/skia/src/images/ |
SkImageDecoder_wbmp.cpp | 141 size_t srcSize = height * srcRB; 142 uint8_t* src = dst + decodedBitmap->getSize() - srcSize; 143 if (stream->read(src, srcSize) != srcSize) {
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
ImageWinCE.cpp | 91 void BitmapImage::drawFrameMatchingSourceSize(GraphicsContext* ctxt, const FloatRect& dstRect, const IntSize& srcSize, ColorSpace styleColorSpace, CompositeOperator compositeOp) 96 if (!bmp || bmp->height() != static_cast<unsigned>(srcSize.height()) || bmp->width() != static_cast<unsigned>(srcSize.width())) 101 draw(ctxt, dstRect, FloatRect(0, 0, srcSize.width(), srcSize.height()), styleColorSpace, compositeOp);
|
/external/webkit/Source/WebCore/platform/win/ |
DragImageCGWin.cpp | 89 IntSize srcSize = dragImageSize(image); 90 IntSize dstSize(static_cast<int>(srcSize.width() * scale.width()), static_cast<int>(srcSize.height() * scale.height()));
|
DragImageCairoWin.cpp | 111 IntSize srcSize = dragImageSize(image); 112 IntSize dstSize(static_cast<int>(srcSize.width() * scale.width()), static_cast<int>(srcSize.height() * scale.height()));
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
PlatformContextSkia.h | 174 void getImageResamplingHint(IntSize* srcSize, FloatSize* dstSize) const; 175 void setImageResamplingHint(const IntSize& srcSize, const FloatSize& dstSize);
|
ImageSkia.cpp | 73 IntSize srcSize; 75 platformContext->getImageResamplingHint(&srcSize, &dstSize); 76 srcWidth = srcSize.width(); 77 srcHeight = srcSize.height();
|
PlatformContextSkia.cpp | 625 void PlatformContextSkia::getImageResamplingHint(IntSize* srcSize, FloatSize* dstSize) const 627 *srcSize = m_imageResamplingHintSrcSize; 631 void PlatformContextSkia::setImageResamplingHint(const IntSize& srcSize, const FloatSize& dstSize) 633 m_imageResamplingHintSrcSize = srcSize;
|
/external/skia/src/core/ |
SkPackBits.cpp | 275 int SkPackBits::Unpack16(const uint8_t SK_RESTRICT src[], size_t srcSize, 278 const uint8_t* stop = src + srcSize; 297 int SkPackBits::Unpack8(const uint8_t SK_RESTRICT src[], size_t srcSize, 300 const uint8_t* stop = src + srcSize;
|
SkBitmap.cpp | 504 bool SkBitmap::copyPixelsFrom(const void* const src, size_t srcSize, 516 srcSize < ComputeSafeSize(getConfig(), fWidth, fHeight, srcRowBytes)) { [all...] |
/external/icu4c/test/cintltst/ |
cbiditst.c | 713 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); 714 int32_t destSize = srcSize*2; 719 pseudoToU16(srcSize,logicalOrder[i],src); 721 ubidi_setPara(bidi,src,srcSize,UBIDI_DEFAULT_LTR ,NULL,&ec); 730 }else if(destSize!=srcSize){ 731 log_err("Pre-flighting did not give expected size: Expected: %d. Got: %d \n",srcSize,destSize); 737 if(destSize!=srcSize){ 738 log_err("ubidi_writeReordered() destSize and srcSize do not match\n"); 748 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); 749 int32_t destSize = srcSize*2 [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
Image.h | 168 virtual void drawFrameMatchingSourceSize(GraphicsContext*, const FloatRect& dstRect, const IntSize& srcSize, ColorSpace styleColorSpace, CompositeOperator) { }
|
BitmapImage.h | 184 virtual void drawFrameMatchingSourceSize(GraphicsContext*, const FloatRect& dstRect, const IntSize& srcSize, ColorSpace styleColorSpace, CompositeOperator);
|
/external/skia/src/effects/ |
SkBlurMask.cpp | 334 size_t srcSize = src.computeImageSize(); 335 if (0 == srcSize) { 338 dst->fImage = SkMask::AllocImage(srcSize);
|
/frameworks/base/media/libstagefright/matroska/ |
MatroskaExtractor.cpp | 441 size_t srcSize = frame->range_length(); 450 while (srcOffset + mNALSizeLen <= srcSize) { 461 if (srcOffset + mNALSizeLen + NALsize > srcSize) { 479 if (srcOffset < srcSize) {
|
/external/llvm/lib/Transforms/Scalar/ |
MemCpyOptimizer.cpp | 593 uint64_t srcSize = TD->getTypeAllocSize(srcAlloca->getAllocatedType()) * 596 if (cpyLen < srcSize) 599 // Check that accessing the first srcSize bytes of dest will not cause a 603 // The destination is an alloca. Check it is larger than srcSize. 611 if (destSize < srcSize) 622 if (destSize < srcSize) 665 if (AA.getModRefInfo(C, cpyDest, srcSize) != AliasAnalysis::NoModRef) [all...] |
/external/opencv/cvaux/src/ |
cvtrifocal.cpp | 474 int srcSize; 477 srcSize = srcMatr->cols; 488 if( src >=0 && src < srcSize ) [all...] |
/dalvik/vm/compiler/codegen/arm/ |
CodegenDriver.cpp | 48 int srcSize, int tgtSize) 57 if (srcSize == 1) { [all...] |