/external/skia/gm/ |
encode-srgb.cpp | 26 static const int imageHeight = 128; 123 return SkISize::Make(imageWidth * 2, imageHeight * 15); 148 canvas->translate(0.0f, (float) imageHeight);
|
/packages/services/BuiltInPrintService/jni/plugins/ |
wprint_mupdf.c | 45 unsigned int imageHeight; 62 imageHeight = (unsigned int) (pageHeight * zoom); 65 image_info->height = imageHeight; 67 size = imageWidth * imageHeight * 3; 78 imageHeight, zoom, rawBuffer);
|
/external/deqp/modules/gles2/functional/ |
es2fPrerequisiteTests.cpp | 183 int imageHeight = 0; 195 imageHeight = targetHeight; 202 imageHeight = targetHeight / 2; 209 imageHeight = targetHeight - y; 215 imageHeight = 1 + (deRandom_getUint32(&rnd) % (targetHeight - y - 1)); 219 Surface resImage(imageWidth, imageHeight); 220 Surface refImage(imageWidth, imageHeight); 221 Surface diffImage(imageWidth, imageHeight); 239 for (int j = 0; j < imageHeight; j++)
|
/external/deqp/modules/gles3/functional/ |
es3fPrerequisiteTests.cpp | 183 int imageHeight = 0; 195 imageHeight = targetHeight; 202 imageHeight = targetHeight / 2; 209 imageHeight = targetHeight - y; 215 imageHeight = 1 + (deRandom_getUint32(&rnd) % (targetHeight - y - 1)); 219 Surface resImage(imageWidth, imageHeight); 220 Surface refImage(imageWidth, imageHeight); 221 Surface diffImage(imageWidth, imageHeight); 239 for (int j = 0; j < imageHeight; j++)
|
es3fASTCDecompressionCases.cpp | 424 const int imageHeight = numYBlocksPerImage * blockSize.y(); 430 tcu::CompressedTexture compressed (m_format, imageWidth, imageHeight); 435 << imageWidth << "x" << imageHeight 452 Surface renderedFrame (imageWidth, imageHeight); 453 Surface referenceFrame (imageWidth, imageHeight); 558 const int imageHeight = (MAX_NUM_BLOCKS_Y-1)*blockSize.y() + curRemainderY; 560 const int numBlocksY = deDivRoundUp32(imageHeight, blockSize.y()); 564 tcu::CompressedTexture compressed (m_format, imageWidth, imageHeight); 574 Surface renderedFrame (imageWidth, imageHeight); 575 Surface referenceFrame (imageWidth, imageHeight); [all...] |
/developers/build/prebuilts/gradle/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
AnimatedNotificationDisplayActivity.java | 126 int imageHeight = imageView.getDrawable().getIntrinsicHeight(); 128 if (imageWidth > imageHeight) { 129 imageWidth = minSize * imageWidth / imageHeight; 130 imageHeight = minSize; 132 imageHeight = minSize * imageHeight / imageWidth; 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 | 126 int imageHeight = imageView.getDrawable().getIntrinsicHeight(); 128 if (imageWidth > imageHeight) { 129 imageWidth = minSize * imageWidth / imageHeight; 130 imageHeight = minSize; 132 imageHeight = minSize * imageHeight / imageWidth; 135 imageView.layout(left, top, left + imageWidth, top + imageHeight);
|
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
AnimatedNotificationDisplayActivity.java | 126 int imageHeight = imageView.getDrawable().getIntrinsicHeight(); 128 if (imageWidth > imageHeight) { 129 imageWidth = minSize * imageWidth / imageHeight; 130 imageHeight = minSize; 132 imageHeight = minSize * imageHeight / imageWidth; 135 imageView.layout(left, top, left + imageWidth, top + imageHeight);
|
/external/mesa3d/src/glx/ |
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/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/swiftshader/src/OpenGL/common/ |
Image.hpp | 170 UnpackInfo() : alignment(4), rowLength(0), imageHeight(0), skipPixels(0), skipRows(0), skipImages(0) {} 174 GLint imageHeight;
|
/frameworks/support/transition/src/android/support/transition/ |
ChangeImageTransform.java | 220 final int imageHeight = image.getIntrinsicHeight(); 222 final float scaleY = ((float) imageViewHeight) / imageHeight; 227 final float height = imageHeight * maxScale;
|
/frameworks/support/transition/tests/src/android/support/transition/ |
ChangeImageTransformTest.java | 95 int imageHeight = mImage.getIntrinsicHeight(); 97 float ty = Math.round((imageViewHeight - imageHeight) / 2f); 109 int imageHeight = mImage.getIntrinsicHeight(); 111 float scaleY = ((float) imageViewHeight) / imageHeight; 123 int imageHeight = mImage.getIntrinsicHeight(); 125 float scaleY = ((float) imageViewHeight) / imageHeight; 130 float height = imageHeight * maxScale; 145 int imageHeight = mImage.getIntrinsicHeight(); 147 float scaleY = ((float) imageViewHeight) / imageHeight; 152 float height = imageHeight * minScale [all...] |
/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
|
/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;
|
/cts/tests/tests/media/libimagereaderjni/ |
AImageReaderCts.cpp | 378 int32_t imageHeight = 0; 383 AImage_getHeight(outImage, &imageHeight); 384 if (imageWidth != mWidth || imageHeight != mHeight) { 386 mHeight, imageWidth, imageHeight);
|
/cts/tests/tests/transition/src/android/transition/cts/ |
ChangeImageTransformTest.java | 107 int imageHeight = mImage.getIntrinsicHeight(); 109 float ty = Math.round((imageViewHeight - imageHeight)/2f); 121 int imageHeight = mImage.getIntrinsicHeight(); 123 float scaleY = ((float)imageViewHeight)/imageHeight; 135 int imageHeight = mImage.getIntrinsicHeight(); 137 float scaleY = ((float)imageViewHeight)/imageHeight; 142 float height = imageHeight * maxScale; 157 int imageHeight = mImage.getIntrinsicHeight(); 159 float scaleY = ((float)imageViewHeight)/imageHeight; 164 float height = imageHeight * minScale [all...] |
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
ImageUtils.java | 100 int imageHeight = Math.min(goldenImage.getHeight(), image.getHeight()); 110 int height = imageHeight; // makes code more readable 116 for (int y = 0; y < imageHeight; y++) { 151 long total = imageHeight * imageWidth * 3L * 256L;
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
TaskCompressImageToJpeg.java | 175 final int imageHeight; 185 imageHeight = 0; 192 imageHeight = exifPixelYDimension; 194 safeCrop = guaranteedSafeCrop(imageWidth, imageHeight, 203 imageHeight,
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
DvrDetailsFragment.java | 190 int imageHeight = getResources() 193 imageWidth, imageHeight,
|
/external/mesa3d/src/mesa/main/ |
texobj.c | [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
CropView.java | 72 final float imageHeight = mRenderer.source.getImageHeight(); 75 imageDims[1] = imageHeight; 87 final float imageHeight = imageDims[1]; 97 rendererCenter[1] += imageHeight / 2; 102 float centerY = (height / 2f - rendererCenter[1] + (imageHeight - height) / 2f) 106 float topEdge = centerY - imageHeight / 2f * scale; 107 float bottomEdge = centerY + imageHeight / 2f * scale; 165 final float imageHeight = imageDims[1]; 166 mMinScale = Math.max(w / imageWidth, h / imageHeight);
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
CropView.java | 72 final float imageHeight = mRenderer.source.getImageHeight(); 75 imageDims[1] = imageHeight; 87 final float imageHeight = imageDims[1]; 97 rendererCenter[1] += imageHeight / 2; 102 float centerY = (height / 2f - rendererCenter[1] + (imageHeight - height) / 2f) 106 float topEdge = centerY - imageHeight / 2f * scale; 107 float bottomEdge = centerY + imageHeight / 2f * scale; 165 final float imageHeight = imageDims[1]; 166 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 | 147 int imageHeight = mNinePatchedImage.getHeight(); 149 mHorizontal.setSize(imageWidth * scale, imageHeight); 150 mVertical.setSize(imageWidth, imageHeight * scale); 151 mBoth.setSize(imageWidth * scale, imageHeight * scale);
|