HomeSort by relevance Sort by last modified time
    Searched refs:getByteCount (Results 1 - 25 of 34) sorted by null

1 2

  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
ThumbnailCache.java 30 return value.getByteCount();
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
Base64ReaderTests.java 54 assertEquals("0 char", 0, reader.getByteCount());
67 assertEquals("1 char", 0, reader.getByteCount());
82 assertEquals("2 chars", 1, reader.getByteCount());
99 assertEquals("3 chars", 2, reader.getByteCount());
118 assertEquals("4 chars", 3, reader.getByteCount());
131 assertEquals("count: all byte pattern: pos " + i, i + 1, reader.getByteCount());
134 assertEquals("all byte pattern", 256, reader.getByteCount());
147 assertEquals("0 char", 0, reader.getByteCount());
160 assertEquals("1 char", 0, reader.getByteCount());
173 assertEquals("2 chars", 1, reader.getByteCount());
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
CountingOutputStream.java 93 * See {@link #getByteCount()} for a method using a <code>long</code>.
99 long result = getByteCount();
134 public synchronized long getByteCount() {
ThresholdingOutputStream.java 184 public long getByteCount()
  /frameworks/av/media/mtp/
MtpStringBuffer.h 50 inline int getByteCount() const { return mByteCount; }
  /packages/apps/UnifiedEmail/src/com/android/bitmap/
ReusableBitmap.java 73 public int getByteCount() {
74 return bmp.getByteCount();
111 sb.append(bmp.getByteCount() >> 10);
AltBitmapCache.java 56 return value.getByteCount();
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
CountingInputStream.java 114 * See {@link #getByteCount()} for a method using a <code>long</code>.
120 long result = getByteCount();
155 public synchronized long getByteCount() {
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
FaceSquareFilterTest.java 79 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());
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
Base64Reader.java 52 public int getByteCount() {
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
NativeFrame.java 179 int byteCount = rgbaBitmap.getByteCount();
195 int byteCount = result.getByteCount();
GLFrame.java 234 if (!setNativeBitmap(rgbaBitmap, rgbaBitmap.getByteCount())) {
  /packages/apps/Gallery2/src/com/android/photos/data/
SparseArrayBitmapPool.java 120 mSizeBytes -= n.bitmap.getByteCount();
170 int bytes = b.getByteCount();
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
BitmapTest.java 43 assertEquals("byteCount", 80000, bm1.getByteCount());
44 assertEquals("byteCount", 40000, bm2.getByteCount());
45 assertEquals("byteCount", 40000, bm3.getByteCount());
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapFactoryTest.java 312 int originalSize = start.getByteCount();
320 assertEquals(originalSize, pass.getByteCount());
361 int originalSize = original.getByteCount();
370 assertEquals(originalSize, reduced.getByteCount() * 16);
379 int originalSize = original.getByteCount();
391 assertEquals(originalSize, doubleScaled.getByteCount());
BitmapTest.java 387 assertEquals(mBitmap.getByteCount(), alloc);
391 assertEquals(mBitmap.getByteCount(), alloc);
396 assertEquals(mBitmap.getByteCount(), 100);
498 assertEquals(mBitmap.getByteCount() * 8, alloc);
523 assertEquals(mBitmap.getByteCount() * 2, alloc);
548 assertEquals(mBitmap.getByteCount() * 2, alloc);
800 assertEquals(mBitmap.getByteCount() * 2, alloc);
  /development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageCache.java 140 return bitmap.getByteCount();
  /frameworks/base/graphics/java/android/graphics/
Bitmap.java 193 * <p>The result of {@link #getByteCount()} will reflect the new configuration,
488 long pixelSize = getByteCount();
528 long bitmapBytes = getByteCount();
    [all...]
  /cts/tests/tests/holo/src/android/holo/cts/
LayoutTestActivity.java 187 ByteBuffer buffer1 = ByteBuffer.allocate(bitmap.getByteCount());
188 ByteBuffer buffer2 = ByteBuffer.allocate(reference.getByteCount());
  /packages/apps/Browser/src/com/android/browser/
DataController.java 202 if (mBuffer == null || mBuffer.limit() < capture.getByteCount()) {
203 mBuffer = ByteBuffer.allocate(capture.getByteCount());
  /packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
PhotoManager.java 216 return value.getByteCount();
359 cached.getByteCount(),
383 cachedReplacement.getByteCount(),
594 bitmapBytes += b.getByteCount();
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/
ContactPhotoManager.java 575 return value.getByteCount();
629 bitmapBytes += b.getByteCount();
647 bitmapBytes += b.getByteCount();
    [all...]
  /development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/
ImageCache.java 608 return bitmap.getByteCount();
  /packages/apps/Mms/src/com/android/mms/util/
ThumbnailManager.java 293 resultBitmap.getByteCount());
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
MediaItemView.java 643 return value.getByteCount();

Completed in 3505 milliseconds

1 2