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

1 2

  /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;
  /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...]
  /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 244 int imageWidth = awtImage.getWidth();
248 if (imageWidth > maxWidth || imageHeight > height) {
250 int scaledWidth = (int) (imageWidth * scale);
252 scale = maxWidth / (double) imageWidth;
280 int imageWidth = imageData.width;
282 if (imageWidth > 0 && imageHeight > 0) {
284 int delta = imageWidth + SAMPLE_MARGIN;
  /external/chromium_org/third_party/WebKit/Source/core/platform/
DragImage.cpp 246 int imageWidth = scaleX * m_bitmap.width();
249 m_bitmap, skia::ImageOperations::RESIZE_LANCZOS3, imageWidth, imageHeight);
  /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...]
  /hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/
Exynos_OMX_Vdec.h 82 OMX_U32 imageWidth;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageControl.java 96 int imageWidth = imageRect.width;
97 if (imageWidth <= width) {
102 mScale = width / (float) imageWidth;
184 int imageWidth = imageRect.width;
185 int destWidth = imageWidth;
197 gc.drawImage(mImage, 0, 0, imageWidth, imageHeight, rect.x + mLeftMargin, rect.y
ImageOverlay.java 226 int imageWidth = (mPreScaledImage == null) ? 0
229 if (mPreScaledImage == null || imageWidth != hi.getScaledImgSize()) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/
ImageCanvas.java 118 int imageWidth, imageHeight;
120 imageWidth = mImage.getBounds().width;
123 imageWidth = client.width;
127 mHorizontalScrollBar.setMaximum(imageWidth);
129 mHorizontalScrollBar.setThumb(Math.min(imageWidth, client.width));
132 int hPage = imageWidth - client.width;
  /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/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/
xf86dga.h 68 int imageWidth; /* linear accessible portion (pixels) */
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
texobj.c     [all...]
  /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...]
  /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);
  /external/mesa3d/src/mesa/main/
texobj.c     [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
CropView.java 72 final float imageWidth = mRenderer.source.getImageWidth();
75 imageDims[0] = imageWidth;
87 final float imageWidth = imageDims[0];
97 rendererCenter[0] += imageWidth / 2;
101 float centerX = (width / 2f - rendererCenter[0] + (imageWidth - width) / 2f)
105 float leftEdge = centerX - imageWidth / 2f * scale;
106 float rightEdge = centerX + imageWidth / 2f * scale;
165 final float imageWidth = imageDims[0];
167 mMinScale = Math.max(w / imageWidth, h / imageHeight);
  /packages/apps/Launcher3/src/com/android/launcher3/
CropView.java 72 final float imageWidth = mRenderer.source.getImageWidth();
75 imageDims[0] = imageWidth;
87 final float imageWidth = imageDims[0];
97 rendererCenter[0] += imageWidth / 2;
101 float centerX = (width / 2f - rendererCenter[0] + (imageWidth - width) / 2f)
105 float leftEdge = centerX - imageWidth / 2f * scale;
106 float rightEdge = centerX + imageWidth / 2f * scale;
165 final float imageWidth = imageDims[0];
167 mMinScale = Math.max(w / imageWidth, h / imageHeight);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/
StretchesViewer.java 146 int imageWidth = mNinePatchedImage.getWidth();
149 mHorizontal.setSize(imageWidth * scale, imageHeight);
150 mVertical.setSize(imageWidth, imageHeight * scale);
151 mBoth.setSize(imageWidth * scale, imageHeight * scale);
ImageViewer.java 410 int imageWidth = getZoomedPixelSize(mNinePatchedImage.getWidth() + 1);
417 int horizontalScroll = imageWidth - (screenWidth - verticalBarSize);
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
VideoEditorStressTest.java 670 final int imageWidth = 640;
714 imageWidth, mediaItem2.getWidth());
    [all...]
  /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,
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageStraighten.java 206 private void updateCurrentCrop(Matrix m, GeometryHolder h, RectF tmp, int imageWidth,
208 tmp.set(0, 0, imageHeight, imageWidth);
217 tmp.set(0, 0, imageHeight, imageWidth);
219 ih = imageWidth;
221 tmp.set(0, 0, imageWidth, imageHeight);
222 iw = imageWidth;
231 Matrix m1 = GeometryMathUtils.getFullGeometryToScreenMatrix(h, imageWidth,
237 FilterCropRepresentation.findNormalizedCrop(mCrop, imageWidth, imageHeight);
251 int imageWidth = image.getWidth();
257 Matrix m = GeometryMathUtils.getFullGeometryToScreenMatrix(mDrawHolder, imageWidth,
    [all...]

Completed in 1101 milliseconds

1 2