Searched refs:targetWidth (Results 1 – 8 of 8) sorted by relevance
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | BitmapImage.java | 126 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/ |
D | Watermark.java | 103 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/ |
D | BitmapDrawableTest.java | 402 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()
|
D | NinePatchDrawableTest.java | 384 int targetWidth = DrawableTestUtils.scaleBitmapFromDensity( in testInflate() local 388 assertEquals(targetWidth, ninePatchDrawable.getIntrinsicWidth()); in testInflate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
D | CameraOrientationActivity.java | 401 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/ |
D | android_graphics_cts_AImageDecoderTest.cpp | 1065 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/ |
D | MediaMetadataRetrieverTest.java | 568 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/ |
D | AImageDecoderTest.java | 1206 Bitmap bitmap, int targetWidth, int targetHeight,
|