Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchChunk.java56 NinePatchChunk chunk = new NinePatchChunk(); 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()
61 checkDivCount(chunk.mDivX.length); in deserialize()
62 checkDivCount(chunk.mDivY.length); 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()
71 chunk.mPaddings.bottom = byteBuffer.getInt(); in deserialize()
[all …]
DNinePatchTexture.java207 NinePatchChunk chunk = tex.getNinePatchChunk(); in NinePatchInstance() local
216 if (chunk.mDivX.length != 2 || chunk.mDivY.length != 2) { in NinePatchInstance()
225 int nx = stretch(divX, divU, chunk.mDivX, tex.getWidth(), width); in NinePatchInstance()
226 int ny = stretch(divY, divV, chunk.mDivY, tex.getHeight(), height); in NinePatchInstance()
228 prepareVertexData(divX, divY, divU, divV, nx, ny, chunk.mColor); in NinePatchInstance()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DSampleChunk.java61 public void onChunkWrite(SampleChunk chunk) {} in onChunkWrite() argument
68 public void onChunkDelete(SampleChunk chunk) {} in onChunkDelete() argument
113 SampleChunk chunk = new SampleChunk(samplePool, file, startPositionUs, chunkCallback); in loadSampleChunkFromFile() local
115 prev.mNextChunk = chunk; in loadSampleChunkFromFile()
117 return chunk; in loadSampleChunkFromFile()
130 private boolean equals(SampleChunk chunk, long offset) { in equals() argument
131 return chunk == mChunk && mCurrentOffset == offset; in equals()
144 private void reset(@Nullable SampleChunk chunk) { in reset() argument
145 mChunk = chunk; in reset()
149 private void reset(SampleChunk chunk, long offset) { in reset() argument
[all …]
DBufferManager.java75 public void onChunkWrite(SampleChunk chunk) {
76 mBufferSize += chunk.getSize();
80 public void onChunkDelete(SampleChunk chunk) {
81 mBufferSize -= chunk.getSize();
314 private void add(String key, SampleChunk chunk) { in add() argument
317 mSize += chunk.getSize(); in add()
318 queue.add(chunk); in add()
325 SampleChunk chunk = queue.peek(); in poll() local
326 if (chunk != null && chunk.getStartPositionUs() < startPositionUs) { in poll()
327 mSize -= chunk.getSize(); in poll()
[all …]
DSampleChunkIoHelper.java423 SampleChunk chunk = in doOpenWrite() local
426 mWriteIoStates[index].openWrite(chunk); in doOpenWrite()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DSampleChunk.java75 public void onChunkWrite(SampleChunk chunk) {} in onChunkWrite() argument
82 public void onChunkDelete(SampleChunk chunk) {} in onChunkDelete() argument
129 SampleChunk chunk = in loadSampleChunkFromFile() local
132 prev.mNextChunk = chunk; in loadSampleChunkFromFile()
134 return chunk; in loadSampleChunkFromFile()
147 private boolean equals(SampleChunk chunk, long offset) { in equals() argument
148 return chunk == mChunk && mCurrentOffset == offset; in equals()
161 private void reset(@Nullable SampleChunk chunk) { in reset() argument
162 mChunk = chunk; in reset()
166 private void reset(SampleChunk chunk, long offset) { in reset() argument
[all …]
DBufferManager.java76 public void onChunkWrite(SampleChunk chunk) {
77 mBufferSize += chunk.getSize();
81 public void onChunkDelete(SampleChunk chunk) {
82 mBufferSize -= chunk.getSize();
317 private void add(String key, SampleChunk chunk) { in add() argument
320 mSize += chunk.getSize(); in add()
321 queue.add(chunk); in add()
328 SampleChunk chunk = queue.peek(); in poll() local
329 if (chunk != null && chunk.getStartPositionUs() < startPositionUs) { in poll()
330 mSize -= chunk.getSize(); in poll()
[all …]
DSampleChunkIoHelper.java465 SampleChunk chunk = in doOpenWrite() local
468 mWriteIoStates[index].openWrite(chunk); in doOpenWrite()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dallocators.h234 …ChunkHeader* chunk = reinterpret_cast<ChunkHeader*>(baseAllocator_->Malloc(RAPIDJSON_ALIGN(sizeof(… in AddChunk() local
235 chunk->capacity = capacity; in AddChunk()
236 chunk->size = 0; in AddChunk()
237 chunk->next = chunkHead_; in AddChunk()
238 chunkHead_ = chunk; in AddChunk()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java449 BackupChunkInformation chunk; in backupAll() local
452 chunk = putSmsMessagesToJson(cursor, jsonWriter); in backupAll()
454 chunk = putMmsMessagesToJson(cursor, jsonWriter); in backupAll()
457 backupFile(chunk, fileName, data); in backupAll()
721 BackupChunkInformation chunk) throws IOException {
746 chunk.timestamp = findNewestValue(chunk.timestamp, value);
876 BackupChunkInformation chunk) throws IOException {
912 chunk.timestamp = findNewestValue(chunk.timestamp, value);
934 chunk.count++;
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewBrowserActivity.java196 public void write(byte[] chunk) throws IOException { in write() argument
197 mByteCount += chunk.length; in write()
199 super.write(chunk); in write()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dfaq.md227 …User can use `FileReadStream` to read the file chunk-by-chunk. But for *in situ* parsing, the whol…
Ddom.md260 … satisfy allocations. When the user buffer is used up, it will allocate a chunk of memory from the…
Dinternals.md162 2. If user supplied buffer is full, use the current memory chunk.
/packages/apps/TV/libs/m2/
Dprotobuf-java-3.7.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...