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

  /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/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 143 size_t srcSize = height * srcRB;
144 uint8_t* src = dst + decodedBitmap->getSize() - srcSize;
145 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 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/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/icu4c/test/cintltst/
cbiditst.c 720 int32_t srcSize = (int32_t)strlen(logicalOrder[i]);
721 int32_t destSize = srcSize*2;
726 pseudoToU16(srcSize,logicalOrder[i],src);
728 ubidi_setPara(bidi,src,srcSize,UBIDI_DEFAULT_LTR ,NULL,&ec);
737 }else if(destSize!=srcSize){
738 log_err("Pre-flighting did not give expected size: Expected: %d. Got: %d \n",srcSize,destSize);
744 if(destSize!=srcSize){
745 log_err("ubidi_writeReordered() destSize and srcSize do not match\n");
755 int32_t srcSize = (int32_t)strlen(logicalOrder[i]);
756 int32_t destSize = srcSize*2
    [all...]
  /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...]
  /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/src/effects/
SkBlurMask.cpp 648 size_t srcSize = src.computeImageSize();
649 if (0 == srcSize) {
652 dst->fImage = SkMask::AllocImage(srcSize);
  /external/skia/src/ports/
SkFontHost_mac_coretext.cpp     [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...]

Completed in 362 milliseconds