Home
last modified time | relevance | path

Searched refs:targetWidth (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
DBitmapImage.java126 final int targetWidth = targetImage.getWidth(); in robustMatch() local
132 if (targetX < 0 || targetWidth <= targetX) { in robustMatch()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DWatermark.java103 final int targetWidth = targetImage.getWidth(); in robustMatch() local
108 if (offsetX < 0 || targetWidth <= mWidth - 1 + offsetX) return false; in robustMatch()
115 final int targetPx = targetPixels[targetY * targetWidth + targetX]; in robustMatch()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DBitmapDrawableTest.java402 int sourceWidth, targetWidth; in testSetTargetDensity() local
416 targetWidth = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()
420 assertEquals(targetWidth, bitmapDrawable.getIntrinsicWidth()); in testSetTargetDensity()
430 targetWidth = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()
434 assertEquals(targetWidth, bitmapDrawable.getIntrinsicWidth()); in testSetTargetDensity()
445 targetWidth = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()
449 assertEquals(targetWidth, bitmapDrawable.getIntrinsicWidth()); in testSetTargetDensity()
DNinePatchDrawableTest.java384 int targetWidth = DrawableTestUtils.scaleBitmapFromDensity( in testInflate() local
388 assertEquals(targetWidth, ninePatchDrawable.getIntrinsicWidth()); in testInflate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java401 int targetWidth = w; in getOptimalSize() local
414 Math.abs(size.width - targetWidth); in getOptimalSize()
417 && size.width <= targetWidth) { in getOptimalSize()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_AImageDecoderTest.cpp1065 jobject jbitmap, jint targetWidth, jint targetHeight, in testDecodeCrop() argument
1071 if (targetWidth != 0 && targetHeight != 0) { in testDecodeCrop()
1072 result = AImageDecoder_setTargetSize(decoder, targetWidth, targetHeight); in testDecodeCrop()
/cts/tests/tests/media/src/android/media/cts/
DMediaMetadataRetrieverTest.java568 private void testThumbnail(final String res, String outPath, int targetWidth, in testThumbnail() argument
587 assertEquals("Video width was other than expected", Integer.toString(targetWidth), in testThumbnail()
/cts/tests/tests/graphics/src/android/graphics/cts/
DAImageDecoderTest.java1206 Bitmap bitmap, int targetWidth, int targetHeight,