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
44
) 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/Settings/src/com/android/settings/accessibility/
LocalePreference.java
53
final CharSequence[]
entryValues
= new CharSequence[finalSize + 1];
55
entryValues
[0] = "";
60
entryValues
[i + 1] = info.getLocale().toString();
64
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/tts/
TtsEngineSettingsFragment.java
135
final CharSequence[]
entryValues
=
141
mLocalePreference.setEntryValues(
entryValues
);
261
CharSequence[]
entryValues
= new CharSequence[availableLangs.size()+1];
264
entryValues
[0] = "";
272
entryValues
[i++] = entry.second.toString();
276
mLocalePreference.setEntryValues(
entryValues
);
/frameworks/base/core/java/android/content/
RestrictionsManager.java
77
* android:
entryValues
="string-array resource"
89
* <li><code>entries</code> and <code>
entryValues
</code> are required if <code>restrictionType
592
int
entryValues
= a.getResourceId(R.styleable.RestrictionEntry_entryValues, 0);
610
if (
entryValues
!= 0) {
611
restriction.setChoiceValues(appContext,
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
112
* @param
entryValues
The array to be used as values to save for the preference.
114
public void setEntryValues(CharSequence[]
entryValues
) {
115
mEntryValues =
entryValues
;
249
"ListPreference requires an entries array and an
entryValues
array.");
MultiCheckPreference.java
117
* @param
entryValues
The array to be used as values to save for the preference.
119
public void setEntryValues(String[]
entryValues
) {
120
mEntryValues =
entryValues
;
246
"ListPreference requires an entries array and an
entryValues
array.");
MultiSelectListPreference.java
108
* @param
entryValues
The array to be used as values to save for the preference.
110
public void setEntryValues(CharSequence[]
entryValues
) {
111
mEntryValues =
entryValues
;
175
"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();
/packages/apps/Camera2/src/com/android/camera/settings/
CameraSettingsActivity.java
351
String[]
entryValues
= new String[selectedSizes.size()];
355
entryValues
[i] = SettingsUtil.sizeToSetting(size);
358
preference.setEntryValues(
entryValues
);
/libcore/benchmarks/src/benchmarks/regression/
R.java
[
all
...]
/external/robolectric/lib/main/
android.jar
Completed in 878 milliseconds
1
2