HomeSort by relevance Sort by last modified time
    Searched refs:toArgb (Results 1 - 6 of 6) sorted by null

  /cts/tests/tests/text/src/android/text/style/cts/
DynamicDrawableSpanTest.java 113 assertThat(bitmap.getColor(0, i).toArgb()).isEqualTo(Color.RED);
117 assertThat(bitmap.getColor(0, i + padding / 2).toArgb()).isNotEqualTo(Color.RED);
121 assertThat(bitmap.getColor(0, i + DRAWABLE_SIZE + padding / 2).toArgb())
  /cts/tests/tests/graphics/src/android/graphics/cts/
Color_ColorLongTest.java 26 import static android.graphics.Color.toArgb;
258 assertEquals(0xff8000ff, toArgb(pack(0.5f, 0.0f, 1.0f)));
263 assertEquals(0xffff7f00, toArgb(color));
265 assertEquals(0xff8000ff, valueOf(0.5f, 0.0f, 1.0f).toArgb());
267 valueOf(0.8912f, 0.4962f, 0.1164f, 1.0f, ColorSpace.get(Named.ADOBE_RGB)).toArgb());
PaintTest.java 122 assertEquals(Color.BLACK, Color.toArgb(p.getColorLong()));
123 assertEquals(Color.TRANSPARENT, Color.toArgb(p.getShadowLayerColorLong()));
    [all...]
BitmapColorSpaceTest.java 416 return Color.toArgb(Color.convert((premulColor >>> 24) / 255.0f / alpha,
    [all...]
BitmapTest.java 706 assertEquals(mBitmap.getPixel(0, 0), result.toArgb());
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
WideColorGamutTests.java 93 Arrays.stream(colors).mapToInt(Color::toArgb).toArray(),

Completed in 773 milliseconds