Searched refs:getByteCount (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DThumbnailCache.java30 return value.getByteCount();
/frameworks/av/media/mtp/
H A DMtpStringBuffer.h50 inline int getByteCount() const { return mByteCount; } function in class:android::MtpStringBuffer
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilterTest.java79 int[] pixels = new int[bitmap.getByteCount()];
158 int[] outputPixels = new int[outputBitmap.getByteCount()];
162 for ( int i = 0; i < outputBitmap.getByteCount(); i++) {
167 if (equalCount + (0.05f*outputBitmap.getByteCount()) < outputBitmap.getByteCount()) {
169 assertEquals(equalCount, outputBitmap.getByteCount());
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeFrame.java179 int byteCount = rgbaBitmap.getByteCount();
195 int byteCount = result.getByteCount();
H A DGLFrame.java234 if (!setNativeBitmap(rgbaBitmap, rgbaBitmap.getByteCount())) {
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapTest.java43 assertEquals("byteCount", 80000, bm1.getByteCount());
44 assertEquals("byteCount", 40000, bm2.getByteCount());
45 assertEquals("byteCount", 40000, bm3.getByteCount());
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java192 * <p>The result of {@link #getByteCount()} will reflect the new configuration,
487 long pixelSize = getByteCount();
527 long bitmapBytes = getByteCount();
1150 public final int getByteCount() { method in class:Bitmap
1158 * <p>This can be larger than the result of {@link #getByteCount()} if a bitmap is reused to
1163 * the same as that returned by {@link #getByteCount()}.</p>
1173 return getByteCount();

Completed in 199 milliseconds