Lines Matching refs:convertView
166 public View getView(int position, View convertView, ViewGroup parent) {
171 // When convertView is not null, we can reuse it directly, there is no need
172 // to reinflate it. We only inflate a new View when the convertView supplied
174 if (convertView == null) {
175 convertView = mInflater.inflate(R.layout.usage_stats_item, null);
180 holder.pkgName = (TextView) convertView.findViewById(R.id.package_name);
181 holder.lastTimeUsed = (TextView) convertView.findViewById(R.id.last_time_used);
182 holder.usageTime = (TextView) convertView.findViewById(R.id.usage_time);
183 convertView.setTag(holder);
187 holder = (AppViewHolder) convertView.getTag();
202 return convertView;