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

1 2 3

  /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...]
  /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);
  /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 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/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...]
  /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...]
  /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
  /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;
  /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...]
  /development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/
ImageResizer.java 45 * @param imageWidth
48 public ImageResizer(Context context, int imageWidth, int imageHeight) {
50 setImageSize(imageWidth, imageHeight);
ImageFetcher.java 59 * @param imageWidth
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/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);
  /hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/
Exynos_OMX_Vdec.h 82 OMX_U32 imageWidth;
  /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,
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DetermineFovActivity.java 177 private float focalLengthPixels(float fovDegrees, float imageWidth) {
178 return (float) (imageWidth
  /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/chromium_org/chrome/browser/resources/file_manager/js/media/
media_util.js 333 var imageWidth = img.width;
352 var imageRatio = imageWidth / imageHeight;
366 var fitScaleX = (rotate ? boxHeight : boxWidth) / imageWidth;
376 fractionX = imageWidth * scale / boxWidth;
382 fractionX = imageWidth / 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/chromium_org/third_party/mesa/src/src/mesa/main/
texobj.c     [all...]
  /external/mesa3d/src/mesa/main/
texobj.c     [all...]

Completed in 561 milliseconds

1 2 3