OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:entryValues
(Results
1 - 25
of
41
) sorted by null
1
2
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowListPreference.java
12
CharSequence[]
entryValues
;
33
return
entryValues
;
37
public void setEntryValues(CharSequence[]
entryValues
) {
38
this.
entryValues
=
entryValues
;
43
this.
entryValues
= context.getResources().getStringArray(entryValuesResId);
/frameworks/base/core/tests/coretests/src/android/preference/
ListPreferenceTest.java
25
String[]
entryValues
= { "1" , "2", "3" };
28
lp.setEntryValues(
entryValues
);
30
lp.setValue(
entryValues
[1]);
36
lp.setValue(
entryValues
[2]);
/packages/apps/Browser/src/com/android/browser/search/
SearchEnginePreference.java
39
ArrayList<CharSequence>
entryValues
= new ArrayList<CharSequence>();
46
entryValues
.add(defaultSearchEngineName);
53
entryValues
.add(name);
58
setEntryValues(
entryValues
.toArray(new CharSequence[
entryValues
.size()]));
/packages/apps/Camera/src/com/android/camera/
CountDownTimerPreference.java
37
CharSequence[]
entryValues
= new CharSequence[MAX_DURATION + 1];
40
entryValues
[i] = Integer.toString(i);
49
setEntryValues(
entryValues
);
ListPreference.java
149
ArrayList<CharSequence>
entryValues
= new ArrayList<CharSequence>();
153
entryValues
.add(mEntryValues[i]);
158
mEntryValues =
entryValues
.toArray(new CharSequence[size]);
163
ArrayList<CharSequence>
entryValues
= new ArrayList<CharSequence>();
167
entryValues
.add(mEntryValues[i]);
172
mEntryValues =
entryValues
.toArray(new CharSequence[size]);
178
Log.v(TAG, "
entryValues
[" + i + "]=" + mEntryValues[i]);
IconListPreference.java
96
CharSequence
entryValues
[] = getEntryValues();
101
for (int i = 0, len =
entryValues
.length; i < len; i++) {
102
if (supported.indexOf(
entryValues
[i].toString()) >= 0) {
CameraSettings.java
249
CharSequence
entryValues
[] = new CharSequence[maxValue - minValue + 1];
254
entryValues
[maxValue - i] = Integer.toString(Math.round(i / step));
262
exposure.setEntryValues(
entryValues
);
274
CharSequence[]
entryValues
= new CharSequence[numOfCameras];
276
entryValues
[i] = "" + i;
278
preference.setEntryValues(
entryValues
);
/packages/apps/Camera2/src/com/android/camera/
CountDownTimerPreference.java
34
CharSequence[]
entryValues
= new CharSequence[DURATIONS.length];
37
entryValues
[i] = Integer.toString(DURATIONS[i]);
46
setEntryValues(
entryValues
);
IconListPreference.java
98
CharSequence
entryValues
[] = getEntryValues();
103
for (int i = 0, len =
entryValues
.length; i < len; i++) {
104
if (supported.indexOf(
entryValues
[i].toString()) >= 0) {
ListPreference.java
173
ArrayList<CharSequence>
entryValues
= new ArrayList<CharSequence>();
177
entryValues
.add(mEntryValues[i]);
182
mEntryValues =
entryValues
.toArray(new CharSequence[size]);
187
ArrayList<CharSequence>
entryValues
= new ArrayList<CharSequence>();
191
entryValues
.add(mEntryValues[i]);
196
mEntryValues =
entryValues
.toArray(new CharSequence[size]);
202
Log.v(TAG, "
entryValues
[" + i + "]=" + mEntryValues[i]);
CameraSettings.java
250
CharSequence
entryValues
[] = new CharSequence[maxValue - minValue + 1];
256
entryValues
[i - minValue] = Integer.toString(Math.round(i / step));
266
exposure.setEntryValues(
entryValues
);
278
CharSequence[]
entryValues
= new CharSequence[numOfCameras];
280
entryValues
[i] = "" + i;
282
preference.setEntryValues(
entryValues
);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ListPreferenceTest.java
54
CharSequence[]
entryValues
= { "this", "is", "only", "a", "test" };
57
listPreference.setEntryValues(
entryValues
);
58
assertThat(listPreference.getEntryValues(), sameInstance(
entryValues
));
/cts/tests/tests/preference2/src/android/preference2/cts/
ListPreferenceTest.java
49
String[]
entryValues
= convertToStringArray((CharSequence[]) mListPref.getEntryValues());
52
compareArrays(entryValuesExp,
entryValues
);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
LimitedMultiSelectDialogFragment.java
57
private static final String ARG_ENTRY_VALUES = "
entryValues
";
68
final ArrayList<String> entries, final ArrayList<String>
entryValues
,
72
args.putStringArrayList(ARG_ENTRY_VALUES,
entryValues
);
83
final List<String>
entryValues
= getArguments().getStringArrayList(ARG_ENTRY_VALUES);
86
getActivity(), getArguments().getStringArrayList(ARG_ENTRIES),
entryValues
,
119
for (int j = 0; j <
entryValues
.size(); j++) {
120
if (
entryValues
.get(j).equals(value)) {
163
final List<String>
entryValues
, final int maxSelectedValues) {
167
mEntryValues = ImmutableList.copyOf(
entryValues
);
/packages/apps/LegacyCamera/src/com/android/camera/
IconListPreference.java
89
CharSequence
entryValues
[] = getEntryValues();
94
for (int i = 0, len =
entryValues
.length; i < len; i++) {
95
if (supported.indexOf(
entryValues
[i].toString()) >= 0) {
ListPreference.java
149
ArrayList<CharSequence>
entryValues
= new ArrayList<CharSequence>();
153
entryValues
.add(mEntryValues[i]);
158
mEntryValues =
entryValues
.toArray(new CharSequence[size]);
164
Log.v(TAG, "
entryValues
[" + i + "]=" + mEntryValues[i]);
CameraSettings.java
209
CharSequence
entryValues
[] = new CharSequence[maxValue - minValue + 1];
211
entryValues
[maxValue - i] = Integer.toString(Math.round(i / step));
217
exposure.setEntryValues(
entryValues
);
228
CharSequence[]
entryValues
= new CharSequence[numOfCameras];
230
entryValues
[i] = "" + i;
232
preference.setEntryValues(
entryValues
);
/packages/apps/Settings/src/com/android/settings/accessibility/
LocalePreference.java
100
final CharSequence[]
entryValues
= new CharSequence[finalSize + 1];
104
entryValues
[0] = "";
109
entryValues
[i + 1] = info.locale.toString();
113
setEntryValues(
entryValues
);
/packages/apps/Settings/src/com/android/settings/tts/
TtsEngineSettingsFragment.java
230
CharSequence[]
entryValues
= new CharSequence[availableLangs.size()];
240
entryValues
[i++] = entry.second;
244
mLocalePreference.setEntryValues(
entryValues
);
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
ContactFragment.java
360
final ContentValues
entryValues
= subValue.values;
361
entryValues
.put(Data.RAW_CONTACT_ID, rawContactId);
363
final long dataId =
entryValues
.getAsLong(Data._ID);
364
final String mimeType =
entryValues
.getAsString(Data.MIMETYPE);
372
rawContactId, dataId,
entryValues
);
375
final boolean isSuperPrimary =
entryValues
.getAsInteger(
414
imMime, imKind, rawContactId, dataId,
entryValues
);
415
imEntry.intent = ContactsUtils.buildImIntent(
entryValues
);
426
entry.intent = ContactsUtils.buildImIntent(
entryValues
);
/frameworks/base/core/java/android/preference/
ListPreference.java
104
* @param
entryValues
The array to be used as values to save for the preference.
106
public void setEntryValues(CharSequence[]
entryValues
) {
107
mEntryValues =
entryValues
;
241
"ListPreference requires an entries array and an
entryValues
array.");
MultiCheckPreference.java
108
* @param
entryValues
The array to be used as values to save for the preference.
110
public void setEntryValues(String[]
entryValues
) {
111
mEntryValues =
entryValues
;
237
"ListPreference requires an entries array and an
entryValues
array.");
MultiSelectListPreference.java
98
* @param
entryValues
The array to be used as values to save for the preference.
100
public void setEntryValues(CharSequence[]
entryValues
) {
101
mEntryValues =
entryValues
;
165
"an
entryValues
array.");
/packages/apps/Camera/src/com/android/camera/ui/
EffectSettingPopup.java
80
CharSequence[]
entryValues
= mPreference.getEntryValues();
90
String value =
entryValues
[i].toString();
/packages/apps/LegacyCamera/src/com/android/camera/ui/
EffectSettingPopup.java
78
CharSequence[]
entryValues
= mPreference.getEntryValues();
88
String value =
entryValues
[i].toString();
Completed in 460 milliseconds
1
2