/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
BitmapUtil.java | 149 int srcX, srcY; 154 srcY = (int) (srcHeight * verticalCenterPercent - srcCroppedH / 2); 156 // Nudge srcX and srcY to be within the bounds of src 158 srcY = Math.max(Math.min(srcY, srcHeight - srcCroppedH), 0); 160 final Bitmap cropped = Bitmap.createBitmap(src, srcX, srcY, srcCroppedW, srcCroppedH, m, 166 srcWidth, srcHeight, w, h, srcX, srcY, srcCroppedW, srcCroppedH, scale,
|
/external/chromium_org/third_party/skia/src/core/ |
SkSpriteBlitterTemplate.h | 21 int srcY = y - fTop; 24 fSource->SkSPRITE_SRC_GETADDR(srcX, srcY); 29 SkDEBUGCODE((void)fSource->SkSPRITE_SRC_GETADDR(srcX + width - 1, srcY + height - 1);) 31 SkSPRITE_PREAMBLE((*fSource), srcX, srcY);
|
SkBitmapFilter.cpp | 47 for (int srcY = y0; srcY < y1; srcY++) { 48 SkScalar yWeight = s.getBitmapFilter()->lookupScalar((srcPt.fY - srcY)); 55 SkPMColor c = *s.fBitmap->getAddr32(srcX, srcY);
|
/external/skia/src/core/ |
SkSpriteBlitterTemplate.h | 21 int srcY = y - fTop; 24 fSource->SkSPRITE_SRC_GETADDR(srcX, srcY); 29 SkDEBUGCODE((void)fSource->SkSPRITE_SRC_GETADDR(srcX + width - 1, srcY + height - 1);) 31 SkSPRITE_PREAMBLE((*fSource), srcX, srcY);
|
SkBitmapFilter.cpp | 47 for (int srcY = y0; srcY < y1; srcY++) { 48 SkScalar yWeight = s.getBitmapFilter()->lookupScalar((srcPt.fY - srcY)); 55 SkPMColor c = *s.fBitmap->getAddr32(srcX, srcY);
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
SDL_fb3dfx.c | 101 int srcX, srcY; 122 srcY = srcrect->y; 133 if ( srcY <= dstY ) { 135 srcY += (dstrect->h - 1); 158 tdfx_out32(LAUNCH_2D, srcX | (srcY << 16));
|
SDL_fbmatrox.c | 125 int srcX, srcY; 148 FB_dst_to_xy(this, src, &srcX, &srcY); 153 srcY += srcrect->y; 163 if ( srcY < dstY ) { 165 srcY += (h - 1); 170 stop = start = (srcY * pitch) + srcX; 176 if ( srcY < dstY ) {
|
SDL_fbriva.c | 115 int srcX, srcY; 136 FB_dst_to_xy(this, src, &srcX, &srcY); 141 srcY += srcrect->y; 146 Blt->TopLeftSrc = (srcY << 16) | srcX;
|
/frameworks/av/media/libstagefright/yuv/ |
YUVCanvas.cpp | 69 int32_t srcY = srcStartY + offsetY; 78 srcImage.getPixelValue(srcX, srcY, &yValue, &uValue, &vValue); 98 int32_t srcY = srcOffsetY; 102 srcImage.getPixelValue(srcX, srcY, &yValue, &uValue, &vValue); 107 srcY += skipY;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
xorg_composite.h | 22 int srcX, int srcY, int maskX, int maskY,
|
xorg_renderer.c | 140 float srcX, float srcY, float dstX, float dstY, 148 pt0[1] = srcY; 150 pt1[1] = srcY; 152 pt2[1] = (srcY + height); 154 pt3[1] = (srcY + height); 210 float srcX, float srcY, float maskX, float maskY, 222 spt0[1] = srcY; 224 spt1[1] = srcY; 226 spt2[1] = (srcY + height); 228 spt3[1] = (srcY + height) [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_composite.h | 22 int srcX, int srcY, int maskX, int maskY,
|
xorg_renderer.c | 140 float srcX, float srcY, float dstX, float dstY, 148 pt0[1] = srcY; 150 pt1[1] = srcY; 152 pt2[1] = (srcY + height); 154 pt3[1] = (srcY + height); 210 float srcX, float srcY, float maskX, float maskY, 222 spt0[1] = srcY; 224 spt1[1] = srcY; 226 spt2[1] = (srcY + height); 228 spt3[1] = (srcY + height) [all...] |
/hardware/intel/img/hwcomposer/ips/common/ |
OverlayPlaneBase.cpp | 347 int srcX, srcY, srcW, srcH; 361 srcY = grallocMapper.getCrop().y; 373 checkCrop(srcX, srcY, srcW, srcH, payload->coded_width, payload->coded_height); 425 buf.setCrop(srcX, srcY, srcW, srcH); 476 if (mapper->getCrop().x != srcX || mapper->getCrop().y != srcY || 478 checkCrop(srcX, srcY, srcW, srcH, payload->coded_width, payload->coded_height); 479 mapper->setCrop(srcX, srcY, srcW, srcH); 616 void OverlayPlaneBase::checkCrop(int& srcX, int& srcY, int& srcW, int& srcH, 630 srcX = srcY; 631 srcY = tmp [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
xa_renderer.c | 187 float srcX, float srcY, float dstX, float dstY, 195 pt0[1] = srcY; 197 pt1[1] = srcY; 199 pt2[1] = (srcY + height); 201 pt3[1] = (srcY + height); 231 float srcX, float srcY, float maskX, float maskY, 243 spt0[1] = srcY; 245 spt1[1] = srcY + height; 289 float srcY, 301 spt0[1] = srcY; [all...] |
xa_composite.h | 135 int srcX, int srcY, int maskX, int maskY,
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_renderer.c | 187 float srcX, float srcY, float dstX, float dstY, 195 pt0[1] = srcY; 197 pt1[1] = srcY; 199 pt2[1] = (srcY + height); 201 pt3[1] = (srcY + height); 231 float srcX, float srcY, float maskX, float maskY, 243 spt0[1] = srcY; 245 spt1[1] = srcY + height; 289 float srcY, 301 spt0[1] = srcY; [all...] |
xa_composite.h | 135 int srcX, int srcY, int maskX, int maskY,
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
FEDisplacementMap.cpp | 149 int srcY = y + static_cast<int>(scaleForColorY * srcPixelArrayB->item(dstIndex + m_yChannelSelector - 1) + scaledOffsetY); 151 if (srcX < 0 || srcX >= paintSize.width() || srcY < 0 || srcY >= paintSize.height()) { 154 unsigned char pixelValue = srcPixelArrayA->item(srcY * stride + srcX * 4 + channel);
|
/external/chromium_org/third_party/skia/src/images/ |
SkScaledBitmapSampler.h | 63 bool sampleInterlaced(const uint8_t* SK_RESTRICT src, int srcY);
|
/external/skia/src/images/ |
SkScaledBitmapSampler.h | 63 bool sampleInterlaced(const uint8_t* SK_RESTRICT src, int srcY);
|
/hardware/intel/img/hwcomposer/ips/anniedale/ |
AnnOverlayPlane.cpp | 233 uint32_t srcY= mapper.getCrop().y; 260 yTileOffsetY = srcY; 262 uTileOffsetY = srcY / 2; 271 yTileOffsetY = srcY; 273 uTileOffsetY = srcY / 2; 283 yTileOffsetY = srcY; 285 uTileOffsetY = srcY / 2 + h; 296 yTileOffsetY = srcY; 298 uTileOffsetY = srcY / 2; 307 yTileOffsetY = srcY; [all...] |
AnnRGBPlane.cpp | 141 int srcX, srcY, srcW, srcH; 167 srcY = mapper.getCrop().y; 173 linoff = srcY * stride + srcX * bpp + (mapper.getCrop().h - 1) * stride + (mapper.getCrop().w - 1) * bpp; 175 linoff = srcY * stride + srcX * bpp; 214 mContext.ctx.sp_ctx.tileoff = (srcY & 0xfff) << 16 | (srcX & 0xfff);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
image.h | 112 GLint *srcX, GLint *srcY, 119 GLint *srcX, GLint *srcY,
|
/external/mesa3d/src/mesa/main/ |
image.h | 112 GLint *srcX, GLint *srcY, 119 GLint *srcX, GLint *srcY,
|