OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:adapterView
(Results
1 - 7
of
7
) 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
;
443
if ((v != null) && (v instanceof
AdapterView
<?>)) {
444
AdapterView
<?>
adapterView
= (
AdapterView
<?>) v;
445
Adapter adapter =
adapterView
.getAdapter();
449
} else if (adapter == null &&
adapterView
instanceof RemoteAdapterConnectionCallback) {
453
((RemoteAdapterConnectionCallback)
adapterView
).deferNotifyDataSetChanged();
/frameworks/base/core/java/android/widget/
RemoteViews.java
53
import android.widget.
AdapterView
.OnItemClickListener;
348
if (!(view instanceof
AdapterView
<?>)) return;
350
AdapterView
<?>
adapterView
= (
AdapterView
<?>) view;
355
adapterView
.setEmptyView(emptyView);
395
// Insure that this view is a child of an
AdapterView
397
while (parent != null && !(parent instanceof
AdapterView
<?>)
404
// and
AdapterView
as a parent.
405
Log.e(LOG_TAG, "Collection item doesn't have
AdapterView
parent")
[
all
...]
/prebuilts/misc/common/android-support-test/
espresso-core.jar
Completed in 732 milliseconds