HomeSort by relevance Sort by last modified time
    Searched defs:convertView (Results 1 - 25 of 60) sorted by null

1 2 3

  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListHeterogeneous.java 57 public View convertView(int position, View convertView, ViewGroup parent) {
60 return ListItemFactory.convertText(convertView, getValueAtPosition(position), position);
62 return ListItemFactory.convertButton(convertView, getValueAtPosition(position),
65 return ListItemFactory.convertDoubleText(convertView, getValueAtPosition(position),
ListItemsExpandOnSelection.java 55 public View convertView(int position, View convertView, ViewGroup parent) {
56 ((ExpandWhenSelectedView)convertView).setText(getValueAtPosition(position));
57 return convertView;
  /development/samples/AppNavigation/src/com/example/android/appnavigation/app/
AppNavHomeActivity.java 109 public View getView(int position, View convertView, ViewGroup parent) {
110 if (convertView == null) {
111 convertView = getLayoutInflater().inflate(android.R.layout.simple_list_item_1,
113 convertView.setTag(convertView.findViewById(android.R.id.text1));
115 TextView tv = (TextView) convertView.getTag();
117 return convertView;
  /development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
AppNavHomeActivity.java 109 public View getView(int position, View convertView, ViewGroup parent) {
110 if (convertView == null) {
111 convertView = getLayoutInflater().inflate(android.R.layout.simple_list_item_1,
113 convertView.setTag(convertView.findViewById(android.R.id.text1));
115 TextView tv = (TextView) convertView.getTag();
117 return convertView;
  /cts/tests/src/android/app/cts/
ExpandableListTestActivity.java 81 final View convertView = new View(this);
82 final View gv = a.getGroupView(0, true, convertView, v);
  /cts/tests/tests/widget/src/android/widget/cts/
SimpleExpandableListAdapterTest.java 192 View convertView = new TextView(mContext);
193 convertView.setId(R.id.text1);
194 result = mSimpleExpandableListAdapter.getChildView(2, 2, false, convertView, mAdapterHost);
195 assertSame(convertView, result);
199 convertView = new TextView(mContext);
200 convertView.setId(R.id.text1);
201 result = mSimpleExpandableListAdapter.getChildView(1, 1, false, convertView, null);
202 assertSame(convertView, result);
341 View convertView = new TextView(mContext);
342 convertView.setId(R.id.text1)
    [all...]
SimpleAdapterTest.java 156 TextView convertView = (TextView) result;
157 result = mSimpleAdapter.getView(0, convertView, mAdapterHost);
159 assertSame(convertView, result);
162 result = mSimpleAdapter.getView(10, convertView, null);
181 mSimpleAdapter.getView(-1, convertView, null);
187 mSimpleAdapter.getView(20, convertView, null);
223 TextView convertView = (TextView) result;
225 result = mSimpleAdapter.getDropDownView(0, convertView, mAdapterHost);
226 assertEquals("01", convertView.getText().toString());
227 assertSame(convertView, result)
    [all...]
  /development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
CustomArrayAdapter.java 89 public View getView(int position, View convertView, ViewGroup parent) {
93 if(convertView == null) {
95 convertView = inflater.inflate(mLayoutViewResourceId, parent, false);
98 convertView.setLayoutParams(new ListView.LayoutParams(ListView.LayoutParams
101 ImageView imgView = (ImageView)convertView.findViewById(R.id.image_view);
102 TextView textView = (TextView)convertView.findViewById(R.id.text_view);
110 return convertView;
  /development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
CustomArrayAdapter.java 65 public View getView(int position, View convertView, ViewGroup parent) {
69 if(convertView == null) {
71 convertView = inflater.inflate(mLayoutViewResourceId, parent, false);
74 LinearLayout linearLayout = (LinearLayout)(convertView.findViewById(
80 ImageView imgView = (ImageView)convertView.findViewById(R.id.image_view);
81 TextView titleView = (TextView)convertView.findViewById(R.id.title_view);
82 TextView textView = (TextView)convertView.findViewById(R.id.text_view);
89 convertView.setLayoutParams(new ListView.LayoutParams(AbsListView.LayoutParams.MATCH_PARENT,
92 ExpandingLayout expandingLayout = (ExpandingLayout)convertView.findViewById(R.id
103 return convertView;
    [all...]
  /frameworks/base/core/java/com/android/internal/view/menu/
BaseMenuPresenter.java 93 final View convertView = parent.getChildAt(childIndex);
94 final MenuItemImpl oldItem = convertView instanceof MenuView.ItemView ?
95 ((MenuView.ItemView) convertView).getItemData() : null;
96 final View itemView = getItemView(item, convertView, parent);
102 if (itemView != convertView) {
163 * re-use the view passed as convertView if present. The returned view will be populated
167 * @param convertView Existing view to reuse
171 public View getItemView(MenuItemImpl item, View convertView, ViewGroup parent) {
173 if (convertView instanceof MenuView.ItemView) {
174 itemView = (MenuView.ItemView) convertView;
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
BaseMenuPresenter.java 97 final View convertView = parent.getChildAt(childIndex);
98 final MenuItemImpl oldItem = convertView instanceof MenuView.ItemView ?
99 ((MenuView.ItemView) convertView).getItemData() : null;
100 final View itemView = getItemView(item, convertView, parent);
107 if (itemView != convertView) {
165 * passed as convertView if present. The returned view will be populated with data from the item
169 * @param convertView Existing view to reuse
173 public View getItemView(MenuItemImpl item, View convertView, ViewGroup parent) {
175 if (convertView instanceof MenuView.ItemView) {
176 itemView = (MenuView.ItemView) convertView;
    [all...]
  /packages/apps/Browser/src/com/android/browser/util/
ThreadedCursorAdapter.java 163 public View getView(int position, View convertView, ViewGroup parent) {
164 if (convertView == null) {
165 convertView = newView(mContext, parent);
168 LoadContainer container = (LoadContainer) convertView.getTag(R.id.load_object);
171 container.view = new WeakReference<View>(convertView);
172 convertView.setTag(R.id.load_object, container);
178 bindView(convertView, container.bind_object);
180 bindView(convertView, cachedLoadObject());
189 return convertView;
  /development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/ui/
ImageGridFragment.java 261 public View getView(int position, View convertView, ViewGroup container) {
264 if (convertView == null) {
265 convertView = new View(mContext);
268 convertView.setLayoutParams(new AbsListView.LayoutParams(
270 return convertView;
275 if (convertView == null) { // if it's not recycled, instantiate and initialize
280 imageView = (ImageView) convertView;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/
LayoutDescriptors.java 134 // It is filled by convertView() and used later to fix the super-class hierarchy.
141 ViewElementDescriptor desc = convertView(info, infoDescMap);
154 ViewElementDescriptor desc = convertView(info, infoDescMap);
224 private ViewElementDescriptor convertView(
  /cts/tests/src/android/widget/cts/util/
ListScenario.java 546 public View convertView(int position, View convertView, ViewGroup parent) {
547 return ListItemFactory.convertText(convertView, getValueAtPosition(position), position);
599 * @return The number of times convertView failed
629 public View getView(int position, View convertView, ViewGroup parent) {
635 if (convertView != null) {
636 result = convertView(position, convertView, parent);
  /frameworks/base/core/tests/coretests/src/android/util/
ListScenario.java 548 public View convertView(int position, View convertView, ViewGroup parent) {
549 return ListItemFactory.convertText(convertView, getValueAtPosition(position), position);
601 * @return The number of times convertView failed
631 public View getView(int position, View convertView, ViewGroup parent) {
637 if (convertView != null) {
638 result = convertView(position, convertView, parent);
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ScrollingTabContainerView.java 461 public View getView(int position, View convertView, ViewGroup parent) {
462 if (convertView == null) {
463 convertView = createTabView((ActionBar.Tab) getItem(position), true);
465 ((TabView) convertView).bindTab((ActionBar.Tab) getItem(position));
467 return convertView;
  /frameworks/base/core/java/com/android/internal/widget/
ScrollingTabContainerView.java 534 public View getView(int position, View convertView, ViewGroup parent) {
535 if (convertView == null) {
536 convertView = createTabView((ActionBar.Tab) getItem(position), true);
538 ((TabView) convertView).bindTab((ActionBar.Tab) getItem(position));
540 return convertView;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
RecentsPanelView.java 148 View convertView = mInflater.inflate(mRecentItemLayoutId, parent, false);
150 holder.thumbnailView = convertView.findViewById(R.id.app_thumbnail);
152 (ImageView) convertView.findViewById(R.id.app_thumbnail_image);
156 holder.iconView = (ImageView) convertView.findViewById(R.id.app_icon);
158 holder.labelView = (TextView) convertView.findViewById(R.id.app_label);
159 holder.calloutLine = convertView.findViewById(R.id.recents_callout_line);
160 holder.descriptionView = (TextView) convertView.findViewById(R.id.app_description);
162 convertView.setTag(holder);
163 return convertView;
166 public View getView(int position, View convertView, ViewGroup parent)
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/
CallDetailActivity.java     [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationContainer.java     [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ConversationViewFragment.java     [all...]
  /packages/apps/Settings/src/com/android/settings/
DataUsageSummary.java     [all...]
  /development/samples/training/basic/ActivityLifecycle/libs/
android-support-v13.jar 
  /development/samples/training/multiscreen/newsreader/libs/
android-support-v4.jar 

Completed in 3082 milliseconds

1 2 3