Lines Matching defs:view
27 import android.view.LayoutInflater;
28 import android.view.View;
29 import android.view.View.OnClickListener;
30 import android.view.ViewGroup;
149 View view = convertView;
150 if (view == null) {
151 view = inflater.inflate(R.layout.suggestion_item, parent, false);
153 bindView(view, getItem(position));
154 return view;
157 private void bindView(View view, SuggestItem item) {
159 view.setTag(item);
160 TextView tv1 = (TextView) view.findViewById(android.R.id.text1);
161 TextView tv2 = (TextView) view.findViewById(android.R.id.text2);
162 ImageView ic1 = (ImageView) view.findViewById(R.id.icon1);
163 View ic2 = view.findViewById(R.id.icon2);
164 View div = view.findViewById(R.id.divider);
200 view.findViewById(R.id.suggestion).setOnClickListener(this);