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 …]
98 FileChannel fileChannel = file.getChannel(); in addFont() local99 long fontSize = fileChannel.size(); in addFont()100 ByteBuffer fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in addFont()
896 FileChannel fileChannel = file.getChannel(); in makeFamilyFromParsed() local897 long fontSize = fileChannel.size(); in makeFamilyFromParsed()898 fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in makeFamilyFromParsed()
665 final FileChannel fileChannel = fis.getChannel(); in prepareFontData() local666 final long size = fileChannel.size(); in prepareFontData()667 buffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, size); in prepareFontData()