OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:switchPref
(Results
1 - 3
of
3
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
TwoStatePreferenceHelper.java
67
final SwitchPreference
switchPref
= new SwitchPreference(checkBox.getContext());
68
switchPref
.setTitle(checkBox.getTitle());
69
switchPref
.setKey(checkBox.getKey());
70
switchPref
.setOrder(checkBox.getOrder());
71
switchPref
.setPersistent(checkBox.isPersistent());
72
switchPref
.setEnabled(checkBox.isEnabled());
73
switchPref
.setChecked(checkBox.isChecked());
74
switchPref
.setSummary(checkBox.getSummary());
75
switchPref
.setSummaryOn(checkBox.getSummaryOn());
76
switchPref
.setSummaryOff(checkBox.getSummaryOff())
[
all
...]
/cts/tests/tests/preference2/src/android/preference2/cts/
PreferenceFromCodeActivity.java
63
SwitchPreference
switchPref
= new SwitchPreference(this);
64
switchPref
.setKey("switch_preference");
65
switchPref
.setTitle(R.string.title_switch_preference);
66
switchPref
.setSummary(R.string.summary_switch_preference);
67
switchPref
.setSummaryOn(R.string.summary_on_switch_preference);
68
switchPref
.setSummaryOff(R.string.summary_off_switch_preference);
69
switchPref
.setSwitchTextOff(R.string.switchtext_off);
70
switchPref
.setSwitchTextOn(R.string.switchtext_on);
71
prefCat.addPreference(
switchPref
);
/development/samples/ApiDemos/src/com/example/android/apis/preference/
PreferencesFromCode.java
60
SwitchPreference
switchPref
= new SwitchPreference(this);
61
switchPref
.setKey("switch_preference");
62
switchPref
.setTitle(R.string.title_switch_preference);
63
switchPref
.setSummary(R.string.summary_switch_preference);
64
inlinePrefCat.addPreference(
switchPref
);
Completed in 336 milliseconds