Searched refs:bookmark (Results 1 - 4 of 4) 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);
1443 long bookmark = getBookmark();
1445 if ((pos < bookmark && (pos + 10000) > bookmark) ||
1446 (pos > bookmark && (pos - 10000) < bookmark)) {
1447 // The existing bookmark i
[all...]
/packages/apps/Browser/src/com/android/browser/provider/
H A DBrowserProvider2.java93 public static final String IS_BOOKMARK = "bookmark";
346 // Combined bookmark half
488 // Enable bookmark sync on all accounts
911 // Tack on the ID of the specific bookmark requested
1186 // Build the bookmark subquery for history union subquery
1194 // Build the bookmark union subquery
1425 Integer bookmark = values.getAsInteger(BookmarkColumns.BOOKMARK);
1427 if (bookmark == null || bookmark == 0) {
1470 // If no position is requested put the bookmark a
[all...]

Completed in 127 milliseconds