Searched refs:SpinnerOption (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSetupOptionsFragment.java | 93 final SpinnerOption[] checkFrequencies = new SpinnerOption[frequencyEntries.length]; in onActivityCreated() 95 checkFrequencies[i] = new SpinnerOption( in onActivityCreated() 98 final ArrayAdapter<SpinnerOption> checkFrequenciesAdapter = in onActivityCreated() 104 SpinnerOption.setSpinnerOptionValue(mCheckFrequencyView, account.getSyncInterval()); in onActivityCreated() 157 final SpinnerOption[] windowOptions = new SpinnerOption[maxEntry]; in enableLookbackSpinner() 161 windowOptions[i] = new SpinnerOption(value, windowEntries[i].toString()); in enableLookbackSpinner() 167 final ArrayAdapter<SpinnerOption> windowOptionsAdapter = in enableLookbackSpinner() 174 SpinnerOption.setSpinnerOptionValue(mSyncWindowView, account.getSyncLookback()); in enableLookbackSpinner() 185 return (Integer)((SpinnerOption)mCheckFrequencyView.getSelectedItem()).value; in getCheckFrequencyValue() 195 return (Integer)((SpinnerOption)mSyncWindowView.getSelectedItem()).value; in getAccountSyncWindowValue()
|
D | AccountSetupIncomingFragment.java | 217 SpinnerOption deletePolicies[] = { in onActivityCreated() 218 new SpinnerOption(Account.DELETE_POLICY_NEVER, in onActivityCreated() 221 new SpinnerOption(Account.DELETE_POLICY_ON_DELETE, in onActivityCreated() 225 ArrayAdapter<SpinnerOption> deletePoliciesAdapter = in onActivityCreated() 226 new ArrayAdapter<SpinnerOption>(context, in onActivityCreated() 234 ArrayList<SpinnerOption> securityTypes = new ArrayList<SpinnerOption>(); in onActivityCreated() 236 new SpinnerOption(HostAuth.FLAG_NONE, context.getString( in onActivityCreated() 239 new SpinnerOption(HostAuth.FLAG_SSL, context.getString( in onActivityCreated() 242 new SpinnerOption(HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL, context.getString( in onActivityCreated() 246 new SpinnerOption(HostAuth.FLAG_TLS, context.getString( in onActivityCreated() [all …]
|
D | AccountSetupOutgoingFragment.java | 180 final SpinnerOption securityTypes[] = { in onActivityCreated() 181 new SpinnerOption(HostAuth.FLAG_NONE, context.getString( in onActivityCreated() 183 new SpinnerOption(HostAuth.FLAG_SSL, context.getString( in onActivityCreated() 185 new SpinnerOption(HostAuth.FLAG_SSL | HostAuth.FLAG_TRUST_ALL, context.getString( in onActivityCreated() 187 new SpinnerOption(HostAuth.FLAG_TLS, context.getString( in onActivityCreated() 189 new SpinnerOption(HostAuth.FLAG_TLS | HostAuth.FLAG_TRUST_ALL, context.getString( in onActivityCreated() 193 final ArrayAdapter<SpinnerOption> securityTypesAdapter = in onActivityCreated() 194 new ArrayAdapter<SpinnerOption>(context, android.R.layout.simple_spinner_item, in onActivityCreated() 251 SpinnerOption.setSpinnerOptionValue(mSecurityTypeView, flags); in loadSettings() 306 (Integer)((SpinnerOption)mSecurityTypeView.getSelectedItem()).value; in getPortFromSecurityType() [all …]
|
D | SpinnerOption.java | 21 public class SpinnerOption { class 28 SpinnerOption so = (SpinnerOption)spinner.getItemAtPosition(i); in setSpinnerOptionValue() 36 public SpinnerOption(Object value, String label) { in SpinnerOption() method in SpinnerOption
|
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
D | AccountSetupOptionsTests.java | 157 SpinnerOption so = (SpinnerOption) sa.getItem(i); in frequencySpinnerHasValue()
|