Home
last modified time | relevance | path

Searched refs:byteCount (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DPointerInfo.java87 private static ByteBuffer toByteBuffer(int byteCount, Buffer input) { in toByteBuffer() argument
89 boolean convertWholeBuffer = (byteCount < 0); in toByteBuffer()
94 byteCount = input2.limit() - position; in toByteBuffer()
96 result = ByteBuffer.allocate(byteCount).order(input2.order()); in toByteBuffer()
97 for (int i = 0; i < byteCount; i++) { in toByteBuffer()
105 byteCount = (input2.limit() - position) * 2; in toByteBuffer()
107 result = ByteBuffer.allocate(byteCount).order(input2.order()); in toByteBuffer()
109 for (int i = 0; i < byteCount / 2; i++) { in toByteBuffer()
117 byteCount = (input2.limit() - position)* 2; in toByteBuffer()
119 result = ByteBuffer.allocate(byteCount).order(input2.order()); in toByteBuffer()
[all …]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFingerprint.java85 public static Fingerprint fromInputStream(InputStream stream, long[] byteCount) in fromInputStream() argument
101 if ((byteCount != null) && (byteCount.length > 0)) byteCount[0] = count; in fromInputStream()