/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowMatrixTest.java | 64 matrix.setScale(1, 1); in set_shouldAddOpsToMatrix() 77 matrix.setScale(1, 2, 3, 4); in setScale_shouldAddOpsToMatrix() 86 matrix1.setScale(1, 2); in set_shouldOverrideValues() 89 matrix2.setScale(3, 4); in set_shouldOverrideValues() 99 matrix1.setScale(1, 2); in set_whenNull_shouldReset() 224 matrix2.setScale(2.0f, 2.0f); in testPostTranslate() 239 matrix2.setScale(2.0f, 2.0f); in testPreTranslate() 247 matrix.setScale(2.0f, 2.0f); in testSetScale() 249 matrix.setScale(-2.0f, -3.0f); in testSetScale() 251 matrix.setScale(-2.0f, -3.0f, 1.0f, 1.0f); in testSetScale() [all …]
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowMatrixTest.java | 59 matrix.setScale(1, 1); in set_shouldAddOpsToMatrix() 72 matrix.setScale(1, 2, 3, 4); in setScale_shouldAddOpsToMatrix() 81 matrix1.setScale(1, 2); in set_shouldOverrideValues() 84 matrix2.setScale(3, 4); in set_shouldOverrideValues() 94 matrix1.setScale(1, 2); in set_whenNull_shouldReset() 228 matrix2.setScale(2.0f, 2.0f); in testPostTranslate() 243 matrix2.setScale(2.0f, 2.0f); in testPreTranslate() 251 matrix.setScale(2.0f, 2.0f); in testSetScale() 253 matrix.setScale(-2.0f, -3.0f); in testSetScale() 255 matrix.setScale(-2.0f, -3.0f, 1.0f, 1.0f); in testSetScale() [all …]
|
D | ShadowMagnificationControllerTest.java | 84 magnificationController.setScale(newScale, /*animate=*/ false); in setScale_setsScale() 95 magnificationController.setScale(scale, /*animate=*/ false); in setScale_notifiesListener() 122 magnificationController.setScale(5.0f, /*animate=*/ false); in reset_resetsScale() 132 magnificationController.setScale(/*scale=*/ 5.0f, /*animate=*/ false); in reset_notifiesListener() 153 magnificationController.setScale(scale, /*animate=*/ false); in removeListener_removesListener()
|
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/ |
D | ShadowNativeMatrixTest.java | 116 matrix2.setScale(2.0f, 2.0f); in testPostTranslate() 131 matrix2.setScale(2.0f, 2.0f); in testPreTranslate() 139 matrix.setScale(2.0f, 2.0f); in testSetScale() 141 matrix.setScale(-2.0f, -3.0f); in testSetScale() 143 matrix.setScale(-2.0f, -3.0f, 1.0f, 1.0f); in testSetScale() 300 scaleMatrix.setScale(2.0f, 3.0f); in testSetConcat() 347 matrix.setScale(0.0f, 1.0f); in testInvert() 349 matrix.setScale(1.0f, 0.0f); in testInvert() 352 matrix.setScale(1.0f, 1.0f); in testInvert() 354 matrix.setScale(-3.0f, 5.0f); in testInvert() [all …]
|
D | ShadowNativeShaderTest.java | 58 scale2x3.setScale(2, 3); in testGetSetLocalMatrix() 81 matrix.setScale(10, 10); in testGetWithNullParam()
|
/external/skia/tests/ |
D | MatrixTest.cpp | 128 m.setScale(2, 3); in test_set9() 204 scale.setScale(2, 4); in test_matrix_min_max_scale() 341 mat.setScale(15, 15); in test_matrix_preserve_shape() 346 mat.setScale(-15, 15); in test_matrix_preserve_shape() 351 mat.setScale(15, 20); in test_matrix_preserve_shape() 356 mat.setScale(15, 15, 2, 2); in test_matrix_preserve_shape() 361 mat.setScale(15, 20, 2, 2); in test_matrix_preserve_shape() 426 mat.setScale(3, 2).postRotate(30); in test_matrix_preserve_shape() 522 mat.setScale(kScale0, kScale0); in test_matrix_decomposition() 527 mat.setScale(kScale1, kScale0); in test_matrix_decomposition() [all …]
|
D | DrawBitmapRectTest.cpp | 96 mat.setScale(bigScale, bigScale); in test_treatAsSprite() 102 mat.setScale(smallScale, smallScale); in test_treatAsSprite() 108 mat.setScale(tinyScale, tinyScale); in test_treatAsSprite()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/transformer/src/test/java/com/google/android/exoplayer2/transformer/ |
D | ScaleToFitFrameProcessorTest.java | 55 .setScale(/* scaleX= */ .5f, /* scaleY= */ 1f) in getOutputSize_scaleNarrow_decreasesWidth() 71 .setScale(/* scaleX= */ 2f, /* scaleY= */ 1f) in getOutputSize_scaleWide_increasesWidth() 87 .setScale(/* scaleX= */ 1f, /* scaleY= */ 2f) in getOutputSize_scaleTall_increasesHeight()
|
/external/skia/src/gpu/ganesh/ |
D | GrTestUtils.cpp | 67 gMatrices[2].setScale(SkIntToScalar(17), SkIntToScalar(17)); in TestMatrixPreservesRightAngles() 69 gMatrices[3].setScale(SkIntToScalar(-17), SkIntToScalar(-17)); in TestMatrixPreservesRightAngles() 73 gMatrices[4].setScale(SkIntToScalar(-1), SkIntToScalar(-1)); in TestMatrixPreservesRightAngles() 93 gMatrices[2].setScale(SkIntToScalar(17), SkIntToScalar(17)); in TestMatrixRectStaysRect() 95 gMatrices[3].setScale(SkIntToScalar(-17), SkIntToScalar(-17)); in TestMatrixRectStaysRect() 98 gMatrices[4].setScale(SkIntToScalar(-1), SkIntToScalar(-1)); in TestMatrixRectStaysRect()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/ |
D | DecimalQuantity_SimpleStorage.java | 333 BigDecimal temp = toBigDecimal().setScale(0, RoundingMode.FLOOR); 402 fallback = fallback.setScale(-roundingMagnitude, mathContext.getRoundingMode()); 422 temp = temp.setScale(-roundingMagnitude, mathContext.getRoundingMode()); 657 returnValue = temp.setScale(0, RoundingMode.FLOOR).remainder(BigDecimal.TEN).byteValue(); 658 fallback = fallback.setScale(0, RoundingMode.FLOOR).add(temp.remainder(BigDecimal.ONE)); 709 return fallback.setScale(0, RoundingMode.FLOOR).compareTo(BigDecimal.ZERO) > 0; 787 returnValue = fallback.setScale(0, RoundingMode.FLOOR).remainder(BigDecimal.TEN).byteValue(); 788 BigDecimal temp = fallback.divide(BigDecimal.TEN).setScale(0, RoundingMode.FLOOR);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/ |
D | DecimalQuantity_SimpleStorage.java | 330 BigDecimal temp = toBigDecimal().setScale(0, RoundingMode.FLOOR); 399 fallback = fallback.setScale(-roundingMagnitude, mathContext.getRoundingMode()); 419 temp = temp.setScale(-roundingMagnitude, mathContext.getRoundingMode()); 654 returnValue = temp.setScale(0, RoundingMode.FLOOR).remainder(BigDecimal.TEN).byteValue(); 655 fallback = fallback.setScale(0, RoundingMode.FLOOR).add(temp.remainder(BigDecimal.ONE)); 706 return fallback.setScale(0, RoundingMode.FLOOR).compareTo(BigDecimal.ZERO) > 0; 784 returnValue = fallback.setScale(0, RoundingMode.FLOOR).remainder(BigDecimal.TEN).byteValue(); 785 BigDecimal temp = fallback.divide(BigDecimal.TEN).setScale(0, RoundingMode.FLOOR);
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | DoubleMathTest.java | 86 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundIntegralDoubleToInt() 105 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundFractionalDoubleToInt() 126 BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY); in testRoundExactIntegralDoubleToInt() 182 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundIntegralDoubleToLong() 201 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundFractionalDoubleToLong() 220 BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY); in testRoundExactIntegralDoubleToLong() 276 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundIntegralDoubleToBigInteger() 286 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundFractionalDoubleToBigInteger() 295 BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY); in testRoundExactIntegralDoubleToBigInteger()
|
/external/guava/android/guava-tests/test/com/google/common/math/ |
D | DoubleMathTest.java | 86 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundIntegralDoubleToInt() 105 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundFractionalDoubleToInt() 126 BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY); in testRoundExactIntegralDoubleToInt() 182 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundIntegralDoubleToLong() 201 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundFractionalDoubleToLong() 220 BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY); in testRoundExactIntegralDoubleToLong() 276 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundIntegralDoubleToBigInteger() 286 BigDecimal expected = new BigDecimal(d).setScale(0, mode); in testRoundFractionalDoubleToBigInteger() 295 BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY); in testRoundExactIntegralDoubleToBigInteger()
|
/external/skia/gm/ |
D | ovals.cpp | 96 m.setScale(SkIntToScalar(3), SkIntToScalar(2)); in makeMatrices() 102 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices() 108 m.setScale(SkIntToScalar(1), SkIntToScalar(2)); in makeMatrices() 114 m.setScale(SkIntToScalar(4), SkIntToScalar(1)); in makeMatrices()
|
D | roundrects.cpp | 106 m.setScale(SkIntToScalar(3), SkIntToScalar(2)); in makeMatrices() 112 m.setScale(SkIntToScalar(2), SkIntToScalar(2)); in makeMatrices() 118 m.setScale(SkIntToScalar(1), SkIntToScalar(2)); in makeMatrices() 124 m.setScale(SkIntToScalar(4), SkIntToScalar(1)); in makeMatrices()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/units/ |
D | ComplexUnitsConverter.java | 198 …BigInteger flooredQuantity = quantity.multiply(EPSILON_MULTIPLIER).setScale(0, RoundingMode.FLOOR)… in convert() 260 .setScale(0, RoundingMode.FLOOR); in applyRounder() 272 .setScale(0, RoundingMode.FLOOR); in applyRounder()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
D | ComplexUnitsConverter.java | 193 …BigInteger flooredQuantity = quantity.multiply(EPSILON_MULTIPLIER).setScale(0, RoundingMode.FLOOR)… in convert() 255 .setScale(0, RoundingMode.FLOOR); in applyRounder() 267 .setScale(0, RoundingMode.FLOOR); in applyRounder()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | TransformationUtils.java | 56 m.setScale(scale, scale); in centerCrop() 127 matrix.setScale(minPercentage, minPercentage); in fitCenter() 289 matrix.setScale(-1, 1); in initializeMatrixForRotation()
|
/external/skia/docs/examples/ |
D | Matrix_getMaxScale.cpp | 8 matrix.setScale(42, 24); in draw()
|
D | Matrix_getScaleY.cpp | 8 matrix.setScale(42, 24); in draw()
|
D | Matrix_getScaleX.cpp | 8 matrix.setScale(42, 24); in draw()
|
D | Matrix_getMinScale.cpp | 8 matrix.setScale(42, 24); in draw()
|
D | Matrix_array_operator.cpp | 8 matrix.setScale(42, 24); in draw()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
D | CauchyDistribution.java | 62 void setScale(double s); in setScale() method
|
D | WeibullDistribution.java | 65 void setScale(double beta); in setScale() method
|