Searched defs:byteCount (Results 1 - 2 of 2) sorted by relevance

/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
H A DPointerInfo.java87 private static ByteBuffer toByteBuffer(int byteCount, Buffer input) { argument
89 boolean convertWholeBuffer = (byteCount < 0);
94 byteCount = input2.limit() - position;
96 result = ByteBuffer.allocate(byteCount).order(input2.order());
97 for (int i = 0; i < byteCount; i++) {
105 byteCount = (input2.limit() - position) * 2;
107 result = ByteBuffer.allocate(byteCount).order(input2.order());
109 for (int i = 0; i < byteCount / 2; i++) {
117 byteCount = (input2.limit() - position)* 2;
119 result = ByteBuffer.allocate(byteCount)
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DFingerprint.java82 * @param byteCount length of original data will be stored at byteCount[0] as a side product
85 public static Fingerprint fromInputStream(InputStream stream, long[] byteCount) argument
101 if ((byteCount != null) && (byteCount.length > 0)) byteCount[0] = count;

Completed in 56 milliseconds