Searched refs:targetHeight (Results 1 – 8 of 8) sorted by relevance
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | BitmapImage.java | 127 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/ |
D | Watermark.java | 104 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/ |
D | BitmapDrawableTest.java | 403 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()
|
D | NinePatchDrawableTest.java | 386 int targetHeight = DrawableTestUtils.scaleBitmapFromDensity( in testInflate() local 389 assertEquals(targetHeight, ninePatchDrawable.getIntrinsicHeight()); in testInflate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
D | CameraOrientationActivity.java | 432 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/ |
D | MediaMetadataRetrieverTest.java | 649 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/ |
D | android_graphics_cts_AImageDecoderTest.cpp | 1066 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/ |
D | AImageDecoderTest.java | 1302 Bitmap bitmap, int targetWidth, int targetHeight,
|