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

1 2 3

  /external/webkit/Source/WebKit2/Platform/cg/
CGUtilities.cpp 40 size_t imageHeight = CGImageGetHeight(image);
44 CGFloat destY = -static_cast<CGFloat>(imageHeight) - destination.y + source.origin.y;
46 CGContextDrawImage(context, CGRectMake(destX, destY, imageWidth, imageHeight), image);
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
ImageBasedHeightMap.java 96 int imageHeight = colorImage.getHeight();
98 if (imageWidth != imageHeight)
100 + " != imageHeight: " + imageHeight);
106 heightData = new float[(imageWidth * imageHeight)];
112 for (int h = 0; h < imageHeight; ++h) {
126 for (int h = imageHeight - 1; h >= 0; --h) {
  /external/webkit/Source/WebCore/platform/graphics/cairo/
GraphicsContext3DCairo.cpp 87 void GraphicsContext3D::paintToCanvas(const unsigned char* imagePixels, int imageWidth, int imageHeight, int canvasWidth, int canvasHeight, PlatformContextCairo* context)
89 if (!imagePixels || imageWidth <= 0 || imageHeight <= 0 || canvasWidth <= 0 || canvasHeight <= 0 || !context)
100 const_cast<unsigned char*>(imagePixels), CAIRO_FORMAT_ARGB32, imageWidth, imageHeight, imageWidth * 4));
103 cairo_translate(cr, 0, imageHeight);
  /external/webkit/Source/WebCore/platform/chromium/
DragImageChromiumSkia.cpp 63 int imageHeight = scale.height() * image->height();
66 imageWidth, imageHeight));
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DrawUtils.java 102 int imageHeight = image.getBounds().height;
106 if (imageWidth <= targetRectangle.width && imageHeight <= targetRectangle.height) {
108 newImageHeight = imageHeight;
114 double k_h = targetRectangle.height / (double) imageHeight;
119 newImageHeight = (int) (imageHeight * k);
124 gc.drawImage(image, 0, 0, imageWidth, imageHeight, destX, destY, newImageWidth, newImageHeight);
232 int imageHeight = imageBounds.height;
233 if (imageWidth < minWidth && imageHeight < minHeight) {
250 } else if (imageWidth <= maxWidth && imageHeight <= maxHeight) {
254 double kY = (double) maxHeight / imageHeight;
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/
ImageCanvas.java 118 int imageWidth, imageHeight;
121 imageHeight = mImage.getBounds().height;
124 imageHeight = client.height;
128 mVerticalScrollBar.setMaximum(imageHeight);
130 mVerticalScrollBar.setThumb(Math.min(imageHeight, client.height));
133 int vPage = imageHeight - client.height;
  /external/opencv/cv/src/
cvoptflowhs.cpp 108 int imageHeight = imgSize.height;
177 BufferSize = imageHeight * imageWidth;
215 for( i = 1; i < imageHeight - 1; i++ )
226 MemX[0][imageHeight - 1] =
227 MemX[1][imageHeight - 1] = CONV( imgA[pixNumber - imgStep],
238 LastLine = imgStep * (imageHeight - 1);
239 while( ConvLine < imageHeight )
326 for( i = 0; i < imageHeight; i++ )
340 LastLine = velStep * (imageHeight - 1);
351 for( i = 0; i < imageHeight; i++
    [all...]
cvoptflowlk.cpp 111 int imageHeight = imgSize.height;
156 if( imageHeight < winHeight )
252 for( i = 1; i < imageHeight - 1; i++ )
263 MemX[0][imageHeight - 1] =
264 MemX[1][imageHeight - 1] = CONV( imgA[pixNumber - imgStep],
276 while( PixelLine < imageHeight )
278 if( ConvLine < imageHeight )
292 if( L3 >= imageHeight )
293 L3 = imageHeight - 1;
464 if( PixelLine >= imageHeight - VerRadius
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/cg/
GraphicsContext3DCG.cpp 257 void GraphicsContext3D::paintToCanvas(const unsigned char* imagePixels, int imageWidth, int imageHeight, int canvasWidth, int canvasHeight, CGContextRef context)
259 if (!imagePixels || imageWidth <= 0 || imageHeight <= 0 || canvasWidth <= 0 || canvasHeight <= 0 || !context)
262 RetainPtr<CGDataProviderRef> dataProvider(AdoptCF, CGDataProviderCreateWithData(0, imagePixels, rowBytes * imageHeight, 0));
263 RetainPtr<CGImageRef> cgImage(AdoptCF, CGImageCreate(imageWidth, imageHeight, 8, 32, rowBytes, deviceRGBColorSpaceRef(), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host,
  /development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
ImageResizer.java 46 * @param imageHeight
48 public ImageResizer(Context context, int imageWidth, int imageHeight) {
50 setImageSize(imageWidth, imageHeight);
ImageFetcher.java 60 * @param imageHeight
62 public ImageFetcher(Context context, int imageWidth, int imageHeight) {
63 super(context, imageWidth, imageHeight);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageControl.java 183 int imageHeight = imageRect.height;
186 int destHeight = imageHeight;
197 gc.drawImage(mImage, 0, 0, imageWidth, imageHeight, rect.x + mLeftMargin, rect.y
LayoutCanvas.java 381 int imageHeight = imageData.height;
384 int fullHeight = imageHeight;
402 clientHeight = imageHeight;
413 mVScale.setSize(imageHeight, fullHeight, clientHeight);
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageGeometry.java 108 float imageHeight = mLocalGeometry.getPhotoBounds().height();
109 return GeometryMath.scale(imageWidth, imageHeight, width, height);
117 float imageHeight = imageBounds.height();
123 mYOffset = (displayHeight - imageHeight) / 2.0f;
494 float imageHeight = cropBounds.height();
495 float scale = GeometryMath.scale(imageWidth, imageHeight, getWidth(), getHeight());
498 scale = GeometryMath.scale(imageWidth, imageHeight, getHeight(), getWidth());
GeometryMetadata.java 312 float imageHeight = cropBounds.height();
328 float scale = GeometryMath.scale(imageWidth, imageHeight, viewWidth, viewHeight);
331 scale = GeometryMath.scale(imageWidth, imageHeight, viewHeight, viewWidth);
  /hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/
Exynos_OMX_Vdec.h 81 OMX_U32 imageHeight;
  /packages/apps/Gallery/src/com/android/camera/
GalleryPicker.java 621 int imageWidth, int widthPadding, int imageHeight,
628 int yPos = (row * (imageHeight + heightPadding)) - offsetY;
644 int imageHeight = height;
650 imageHeight = (imageHeight - padding) / 2; // per row and column
705 imageHeight, true, Util.RECYCLE_INPUT);
708 Bitmap thumb = Bitmap.createBitmap(imageWidth, imageHeight,
714 mCellOutline.setBounds(0, 0, imageWidth, imageHeight);
717 placeImage(thumb, c, pdpaint, imageWidth, padding, imageHeight,
  /external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/
RenderDeviceJme.java 268 float imageHeight = jmeImage.getHeight();
272 float startY = srcY / imageHeight;
274 float endY = startY + (srcH / imageHeight);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SwtUtilsTest.java 325 * @param imageHeight the height of the target image
328 private Image createSampleImage(int imageWidth, int imageHeight) {
332 ImageData data = new ImageData(imageWidth, imageHeight, 32, new PaletteData(0x00FF0000,
334 for (int y = 0; y < imageHeight; y++) {
  /external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/
xf86dga.h 69 int imageHeight;
  /prebuilts/devtools/tools/lib/
ninepatch.jar 
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
XmlPropertyEditor.java 245 int imageHeight = awtImage.getHeight();
248 if (imageWidth > maxWidth || imageHeight > height) {
249 double scale = height / (double) imageHeight;
281 int imageHeight = imageData.height;
282 if (imageWidth > 0 && imageHeight > 0) {
283 gc.drawImage(swtImage, x, y + (height - imageHeight) / 2);
  /external/webkit/Source/WebCore/rendering/
RenderBoxModelObject.cpp     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
FingerPrintGraph.java 86 int imageHeight;
555 this.imageHeight = this.graphHeight + GAP + 16 + MARGIN;
556 this.image = new Image(DEFAULT_DISPLAY, this.imageWidth, this.imageHeight);
561 this.gc.fillRectangle(0, 0, this.imageWidth, this.imageHeight);
  /external/skia/legacy/src/images/
SkImageDecoder_libjpeg.cpp 81 int imageHeight;
534 this->imageHeight = *height;
545 SkIRect rect = SkIRect::MakeWH(this->imageWidth, this->imageHeight);
    [all...]

Completed in 717 milliseconds

1 2 3