/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...] |
/external/skia/src/gpu/ops/ |
GrLatticeOp.h | 21 std::unique_ptr<GrDrawOp> MakeNonAA(GrPaint&& paint, const SkMatrix& viewMatrix, int imageWidth,
|
/external/skia/src/core/ |
SkLatticeIter.h | 24 static bool Valid(int imageWidth, int imageHeight, const SkCanvas::Lattice& lattice); 28 static bool Valid(int imageWidth, int imageHeight, const SkIRect& center); 30 SkLatticeIter(int imageWidth, int imageHeight, const SkIRect& center, const SkRect& dst);
|
/cts/tests/tests/transition/src/android/transition/cts/ |
ChangeImageTransformTest.java | 103 int imageWidth = mImage.getIntrinsicWidth(); 105 float tx = Math.round((imageViewWidth - imageWidth)/2f); 117 int imageWidth = mImage.getIntrinsicWidth(); 119 float scaleX = ((float)imageViewWidth)/imageWidth; 131 int imageWidth = mImage.getIntrinsicWidth(); 133 float scaleX = ((float)imageViewWidth)/imageWidth; 141 float width = imageWidth * maxScale; 153 int imageWidth = mImage.getIntrinsicWidth(); 155 float scaleX = ((float)imageViewWidth)/imageWidth; 163 float width = imageWidth * minScale [all...] |
/frameworks/support/transition/tests/src/android/support/transition/ |
ChangeImageTransformTest.java | 91 int imageWidth = mImage.getIntrinsicWidth(); 93 float tx = Math.round((imageViewWidth - imageWidth) / 2f); 105 int imageWidth = mImage.getIntrinsicWidth(); 107 float scaleX = ((float) imageViewWidth) / imageWidth; 119 int imageWidth = mImage.getIntrinsicWidth(); 121 float scaleX = ((float) imageViewWidth) / imageWidth; 129 float width = imageWidth * maxScale; 141 int imageWidth = mImage.getIntrinsicWidth(); 143 float scaleX = ((float) imageViewWidth) / imageWidth; 151 float width = imageWidth * minScale [all...] |
/external/pdfium/third_party/libtiff/ |
0004-CVE-2015-8784.patch | 27 uint32 imagewidth = tif->tif_dir.td_imagewidth; 29 imagewidth = tif->tif_dir.td_tilewidth; 38 - while (n-- > 0 && npixels < imagewidth) 39 + while (n-- > 0 && npixels < imagewidth && op_offset < scanline) 41 if (npixels >= imagewidth)
|
tif_next.c | 106 uint32 imagewidth = tif->tif_dir.td_imagewidth; local 108 imagewidth = tif->tif_dir.td_tilewidth; 126 while (n-- > 0 && npixels < imagewidth && op_offset < scanline) 128 if (npixels >= imagewidth)
|
/developers/build/prebuilts/gradle/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
AnimatedNotificationDisplayActivity.java | 125 int imageWidth = imageView.getDrawable().getIntrinsicWidth(); 128 if (imageWidth > imageHeight) { 129 imageWidth = minSize * imageWidth / imageHeight; 132 imageHeight = minSize * imageHeight / imageWidth; 133 imageWidth = minSize; 135 imageView.layout(left, top, left + imageWidth, top + imageHeight);
|
/developers/samples/android/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
AnimatedNotificationDisplayActivity.java | 125 int imageWidth = imageView.getDrawable().getIntrinsicWidth(); 128 if (imageWidth > imageHeight) { 129 imageWidth = minSize * imageWidth / imageHeight; 132 imageHeight = minSize * imageHeight / imageWidth; 133 imageWidth = minSize; 135 imageView.layout(left, top, left + imageWidth, top + imageHeight);
|
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
AnimatedNotificationDisplayActivity.java | 125 int imageWidth = imageView.getDrawable().getIntrinsicWidth(); 128 if (imageWidth > imageHeight) { 129 imageWidth = minSize * imageWidth / imageHeight; 132 imageHeight = minSize * imageHeight / imageWidth; 133 imageWidth = minSize; 135 imageView.layout(left, top, left + imageWidth, top + imageHeight);
|
/packages/services/Car/car-support-lib/src/android/support/car/navigation/ |
CarNavigationInstrumentCluster.java | 68 int imageWidth, int imageHeight, int imageColorDepthBits) { 71 imageWidth, imageHeight, imageColorDepthBits); 142 int imageWidth, 145 this(minIntervalMillis, type, imageWidth, imageHeight, imageColorDepthBits, null); 153 int imageWidth, 159 mImageWidth = imageWidth; 172 "imageWidth: " + mImageWidth + ", " +
|
/packages/services/BuiltInPrintService/jni/plugins/ |
wprint_mupdf.c | 44 unsigned int imageWidth; 61 imageWidth = (unsigned int) (pageWidth * zoom); 64 image_info->width = imageWidth; 67 size = imageWidth * imageHeight * 3; 77 result = pdf_render->renderPageStripe(pdf_render, image_info->decoder_data.page, imageWidth,
|
/packages/services/Car/car-lib/src/android/car/navigation/ |
CarNavigationInstrumentCluster.java | 76 int imageWidth, int imageHeight, int imageColorDepthBits) { 79 imageWidth, imageHeight, imageColorDepthBits); 138 int imageWidth, 143 mImageWidth = imageWidth; 179 "imageWidth: " + mImageWidth + ", " +
|
/packages/apps/Camera2/src/com/android/camera/data/ |
FilmstripItemUtils.java | 81 * @param imageWidth Image width. 90 public static Bitmap loadImageThumbnailFromStream(InputStream stream, int imageWidth, 99 imageHeight = imageWidth; 100 imageWidth = dummy; 105 int targetWidth = imageWidth; 112 targetWidth = imageWidth / sampleSize; 113 targetHeight = imageWidth / sampleSize;
|
/external/deqp/modules/gles2/functional/ |
es2fPrerequisiteTests.cpp | 182 int imageWidth = 0; 194 imageWidth = targetWidth; 201 imageWidth = targetWidth / 2; 208 imageWidth = targetWidth - x; 214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); 219 Surface resImage(imageWidth, imageHeight); 220 Surface refImage(imageWidth, imageHeight); 221 Surface diffImage(imageWidth, imageHeight); 241 for (int i = 0; i < imageWidth; i++)
|
/external/deqp/modules/gles3/functional/ |
es3fPrerequisiteTests.cpp | 182 int imageWidth = 0; 194 imageWidth = targetWidth; 201 imageWidth = targetWidth / 2; 208 imageWidth = targetWidth - x; 214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); 219 Surface resImage(imageWidth, imageHeight); 220 Surface refImage(imageWidth, imageHeight); 221 Surface diffImage(imageWidth, imageHeight); 241 for (int i = 0; i < imageWidth; i++)
|
/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
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
CropView.java | 71 final float imageWidth = mRenderer.source.getImageWidth(); 74 imageDims[0] = imageWidth; 86 final float imageWidth = imageDims[0]; 96 rendererCenter[0] += imageWidth / 2; 100 float centerX = (width / 2f - rendererCenter[0] + (imageWidth - width) / 2f) 104 float leftEdge = centerX - imageWidth / 2f * scale; 105 float rightEdge = centerX + imageWidth / 2f * scale; 164 final float imageWidth = imageDims[0]; 166 mMinScale = Math.max(w / imageWidth, h / imageHeight);
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
CropView.java | 71 final float imageWidth = mRenderer.source.getImageWidth(); 74 imageDims[0] = imageWidth; 86 final float imageWidth = imageDims[0]; 96 rendererCenter[0] += imageWidth / 2; 100 float centerX = (width / 2f - rendererCenter[0] + (imageWidth - width) / 2f) 104 float leftEdge = centerX - imageWidth / 2f * scale; 105 float rightEdge = centerX + imageWidth / 2f * scale; 164 final float imageWidth = imageDims[0]; 166 mMinScale = Math.max(w / imageWidth, h / imageHeight);
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/inc/ |
PCLmGenerator.h | 88 (int imageWidth, int imageHeight, int numStrips, colorSpaceDisposition destColorSpace); 98 int injectRLEStrip(ubyte *RLEBuffer, int numBytes, int imageWidth, int imageHeight, 104 int injectLZStrip(ubyte *LZBuffer, int numBytes, int imageWidth, int imageHeight, 110 int injectJPEG(char *jpeg_Buff, int imageWidth, int imageHeight, int numCompBytes, 136 void writePDFGrammarTrailer(int imageWidth, int imageHeight);
|
/external/skia/gm/ |
encode-srgb.cpp | 25 static const int imageWidth = 128; 123 return SkISize::Make(imageWidth * 2, imageHeight * 15); 145 canvas->translate((float) imageWidth, 0.0f);
|
/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;
|
/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;
|