Home
last modified time | relevance | path

Searched refs:ListItem (Results 1 – 7 of 7) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java57 public static class ListItemComparator implements Comparator<ListItem> {
59 public int compare(ListItem o1, ListItem o2) { in compare()
106 public static class ListItem implements Parcelable { class in SelectFromListWizardFragment
114 public ListItem(String name, int iconResource) { in ListItem() method in SelectFromListWizardFragment.ListItem
122 public ListItem(ScanResult scanResult) { in ListItem() method in SelectFromListWizardFragment.ListItem
166 public static Parcelable.Creator<ListItem> CREATOR = new Parcelable.Creator<ListItem>() {
169 public ListItem createFromParcel(Parcel source) {
172 return new ListItem(source.readString(), source.readInt());
174 return new ListItem(scanResult);
179 public ListItem[] newArray(int size) {
[all …]
DWifiSetupActivity.java49 import com.android.tv.settings.connectivity.setup.SelectFromListWizardFragment.ListItem;
436 private ArrayList<ListItem> getNetworks() { in getNetworks()
437 ArrayList<SelectFromListWizardFragment.ListItem> listItems = new ArrayList<>(); in getNetworks()
454 listItems.add(new SelectFromListWizardFragment.ListItem(result)); in getNetworks()
/packages/apps/Launcher2/src/com/android/launcher2/
DAddAdapter.java39 private final ArrayList<ListItem> mItems = new ArrayList<ListItem>();
49 public class ListItem { class in AddAdapter
54 public ListItem(Resources res, int textResourceId, int imageResourceId, int actionTag) { in ListItem() method in AddAdapter.ListItem
73 mItems.add(new ListItem(res, R.string.group_wallpapers, in AddAdapter()
78 ListItem item = (ListItem) getItem(position); in getView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DFormPageDisplayer.java30 import com.android.tv.settings.connectivity.setup.SelectFromListWizardFragment.ListItem;
81 ArrayList<SelectFromListWizardFragment.ListItem> getChoices(Context context, in getChoices()
82 ArrayList<SelectFromListWizardFragment.ListItem> extraChoices); in getChoices()
123 public void onListSelectionComplete(ListItem listItem) { in onListSelectionComplete()
130 public void onListFocusChanged(ListItem listItem) { in onListFocusChanged()
138 ArrayList<SelectFromListWizardFragment.ListItem> extraChoices, in displayPage()
168 public ListItem getListItem(FormPage formPage) { in getListItem()
184 ArrayList<SelectFromListWizardFragment.ListItem> extraChoices, final FormPage formPage, in displayList()
191 : (ListItem) lastPage.getData().getParcelable(RESULT_LIST_ITEM)); in displayList()
195 public void onListSelectionComplete(ListItem selection) { in displayList()
[all …]
DWpsConnectionActivity.java130 public void onListSelectionComplete(SelectFromListWizardFragment.ListItem listItem) { in onListSelectionComplete()
135 public void onListFocusChanged(SelectFromListWizardFragment.ListItem listItem) { in onListFocusChanged()
159 SelectFromListWizardFragment.ListItem retryListItem = in createErrorFragment()
160 new SelectFromListWizardFragment.ListItem( in createErrorFragment()
162 ArrayList<SelectFromListWizardFragment.ListItem> listItems = new ArrayList<>(); in createErrorFragment()
DWifiMultiPagedFormActivity.java29 import com.android.tv.settings.connectivity.setup.SelectFromListWizardFragment.ListItem;
71 public void onListSelectionComplete(ListItem listItem) { in onListSelectionComplete()
76 public void onListFocusChanged(ListItem listItem) { in onListFocusChanged()
128 ArrayList<SelectFromListWizardFragment.ListItem> extraChoices, in displayPage()
137 protected SelectFromListWizardFragment.ListItem getListItem(FormPage formPage) { in getListItem()
DWifiFormPageType.java193 public ArrayList<SelectFromListWizardFragment.ListItem> getChoices( in getChoices()
194 Context context, ArrayList<SelectFromListWizardFragment.ListItem> extraChoices) { in getChoices()
195 ArrayList<SelectFromListWizardFragment.ListItem> choices = new ArrayList<>(); in getChoices()
205 for (SelectFromListWizardFragment.ListItem item : extraChoices) { in getChoices()