/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/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/include/core/ |
SkPackBits.h | 50 @param srcSize Number of bytes of src to unpack 54 static int Unpack16(const uint8_t src[], size_t srcSize, uint16_t dst[]); 59 @param srcSize Number of bytes of src to unpack 63 static int Unpack8(const uint8_t src[], size_t srcSize, uint8_t dst[]);
|
/external/skia/legacy/include/core/ |
SkPackBits.h | 50 @param srcSize Number of bytes of src to unpack 54 static int Unpack16(const uint8_t src[], size_t srcSize, uint16_t dst[]); 59 @param srcSize Number of bytes of src to unpack 63 static int Unpack8(const uint8_t src[], size_t srcSize, uint8_t dst[]);
|
/external/skia/legacy/src/images/ |
SkImageDecoder_wbmp.cpp | 143 size_t srcSize = height * srcRB; 144 uint8_t* src = dst + decodedBitmap->getSize() - srcSize; 145 if (stream->read(src, srcSize) != srcSize) {
|
/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/chromium/chrome/browser/ui/cocoa/tabs/ |
throbber_view.mm | 121 NSSize srcSize; 126 srcSize = image1Size_; 133 srcSize = image2Size_; 141 NSMakeRect(0, 0, srcSize.width, srcSize.height);
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
3dfx_regs.h | 51 #define SRCSIZE (0x00100000 + 0x58)
|
/external/skia/legacy/src/core/ |
SkPackBits.cpp | 282 int SkPackBits::Unpack16(const uint8_t* SK_RESTRICT src, size_t srcSize, 285 const uint8_t* stop = src + srcSize; 304 int SkPackBits::Unpack8(const uint8_t* SK_RESTRICT src, size_t srcSize, 307 const uint8_t* stop = src + srcSize;
|
/external/skia/src/core/ |
SkPackBits.cpp | 282 int SkPackBits::Unpack16(const uint8_t* SK_RESTRICT src, size_t srcSize, 285 const uint8_t* stop = src + srcSize; 304 int SkPackBits::Unpack8(const uint8_t* SK_RESTRICT src, size_t srcSize, 307 const uint8_t* stop = src + srcSize;
|
/frameworks/rs/ |
rsScriptGroup.h | 84 ScriptKernelID ** src, size_t srcSize,
|
rsScriptGroup.cpp | 195 ScriptKernelID ** src, size_t srcSize, 352 RsScriptKernelID * src, size_t srcSize, 360 (ScriptKernelID **) src, srcSize,
|
/external/icu4c/test/cintltst/ |
cbiditst.c | 729 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); 730 int32_t destSize = srcSize*2; 735 pseudoToU16(srcSize,logicalOrder[i],src); 737 ubidi_setPara(bidi,src,srcSize,UBIDI_DEFAULT_LTR ,NULL,&ec); 746 }else if(destSize!=srcSize){ 747 log_err("Pre-flighting did not give expected size: Expected: %d. Got: %d \n",srcSize,destSize); 753 if(destSize!=srcSize){ 754 log_err("ubidi_writeReordered() destSize and srcSize do not match\n"); 764 int32_t srcSize = (int32_t)strlen(logicalOrder[i]); 765 int32_t destSize = srcSize*2 [all...] |
/external/opencv/cv/src/ |
cvutils.cpp | 484 CvSize srcsize, dstsize; local 505 srcsize = cvGetMatSize(src); 516 icvCopyReplicateBorder_8u( src->data.ptr, srcstep, srcsize, 522 icvCopyReflect101Border_8u( src->data.ptr, srcstep, srcsize, 530 icvCopyConstBorder_8u( src->data.ptr, srcstep, srcsize,
|
_cvipp.h | 201 (const void* src, CvSize srcsize, int srcstep, CvRect srcroi, \ 222 (const void* src, CvSize srcsize, int srcstep, CvRect srcroi, \ 239 (const void* src, CvSize srcsize, int srcstep, CvRect srcroi, \ 257 (const void* src, CvSize srcsize, int srcstep, CvRect srcroi, \ 274 ( const void* src, CvSize srcsize, int srcstep, CvRect srcroi, \ [all...] |
/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);
|
/external/opencv/cxcore/src/ |
cxcopy.cpp | 997 CvSize srcsize, dstsize; local [all...] |
/external/llvm/lib/Transforms/Scalar/ |
MemCpyOptimizer.cpp | 602 uint64_t srcSize = TD->getTypeAllocSize(srcAlloca->getAllocatedType()) * 605 if (cpyLen < srcSize) 608 // Check that accessing the first srcSize bytes of dest will not cause a 612 // The destination is an alloca. Check it is larger than srcSize. 620 if (destSize < srcSize) 631 if (destSize < srcSize) 684 AliasAnalysis::ModRefResult MR = AA.getModRefInfo(C, cpyDest, srcSize); 687 MR = AA.callCapturesBefore(C, cpyDest, srcSize, &DT); [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
Image.h | 168 virtual void drawFrameMatchingSourceSize(GraphicsContext*, const FloatRect& dstRect, const IntSize& srcSize, ColorSpace styleColorSpace, CompositeOperator) { }
|