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

1 2

  /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 108 int imageWidth, imageHeight;
111 imageHeight = mImage.getBounds().height;
114 imageHeight = client.height;
118 mVerticalScrollBar.setMaximum(imageHeight);
120 mVerticalScrollBar.setThumb(Math.min(imageHeight, client.height));
123 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...]
  /development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
ImageResizer.java 42 * @param imageHeight
44 public ImageResizer(Context context, int imageWidth, int imageHeight) {
46 setImageSize(imageWidth, imageHeight);
ImageFetcher.java 50 * @param imageHeight
52 public ImageFetcher(Context context, int imageWidth, int imageHeight) {
53 super(context, imageWidth, imageHeight);
  /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,
  /sdk/assetstudio/tests/src/com/android/assetstudiolib/
GeneratorTest.java 109 int imageHeight = Math.min(goldenImage.getHeight(), image.getHeight());
118 int height = imageHeight;
124 for (int y = 0; y < imageHeight; y++) {
159 long total = imageHeight * imageWidth * 3L * 256L;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageControl.java 155 int imageHeight = imageRect.height;
158 int destHeight = imageHeight;
169 gc.drawImage(mImage, 0, 0, imageWidth, imageHeight, rect.x + mLeftMargin, rect.y
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
XmlPropertyEditor.java 219 int imageHeight = awtImage.getHeight();
222 if (imageWidth > maxWidth || imageHeight > height) {
223 double scale = height / (double) imageHeight;
255 int imageHeight = imageData.height;
256 if (imageWidth > 0 && imageHeight > 0) {
257 gc.drawImage(swtImage, x, y + (height - imageHeight) / 2);
  /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.12/src/video/Xext/extensions/
xf86dga.h 69 int imageHeight;
  /prebuilt/common/ninepatch/
ninepatch-prebuilt.jar 
  /external/webkit/Source/WebCore/rendering/
RenderBoxModelObject.cpp     [all...]
  /sdk/ninepatch/src/com/android/ninepatch/
NinePatchChunk.java 360 private List<Rectangle> getVerticalRectangles(int imageHeight,
367 rectangles.add(new Rectangle(x, 0, width, imageHeight));
  /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);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
GlobalScreenshot.java 117 int imageHeight = data.image.getHeight();
120 final int shortSide = imageWidth < imageHeight ? imageWidth : imageHeight;
129 (shortSide - imageHeight) / 2);
  /external/skia/src/images/
SkImageDecoder_libjpeg.cpp 81 int imageHeight;
534 this->imageHeight = *height;
545 SkIRect rect = SkIRect::MakeWH(this->imageWidth, this->imageHeight);
    [all...]
  /external/v8/benchmarks/
raytrace.js 881 var imageHeight = 100; // $F('imageHeight');
892 canvasHeight: imageHeight,

Completed in 3107 milliseconds

1 2