OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mPreference
(Results
1 - 20
of
20
) sorted by null
/cts/tests/tests/preference2/src/android/preference2/cts/
PreferenceTest.java
31
private Preference
mPreference
;
41
mPreference
= (CheckBoxPreference) mActivity.findPreference(
46
assertNotNull(
mPreference
);
50
String summary = (String)
mPreference
.getSummary();
60
mPreference
.setSummary(summary);
63
assertEquals(summary,
mPreference
.getSummary());
67
assertTrue(
mPreference
.isEnabled());
73
mPreference
.setEnabled(false);
76
assertFalse(
mPreference
.isEnabled());
80
assertTrue(
mPreference
.isPersistent())
[
all
...]
/packages/apps/Camera/src/com/android/camera/ui/
InLineSettingItem.java
40
protected ListPreference
mPreference
;
62
mPreference
= preference;
69
if (index >=
mPreference
.getEntryValues().length || index < 0) return false;
71
mPreference
.setValueIndex(mIndex);
73
mListener.onSettingChanged(
mPreference
);
82
mIndex =
mPreference
.findIndexOfValue(
mPreference
.getValue());
InLineSettingMenu.java
53
mEntry.setText(
mPreference
.getEntry());
55
int index =
mPreference
.findIndexOfValue(mOverrideValue);
57
mEntry.setText(
mPreference
.getEntries()[index]);
61
mPreference
.print();
68
event.getText().add(
mPreference
.getTitle() +
mPreference
.getEntry());
ListPrefSettingPopup.java
45
private ListPreference
mPreference
;
74
mPreference
= preference;
76
CharSequence[] entries =
mPreference
.getEntries();
79
iconIds = ((IconListPreference)
mPreference
).getImageIds();
81
iconIds = ((IconListPreference)
mPreference
).getLargeIconIds();
85
mTitle.setText(
mPreference
.getTitle());
108
int index =
mPreference
.findIndexOfValue(
mPreference
.getValue());
113
mPreference
.print();
124
mPreference
.setValueIndex(index)
[
all
...]
TimerSettingPopup.java
45
private ListPreference
mPreference
;
64
mPreference
= preference;
67
mTitle.setText(
mPreference
.getTitle());
70
CharSequence[] entries =
mPreference
.getEntryValues();
104
int index =
mPreference
.findIndexOfValue(
mPreference
.getValue());
107
mPreference
.print();
144
mPreference
.setValueIndex(newId);
146
mPreference
.setValueIndex(0);
150
mListener.onListPrefChanged(
mPreference
);
[
all
...]
TimeIntervalPopup.java
44
private IconListPreference
mPreference
;
68
mPreference
= preference;
71
mTitle.setText(
mPreference
.getTitle());
110
int index =
mPreference
.findIndexOfValue(
mPreference
.getValue());
113
mPreference
.print();
155
mPreference
.setValueIndex(newId);
157
mPreference
.setValueIndex(0);
161
mListener.onListPrefChanged(
mPreference
);
EffectSettingPopup.java
43
private IconListPreference
mPreference
;
77
mPreference
= preference;
79
CharSequence[] entries =
mPreference
.getEntries();
80
CharSequence[] entryValues =
mPreference
.getEntryValues();
81
int[] iconIds =
mPreference
.getImageIds();
83
iconIds =
mPreference
.getLargeIconIds();
87
mTitle.setText(
mPreference
.getTitle());
145
boolean noEffect =
mPreference
.getValue().equals(mNoEffect);
160
String value =
mPreference
.getValue();
178
mPreference
.print()
[
all
...]
InLineSettingCheckBox.java
57
R.string.accessibility_check_box,
mPreference
.getTitle()));
66
int index =
mPreference
.findIndexOfValue(mOverrideValue);
74
event.getText().add(
mPreference
.getTitle());
/packages/apps/Camera2/src/com/android/camera/ui/
InLineSettingItem.java
40
protected ListPreference
mPreference
;
62
mPreference
= preference;
69
if (index >=
mPreference
.getEntryValues().length || index < 0) return false;
71
mPreference
.setValueIndex(mIndex);
73
mListener.onSettingChanged(
mPreference
);
82
mIndex =
mPreference
.findIndexOfValue(
mPreference
.getValue());
InLineSettingMenu.java
53
mEntry.setText(
mPreference
.getEntry());
55
int index =
mPreference
.findIndexOfValue(mOverrideValue);
57
mEntry.setText(
mPreference
.getEntries()[index]);
61
mPreference
.print();
68
event.getText().add(
mPreference
.getTitle() +
mPreference
.getEntry());
ListPrefSettingPopup.java
45
private ListPreference
mPreference
;
74
mPreference
= preference;
76
CharSequence[] entries =
mPreference
.getEntries();
79
iconIds = ((IconListPreference)
mPreference
).getImageIds();
81
iconIds = ((IconListPreference)
mPreference
).getLargeIconIds();
85
mTitle.setText(
mPreference
.getTitle());
108
int index =
mPreference
.findIndexOfValue(
mPreference
.getValue());
113
mPreference
.print();
124
mPreference
.setValueIndex(index)
[
all
...]
TimeIntervalPopup.java
47
private IconListPreference
mPreference
;
84
mPreference
= preference;
87
mTitle.setText(
mPreference
.getTitle());
126
int index =
mPreference
.findIndexOfValue(
mPreference
.getValue());
129
mPreference
.print();
171
mPreference
.setValueIndex(newId);
173
mPreference
.setValueIndex(0);
177
mListener.onListPrefChanged(
mPreference
);
InLineSettingCheckBox.java
56
R.string.accessibility_check_box,
mPreference
.getTitle()));
65
int index =
mPreference
.findIndexOfValue(mOverrideValue);
73
event.getText().add(
mPreference
.getTitle());
/packages/apps/LegacyCamera/src/com/android/camera/ui/
IndicatorButton.java
33
private IconListPreference
mPreference
;
48
mPreference
= pref;
54
int[] iconIds =
mPreference
.getLargeIconIds();
59
index =
mPreference
.findIndexOfValue(
mPreference
.getValue());
61
index =
mPreference
.findIndexOfValue(mOverrideValue);
65
mPreference
.print();
72
setImageResource(
mPreference
.getSingleIcon());
78
return
mPreference
.getKey();
111
effect.initialize(
mPreference
);
[
all
...]
CameraPicker.java
34
private ListPreference
mPreference
;
53
mPreference
= pref;
63
int index =
mPreference
.findIndexOfValue(
mPreference
.getValue());
64
CharSequence[] values =
mPreference
.getEntryValues();
66
mPreference
.setValue((String) mCameras[index]);
InLineSettingItem.java
40
protected ListPreference
mPreference
;
60
mPreference
= preference;
67
if (index >=
mPreference
.getEntryValues().length || index < 0) return false;
69
mPreference
.setValueIndex(mIndex);
80
mIndex =
mPreference
.findIndexOfValue(
mPreference
.getValue());
BasicSettingPopup.java
39
private IconListPreference
mPreference
;
51
mPreference
= preference;
53
CharSequence[] entries =
mPreference
.getEntries();
54
int[] iconIds =
mPreference
.getImageIds();
56
iconIds =
mPreference
.getLargeIconIds();
60
mTitle.setText(
mPreference
.getTitle());
83
int index =
mPreference
.findIndexOfValue(
mPreference
.getValue());
88
mPreference
.print();
99
mPreference
.setValueIndex(index)
[
all
...]
InLineSettingKnob.java
110
R.string.accessibility_increment,
mPreference
.getTitle()));
112
R.string.accessibility_decrement,
mPreference
.getTitle()));
117
mEntry.setText(
mPreference
.getEntry());
119
mPrevButton.setVisibility(mIndex ==
mPreference
.getEntryValues().length - 1
122
int index =
mPreference
.findIndexOfValue(mOverrideValue);
124
mEntry.setText(
mPreference
.getEntries()[index]);
128
mPreference
.print();
144
event.getText().add(
mPreference
.getTitle() +
mPreference
.getEntry());
EffectSettingPopup.java
41
private IconListPreference
mPreference
;
75
mPreference
= preference;
77
CharSequence[] entries =
mPreference
.getEntries();
78
CharSequence[] entryValues =
mPreference
.getEntryValues();
79
int[] iconIds =
mPreference
.getImageIds();
81
iconIds =
mPreference
.getLargeIconIds();
85
mTitle.setText(
mPreference
.getTitle());
143
boolean noEffect =
mPreference
.getValue().equals(mNoEffect);
157
String value =
mPreference
.getValue();
175
mPreference
.print()
[
all
...]
InLineSettingSwitch.java
57
R.string.accessibility_switch,
mPreference
.getTitle()));
66
int index =
mPreference
.findIndexOfValue(mOverrideValue);
81
event.getText().add(
mPreference
.getTitle());
Completed in 1260 milliseconds