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/Gallery3D/src/com/cooliris/media/
H A DMovieViewControl.java113 final Integer bookmark = getBookmark();
114 if (bookmark != null) {
119 .format(context.getString(Res.string.resume_playing_message), formatDuration(context, bookmark)));
127 mVideoView.seekTo(bookmark);
161 int bookmark = getCursorInteger(cursor, 1);
162 if ((bookmark < HALF_MINUTE) || (duration < TWO_MINUTES)
163 || (bookmark > (duration - HALF_MINUTE))) {
166 return Integer.valueOf(bookmark);
190 private void setBookmark(int bookmark, int duration) { argument
196 values.put(Video.VideoColumns.BOOKMARK, Integer.toString(bookmark));
[all...]
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackService.java947 // go to bookmark if needed
949 long bookmark = getBookmark();
950 // Start playing a little bit before the bookmark,
952 seek(bookmark - 5000);
1334 long bookmark = getBookmark();
1336 if ((pos < bookmark && (pos + 10000) > bookmark) ||
1337 (pos > bookmark && (pos - 10000) < bookmark)) {
1338 // The existing bookmark i
[all...]

Completed in 23 milliseconds