Searched refs:mPixels (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | BitmapMutateActivity.java | 62 private final int[] mPixels; field in BitmapMutateActivity.BitmapsView 74 mPixels = new int[mBitmap1.getWidth() * mBitmap1.getHeight()]; in BitmapsView() 98 mPixels[y * width + x] = color; in onDraw() 102 mBitmap1.setPixels(mPixels, 0, width, 0, 0, width, height); in onDraw() 107 canvas.drawBitmap(mPixels, 0, width, 0.0f, 0.0f, width, height, false, mBitmapPaint); in onDraw()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/ |
D | Throughput.java | 28 private final int mPixels; field in Throughput 34 mPixels = pixels; in Throughput() 55 return (float)(frameTimeInNanos / mPixels); in getNanosPerPixel()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | IconNormalizer.java | 73 private final byte[] mPixels; field in IconNormalizer 93 mPixels = new byte[mMaxSize * mMaxSize]; in IconNormalizer() 199 ByteBuffer buffer = ByteBuffer.wrap(mPixels); in isTransparentBitmap() 213 if ((mPixels[index] & 0xFF) > MIN_VISIBLE_ALPHA) { in isTransparentBitmap() 265 ByteBuffer buffer = ByteBuffer.wrap(mPixels); in getScale() 289 if ((mPixels[index] & 0xFF) > MIN_VISIBLE_ALPHA) { in getScale()
|
/frameworks/native/services/surfaceflinger/tests/utils/ |
D | ScreenshotUtils.h | 79 TransactionUtils::expectBufferColor(mOutBuffer, mPixels, rect, color, tolerance); 141 const uint8_t* pixel = mPixels + (4 * (y * mOutBuffer->getStride() + x)); in checkPixel() 157 mOutBuffer->lock(GRALLOC_USAGE_SW_READ_OFTEN, reinterpret_cast<void**>(&mPixels)); in ScreenCapture() 164 uint8_t* mPixels = nullptr; variable
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SimpleIconFactory.java | 162 mPixels = new byte[mMaxSize * mMaxSize]; in SimpleIconFactory() 455 private final byte[] mPixels; field in SimpleIconFactory 499 ByteBuffer buffer = ByteBuffer.wrap(mPixels); in getScale() 523 if ((mPixels[index] & 0xFF) > MIN_VISIBLE_ALPHA) { in getScale()
|