Home | History | Annotate | Download | only in browser

Lines Matching refs:tab

119     public void loadThumbnail(Tab tab) {
120 mDataHandler.sendMessage(TAB_LOAD_THUMBNAIL, tab);
123 public void deleteThumbnail(Tab tab) {
124 mDataHandler.sendMessage(TAB_DELETE_THUMBNAIL, tab.getId());
127 public void saveThumbnail(Tab tab) {
128 mDataHandler.sendMessage(TAB_SAVE_THUMBNAIL, tab);
180 doLoadThumbnail((Tab) msg.obj);
191 doSaveThumbnail((Tab)msg.obj);
196 private byte[] getCaptureBlob(Tab tab) {
197 synchronized (tab) {
198 Bitmap capture = tab.getScreenshot();
211 private void doSaveThumbnail(Tab tab) {
212 byte[] blob = getCaptureBlob(tab);
218 values.put(Thumbnails._ID, tab.getId());
223 private void doLoadThumbnail(Tab tab) {
227 Uri uri = ContentUris.withAppendedId(Thumbnails.CONTENT_URI, tab.getId());
233 tab.updateCaptureFromBlob(data);