Lines Matching refs:holder

144             ViewHolder holder = new ViewHolder();
145 holder.thumbnailView = convertView.findViewById(R.id.app_thumbnail);
146 holder.thumbnailViewImage =
150 updateThumbnail(holder, mRecentTasksLoader.getDefaultThumbnail(), false, false);
151 holder.iconView = (ImageView) convertView.findViewById(R.id.app_icon);
152 holder.iconView.setImageBitmap(mRecentTasksLoader.getDefaultIcon());
153 holder.labelView = (TextView) convertView.findViewById(R.id.app_label);
154 holder.calloutLine = convertView.findViewById(R.id.recents_callout_line);
155 holder.descriptionView = (TextView) convertView.findViewById(R.id.app_description);
157 convertView.setTag(holder);
165 ViewHolder holder = (ViewHolder) convertView.getTag();
172 holder.labelView.setText(td.getLabel());
173 holder.thumbnailView.setContentDescription(td.getLabel());
174 holder.loadedThumbnailAndIcon = td.isLoaded();
176 updateThumbnail(holder, td.getThumbnail(), true, false);
177 updateIcon(holder, td.getIcon(), true, false);
182 holder.iconView.setAlpha(1f);
183 holder.iconView.setTranslationX(0f);
184 holder.iconView.setTranslationY(0f);
185 holder.labelView.setAlpha(1f);
186 holder.labelView.setTranslationX(0f);
187 holder.labelView.setTranslationY(0f);
188 if (holder.calloutLine != null) {
189 holder.calloutLine.setAlpha(1f);
190 holder.calloutLine.setTranslationX(0f);
191 holder.calloutLine.setTranslationY(0f);
194 mItemToAnimateInWhenWindowAnimationIsFinished = holder;
199 holder.iconView.setAlpha(0f);
200 holder.iconView.setTranslationX(translation);
201 holder.labelView.setAlpha(0f);
202 holder.labelView.setTranslationX(translation);
203 holder.calloutLine.setAlpha(0f);
204 holder.calloutLine.setTranslationX(translation);
206 holder.iconView.setAlpha(0f);
207 holder.iconView.setTranslationY(translation);
215 holder.thumbnailView.setTag(td);
216 holder.thumbnailView.setOnLongClickListener(new OnLongClickDelegate(convertView));
217 holder.taskDescription = td;
222 ViewHolder holder = (ViewHolder) v.getTag();
223 updateThumbnail(holder, mRecentTasksLoader.getDefaultThumbnail(), false, false);
224 holder.iconView.setImageBitmap(mRecentTasksLoader.getDefaultIcon());
225 holder.iconView.setVisibility(INVISIBLE);
226 holder.iconView.animate().cancel();
227 holder.labelView.setText(null);
228 holder.labelView.animate().cancel();
229 holder.thumbnailView.setContentDescription(null);
230 holder.thumbnailView.setTag(null);
231 holder.thumbnailView.setOnLongClickListener(null);
232 holder.thumbnailView.setVisibility(INVISIBLE);
233 holder.iconView.setAlpha(1f);
234 holder.iconView.setTranslationX(0f);
235 holder.iconView.setTranslationY(0f);
236 holder.labelView.setAlpha(1f);
237 holder.labelView.setTranslationX(0f);
238 holder.labelView.setTranslationY(0f);
239 if (holder.calloutLine != null) {
240 holder.calloutLine.setAlpha(1f);
241 holder.calloutLine.setTranslationX(0f);
242 holder.calloutLine.setTranslationY(0f);
243 holder.calloutLine.animate().cancel();
245 holder.taskDescription = null;
246 holder.loadedThumbnailAndIcon = false;
554 final ViewHolder holder = mItemToAnimateInWhenWindowAnimationIsFinished;
557 new View[] { holder.iconView, holder.labelView, holder.calloutLine }) {
654 ViewHolder holder = (ViewHolder)view.getTag();
655 TaskDescription ad = holder.taskDescription;
659 Bitmap bm = holder.thumbnailViewImageBitmap;
661 if (bm.getWidth() == holder.thumbnailViewImage.getWidth() &&
662 bm.getHeight() == holder.thumbnailViewImage.getHeight()) {
665 holder.thumbnailViewImage.setDrawingCacheEnabled(true);
666 bm = holder.thumbnailViewImage.getDrawingCache();
672 holder.thumbnailViewImage, bm, 0, 0, null).toBundle();
689 holder.thumbnailViewImage.setDrawingCacheEnabled(false);