OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:arrayAdapter
(Results
1 - 7
of
7
) sorted by null
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ArrayAdapterTest.java
12
import android.widget.
ArrayAdapter
;
31
private
ArrayAdapter
<Integer>
arrayAdapter
;
39
arrayAdapter
= new
ArrayAdapter
<Integer>(Robolectric.application, 0, list);
44
assertEquals(Robolectric.application,
arrayAdapter
.getContext());
49
assertEquals(3,
arrayAdapter
.getCount());
50
assertEquals(new Integer(1),
arrayAdapter
.getItem(0));
51
assertEquals(new Integer(2),
arrayAdapter
.getItem(1));
52
assertEquals(new Integer(3),
arrayAdapter
.getItem(2))
[
all
...]
AbsSpinnerTest.java
10
import android.widget.
ArrayAdapter
;
32
private
ArrayAdapter
<String>
arrayAdapter
;
41
arrayAdapter
= new MyArrayAdapter(this.context, testItems);
51
spinner.setAdapter(
arrayAdapter
);
56
spinner.setAdapter(
arrayAdapter
);
79
spinner.setAdapter(
arrayAdapter
);
95
spinner.setAdapter(
arrayAdapter
);
103
spinner.setAdapter(
arrayAdapter
);
111
spinner.setAdapter(
arrayAdapter
);
[
all
...]
AlertDialogTest.java
20
import android.widget.
ArrayAdapter
;
250
ArrayAdapter
<Integer> adapter = new
ArrayAdapter
<Integer>(Robolectric.application, R.layout.main, R.id.title, list);
331
ArrayAdapter
<Integer>
arrayAdapter
= new
ArrayAdapter
<Integer>(Robolectric.application, R.layout.main, R.id.title, list);
332
builder.setSingleChoiceItems(
arrayAdapter
, 1, listener);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
SwipeRefreshLayoutActivityList.java
22
import android.widget.
ArrayAdapter
;
35
ArrayAdapter
<String>
arrayAdapter
= new
ArrayAdapter
<>(this,
37
mList.setAdapter(
arrayAdapter
);
/packages/apps/Messaging/src/com/android/messaging/util/
DebugUtils.java
29
import android.widget.
ArrayAdapter
;
111
final
ArrayAdapter
<DebugAction>
arrayAdapter
= new
ArrayAdapter
<DebugAction>(
114
arrayAdapter
.add(new DebugAction("Dump Database") {
121
arrayAdapter
.add(new DebugAction("Log Telephony Data") {
128
arrayAdapter
.add(new DebugAction("Toggle Noise") {
135
arrayAdapter
.add(new DebugAction("Force sync SMS") {
144
arrayAdapter
.add(new DebugAction("Sync SMS") {
151
arrayAdapter
.add(new DebugAction("Load SMS/MMS from dump file")
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/media/projection/
MediaProjectionDemo.java
38
import android.widget.
ArrayAdapter
;
83
ArrayAdapter
<Resolution>
arrayAdapter
= new
ArrayAdapter
<Resolution>(
86
s.setAdapter(
arrayAdapter
);
/packages/apps/Settings/src/com/android/settings/
TrustedCredentialsDialogBuilder.java
30
import android.widget.
ArrayAdapter
;
284
ArrayAdapter
<String>
arrayAdapter
= new
ArrayAdapter
<String>(mActivity,
287
arrayAdapter
.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
289
spinner.setAdapter(
arrayAdapter
);
Completed in 141 milliseconds