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

  /frameworks/support/design/tests/src/android/support/design/testutils/
TestUtils.java 71 final int expectedAlpha = Color.alpha(color);
85 int varianceAlpha = Math.abs(sourceAlpha - expectedAlpha);
98 + expectedAlpha + "," + expectedRed + ","
TestUtilsMatchers.java 138 int expectedAlpha = Color.alpha(textColor);
145 + expectedAlpha + "," + expectedRed + ","
  /cts/tests/tests/widget/src/android/widget/cts/util/
TestUtils.java 179 int expectedAlpha = Color.alpha(color);
184 int varianceAlpha = Math.abs(sourceAlpha - expectedAlpha);
197 + expectedAlpha + "," + expectedRed + ","
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SwtUtilsTest.java 160 int expectedAlpha = inImage.getRGB(x, y) >> 24;
162 assertEquals(expectedAlpha, actualAlpha);
180 int expectedAlpha = (0xAA * 32) >> 8;
197 assertEquals(expectedAlpha, actualAlpha);
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
TestUtils.java 224 int expectedAlpha = Color.alpha(expectedColor);
229 int varianceAlpha = Math.abs(sourceAlpha - expectedAlpha);
  /cts/tests/tests/graphics/src/android/graphics/cts/
NinePatchTest.java 124 int expectedAlpha = Color.alpha(expectedPixel);
129 assertEquals(expectedAlpha * alpha / ALPHA_OPAQUE, actualAlpha, 1);
BitmapTest.java 583 * @param expectedAlpha Expected return value from bitmap.hasAlpha(). Note that this is based
587 * expectedAlpha, this is based on what was set, but may be different from the actual
591 * hasAlpha() is expected to be true even if expectedAlpha is false.
593 private void checkAlphaAndPremul(Bitmap bitmap, boolean expectedAlpha, boolean expectedPremul,
613 assertEquals(bitmap.hasAlpha(), expectedAlpha);
    [all...]

Completed in 569 milliseconds