Home | History | Annotate | Download | only in media

Lines Matching refs:BOOKMARK

113         final Integer bookmark = getBookmark();
114 if (bookmark != null) {
119 .format(context.getString(Res.string.resume_playing_message), formatDuration(context, bookmark)));
127 mVideoView.seekTo(bookmark);
153 String[] projection = new String[] { Video.VideoColumns.DURATION, Video.VideoColumns.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) {
196 values.put(Video.VideoColumns.BOOKMARK, Integer.toString(bookmark));
201 // Ignore, can happen if we try to set the bookmark on a read-only
204 // ignore. can happen if the content doesn't support a bookmark