Searched refs:seek (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/jni/android/graphics/
H A DUtils.cpp23 off_t pos = fAsset->seek(0, SEEK_SET);
25 SkDebugf("----- fAsset->seek(rewind) failed\n");
38 // asset->seek returns new total offset
41 off_t oldOffset = fAsset->seek(0, SEEK_CUR);
43 SkDebugf("---- fAsset->seek(oldOffset) failed\n");
46 off_t newOffset = fAsset->seek(size, SEEK_CUR);
48 SkDebugf("---- fAsset->seek(%d) failed\n", size);
H A DTypeface.cpp75 off_t pos = fAsset->seek(0, SEEK_SET);
88 // asset->seek returns new total offset
91 off_t oldOffset = fAsset->seek(0, SEEK_CUR);
94 off_t newOffset = fAsset->seek(size, SEEK_CUR);
H A DBitmapFactory.cpp372 off_t size = asset->seek(0, SEEK_SET);
/frameworks/base/include/utils/
H A DAsset.h54 /* read chunks, and seek forward and backward */
57 /* read sequentially, with an occasional forward seek */
75 virtual off_t seek(off_t offset, int whence) = 0;
122 /* handle common seek() housekeeping */
237 virtual off_t seek(off_t offset, int whence);
249 FILE* mFp; // for read/seek
294 virtual off_t seek(off_t offset, int whence);
/frameworks/base/core/java/android/os/
H A DRecoverySystem.java155 raf.seek(fileLen - 6);
169 raf.seek(fileLen - (commentSize + 22));
266 raf.seek(0);
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoViewProxy.java93 // The seek position.
223 public static void seek(int time, HTML5VideoViewProxy proxy) { method in class:HTML5VideoViewProxy.VideoPlayer
305 VideoPlayer.seek(mSeekPosition, this);
554 public void seek(int time) { method in class:HTML5VideoViewProxy
H A DHTML5Audio.java204 private void seek(int msec) { method in class:HTML5Audio
/frameworks/base/media/libstagefright/rtsp/
H A DARTSPController.cpp94 // Ignore seek requests that are too soon after the previous one has
110 mHandler->seek(timeUs, msg);
157 LOGI("seek done");
H A DMyHandler.h160 void seek(int64_t timeUs, const sp<AMessage> &doneMsg) { function in struct:android::MyHandler
161 sp<AMessage> msg = new AMessage('seek', id());
801 case 'seek':
812 LOGW("This is a live stream, ignoring seek request.");
901 LOGI("seek completed.");
906 LOGE("seek failed, aborting.");
/frameworks/base/native/android/
H A Dasset_manager.cpp178 return asset->mAsset->seek(offset, whence);
/frameworks/base/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp93 void seek(int64_t seekTimeUs);
244 void BlockIterator::seek(int64_t seekTimeUs) { function in class:android::BlockIterator
489 mBlockIter.seek(seekTimeUs);
/frameworks/base/libs/utils/
H A DAsset.cpp292 * Do generic seek() housekeeping. Pass in the offset/whence values from
293 * the seek request, along with the current chunk offset and the chunk
296 * Returns the new chunk offset, or -1 if the seek is illegal.
320 LOGW("seek out of range: want %ld, end=%ld\n",
389 /* seek the FILE* to the start of chunk */
485 off_t _FileAsset::seek(off_t offset, int whence) function in class:_FileAsset
779 * Handle a seek request.
785 off_t _CompressedAsset::seek(off_t offset, int whence) function in class:_CompressedAsset
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java1015 out.seek(out.length());
2099 out.seek(out.length());
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp416 return a->seek(

Completed in 334 milliseconds