Home
last modified time | relevance | path

Searched refs:AdapterEntry (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/interactions/
DImportDialogFragment.java135 final ArrayAdapter<AdapterEntry> adapter = new ArrayAdapter<AdapterEntry>(getActivity(), in onCreateDialog()
144 final AdapterEntry entry = getItem(position); in onCreateDialog()
234 private void addItems(ArrayAdapter<AdapterEntry> adapter) { in addItems()
237 adapter.add(new AdapterEntry(getString(R.string.import_from_vcf_file), in addItems()
243 adapter.add(new AdapterEntry(getString(R.string.import_from_sim), in addItems()
249 adapter.add(new AdapterEntry(getSimDescription(sim, i), R.string.import_from_sim, sim)); in addItems()
297 private static class AdapterEntry { class in ImportDialogFragment
302 public AdapterEntry(CharSequence label, int resId, SimCard sim) { in AdapterEntry() method in ImportDialogFragment.AdapterEntry
308 public AdapterEntry(String label, int resId) { in AdapterEntry() method in ImportDialogFragment.AdapterEntry
DExportDialogFragment.java96 final ArrayAdapter<AdapterEntry> adapter = new ArrayAdapter<AdapterEntry>(getActivity(), in onCreateDialog()
113 adapter.add(new AdapterEntry(getString(R.string.export_to_vcf_file), in onCreateDialog()
119 adapter.add(new AdapterEntry(getString(R.string.share_favorite_contacts), in onCreateDialog()
124 adapter.add(new AdapterEntry(getString(R.string.share_contacts), in onCreateDialog()
217 private static class AdapterEntry { class in ExportDialogFragment
222 public AdapterEntry(CharSequence label, int resId, int subId) { in AdapterEntry() method in ExportDialogFragment.AdapterEntry
228 public AdapterEntry(String label, int resId) { in AdapterEntry() method in ExportDialogFragment.AdapterEntry