/external/skia/src/effects/ |
D | SkOffsetImageFilter.cpp | 23 SkIPoint srcOffset = SkIPoint::Make(0, 0); local 29 if (input && !input->filterImage(proxy, source, ctx, &src, &srcOffset)) { 36 offset->fX = srcOffset.fX + SkScalarRoundToInt(vec.fX); 37 offset->fY = srcOffset.fY + SkScalarRoundToInt(vec.fY); 40 if (input && !input->filterImage(proxy, source, ctx, &src, &srcOffset)) { 45 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) { 56 canvas.translate(SkIntToScalar(srcOffset.fX - bounds.fLeft), 57 SkIntToScalar(srcOffset.fY - bounds.fTop));
|
D | SkTileImageFilter.cpp | 24 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local 25 if (input && !input->filterImage(proxy, src, ctx, &source, &srcOffset)) { in onFilterImage() 43 srcIRect.offset(-srcOffset); in onFilterImage() 64 shaderMatrix.setTranslate(SkIntToScalar(srcOffset.fX), in onFilterImage() 65 SkIntToScalar(srcOffset.fY)); in onFilterImage()
|
D | SkColorFilterImageFilter.cpp | 106 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local 107 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { in onFilterImage() 112 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) { in onFilterImage() 125 canvas.drawSprite(src, srcOffset.fX - bounds.fLeft, srcOffset.fY - bounds.fTop, &paint); in onFilterImage()
|
D | SkDropShadowImageFilter.cpp | 69 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local 70 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) in onFilterImage() 74 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) { in onFilterImage() 97 canvas.translate(SkIntToScalar(srcOffset.fX - bounds.fLeft), in onFilterImage() 98 SkIntToScalar(srcOffset.fY - bounds.fTop)); in onFilterImage()
|
D | SkBlurImageFilter.cpp | 147 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local 148 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { in onFilterImage() 157 if (!this->applyCropRect(ctx, proxy, src, &srcOffset, &srcBounds, &src)) { in onFilterImage() 199 srcBounds.offset(-srcOffset); in onFilterImage() 262 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGPU() local 263 if (getInput(0) && !getInput(0)->getInputResultGPU(proxy, src, ctx, &input, &srcOffset)) { in filterImageGPU() 267 if (!this->applyCropRect(ctx, proxy, input, &srcOffset, &rect, &input)) { in filterImageGPU() 277 rect.offset(-srcOffset); in filterImageGPU()
|
D | SkMatrixImageFilter.cpp | 53 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local 54 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { in onFilterImage() 61 srcBounds.offset(srcOffset); in onFilterImage()
|
D | SkMorphologyImageFilter.cpp | 147 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGeneric() local 148 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { in filterImageGeneric() 157 if (!this->applyCropRect(ctx, proxy, src, &srcOffset, &bounds, &src)) { in filterImageGeneric() 181 srcBounds.offset(-srcOffset); in filterImageGeneric() 540 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGPUGeneric() local 541 if (getInput(0) && !getInput(0)->getInputResultGPU(proxy, src, ctx, &input, &srcOffset)) { in filterImageGPUGeneric() 545 if (!this->applyCropRect(ctx, proxy, input, &srcOffset, &bounds, &input)) { in filterImageGPUGeneric() 559 srcBounds.offset(-srcOffset); in filterImageGPUGeneric()
|
D | SkBicubicImageFilter.cpp | 89 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local 90 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { in onFilterImage() 116 srcRect.offset(SkPoint::Make(SkIntToScalar(srcOffset.fX), SkIntToScalar(srcOffset.fY))); in onFilterImage()
|
D | SkMatrixConvolutionImageFilter.cpp | 262 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local 263 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { in onFilterImage() 272 if (!this->applyCropRect(ctx, proxy, src, &srcOffset, &bounds, &src)) { in onFilterImage() 291 bounds.offset(-srcOffset); in onFilterImage()
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkOffsetImageFilter.cpp | 23 SkIPoint srcOffset = SkIPoint::Make(0, 0); local 29 if (input && !input->filterImage(proxy, source, ctx, &src, &srcOffset)) { 36 offset->fX = srcOffset.fX + SkScalarRoundToInt(vec.fX); 37 offset->fY = srcOffset.fY + SkScalarRoundToInt(vec.fY); 40 if (input && !input->filterImage(proxy, source, ctx, &src, &srcOffset)) { 45 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) { 56 canvas.translate(SkIntToScalar(srcOffset.fX - bounds.fLeft), 57 SkIntToScalar(srcOffset.fY - bounds.fTop));
|
D | SkTileImageFilter.cpp | 32 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local 33 if (input && !input->filterImage(proxy, src, ctx, &source, &srcOffset)) { in onFilterImage() 51 srcIRect.offset(-srcOffset); in onFilterImage() 72 shaderMatrix.setTranslate(SkIntToScalar(srcOffset.fX), in onFilterImage() 73 SkIntToScalar(srcOffset.fY)); in onFilterImage()
|
D | SkColorFilterImageFilter.cpp | 113 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local 114 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { in onFilterImage() 119 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) { in onFilterImage() 132 canvas.drawSprite(src, srcOffset.fX - bounds.fLeft, srcOffset.fY - bounds.fTop, &paint); in onFilterImage()
|
D | SkBlurImageFilter.cpp | 164 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local 165 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { in onFilterImage() 174 if (!this->applyCropRect(ctx, proxy, src, &srcOffset, &srcBounds, &src)) { in onFilterImage() 213 srcBounds.offset(-srcOffset); in onFilterImage() 275 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGPU() local 276 if (getInput(0) && !getInput(0)->getInputResultGPU(proxy, src, ctx, &input, &srcOffset)) { in filterImageGPU() 280 if (!this->applyCropRect(ctx, proxy, input, &srcOffset, &rect, &input)) { in filterImageGPU() 287 rect.offset(-srcOffset); in filterImageGPU()
|
D | SkDropShadowImageFilter.cpp | 70 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local 71 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) in onFilterImage() 75 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) { in onFilterImage() 98 canvas.translate(SkIntToScalar(srcOffset.fX - bounds.fLeft), in onFilterImage() 99 SkIntToScalar(srcOffset.fY - bounds.fTop)); in onFilterImage()
|
D | SkMatrixImageFilter.cpp | 65 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local 66 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { in onFilterImage() 73 srcBounds.offset(srcOffset); in onFilterImage()
|
D | SkMorphologyImageFilter.cpp | 150 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGeneric() local 151 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { in filterImageGeneric() 160 if (!this->applyCropRect(ctx, proxy, src, &srcOffset, &bounds, &src)) { in filterImageGeneric() 184 srcBounds.offset(-srcOffset); in filterImageGeneric() 564 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGPUGeneric() local 565 if (getInput(0) && !getInput(0)->getInputResultGPU(proxy, src, ctx, &input, &srcOffset)) { in filterImageGPUGeneric() 569 if (!this->applyCropRect(ctx, proxy, input, &srcOffset, &bounds, &input)) { in filterImageGPUGeneric() 583 srcBounds.offset(-srcOffset); in filterImageGPUGeneric()
|
D | SkMatrixConvolutionImageFilter.cpp | 313 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local 314 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { in onFilterImage() 323 if (!this->applyCropRect(ctx, proxy, src, &srcOffset, &bounds, &src)) { in onFilterImage() 342 bounds.offset(-srcOffset); in onFilterImage()
|
/external/smack/src/org/jivesoftware/smack/util/ |
D | Base64.java | 375 byte[] source, int srcOffset, int numSigBytes, in encode3to4() argument 391 int inBuff = ( numSigBytes > 0 ? ((source[ srcOffset ] << 24) >>> 8) : 0 ) in encode3to4() 392 | ( numSigBytes > 1 ? ((source[ srcOffset + 1 ] << 24) >>> 16) : 0 ) in encode3to4() 393 | ( numSigBytes > 2 ? ((source[ srcOffset + 2 ] << 24) >>> 24) : 0 ); in encode3to4() 727 …private static int decode4to3( byte[] source, int srcOffset, byte[] destination, int destOffset, i… in decode4to3() argument 732 if( source[ srcOffset + 2] == EQUALS_SIGN ) in decode4to3() 737 int outBuff = ( ( DECODABET[ source[ srcOffset ] ] & 0xFF ) << 18 ) in decode4to3() 738 | ( ( DECODABET[ source[ srcOffset + 1] ] & 0xFF ) << 12 ); in decode4to3() 745 else if( source[ srcOffset + 3 ] == EQUALS_SIGN ) in decode4to3() 751 int outBuff = ( ( DECODABET[ source[ srcOffset ] ] & 0xFF ) << 18 ) in decode4to3() [all …]
|
/external/skia/src/core/ |
D | SkImageFilter.cpp | 174 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGPU() local 176 !this->getInput(0)->getInputResultGPU(proxy, src, ctx, &input, &srcOffset)) { in filterImageGPU() 181 if (!this->applyCropRect(ctx, proxy, input, &srcOffset, &bounds, &input)) { in filterImageGPU() 202 bounds.offset(-srcOffset); in filterImageGPU() 221 const SkIPoint& srcOffset, SkIRect* bounds) const { in applyCropRect() argument 224 srcBounds.offset(srcOffset); in applyCropRect() 242 SkIPoint* srcOffset, SkIRect* bounds, SkBitmap* dst) const { in applyCropRect() argument 245 srcBounds.offset(*srcOffset); in applyCropRect() 269 canvas.drawBitmap(src, srcOffset->x() - bounds->x(), srcOffset->y() - bounds->y()); in applyCropRect() 270 *srcOffset = SkIPoint::Make(bounds->x(), bounds->y()); in applyCropRect()
|
/external/deqp/modules/gles3/functional/ |
D | es3fBufferCopyTests.cpp | 182 int srcOffset; in iterate() member 195 int srcOffset = copyRanges[ndx].srcOffset; in iterate() local 207 deMemcpy(ref.getPtr()+dstOffset, ref.getPtr()+srcOffset, copySize); in iterate() 210 glCopyBufferSubData(m_srcTarget, m_dstTarget, srcOffset, dstOffset, copySize); in iterate() 287 int srcOffset; in init() member 312 cases[ndx].srcOffset, cases[ndx].dstOffset, cases[ndx].copySize, in init()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkImageFilter.cpp | 238 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGPU() local 240 !this->getInput(0)->getInputResultGPU(proxy, src, ctx, &input, &srcOffset)) { in filterImageGPU() 245 if (!this->applyCropRect(ctx, proxy, input, &srcOffset, &bounds, &input)) { in filterImageGPU() 269 bounds.offset(-srcOffset); in filterImageGPU() 287 const SkIPoint& srcOffset, SkIRect* bounds) const { in applyCropRect() argument 290 srcBounds.offset(srcOffset); in applyCropRect() 308 SkIPoint* srcOffset, SkIRect* bounds, SkBitmap* dst) const { in applyCropRect() argument 311 srcBounds.offset(*srcOffset); in applyCropRect() 335 canvas.drawBitmap(src, srcOffset->x() - bounds->x(), srcOffset->y() - bounds->y()); in applyCropRect() 336 *srcOffset = SkIPoint::Make(bounds->x(), bounds->y()); in applyCropRect()
|
/external/skia/gm/ |
D | imagefiltersgraph.cpp | 36 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local 37 if (NULL != input && !input->filterImage(proxy, src, ctx, &source, &srcOffset)) { in onFilterImage() 42 if (!this->applyCropRect(ctx, proxy, source, &srcOffset, &bounds, &source)) { in onFilterImage()
|
/external/chromium_org/third_party/skia/gm/ |
D | imagefiltersgraph.cpp | 48 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local 49 if (input && !input->filterImage(proxy, src, ctx, &source, &srcOffset)) { in onFilterImage() 54 if (!this->applyCropRect(ctx, proxy, source, &srcOffset, &bounds, &source)) { in onFilterImage()
|
/external/skia/include/core/ |
D | SkImageFilter.h | 255 bool applyCropRect(const Context&, const SkBitmap& src, const SkIPoint& srcOffset, 266 bool applyCropRect(const Context&, Proxy* proxy, const SkBitmap& src, SkIPoint* srcOffset,
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkImageFilter.h | 277 bool applyCropRect(const Context&, const SkBitmap& src, const SkIPoint& srcOffset, 288 bool applyCropRect(const Context&, Proxy* proxy, const SkBitmap& src, SkIPoint* srcOffset,
|