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

1 2 3

  /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) {
  /frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
CropView.java 73 final float imageHeight = mRenderer.source.getImageHeight();
76 imageDims[1] = imageHeight;
88 final float imageHeight = imageDims[1];
98 rendererCenter[1] += imageHeight / 2;
103 float centerY = (height / 2f - rendererCenter[1] + (imageHeight - height) / 2f)
107 float topEdge = centerY - imageHeight / 2f * scale;
108 float bottomEdge = centerY + imageHeight / 2f * scale;
166 final float imageHeight = imageDims[1];
167 mMinScale = Math.max(w / imageWidth, h / imageHeight);
  /packages/apps/Launcher3/src/com/android/launcher3/
CropView.java 73 final float imageHeight = mRenderer.source.getImageHeight();
76 imageDims[1] = imageHeight;
88 final float imageHeight = imageDims[1];
98 rendererCenter[1] += imageHeight / 2;
103 float centerY = (height / 2f - rendererCenter[1] + (imageHeight - height) / 2f)
107 float topEdge = centerY - imageHeight / 2f * scale;
108 float bottomEdge = centerY + imageHeight / 2f * scale;
166 final float imageHeight = imageDims[1];
167 mMinScale = Math.max(w / imageWidth, h / 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...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageStraighten.java 207 int imageHeight, int viewWidth, int viewHeight) {
208 tmp.set(0, 0, imageHeight, imageWidth);
217 tmp.set(0, 0, imageHeight, imageWidth);
218 iw = imageHeight;
221 tmp.set(0, 0, imageWidth, imageHeight);
223 ih = imageHeight;
232 imageHeight, viewWidth, viewHeight);
237 FilterCropRepresentation.findNormalizedCrop(mCrop, imageWidth, imageHeight);
252 int imageHeight = image.getHeight();
258 imageHeight, viewWidth, viewHeight)
    [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/chromium_org/third_party/mesa/src/src/glx/
pixelstore.c 93 state->storePack.imageHeight = a;
154 state->storeUnpack.imageHeight = a;
240 state->storePack.imageHeight = param;
295 state->storeUnpack.imageHeight = param;
pixel.c 170 GLint imageHeight = state->storeUnpack.imageHeight;
192 if (imageHeight > 0) {
193 rowsPerImage = imageHeight;
397 GLint imageHeight = state->storePack.imageHeight;
418 if (imageHeight > 0) {
419 rowsPerImage = imageHeight;
  /external/mesa3d/src/glx/
pixelstore.c 93 state->storePack.imageHeight = a;
154 state->storeUnpack.imageHeight = a;
240 state->storePack.imageHeight = param;
295 state->storeUnpack.imageHeight = param;
pixel.c 170 GLint imageHeight = state->storeUnpack.imageHeight;
192 if (imageHeight > 0) {
193 rowsPerImage = imageHeight;
397 GLint imageHeight = state->storePack.imageHeight;
418 if (imageHeight > 0) {
419 rowsPerImage = imageHeight;
  /development/samples/training/bitmapfun/BitmapFun/src/main/java/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/draw9patch/ui/
StretchesViewer.java 147 int imageHeight = mNinePatchedImage.getHeight();
149 mHorizontal.setSize(imageWidth * scale, imageHeight);
150 mVertical.setSize(imageWidth, imageHeight * scale);
151 mBoth.setSize(imageWidth * scale, imageHeight * scale);
  /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
  /frameworks/support/v4/kitkat/android/support/v4/print/
PrintHelperKitkat.java 251 * @param imageHeight height of bitmap
256 private Matrix getMatrix(int imageWidth, int imageHeight, RectF content, int fittingMode) {
262 scale = Math.max(scale, content.height() / imageHeight);
264 scale = Math.min(scale, content.height() / imageHeight);
272 - imageHeight * scale) / 2;
  /hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/
Exynos_OMX_Vdec.h 83 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/chromium_org/third_party/WebKit/Source/core/platform/
DragImage.cpp 247 int imageHeight = scaleY * m_bitmap.height();
249 m_bitmap, skia::ImageOperations::RESIZE_LANCZOS3, imageWidth, imageHeight);
  /external/chromium_org/chrome/browser/resources/file_manager/js/media/
media_util.js 334 var imageHeight = img.height;
352 var imageRatio = imageWidth / imageHeight;
367 var fitScaleY = (rotate ? boxWidth : boxHeight) / imageHeight;
377 fractionY = imageHeight * scale / boxHeight;
382 fractionX = imageWidth / imageHeight;
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
texobj.c     [all...]
  /external/mesa3d/src/mesa/main/
texobj.c     [all...]
  /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++) {

Completed in 678 milliseconds

1 2 3