Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipTransformationTest.java33 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 …]
DBipImageFormatTest.java37 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 …]
DBipImagePropertiesTest.java67 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()
DBipImageDescriptorTest.java90 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()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipTransformation.java42 public class BipTransformation { class
55 public BipTransformation() { in BipTransformation() method in BipTransformation
61 public BipTransformation(String transformations) { in BipTransformation() method in BipTransformation
87 public BipTransformation(int transformation) { in BipTransformation() method in BipTransformation
94 public BipTransformation(int[] transformations) { in BipTransformation() method in BipTransformation
160 if (!(o instanceof BipTransformation)) return false; in equals()
162 BipTransformation t = (BipTransformation) o; in equals()
DBipImageFormat.java71 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()
DBipImageDescriptor.java115 mImageDescriptor.mTransformation = new BipTransformation(transformation); in setTransformation()
170 private BipTransformation mTransformation = null;
208 mTransformation = new BipTransformation( in parse()
246 public BipTransformation getTransformation() { in getTransformation()
DBipImageProperties.java295 BipTransformation trans = format.getTransformation(); in toString()