Searched refs:BipTransformation (Results 1 – 8 of 8) sorted by relevance
33 BipTransformation trans = new BipTransformation(); in testCreateEmpty()40 BipTransformation trans = new BipTransformation(); in testAddTransformation()41 trans.addTransformation(BipTransformation.CROP); in testAddTransformation()42 Assert.assertTrue(trans.isSupported(BipTransformation.CROP)); in testAddTransformation()43 Assert.assertFalse(trans.isSupported(BipTransformation.STRETCH)); in testAddTransformation()44 Assert.assertFalse(trans.isSupported(BipTransformation.FILL)); in testAddTransformation()47 trans.addTransformation(BipTransformation.STRETCH); in testAddTransformation()48 Assert.assertTrue(trans.isSupported(BipTransformation.CROP)); in testAddTransformation()49 Assert.assertTrue(trans.isSupported(BipTransformation.STRETCH)); in testAddTransformation()50 Assert.assertFalse(trans.isSupported(BipTransformation.FILL)); in testAddTransformation()[all …]
37 Assert.assertEquals(new BipTransformation(), format.getTransformation()); in testParseNative_requiredOnly()50 Assert.assertEquals(new BipTransformation(), format.getTransformation()); in testParseNative_withSize()63 Assert.assertEquals(new BipTransformation(), format.getTransformation()); in testParseVariant_requiredOnly()76 Assert.assertEquals(new BipTransformation(), format.getTransformation()); in testParseVariant_withMaxSize()86 BipTransformation trans = new BipTransformation(); in testParseVariant_withTransformation()87 trans.addTransformation(BipTransformation.STRETCH); in testParseVariant_withTransformation()88 trans.addTransformation(BipTransformation.FILL); in testParseVariant_withTransformation()89 trans.addTransformation(BipTransformation.CROP); in testParseVariant_withTransformation()110 BipTransformation trans = new BipTransformation(); in testParseVariant_allFields()111 trans.addTransformation(BipTransformation.STRETCH); in testParseVariant_allFields()[all …]
67 BipTransformation trans = new BipTransformation(); in testCreateProperties()68 trans.addTransformation(BipTransformation.STRETCH); in testCreateProperties()69 trans.addTransformation(BipTransformation.CROP); in testCreateProperties()70 trans.addTransformation(BipTransformation.FILL); in testCreateProperties()
90 builder.setTransformation(BipTransformation.STRETCH); in testBuildImageDescriptor_transformationConstantStretch()106 builder.setTransformation(BipTransformation.CROP); in testBuildImageDescriptor_transformationConstantCrop()122 builder.setTransformation(BipTransformation.FILL); in testBuildImageDescriptor_transformationConstantFill()138 builder.setTransformation(BipTransformation.CROP); in testBuildImageDescriptor_transformationConstantCropThenFill()139 builder.setTransformation(BipTransformation.FILL); in testBuildImageDescriptor_transformationConstantCropThenFill()185 builder.setTransformation(BipTransformation.FILL); in testBuildImageDescriptor_allButSize()
42 public class BipTransformation { class55 public BipTransformation() { in BipTransformation() method in BipTransformation61 public BipTransformation(String transformations) { in BipTransformation() method in BipTransformation87 public BipTransformation(int transformation) { in BipTransformation() method in BipTransformation94 public BipTransformation(int[] transformations) { in BipTransformation() method in BipTransformation160 if (!(o instanceof BipTransformation)) return false; in equals()162 BipTransformation t = (BipTransformation) o; in equals()
71 BipTransformation transformation) { in createVariant()100 private final BipTransformation mTransformation;117 BipTransformation transformation) { in BipImageFormat()131 mTransformation = new BipTransformation(transformation); in BipImageFormat()158 public BipTransformation getTransformation() { in getTransformation()
115 mImageDescriptor.mTransformation = new BipTransformation(transformation); in setTransformation()170 private BipTransformation mTransformation = null;208 mTransformation = new BipTransformation( in parse()246 public BipTransformation getTransformation() { in getTransformation()
295 BipTransformation trans = format.getTransformation(); in toString()