Home
last modified time | relevance | path

Searched refs:byteBuffer (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DNinePatchChunk.java50 ByteBuffer byteBuffer = in deserialize() local
53 byte wasSerialized = byteBuffer.get(); in deserialize()
57 chunk.mDivX = new int[byteBuffer.get()]; in deserialize()
58 chunk.mDivY = new int[byteBuffer.get()]; in deserialize()
59 chunk.mColor = new int[byteBuffer.get()]; in deserialize()
65 byteBuffer.getInt(); in deserialize()
66 byteBuffer.getInt(); in deserialize()
68 chunk.mPaddings.left = byteBuffer.getInt(); in deserialize()
69 chunk.mPaddings.right = byteBuffer.getInt(); in deserialize()
70 chunk.mPaddings.top = byteBuffer.getInt(); in deserialize()
[all …]
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DPointerInfo.java192 ByteBuffer byteBuffer = mTempByteBuffer; in getArrayElement() local
202 result[i] = byteBuffer.get(byteOffset); in getArrayElement()
205 ShortBuffer shortBuffer = byteBuffer.asShortBuffer(); in getArrayElement()
209 IntBuffer intBuffer = byteBuffer.asIntBuffer(); in getArrayElement()
213 FloatBuffer floatBuffer = byteBuffer.asFloatBuffer(); in getArrayElement()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DResearchLogger.java200 final ByteBuffer byteBuffer = ByteBuffer.allocate((int) file.length()); in getContents() local
201 fileChannel.read(byteBuffer); in getContents()
202 byteBuffer.rewind(); in getContents()
203 CharBuffer charBuffer = Charset.defaultCharset().decode(byteBuffer); in getContents()