Searched refs:mPixels (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A 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()
|
/aosp14/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/ |
H A D | Throughput.java | 28 private final int mPixels; field in Throughput 34 mPixels = pixels; in Throughput() 55 return (float)(frameTimeInNanos / mPixels); in getNanosPerPixel()
|
/aosp14/frameworks/base/core/java/com/android/internal/graphics/palette/ |
H A D | WSMeansQuantizer.java | 56 private int[] mPixels; field in WSMeansQuantizer 93 mPixels = new int[mInputPixelToCount.size()]; in quantize() 96 mPixels[index] = pixel; in quantize() 155 mClusterIndices = new int[mPixels.length]; in initializeClusters() 156 mClusterPopulations = new int[mPixels.length]; in initializeClusters() 158 for (int i = 0; i < mPixels.length; i++) { in initializeClusters() 161 mClusterPopulations[i] = mInputPixelToCount.get(mPixels[i]); in initializeClusters() 238 int pixel = mPixels[i]; in recalculateClusterCenters()
|
/aosp14/frameworks/base/core/java/com/android/internal/app/ |
H A D | SimpleIconFactory.java | 175 mPixels = new byte[mMaxSize * mMaxSize]; in SimpleIconFactory() 468 private final byte[] mPixels; field in SimpleIconFactory 512 ByteBuffer buffer = ByteBuffer.wrap(mPixels); in getScale() 536 if ((mPixels[index] & 0xFF) > MIN_VISIBLE_ALPHA) { in getScale()
|