示例#1
0
 public synchronized void update(String title, String url) {
   album.setAlbumTitle(title);
   if (foreground) {
     browserController.updateBookmarks();
     browserController.updateInputBox(url);
   }
 }
示例#2
0
 @Override
 public synchronized void activate() {
   requestFocus();
   foreground = true;
   album.activate();
 }
示例#3
0
 @Override
 public synchronized void deactivate() {
   clearFocus();
   foreground = false;
   album.deactivate();
 }
示例#4
0
 @Override
 public void setAlbumTitle(String title) {
   album.setAlbumTitle(title);
 }
示例#5
0
 @Override
 public String getAlbumTitle() {
   return album.getAlbumTitle();
 }
示例#6
0
 @Override
 public void setAlbumCover(Bitmap bitmap) {
   album.setAlbumCover(bitmap);
 }
示例#7
0
 @Override
 public View getAlbumView() {
   return album.getAlbumView();
 }
示例#8
0
 private synchronized void initAlbum() {
   album.setAlbumCover(null);
   album.setAlbumTitle(context.getString(R.string.album_untitled));
   album.setBrowserController(browserController);
 }