/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/skia/gm/ |
encode-srgb.cpp | 21 static const int imageWidth = 128; 71 SkImageInfo info = SkImageInfo::Make(imageWidth, imageHeight, kIndex_8_SkColorType, 75 for (int x = 0; x < imageWidth; x++) { 76 *bitmap->getAddr8(x, y) = (x / div_round_up(imageWidth, 2)) + 167 return SkISize::Make(imageWidth * 2, imageHeight * 15); 190 canvas->translate((float) imageWidth, 0.0f);
|
/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,
|
/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++)
|
es3fASTCDecompressionCases.cpp | 423 const int imageWidth = numXBlocksPerImage * blockSize.x(); 430 tcu::CompressedTexture compressed (m_format, imageWidth, imageHeight); 435 << imageWidth << "x" << imageHeight 452 Surface renderedFrame (imageWidth, imageHeight); 453 Surface referenceFrame (imageWidth, imageHeight); 557 const int imageWidth = (MAX_NUM_BLOCKS_X-1)*blockSize.x() + curRemainderX; 559 const int numBlocksX = deDivRoundUp32(imageWidth, blockSize.x()); 564 tcu::CompressedTexture compressed (m_format, imageWidth, imageHeight); 574 Surface renderedFrame (imageWidth, imageHeight); 575 Surface referenceFrame (imageWidth, imageHeight) [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;
|
/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);
|
/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/support/transition/src/android/support/transition/ |
ChangeImageTransform.java | 216 final int imageWidth = image.getIntrinsicWidth(); 218 final float scaleX = ((float) imageViewWidth) / imageWidth; 226 final float width = imageWidth * maxScale;
|
/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...] |
/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;
|
/cts/tests/tests/media/libimagereaderjni/ |
AImageReaderCts.cpp | 377 int32_t imageWidth = 0; 382 AImage_getWidth(outImage, &imageWidth); 384 if (imageWidth != mWidth || imageHeight != mHeight) { 386 mHeight, imageWidth, imageHeight);
|
/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...] |
/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
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
ImageUtils.java | 99 int imageWidth = Math.min(goldenImage.getWidth(), image.getWidth()); 108 int width = 3 * imageWidth; 117 for (int x = 0; x < imageWidth; x++) { 121 deltaImage.setRGB(imageWidth + x, y, 0x00808080); 127 deltaImage.setRGB(imageWidth + x, y, 0x00808080); 142 deltaImage.setRGB(imageWidth + x, y, newRGB); 151 long total = imageHeight * imageWidth * 3L * 256L; 173 g.drawImage(image, 2 * imageWidth, 0, null); 176 if (imageWidth > 80) { 179 g.drawString("Actual", 2 * imageWidth + 10, 20) [all...] |
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
TaskCompressImageToJpeg.java | 174 final int imageWidth; 186 imageWidth = 0; 191 imageWidth = exifPixelXDimension; 194 safeCrop = guaranteedSafeCrop(imageWidth, imageHeight, 202 imageWidth,
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
DvrDetailsFragment.java | 213 int imageWidth = getResources().getDimensionPixelSize(R.dimen.dvr_details_poster_width); 217 imageWidth, imageHeight,
|
/cts/tests/tests/media/src/android/media/cts/ |
ExifInterfaceTest.java | 124 public final int imageWidth; 170 imageWidth = typedArray.getInt(index++, 0); 294 assertIntTag(exifInterface, ExifInterface.TAG_IMAGE_WIDTH, expectedValue.imageWidth);
|