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

1 2

  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
ImageBasedHeightMap.java 95 int imageWidth = colorImage.getWidth();
98 if (imageWidth != imageHeight)
99 throw new RuntimeException("imageWidth: " + imageWidth
102 size = imageWidth;
106 heightData = new float[(imageWidth * imageHeight)];
114 for (int w = imageWidth - 1; w >= 0; --w) {
115 int baseIndex = (h * imageWidth)+ w;
119 for (int w = 0; w < imageWidth; ++w) {
120 int baseIndex = (h * imageWidth)+ w;
    [all...]
  /external/opencv/cv/src/
cvoptflowhs.cpp 107 int imageWidth = imgSize.width;
167 VelBufX[k] = (float *) cvAlloc( imageWidth * sizeof( float ));
171 VelBufY[k] = (float *) cvAlloc( imageWidth * sizeof( float ));
177 BufferSize = imageHeight * imageWidth;
209 for( j = 1; j < imageWidth - 1; j++ )
222 MemY[0][imageWidth - 1] =
223 MemY[1][imageWidth - 1] = CONV( imgA[imageWidth - 2],
224 imgA[imageWidth - 1], imgA[imageWidth - 1] )
    [all...]
cvoptflowlk.cpp 110 int imageWidth = imgSize.width;
158 if( imageWidth < winWidth )
172 BufferWidth = imageWidth;
246 for( j = 1; j < imageWidth - 1; j++ )
259 MemY[0][imageWidth - 1] =
260 MemY[1][imageWidth - 1] = CONV( imgA[imageWidth - 2],
261 imgA[imageWidth - 1], imgA[imageWidth - 1] );
323 for( j = 1; j < imageWidth - 1; j++
    [all...]
  /sdk/assetstudio/tests/src/com/android/assetstudiolib/
GeneratorTest.java 108 int imageWidth = Math.min(goldenImage.getWidth(), image.getWidth());
117 int width = 3 * imageWidth;
125 for (int x = 0; x < imageWidth; x++) {
129 deltaImage.setRGB(imageWidth + x, y, 0x00808080);
135 deltaImage.setRGB(imageWidth + x, y, 0x00808080);
150 deltaImage.setRGB(imageWidth + x, y, newRGB);
159 long total = imageHeight * imageWidth * 3L * 256L;
166 g.drawImage(image, 2 * imageWidth, 0, null);
169 if (imageWidth > 80) {
172 g.drawString("Actual", 2 * imageWidth + 10, 20)
    [all...]
  /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));
  /external/webkit/Source/WebCore/platform/chromium/
DragImageChromiumSkia.cpp 62 int imageWidth = scale.width() * image->width();
66 imageWidth, imageHeight));
  /external/webkit/Source/WebKit2/Platform/cg/
CGUtilities.cpp 41 size_t imageWidth = CGImageGetWidth(image);
46 CGContextDrawImage(context, CGRectMake(destX, destY, imageWidth, imageHeight), image);
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
BooleanObjectPropertyEditor.java 68 int imageWidth = image.getBounds().width + 2;
69 x += imageWidth;
70 width -= imageWidth;
BooleanPropertyEditor.java 68 int imageWidth = image.getBounds().width + 2;
69 x += imageWidth;
70 width -= imageWidth;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
BooleanXmlPropertyEditor.java 72 int imageWidth = image.getBounds().width + 2;
73 width -= imageWidth;
77 x += imageWidth;
XmlPropertyEditor.java 218 int imageWidth = awtImage.getWidth();
222 if (imageWidth > maxWidth || imageHeight > height) {
224 int scaledWidth = (int) (imageWidth * scale);
226 scale = maxWidth / (double) imageWidth;
254 int imageWidth = imageData.width;
256 if (imageWidth > 0 && imageHeight > 0) {
258 int delta = imageWidth + SAMPLE_MARGIN;
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DrawUtils.java 101 int imageWidth = image.getBounds().width;
106 if (imageWidth <= targetRectangle.width && imageHeight <= targetRectangle.height) {
107 newImageWidth = imageWidth;
113 double k_w = targetRectangle.width / (double) imageWidth;
118 newImageWidth = (int) (imageWidth * k);
124 gc.drawImage(image, 0, 0, imageWidth, imageHeight, destX, destY, newImageWidth, newImageHeight);
231 int imageWidth = imageBounds.width;
233 if (imageWidth < minWidth && imageHeight < minHeight) {
250 } else if (imageWidth <= maxWidth && imageHeight <= maxHeight) {
253 double kX = (double) maxWidth / imageWidth;
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/
ImageCanvas.java 108 int imageWidth, imageHeight;
110 imageWidth = mImage.getBounds().width;
113 imageWidth = client.width;
117 mHorizontalScrollBar.setMaximum(imageWidth);
119 mHorizontalScrollBar.setThumb(Math.min(imageWidth, client.width));
122 int hPage = imageWidth - client.width;
  /development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
ImageResizer.java 41 * @param imageWidth
44 public ImageResizer(Context context, int imageWidth, int imageHeight) {
46 setImageSize(imageWidth, imageHeight);
ImageFetcher.java 49 * @param imageWidth
52 public ImageFetcher(Context context, int imageWidth, int imageHeight) {
53 super(context, imageWidth, imageHeight);
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
h264bsd_deblocking.c 174 u32 imageWidth);
177 u32 imageWidth);
180 u32 imageWidth);
182 i32 imageWidth);
184 i32 imageWidth);
187 u32 imageWidth);
189 i32 imageWidth);
191 i32 imageWidth);
653 u32 imageWidth)
674 for (i = 4; i; i--, data += imageWidth)
    [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)
261 int rowBytes = imageWidth * 4;
263 RetainPtr<CGImageRef> cgImage(AdoptCF, CGImageCreate(imageWidth, imageHeight, 8, 32, rowBytes, deviceRGBColorSpaceRef(), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host,
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageControl.java 156 int imageWidth = imageRect.width;
157 int destWidth = imageWidth;
169 gc.drawImage(mImage, 0, 0, imageWidth, imageHeight, rect.x + mLeftMargin, rect.y
  /packages/apps/Gallery/src/com/android/camera/
GalleryPicker.java 621 int imageWidth, int widthPadding, int imageHeight,
627 int xPos = (col * (imageWidth + widthPadding)) - offsetX;
643 int imageWidth = width;
648 imageWidth = (imageWidth - padding) / 2; // 2 here because we show two
704 temp = Util.transform(m, temp, imageWidth,
708 Bitmap thumb = Bitmap.createBitmap(imageWidth, imageHeight,
714 mCellOutline.setBounds(0, 0, imageWidth, imageHeight);
717 placeImage(thumb, c, pdpaint, imageWidth, padding, 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 85 int imageWidth;
174 this.imageWidth = width;
351 int titleStart = (int) (RATIO * this.imageWidth);
532 this.gc.fillRectangle(0, MARGIN + i * LINE_HEIGHT, this.imageWidth, LINE_HEIGHT);
556 this.image = new Image(DEFAULT_DISPLAY, this.imageWidth, this.imageHeight);
561 this.gc.fillRectangle(0, 0, this.imageWidth, this.imageHeight);
564 int width= (int) (RATIO * this.imageWidth); // width for results bar
  /external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/
RenderDeviceJme.java 267 float imageWidth = jmeImage.getWidth();
271 float startX = srcX / imageWidth;
273 float endX = startX + (srcW / imageWidth);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SwtUtilsTest.java 324 * @param imageWidth the width of the target image
328 private Image createSampleImage(int imageWidth, int imageHeight) {
332 ImageData data = new ImageData(imageWidth, imageHeight, 32, new PaletteData(0x00FF0000,
335 for (int x = 0; x < imageWidth; x++) {
  /external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/
xf86dga.h 68 int imageWidth; /* linear accessible portion (pixels) */
  /prebuilt/common/ninepatch/
ninepatch-prebuilt.jar 
  /external/webkit/Source/WebCore/rendering/
RenderBoxModelObject.cpp     [all...]

Completed in 1478 milliseconds

1 2