/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/ |
sample.rs | 34 float destY = (float)rsAllocationGetDimY(destAlloc) - 1.0f; 38 uv.y = (float)y / destY;
|
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/mac/ |
ConvertPoint.cpp | 41 double destX, destY; 42 if (!NPN_ConvertPoint(x, y, sourceSpace, &destX, &destY, destSpace)) 47 if (!NPN_ConvertPoint(destX, destY, destSpace, &srcX, &srcY, sourceSpace))
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
ImageBufferAndroid.cpp | 160 int desty = 0; local 162 desty = -originy; 174 unsigned char* destRows = data + desty * destBytesPerRow + destx * 4; 220 int desty = destPoint.y() + sourceRect.y(); local 221 ASSERT(desty >= 0); 222 ASSERT(desty < m_size.height()); 228 int numRows = endy - desty; 234 SkPMColor* dstRows = dst.getAddr32(destx, desty);
|
/external/webkit/Source/WebKit2/Platform/cg/ |
CGUtilities.cpp | 44 CGFloat destY = -static_cast<CGFloat>(imageHeight) - destination.y + source.origin.y; 46 CGContextDrawImage(context, CGRectMake(destX, destY, imageWidth, imageHeight), image);
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
ImageBufferCairo.cpp | 183 int desty = 0; local 185 desty = -originy; 196 unsigned char* destRows = dataDst + desty * destBytesPerRow + destx * 4; 251 int desty = destPoint.y() + sourceRect.y(); local 252 ASSERT(desty >= 0); 253 ASSERT(desty < size.height()); 259 int numRows = endy - desty; 266 unsigned* row = reinterpret_cast<unsigned*>(dataDst + stride * (y + desty)); 282 destx, desty,
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
ImageBufferDataCG.cpp | 135 int desty = 0; local 137 desty = -originy; 149 unsigned char* destRows = data + desty * destBytesPerRow + destx * 4; 273 int desty = destPoint.y() + sourceRect.y(); local 274 ASSERT(desty >= 0); 275 ASSERT(desty < size.height()); 281 int height = endy - desty; 293 destRows = reinterpret_cast<unsigned char*>(m_data) + desty * destBytesPerRow + destx * 4; 333 destRows = (unsigned char*)(IOSurfaceGetBaseAddress(surface)) + desty * destBytesPerRow + destx * 4;
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
ImageBufferSkia.cpp | 208 int destY = 0; 210 destY = -originY; 228 unsigned char* destRow = data + destY * destBytesPerRow + destX * 4; 289 int destY = destPoint.y() + sourceRect.y(); 290 ASSERT(destY >= 0); 291 ASSERT(destY < size.height()); 297 int numRows = endY - destY; 313 deviceBitmap.extractSubset(&destBitmap, SkIRect::MakeXYWH(destX, destY, numColumns, numRows)); 336 dstDevice->writePixels(destBitmap, destX, destY);
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
ImageBufferQt.cpp | 221 int desty = 0; local 223 desty = -originy; 239 quint32* destRows = reinterpret_cast_ptr<quint32*>(&data[desty * rect.width() * 4 + destx * 4]); 324 int desty = destPoint.y() + sourceRect.y(); local 325 ASSERT(desty >= 0); 326 ASSERT(desty < size.height()); 332 int numRows = endy - desty; 378 data.m_painter->drawImage(destx, desty, image);
|
/frameworks/av/media/libstagefright/yuv/ |
YUVCanvas.cpp | 72 int32_t destY = destStartY + offsetY; 79 mYUVImage.setPixelValue(destX, destY, yValue, uValue, vValue);
|
/external/webkit/Source/WebCore/platform/image-decoders/ |
ImageDecoder.h | 106 for (int destY = startY + 1; destY < endY; ++destY) 107 memcpy(getAddr(startX, destY), startAddr, rowBytes);
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/mac/ |
NetscapePluginMac.mm | 95 NPBool NetscapePlugin::convertPoint(double sourceX, double sourceY, NPCoordinateSpace sourceSpace, double& destX, double& destY, NPCoordinateSpace destSpace) 99 destY = sourceY; 136 destY = m_windowFrameInScreenCoordinates.y() + m_viewFrameInWindowCoordinates.y() + m_viewFrameInWindowCoordinates.height() - (sourceYInScreenSpace + m_npWindow.y); 140 destY = sourceYInScreenSpace - m_windowFrameInScreenCoordinates.y(); 144 destY = sourceYInScreenSpace - m_windowFrameInScreenCoordinates.y(); 145 destY = m_windowFrameInScreenCoordinates.height() - destY; 149 destY = sourceYInScreenSpace; 153 destY = flipScreenYCoordinate(sourceYInScreenSpace);
|
/external/skia/legacy/src/images/ |
SkImageDecoder.cpp | 194 int sampleSize, int destX, int destY, 220 (srcY - destY) / sampleSize,
|
/external/skia/src/images/ |
SkImageDecoder.cpp | 198 int sampleSize, int destX, int destY, 224 (srcY - destY) / sampleSize,
|
/external/webkit/Source/WebKit/mac/Plugins/ |
npapi.mm | 215 NPBool NPN_ConvertPoint(NPP instance, double sourceX, double sourceY, NPCoordinateSpace sourceSpace, double *destX, double *destY, NPCoordinateSpace destSpace) 217 return [pluginViewForInstance(instance) convertFromX:sourceX andY:sourceY space:sourceSpace toX:destX andY:destY space:destSpace];
|
WebBaseNetscapePluginView.h | 140 toX:(double *)destX andY:(double *)destY space:(NPCoordinateSpace)destSpace;
|
WebBaseNetscapePluginView.mm | 857 toX:(double *)destX andY:(double *)destY space:(NPCoordinateSpace)destSpace 863 if (destY) 864 *destY = sourceY; 933 if (destY) 934 *destY = destPoint.y;
|
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/ |
PluginTest.cpp | 152 bool PluginTest::NPN_ConvertPoint(double sourceX, double sourceY, NPCoordinateSpace sourceSpace, double *destX, double *destY, NPCoordinateSpace destSpace) 154 return browser->convertpoint(m_npp, sourceX, sourceY, sourceSpace, destX, destY, destSpace);
|
PluginTest.h | 77 bool NPN_ConvertPoint(double sourceX, double sourceY, NPCoordinateSpace sourceSpace, double *destX, double *destY, NPCoordinateSpace destSpace);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
DrawUtils.java | 123 int destY = targetRectangle.y + (targetRectangle.height - newImageHeight) / 2; 124 gc.drawImage(image, 0, 0, imageWidth, imageHeight, destX, destY, newImageWidth, newImageHeight); 316 int destY = srcData.width - srcX - 1; 317 int destIndex = destY * destBytesPerLine + destX * bytesPerPixel;
|
/external/webkit/Source/WebCore/platform/image-decoders/jpeg/ |
JPEGImageDecoder.cpp | 485 int destY = scaledY(sourceY); 486 if (destY < 0) 492 buffer.setRGBA(x, destY, jsample[0], jsample[1], jsample[2], 0xFF); 504 buffer.setRGBA(x, destY, jsample[0] * k / 255, jsample[1] * k / 255, jsample[2] * k / 255, 0xFF);
|
/external/webkit/Source/WebCore/platform/image-decoders/png/ |
PNGImageDecoder.cpp | 399 int destY = scaledY(rowIndex); 402 if (destY < 0 || destY >= scaledSize().height()) 408 buffer.setRGBA(x, destY, pixel[0], pixel[1], pixel[2], alpha);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/ |
ImageCanvas.java | 182 int destY = -selection - mOrigin.y; 184 scroll(0, destY, 0, 0, imageBounds.width, imageBounds.height, false);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageOverlay.java | 285 int destY = vi.translate(0); 291 destX, destY, destWidth, destHeight); 294 SwtUtils.drawRectangleShadow(gc, destX, destY, destWidth, destHeight);
|
/external/webkit/Source/WebKit/mac/Plugins/Hosted/ |
WebKitPluginClient.defs | 96 out destY :double);
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/ |
NetscapePlugin.h | 56 NPBool convertPoint(double sourceX, double sourceY, NPCoordinateSpace sourceSpace, double& destX, double& destY, NPCoordinateSpace destSpace);
|