/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | RotationAnimationUtilsTest.java | 84 private Bitmap createBitmap(float luma) { in createBitmap() argument 85 return createBitmap(luma, BITMAP_WIDTH, BITMAP_HEIGHT); in createBitmap() 88 private Bitmap createBitmap(float luma, int width, int height) { in createBitmap() argument 92 bitmap.setPixel(i, j, Color.argb(1, luma, luma, luma)); in createBitmap() 103 private void setBorderLuma(Bitmap swBitmap, float luma) { in setBorderLuma() argument 108 swBitmap.setPixel(i, 0, Color.argb(1, luma, luma, luma)); in setBorderLuma() 109 swBitmap.setPixel(i, height - 1, Color.argb(1, luma, luma, luma)); in setBorderLuma() 112 swBitmap.setPixel(0, i, Color.argb(1, luma, luma, luma)); in setBorderLuma() 113 swBitmap.setPixel(width - 1, i, Color.argb(1, luma, luma, luma)); in setBorderLuma()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | ImageCompare.java | 30 private static double luma(int pixel) { in luma() method in ImageCompare 70 final double Y1 = luma(pixel1); in psnr() 71 final double Y2 = luma(pixel2); in psnr()
|
/frameworks/native/libs/gui/tests/ |
D | RegionSampling_test.cpp | 153 float luma() { in luma() function 279 EXPECT_NEAR(listener->luma(), luma_green, error_margin); in TEST_F() 301 EXPECT_NEAR(listener->luma(), luma_green, error_margin); in TEST_F() 320 EXPECT_NEAR(listener->luma(), luma_green, error_margin); in TEST_F() 327 EXPECT_NEAR(listener->luma(), luma_blue, error_margin); in TEST_F() 353 EXPECT_NEAR(grayListener->luma(), luma_gray, error_margin); in TEST_F() 356 EXPECT_NEAR(greenListener->luma(), luma_green, error_margin); in TEST_F() 411 EXPECT_NEAR(listener->luma(), luma_green, error_margin); in TEST_F() 435 EXPECT_NEAR(listener->luma(), luma_blue, error_margin); in TEST_F() 440 EXPECT_NEAR(listener->luma(), luma_gray, error_margin); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | RegionSamplingThread.cpp | 220 const uint32_t luma = (r * 7 + b * 2 + g * 23) >> 5; in sampleArea() local 221 accumulatedLuma += luma; in sampleArea()
|
/frameworks/av/media/libstagefright/omx/ |
D | SoftVideoEncoderOMXComponent.cpp | 493 unsigned luma = in ConvertRGB32ToPlanar() local 496 dstY[x] = luma; in ConvertRGB32ToPlanar()
|
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2BufferUtils.cpp | 628 unsigned luma = ((r * weights[0][0] + g * weights[0][1] + b * weights[0][2]) >> 8) + in ConvertRGBToPlanarYUV() local 631 dstY[x] = CLIP3(zeroLvl, luma, maxLvlLuma); in ConvertRGBToPlanarYUV()
|
/frameworks/base/core/java/android/window/ |
D | TransitionInfo.java | 827 public void setSnapshot(@Nullable SurfaceControl snapshot, float luma) { in setSnapshot() argument 829 mSnapshotLuma = luma; in setSnapshot()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | TransitionAnimation.java | 1325 final float luma = getBorderLuma(hwBuffer, buffer.getColorSpace()); in getBorderLuma() local 1329 return luma; in getBorderLuma()
|