Searched refs:fileChannel (Results 1 – 4 of 4) sorted by relevance
57 FileSynthesisCallback(@NonNull FileChannel fileChannel, in FileSynthesisCallback() argument60 mFileChannel = fileChannel; in FileSynthesisCallback()116 FileChannel fileChannel = null; in start() local136 fileChannel = mFileChannel; in start()140 fileChannel.write(ByteBuffer.allocate(WAV_HEADER_LENGTH)); in start()158 FileChannel fileChannel = null; in audioAvailable() local177 fileChannel = mFileChannel; in audioAvailable()185 fileChannel.write(ByteBuffer.wrap(buffer, offset, length)); in audioAvailable()200 FileChannel fileChannel = null; in done() local226 fileChannel = mFileChannel; in done()[all …]
138 FileChannel fileChannel = file.getChannel(); in addFont() local139 long fontSize = fileChannel.size(); in addFont()140 ByteBuffer fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in addFont()
104 final FileChannel fileChannel = file.getChannel(); in mmap() local105 final long fontSize = fileChannel.size(); in mmap()106 return fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in mmap()
716 final FileChannel fileChannel = fis.getChannel(); in prepareFontData() local717 final long size = fileChannel.size(); in prepareFontData()718 buffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, size); in prepareFontData()