/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | RSResizeTest.java | 31 private final int inX = 307; field in RSResizeTest 95 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 1.f, 1.f); in test_U8_4_SCALE10_10_inSqure() 98 testResize(inX, inX, Element.DataType.UNSIGNED_8, 3, 1.f, 1.f); in test_U8_3_SCALE10_10_inSqure() 101 testResize(inX, inX, Element.DataType.UNSIGNED_8, 2, 1.f, 1.f); in test_U8_2_SCALE10_10_inSqure() 104 testResize(inX, inX, Element.DataType.UNSIGNED_8, 1, 1.f, 1.f); in test_U8_1_SCALE10_10_inSqure() 108 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 2.f, 2.f); in test_U8_4_SCALE20_20_inSqure() 111 testResize(inX, inX, Element.DataType.UNSIGNED_8, 3, 2.f, 2.f); in test_U8_3_SCALE20_20_inSqure() 114 testResize(inX, inX, Element.DataType.UNSIGNED_8, 2, 2.f, 2.f); in test_U8_2_SCALE20_20_inSqure() 117 testResize(inX, inX, Element.DataType.UNSIGNED_8, 1, 2.f, 2.f); in test_U8_1_SCALE20_20_inSqure() 121 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 0.5f, 2.f); in test_U8_4_SCALE05_20_inSqure() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | IntrinsicResize.java | 24 static final int inX = 307; field in IntrinsicResize 101 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 1.f, 1.f); in test_U8_4_SCALE10_10_inSquare() 105 testResize(inX, inX, Element.DataType.UNSIGNED_8, 3, 1.f, 1.f); in test_U8_3_SCALE10_10_inSquare() 109 testResize(inX, inX, Element.DataType.UNSIGNED_8, 2, 1.f, 1.f); in test_U8_2_SCALE10_10_inSquare() 113 testResize(inX, inX, Element.DataType.UNSIGNED_8, 1, 1.f, 1.f); in test_U8_1_SCALE10_10_inSquare() 118 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 2.f, 2.f); in test_U8_4_SCALE20_20_inSquare() 122 testResize(inX, inX, Element.DataType.UNSIGNED_8, 3, 2.f, 2.f); in test_U8_3_SCALE20_20_inSquare() 126 testResize(inX, inX, Element.DataType.UNSIGNED_8, 2, 2.f, 2.f); in test_U8_2_SCALE20_20_inSquare() 130 testResize(inX, inX, Element.DataType.UNSIGNED_8, 1, 2.f, 2.f); in test_U8_1_SCALE20_20_inSquare() 135 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 0.5f, 2.f); in test_U8_4_SCALE05_20_inSquare() [all …]
|
D | CoreMathVerifier.java | 688 Target.Floaty inX = t.newFloaty(x); in hypot() local 691 Math.hypot(inX.mid(), inY.mid()), in hypot() 692 Math.hypot(inX.min(), inY.min()), in hypot() 693 Math.hypot(inX.min(), inY.max()), in hypot() 694 Math.hypot(inX.max(), inY.min()), in hypot() 695 Math.hypot(inX.max(), inY.max())); in hypot() 699 Target.Floaty inX = t.new32(x); in hypot() local 702 hypot(inX.mid32(), inY.mid32()), in hypot() 703 hypot(inX.min32(), inY.min32()), in hypot() 704 hypot(inX.min32(), inY.max32()), in hypot() [all …]
|