HomeSort by relevance Sort by last modified time
    Searched refs:srcSize (Results 1 - 25 of 33) sorted by null

1 2

  /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 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/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/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/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/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/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/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...]
  /frameworks/av/media/libstagefright/matroska/
MatroskaExtractor.cpp 546 size_t srcSize = frame->range_length();
555 while (srcOffset + mNALSizeLen <= srcSize) {
566 if (srcOffset + mNALSizeLen + NALsize > srcSize) {
584 if (srcOffset < srcSize) {
  /external/skia/legacy/src/effects/
SkBlurMask.cpp 648 size_t srcSize = src.computeImageSize();
649 if (0 == srcSize) {
652 dst->fImage = SkMask::AllocImage(srcSize);

Completed in 1104 milliseconds

1 2