Home
last modified time | relevance | path

Searched refs:bookmark (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Gallery/src/com/android/camera/
DMovieViewControl.java109 final Integer bookmark = getBookmark(); in MovieViewControl() local
110 if (bookmark != null) { in MovieViewControl()
115 MenuHelper.formatDuration(context, bookmark))); in MovieViewControl()
123 mVideoView.seekTo(bookmark); in MovieViewControl()
160 int bookmark = getCursorInteger(cursor, 1); in getBookmark() local
161 if ((bookmark < TWO_MINUTES) in getBookmark()
163 || (bookmark > (duration - ONE_MINUTE))) { in getBookmark()
166 return Integer.valueOf(bookmark); in getBookmark()
190 private void setBookmark(int bookmark) { in setBookmark() argument
196 values.put(Video.VideoColumns.BOOKMARK, Integer.toString(bookmark)); in setBookmark()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMoviePlayer.java197 final Integer bookmark = mBookmarker.getBookmark(mUri); in MoviePlayer() local
198 if (bookmark != null) { in MoviePlayer()
199 showResumeDialog(movieActivity, bookmark); in MoviePlayer()
222 private void showResumeDialog(Context context, final int bookmark) { in showResumeDialog() argument
227 GalleryUtils.formatDuration(context, bookmark / 1000))); in showResumeDialog()
238 mVideoView.seekTo(bookmark); in showResumeDialog()
469 public void setBookmark(Uri uri, int bookmark, int duration) { in setBookmark() argument
478 dos.writeInt(bookmark); in setBookmark()
500 int bookmark = dis.readInt(); in getBookmark() local
507 if ((bookmark < HALF_MINUTE) || (duration < TWO_MINUTES) in getBookmark()
[all …]
/packages/apps/Browser/src/com/android/browser/
DEventLogTags.logtags5 # This event is logged when a user adds a new bookmark. This could just be a boolean,
6 # but if lots of users add the same bookmark it could be a default bookmark on the browser.
7 # Second parameter is where the bookmark was added from, currently history or bookmarks view.
/packages/apps/Music/src/com/android/music/
DMediaPlaybackService.java1054 long bookmark = getBookmark(); in openCurrentAndNext() local
1057 seek(bookmark - 5000); in openCurrentAndNext()
1419 long bookmark = getBookmark(); in saveBookmarkIfNeeded() local
1421 if ((pos < bookmark && (pos + 10000) > bookmark) || in saveBookmarkIfNeeded()
1422 (pos > bookmark && (pos - 10000) < bookmark)) { in saveBookmarkIfNeeded()
/packages/apps/Browser/src/com/android/browser/provider/
DBrowserProvider2.java1373 Integer bookmark = values.getAsInteger(BookmarkColumns.BOOKMARK); in insertInTransaction() local
1375 if (bookmark == null || bookmark == 0) { in insertInTransaction()
1622 Integer bookmark = values.getAsInteger(BookmarkColumns.BOOKMARK); in updateInTransaction() local
1624 if (bookmark == null || bookmark == 0) { in updateInTransaction()