/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | RSResizeTest.java | 32 private final int inY = 157; field in RSResizeTest 160 testResize(inX, inY, Element.DataType.UNSIGNED_8, 4, 1.f, 1.f); in test_U8_4_SCALE10_10_inRectangle() 163 testResize(inX, inY, Element.DataType.UNSIGNED_8, 3, 1.f, 1.f); in test_U8_3_SCALE10_10_inRectangle() 166 testResize(inX, inY, Element.DataType.UNSIGNED_8, 2, 1.f, 1.f); in test_U8_2_SCALE10_10_inRectangle() 169 testResize(inX, inY, Element.DataType.UNSIGNED_8, 1, 1.f, 1.f); in test_U8_1_SCALE10_10_inRectangle() 173 testResize(inX, inY, Element.DataType.UNSIGNED_8, 4, 2.f, 2.f); in test_U8_4_SCALE20_20_inRectangle() 176 testResize(inX, inY, Element.DataType.UNSIGNED_8, 3, 2.f, 2.f); in test_U8_3_SCALE20_20_inRectangle() 179 testResize(inX, inY, Element.DataType.UNSIGNED_8, 2, 2.f, 2.f); in test_U8_2_SCALE20_20_inRectangle() 182 testResize(inX, inY, Element.DataType.UNSIGNED_8, 1, 2.f, 2.f); in test_U8_1_SCALE20_20_inRectangle() 186 testResize(inX, inY, Element.DataType.UNSIGNED_8, 4, 0.5f, 2.f); in test_U8_4_SCALE05_20_inRectangle() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | IntrinsicResize.java | 25 static final int inY = 157; field in IntrinsicResize 186 testResize(inX, inY, Element.DataType.UNSIGNED_8, 4, 1.f, 1.f); in test_U8_4_SCALE10_10_inRectangle() 190 testResize(inX, inY, Element.DataType.UNSIGNED_8, 3, 1.f, 1.f); in test_U8_3_SCALE10_10_inRectangle() 194 testResize(inX, inY, Element.DataType.UNSIGNED_8, 2, 1.f, 1.f); in test_U8_2_SCALE10_10_inRectangle() 198 testResize(inX, inY, Element.DataType.UNSIGNED_8, 1, 1.f, 1.f); in test_U8_1_SCALE10_10_inRectangle() 203 testResize(inX, inY, Element.DataType.UNSIGNED_8, 4, 2.f, 2.f); in test_U8_4_SCALE20_20_inRectangle() 207 testResize(inX, inY, Element.DataType.UNSIGNED_8, 3, 2.f, 2.f); in test_U8_3_SCALE20_20_inRectangle() 211 testResize(inX, inY, Element.DataType.UNSIGNED_8, 2, 2.f, 2.f); in test_U8_2_SCALE20_20_inRectangle() 215 testResize(inX, inY, Element.DataType.UNSIGNED_8, 1, 2.f, 2.f); in test_U8_1_SCALE20_20_inRectangle() 220 testResize(inX, inY, Element.DataType.UNSIGNED_8, 4, 0.5f, 2.f); in test_U8_4_SCALE05_20_inRectangle() [all …]
|
D | CoreMathVerifier.java | 689 Target.Floaty inY = t.newFloaty(y); 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() 700 Target.Floaty inY = t.new32(y); 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 …]
|