Home
last modified time | relevance | path

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

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DLoaderDicom.java52 MappedByteBuffer mMappedByteBuffer; field in LoaderDicom
150 mMappedByteBuffer = f.getChannel().map(MapMode.READ_ONLY, 0, mFileLen = f.length()); in read()
151 mMappedByteBuffer.position(132); in read()
156 while (mMappedByteBuffer.position() < mFileLen) { in read()
157 int pos = mMappedByteBuffer.position(); in read()
164 mMappedByteBuffer.position(mMappedByteBuffer.position() - jump); in read()
193 e.mGroup = mMappedByteBuffer.getShort() & 0xFFFF; in readTag()
194 e.mElement = mMappedByteBuffer.getShort() & 0xFFFF; in readTag()
197 e.mLength = mMappedByteBuffer.getInt(); in readTag()
206 e.mVR = mMappedByteBuffer.getShort(); in readTag()
[all …]
/frameworks/layoutlib/bridge/src/libcore/io/
DMemoryMappedFile_Delegate.java45 private final MappedByteBuffer mMappedByteBuffer; field in MemoryMappedFile_Delegate
96 return new BridgeBufferIterator(delegate.mSize, delegate.mMappedByteBuffer.duplicate()); in bigEndianIterator()
105 mMappedByteBuffer = file.getChannel().map(MapMode.READ_ONLY, 0, mSize); in MemoryMappedFile_Delegate()
106 assert mMappedByteBuffer.order() == ByteOrder.BIG_ENDIAN; in MemoryMappedFile_Delegate()