Searched refs:BipTransformation (Results 1 – 8 of 8) sorted by relevance
31 BipTransformation trans = new BipTransformation(); in testCreateEmpty()38 BipTransformation trans = new BipTransformation(); in testAddTransformation()39 trans.addTransformation(BipTransformation.CROP); in testAddTransformation()40 Assert.assertTrue(trans.isSupported(BipTransformation.CROP)); in testAddTransformation()41 Assert.assertFalse(trans.isSupported(BipTransformation.STRETCH)); in testAddTransformation()42 Assert.assertFalse(trans.isSupported(BipTransformation.FILL)); in testAddTransformation()45 trans.addTransformation(BipTransformation.STRETCH); in testAddTransformation()46 Assert.assertTrue(trans.isSupported(BipTransformation.CROP)); in testAddTransformation()47 Assert.assertTrue(trans.isSupported(BipTransformation.STRETCH)); in testAddTransformation()48 Assert.assertFalse(trans.isSupported(BipTransformation.FILL)); in testAddTransformation()[all …]
35 Assert.assertEquals(new BipTransformation(), format.getTransformation()); in testParseNative_requiredOnly()48 Assert.assertEquals(new BipTransformation(), format.getTransformation()); in testParseNative_withSize()61 Assert.assertEquals(new BipTransformation(), format.getTransformation()); in testParseVariant_requiredOnly()74 Assert.assertEquals(new BipTransformation(), format.getTransformation()); in testParseVariant_withMaxSize()85 BipTransformation trans = new BipTransformation(); in testParseVariant_withTransformation()86 trans.addTransformation(BipTransformation.STRETCH); in testParseVariant_withTransformation()87 trans.addTransformation(BipTransformation.FILL); in testParseVariant_withTransformation()88 trans.addTransformation(BipTransformation.CROP); in testParseVariant_withTransformation()109 BipTransformation trans = new BipTransformation(); in testParseVariant_allFields()110 trans.addTransformation(BipTransformation.STRETCH); in testParseVariant_allFields()[all …]
97 builder.setTransformation(BipTransformation.STRETCH); in testBuildImageDescriptor_transformationConstantStretch()115 builder.setTransformation(BipTransformation.CROP); in testBuildImageDescriptor_transformationConstantCrop()133 builder.setTransformation(BipTransformation.FILL); in testBuildImageDescriptor_transformationConstantFill()151 builder.setTransformation(BipTransformation.CROP); in testBuildImageDescriptor_transformationConstantCropThenFill()152 builder.setTransformation(BipTransformation.FILL); in testBuildImageDescriptor_transformationConstantCropThenFill()204 builder.setTransformation(BipTransformation.FILL); in testBuildImageDescriptor_allButSize()
409 BipTransformation trans = new BipTransformation(); in testCreateProperties()410 trans.addTransformation(BipTransformation.STRETCH); in testCreateProperties()411 trans.addTransformation(BipTransformation.CROP); in testCreateProperties()412 trans.addTransformation(BipTransformation.FILL); in testCreateProperties()
37 public class BipTransformation { class48 public BipTransformation() {} in BipTransformation() method in BipTransformation51 public BipTransformation(String transformations) { in BipTransformation() method in BipTransformation75 public BipTransformation(int transformation) { in BipTransformation() method in BipTransformation80 public BipTransformation(int[] transformations) { in BipTransformation() method in BipTransformation146 if (!(o instanceof BipTransformation)) return false; in equals()148 BipTransformation t = (BipTransformation) o; in equals()
62 BipEncoding encoding, BipPixel pixel, int maxSize, BipTransformation transformation) { in createVariant()87 private final BipTransformation mTransformation;109 BipTransformation transformation) { in BipImageFormat()128 mTransformation = new BipTransformation(transformation); in BipImageFormat()155 public BipTransformation getTransformation() { in getTransformation()
112 mImageDescriptor.mTransformation = new BipTransformation(transformation); in setTransformation()158 private BipTransformation mTransformation = null;191 new BipTransformation( in parse()229 public BipTransformation getTransformation() { in getTransformation()
335 BipTransformation trans = format.getTransformation(); in toString()