Esempio n. 1
0
 private void assertPacked(int expected, int r, int g, int b, int a) {
   int packed = TextColor.packColorInt(r, g, b, a);
   TextColorTestUtil.assertColor(expected, packed);
 }
Esempio n. 2
0
 private void assertPacked(int expected, float r, float g, float b, float a) {
   int packed = TextColor.packColorFloat(r, g, b, a);
   TextColorTestUtil.assertColor(expected, packed);
 }