@Test
  public void testConfigureBounds_CENTER_CROP_H() {
    Rect bounds = new Rect(10, 10, 410, 310);
    int width = 400;
    int height = 200;
    Matrix expectedMatrix = new Matrix();
    expectedMatrix.setScale(1.5f, 1.5f);
    expectedMatrix.postTranslate(-89, 10);
    testConfigureBounds(bounds, width, height, ScaleType.CENTER_CROP, null, expectedMatrix);
  }
Underlying drawable's aspect ratio is bigger than view's, so it has to be slided horizontally
after scaling.
drawee/src/test/java/com/facebook/drawee/drawable/ScaleTypeDrawableTest.java