Home
last modified time | relevance | path

Searched refs:convertView (Results 1 – 25 of 61) sorted by relevance

123

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DQueueAdapter.java51 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
54 if (convertView == null) { in getView()
55 convertView = LayoutInflater.from(getContext()) in getView()
58 holder.mImageView = (ImageView) convertView.findViewById(R.id.play_eq); in getView()
59 holder.mTitleView = (TextView) convertView.findViewById(R.id.title); in getView()
60 holder.mDescriptionView = (TextView) convertView.findViewById(R.id.description); in getView()
61 convertView.setTag(holder); in getView()
63 holder = (ViewHolder) convertView.getTag(); in getView()
80 return convertView; in getView()
DBrowseFragment.java182 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
186 if (convertView == null) { in getView()
187 convertView = LayoutInflater.from(getContext()) in getView()
190 holder.mImageView = (ImageView) convertView.findViewById(R.id.play_eq); in getView()
192 holder.mTitleView = (TextView) convertView.findViewById(R.id.title); in getView()
193 holder.mDescriptionView = (TextView) convertView.findViewById(R.id.description); in getView()
194 convertView.setTag(holder); in getView()
196 holder = (ViewHolder) convertView.getTag(); in getView()
207 return convertView; in getView()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DList14.java97 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
105 if (convertView == null) { in getView()
106 convertView = mInflater.inflate(R.layout.list_item_icon_text, null); in getView()
111 holder.text = (TextView) convertView.findViewById(R.id.text); in getView()
112 holder.icon = (ImageView) convertView.findViewById(R.id.icon); in getView()
114 convertView.setTag(holder); in getView()
118 holder = (ViewHolder) convertView.getTag(); in getView()
125 return convertView; in getView()
DList5.java70 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
72 if (convertView == null) { in getView()
76 tv = (TextView) convertView; in getView()
DGrid1.java64 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
67 if (convertView == null) { in getView()
72 i = (ImageView) convertView; in getView()
DList4.java92 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
94 if (convertView == null) { in getView()
98 sv = (SpeechView) convertView; in getView()
DList6.java101 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
103 if (convertView == null) { in getView()
106 sv = (SpeechView)convertView; in getView()
DList13.java95 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
98 if (convertView == null) { in getView()
101 text = (TextView)convertView; in getView()
DGrid3.java71 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
75 if (convertView == null) { in getView()
84 l = (CheckableLayout) convertView; in getView()
/development/samples/browseable/CustomChoiceList/src/com.example.android.customchoicelist/
DMainActivity.java58 public View getView(int position, View convertView, ViewGroup container) { in getView() argument
59 if (convertView == null) { in getView()
60 convertView = getLayoutInflater().inflate(R.layout.list_item, container, false); in getView()
63 ((TextView) convertView.findViewById(android.R.id.text1)) in getView()
65 return convertView; in getView()
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
DCustomArrayAdapter.java65 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
69 if(convertView == null) { in getView()
71 convertView = inflater.inflate(mLayoutViewResourceId, parent, false); in getView()
74 LinearLayout linearLayout = (LinearLayout)(convertView.findViewById( in getView()
80 ImageView imgView = (ImageView)convertView.findViewById(R.id.image_view); in getView()
81 TextView titleView = (TextView)convertView.findViewById(R.id.title_view); in getView()
82 TextView textView = (TextView)convertView.findViewById(R.id.text_view); in getView()
89 convertView.setLayoutParams(new ListView.LayoutParams(AbsListView.LayoutParams.MATCH_PARENT, in getView()
92 ExpandingLayout expandingLayout = (ExpandingLayout)convertView.findViewById(R.id in getView()
103 return convertView; in getView()
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/fragments/
DDataFragment.java73 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
75 if (convertView == null) { in getView()
79 convertView = inflater.inflate(android.R.layout.two_line_list_item, null); in getView()
80 convertView.setTag(holder); in getView()
81 holder.text1 = (TextView) convertView.findViewById(android.R.id.text1); in getView()
82 holder.text2 = (TextView) convertView.findViewById(android.R.id.text2); in getView()
84 holder = (ViewHolder) convertView.getTag(); in getView()
89 return convertView; in getView()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DTaskListView.java87 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
88 if(convertView == null) { in getView()
90 convertView = inflater.inflate(R.layout.tasklist_row, parent, false); in getView()
93 CheckBox checkbox = (CheckBox) convertView.findViewById(R.id.tasklist_finished); in getView()
96 TextView label = (TextView)(convertView.findViewById(R.id.tasklist_label)); in getView()
105 convertView.setTag(position); in getView()
107 return convertView; in getView()
/development/samples/browseable/DoneBar/src/com.example.android.donebar/
DMainActivity.java79 public View getView(int position, View convertView, ViewGroup container) { in getView() argument
80 if (convertView == null) { in getView()
81 convertView = getLayoutInflater().inflate(R.layout.sample_dashboard_item, in getView()
85 ((TextView) convertView.findViewById(android.R.id.text1)).setText( in getView()
87 ((TextView) convertView.findViewById(android.R.id.text2)).setText( in getView()
89 return convertView; in getView()
/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/
DMainActivity.java77 public View getView(int position, View convertView, ViewGroup container) { in getView() argument
78 if (convertView == null) { in getView()
79 convertView = getLayoutInflater().inflate(R.layout.sample_dashboard_item, in getView()
83 ((TextView) convertView.findViewById(android.R.id.text1)).setText( in getView()
85 ((TextView) convertView.findViewById(android.R.id.text2)).setText( in getView()
87 return convertView; in getView()
/development/samples/browseable/BorderlessButtons/src/com.example.android.borderlessbuttons/
DMainActivity.java80 public View getView(int position, View convertView, ViewGroup container) {
81 if (convertView == null) {
82 convertView = getLayoutInflater().inflate(R.layout.list_item, container, false);
88 convertView.findViewById(R.id.primary_target).setOnClickListener(
98 convertView.findViewById(R.id.secondary_action).setOnClickListener(
107 return convertView;
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/
DAppNavHomeActivity.java109 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
110 if (convertView == null) { in getView()
111 convertView = getLayoutInflater().inflate(android.R.layout.simple_list_item_1, in getView()
113 convertView.setTag(convertView.findViewById(android.R.id.text1)); in getView()
115 TextView tv = (TextView) convertView.getTag(); in getView()
117 return convertView; in getView()
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
DCustomArrayAdapter.java89 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
93 if(convertView == null) { in getView()
95 convertView = inflater.inflate(mLayoutViewResourceId, parent, false); in getView()
98 convertView.setLayoutParams(new ListView.LayoutParams(ListView.LayoutParams in getView()
101 ImageView imgView = (ImageView)convertView.findViewById(R.id.image_view); in getView()
102 TextView textView = (TextView)convertView.findViewById(R.id.text_view); in getView()
110 return convertView; in getView()
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
DStableArrayAdapter.java53 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
54 View view = super.getView(position, convertView, parent); in getView()
55 if (view != convertView) { in getView()
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DStableArrayAdapter.java53 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
54 View view = super.getView(position, convertView, parent); in getView()
55 if (view != convertView) { in getView()
/development/apps/Development/src/com/android/development/
DArrayAdapter.java62 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
64 if (convertView == null) { in getView()
67 view = convertView; in getView()
DPermissionDetails.java115 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
123 if (convertView == null) { in getView()
124 convertView = mInflater.inflate(R.layout.pkg_list_item, null); in getView()
129 holder.pkgName = (TextView) convertView.findViewById(R.id.pkg_name); in getView()
130 convertView.setTag(holder); in getView()
134 holder = (AppViewHolder) convertView.getTag(); in getView()
139 return convertView; in getView()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DAppListAdapter.java48 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
51 if (convertView == null) { in getView()
54 view = convertView; in getView()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
DImageGridFragment.java276 public View getView(int position, View convertView, ViewGroup container) { in getView() argument
280 if (convertView == null) { in getView()
281 convertView = new View(mContext); in getView()
284 convertView.setLayoutParams(new AbsListView.LayoutParams( in getView()
286 return convertView; in getView()
291 if (convertView == null) { // if it's not recycled, instantiate and initialize in getView()
296 imageView = (ImageView) convertView; in getView()
/development/samples/browseable/DataLayer/Application/src/com.example.android.wearable.datalayer/
DMainActivity.java380 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
382 if (convertView == null) { in getView()
386 convertView = inflater.inflate(android.R.layout.two_line_list_item, null); in getView()
387 convertView.setTag(holder); in getView()
388 holder.text1 = (TextView) convertView.findViewById(android.R.id.text1); in getView()
389 holder.text2 = (TextView) convertView.findViewById(android.R.id.text2); in getView()
391 holder = (ViewHolder) convertView.getTag(); in getView()
396 return convertView; in getView()

123