Home
last modified time | relevance | path

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

/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
DBitmapImage.java127 final int targetHeight = targetImage.getHeight(); in robustMatch() local
136 if (targetY < 0 || targetHeight <= targetY) { in robustMatch()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DWatermark.java104 final int targetHeight = targetImage.getHeight(); in robustMatch() local
109 if (offsetY < 0 || targetHeight <= mHeight - 1 + offsetY) return false; in robustMatch()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DBitmapDrawableTest.java403 int sourceHeight, targetHeight; in testSetTargetDensity() local
418 targetHeight = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()
421 assertEquals(targetHeight, bitmapDrawable.getIntrinsicHeight()); in testSetTargetDensity()
432 targetHeight = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()
435 assertEquals(targetHeight, bitmapDrawable.getIntrinsicHeight()); in testSetTargetDensity()
447 targetHeight = DrawableTestUtils.scaleBitmapFromDensity( in testSetTargetDensity()
450 assertEquals(targetHeight, bitmapDrawable.getIntrinsicHeight()); in testSetTargetDensity()
DNinePatchDrawableTest.java386 int targetHeight = DrawableTestUtils.scaleBitmapFromDensity( in testInflate() local
389 assertEquals(targetHeight, ninePatchDrawable.getIntrinsicHeight()); in testInflate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java432 int targetHeight = h; in getOptimalSize() local
445 curDiff = Math.abs(size.height - targetHeight) + in getOptimalSize()
448 && size.height <= targetHeight in getOptimalSize()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaMetadataRetrieverTest.java649 private void testThumbnail(final String res, int targetWdith, int targetHeight) { in testThumbnail() argument
650 testThumbnail(res, null /*outPath*/, targetWdith, targetHeight); in testThumbnail()
654 int targetHeight) { in testThumbnail() argument
674 assertEquals("Video height was other than expected", Integer.toString(targetHeight), in testThumbnail()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_AImageDecoderTest.cpp1066 jobject jbitmap, jint targetWidth, jint targetHeight, in testDecodeCrop() argument
1072 if (targetWidth != 0 && targetHeight != 0) { in testDecodeCrop()
1073 result = AImageDecoder_setTargetSize(decoder, targetWidth, targetHeight); in testDecodeCrop()
/cts/tests/tests/graphics/src/android/graphics/cts/
DAImageDecoderTest.java1302 Bitmap bitmap, int targetWidth, int targetHeight,