OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:adapterView
(Results
1 - 6
of
6
) sorted by null
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
AdapterViewBehavior.java
6
import android.widget.
AdapterView
;
22
public static void shouldActAsAdapterView(
AdapterView
adapterView
) throws Exception {
25
testSetAdapter_ShouldCauseViewsToBeRenderedAsynchronously(
adapterView
);
26
testSetAdapter_ShouldSelectFirstItemAsynchronously(
adapterView
);
27
testSetAdapter_ShouldFireOnNothingSelectedWhenAdapterCountIsReducedToZero(
adapterView
);
29
shouldIgnoreSetSelectionCallsWithInvalidPosition(
adapterView
);
30
shouldOnlyUpdateOnceIfInvalidatedMultipleTimes(
adapterView
);
32
testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull(
adapterView
);
33
testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty(
adapterView
);
[
all
...]
AbsSpinnerTest.java
9
import android.widget.
AdapterView
;
29
private
AdapterView
adapterView
;
37
adapterView
= new Gallery(context);
46
AdapterViewBehavior.shouldActAsAdapterView(
adapterView
);
96
spinner.setSelection(
AdapterView
.INVALID_POSITION);
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
LiveWallpaperActivity.java
32
import android.widget.
AdapterView
;
64
AdapterView
.OnItemClickListener{
134
AdapterView
<BaseAdapter>
adapterView
=
135
(
AdapterView
<BaseAdapter>) layout.findViewById(android.R.id.list);
136
adapterView
.setAdapter(mAdapter);
137
adapterView
.setOnItemClickListener(this);
138
adapterView
.setEmptyView(layout.findViewById(android.R.id.empty));
142
public void onItemClick(
AdapterView
<?> parent, View view, int position, long id) {
/cts/tests/tests/widget/src/android/widget/cts/
AdapterViewTest.java
32
import android.widget.
AdapterView
;
37
import android.widget.
AdapterView
.OnItemClickListener;
38
import android.widget.
AdapterView
.OnItemLongClickListener;
39
import android.widget.
AdapterView
.OnItemSelectedListener;
54
private
AdapterView
<ListAdapter> mAdapterView;
95
fail("addView(View) is not supported in
AdapterView
.");
102
fail("addView(View, int) is not supported in
AdapterView
.");
109
fail("addView(View, ViewGroup.LayoutParams) is not supported in
AdapterView
.");
116
fail("addView(View, int, ViewGroup.LayoutParams) is not supported in
AdapterView
.");
123
fail("removeViewAt(int) is not supported in
AdapterView
");
[
all
...]
/frameworks/base/core/java/android/appwidget/
AppWidgetHostView.java
45
import android.widget.
AdapterView
;
450
if ((v != null) && (v instanceof
AdapterView
<?>)) {
451
AdapterView
<?>
adapterView
= (
AdapterView
<?>) v;
452
Adapter adapter =
adapterView
.getAdapter();
456
} else if (adapter == null &&
adapterView
instanceof RemoteAdapterConnectionCallback) {
460
((RemoteAdapterConnectionCallback)
adapterView
).deferNotifyDataSetChanged();
/frameworks/base/core/java/android/widget/
RemoteViews.java
48
import android.widget.
AdapterView
.OnItemClickListener;
349
if (!(view instanceof
AdapterView
<?>)) return;
351
AdapterView
<?>
adapterView
= (
AdapterView
<?>) view;
356
adapterView
.setEmptyView(emptyView);
396
// Insure that this view is a child of an
AdapterView
398
while (parent != null && !(parent instanceof
AdapterView
<?>)
405
// and
AdapterView
as a parent.
406
Log.e(LOG_TAG, "Collection item doesn't have
AdapterView
parent")
[
all
...]
Completed in 107 milliseconds