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

  /frameworks/native/services/surfaceflinger/tests/hwc2/
Hwc2TestPixelComparator.cpp 83 uint32_t expectedAlpha = (expectedPixel >> 24) & 0xFF;
96 << expectedBlue << "|" << expectedAlpha << std::endl;
  /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);
  /external/skia/tests/
CodecAnimTest.cpp 269 auto expectedAlpha = 0 == i ? codec->getInfo().alphaType() : rec.fAlphas[i-1];
271 if (expectedAlpha != alpha) {
273 rec.fName, i, to_string(expectedAlpha), to_string(alpha));
  /external/skqp/tests/
CodecAnimTest.cpp 269 auto expectedAlpha = 0 == i ? codec->getInfo().alphaType() : rec.fAlphas[i-1];
271 if (expectedAlpha != alpha) {
273 rec.fName, i, to_string(expectedAlpha), to_string(alpha));
  /cts/tests/tests/graphics/src/android/graphics/cts/
NinePatchTest.java 159 int expectedAlpha = Color.alpha(expectedPixel);
164 assertEquals(expectedAlpha * alpha / ALPHA_OPAQUE, actualAlpha, 1);
BitmapTest.java 738 * @param expectedAlpha Expected return value from bitmap.hasAlpha(). Note that this is based
742 * expectedAlpha, this is based on what was set, but may be different from the actual
746 * hasAlpha() is expected to be true even if expectedAlpha is false.
748 private void verifyAlphaAndPremul(Bitmap bitmap, boolean expectedAlpha, boolean expectedPremul,
768 assertEquals(bitmap.hasAlpha(), expectedAlpha);
    [all...]
  /frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/testutils/
TestUtils.java 254 int expectedAlpha = Color.alpha(expectedColor);
259 int varianceAlpha = Math.abs(sourceAlpha - expectedAlpha);
  /cts/tests/tests/widget/src/android/widget/cts/util/
TestUtils.java 295 int expectedAlpha = Color.alpha(expectedColor);
300 int varianceAlpha = Math.abs(sourceAlpha - expectedAlpha);
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
ScrimControllerTest.java 598 * @param expectedAlpha Expected alpha.
600 private void testConservesNotificationDensity(int count, float expectedAlpha) {
609 expectedAlpha, mScrimBehind.getViewAlpha(), 0.01f);

Completed in 3264 milliseconds