Searched refs:SettingsItem (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | SettingsData.java | 49 public static class SettingsItem { class in SettingsData 59 private SettingsItem(final String displayName, final String displayDetail, in SettingsItem() method in SettingsData.SettingsItem 88 public static SettingsItem fromSelfParticipant(final Context context, in fromSelfParticipant() 97 return new SettingsItem(displayName, displayDetail, displayName, in fromSelfParticipant() 101 public static SettingsItem createGeneralSettingsItem(final Context context) { in createGeneralSettingsItem() 102 return new SettingsItem(context.getString(R.string.general_settings), in createGeneralSettingsItem() 107 public static SettingsItem createDefaultMmsSettingsItem(final Context context, in createDefaultMmsSettingsItem() 109 return new SettingsItem(context.getString(R.string.advanced_settings), in createDefaultMmsSettingsItem() 194 public List<SettingsItem> getSettingsItems() { in getSettingsItems() 196 final List<SettingsItem> settingsItems = new ArrayList<SettingsItem>(); in getSettingsItems() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | SettingsActivity.java | 39 import com.android.messaging.datamodel.data.SettingsData.SettingsItem; 120 private class SettingsListAdapter extends ArrayAdapter<SettingsItem> { 122 super(context, R.layout.settings_item_view, new ArrayList<SettingsItem>()); in SettingsListAdapter() 125 public void setSettingsItems(final List<SettingsItem> newList) { in setSettingsItems() 143 final SettingsItem item = getItem(position); in getView() 158 case SettingsItem.TYPE_GENERAL_SETTINGS: in getView() 163 case SettingsItem.TYPE_PER_SUBSCRIPTION_SETTINGS: in getView()
|