Searched refs:bookmark (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Gallery/src/com/android/camera/
H A DMovieViewControl.java109 final Integer bookmark = getBookmark();
110 if (bookmark != null) {
115 MenuHelper.formatDuration(context, bookmark)));
123 mVideoView.seekTo(bookmark);
160 int bookmark = getCursorInteger(cursor, 1);
161 if ((bookmark < TWO_MINUTES)
163 || (bookmark > (duration - ONE_MINUTE))) {
166 return Integer.valueOf(bookmark);
190 private void setBookmark(int bookmark) { argument
196 values.put(Video.VideoColumns.BOOKMARK, Integer.toString(bookmark));
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DMoviePlayer.java196 final Integer bookmark = mBookmarker.getBookmark(mUri);
197 if (bookmark != null) {
198 showResumeDialog(movieActivity, bookmark);
247 private void showResumeDialog(Context context, final int bookmark) { argument
252 GalleryUtils.formatDuration(context, bookmark / 1000)));
263 mVideoView.seekTo(bookmark);
484 private static final String BOOKMARK_CACHE_FILE = "bookmark";
498 public void setBookmark(Uri uri, int bookmark, int duration) { argument
507 dos.writeInt(bookmark);
529 int bookmark
[all...]
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackService.java1076 // go to bookmark if needed
1078 long bookmark = getBookmark();
1079 // Start playing a little bit before the bookmark,
1081 seek(bookmark - 5000);
1445 long bookmark = getBookmark();
1447 if ((pos < bookmark && (pos + 10000) > bookmark) ||
1448 (pos > bookmark && (pos - 10000) < bookmark)) {
1449 // The existing bookmark i
[all...]

Completed in 1567 milliseconds