Home | History | Annotate | Download | only in browser

Lines Matching refs:item

78     void bindGridView(View view, Context context, BrowserBookmarksAdapterItem item) {
88 tv.setText(item.title);
89 if (item.is_folder) {
96 if (item.thumbnail == null || !item.has_thumbnail) {
99 thumb.setImageDrawable(item.thumbnail);
107 BrowserBookmarksAdapterItem item) {
108 if (item == null) {
109 item = new BrowserBookmarksAdapterItem();
111 Bitmap thumbnail = item.thumbnail != null ? item.thumbnail.getBitmap() : null;
114 item.has_thumbnail = thumbnail != null;
116 && (item.thumbnail == null || item.thumbnail.getBitmap() != thumbnail)) {
117 item.thumbnail = new BitmapDrawable(mContext.getResources(), thumbnail);
119 item.is_folder = c.getInt(BookmarksLoader.COLUMN_INDEX_IS_FOLDER) != 0;
120 item.title = getTitle(c);
121 item.url = c.getString(BookmarksLoader.COLUMN_INDEX_URL);
122 return item;
127 BrowserBookmarksAdapterItem item = new BrowserBookmarksAdapterItem();
128 return item;