Home
last modified time | relevance | path

Searched refs:BipTransformation (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipTransformationTest.java31 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 …]
DBipImageFormatTest.java35 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 …]
DBipImageDescriptorTest.java97 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()
DBipImagePropertiesTest.java409 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()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/
DBipTransformation.java37 public class BipTransformation { class
48 public BipTransformation() {} in BipTransformation() method in BipTransformation
51 public BipTransformation(String transformations) { in BipTransformation() method in BipTransformation
75 public BipTransformation(int transformation) { in BipTransformation() method in BipTransformation
80 public BipTransformation(int[] transformations) { in BipTransformation() method in BipTransformation
146 if (!(o instanceof BipTransformation)) return false; in equals()
148 BipTransformation t = (BipTransformation) o; in equals()
DBipImageFormat.java62 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()
DBipImageDescriptor.java112 mImageDescriptor.mTransformation = new BipTransformation(transformation); in setTransformation()
158 private BipTransformation mTransformation = null;
191 new BipTransformation( in parse()
229 public BipTransformation getTransformation() { in getTransformation()
DBipImageProperties.java335 BipTransformation trans = format.getTransformation(); in toString()