예제 #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);
 }