OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:adapterView
(Results
1 - 12
of
12
) 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);
/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
...]
/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) {
/developers/samples/android/common/src/java/com/example/android/common/actionbarcompat/
MultiSelectionUtil.java
29
import android.widget.
AdapterView
;
58
* {@link android.widget.
AdapterView
.OnItemLongClickListener} is set on the ListView so that
60
* {@link android.widget.
AdapterView
.OnItemClickListener} is set so that an item click toggles
77
private
AdapterView
.OnItemClickListener mOldItemClickListener;
175
final class Callbacks implements ActionMode.Callback,
AdapterView
.OnItemClickListener,
176
AdapterView
.OnItemLongClickListener {
239
public void onItemClick(
AdapterView
<?>
adapterView
, View view, int position, long id) {
265
public boolean onItemLongClick(
AdapterView
<?>
adapterView
, View view, int position
[
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();
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
ProjectCallback.java
484
public Object getAdapterItemValue(ResourceReference
adapterView
, Object adapterCookie,
491
&&
adapterView
.getName().startsWith("android_widget_")) { //$NON-NLS-1$
492
String name =
adapterView
.getName();
577
public AdapterBinding getAdapterBinding(final ResourceReference
adapterView
,
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/layoutRendering/
ApiDemosRenderingTest.java
150
public Object getAdapterItemValue(ResourceReference
adapterView
, Object adapterCookie,
158
public AdapterBinding getAdapterBinding(ResourceReference
adapterView
,
/development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoThumbnailFragment.java
38
import android.widget.
AdapterView
;
49
LoaderManager.LoaderCallbacks<Cursor>,
AdapterView
.OnItemClickListener {
278
public void onItemClick(
AdapterView
<?>
adapterView
, View view, int viewId, long rowId) {
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
IngestActivity.java
40
import android.widget.
AdapterView
;
41
import android.widget.
AdapterView
.OnItemClickListener;
109
public void onItemClick(
AdapterView
<?>
adapterView
, View itemView, int position, long arg3) {
/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
...]
/frameworks/ex/chips/src/com/android/ex/chips/
RecipientEditTextView.java
75
import android.widget.
AdapterView
;
76
import android.widget.
AdapterView
.OnItemClickListener;
268
public void onItemClick(
AdapterView
<?>
adapterView
,View view, int position,
271
replaceChip(mSelectedChip, ((RecipientAlternatesAdapter)
adapterView
.getAdapter())
[
all
...]
Completed in 265 milliseconds