/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);
|
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/ |
MainActivity.java | 12 import android.widget.AdapterView; 13 import android.widget.AdapterView.OnItemClickListener; 66 public void onItemClick(final AdapterView<?> adapterView, View clickedView, 68 int topPosition = adapterView.getFirstVisiblePosition(); 69 int dy = adapterView.getHeight(); 70 for (int i = 0; i < adapterView.getChildCount(); i++) { 72 View child = adapterView.getChildAt(i);
|
/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/build/prebuilts/gradle/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/activityscenetransitionbasic/ |
MainActivity.java | 29 import android.widget.AdapterView; 40 public class MainActivity extends Activity implements AdapterView.OnItemClickListener { 62 public void onItemClick(AdapterView<?> adapterView, View view, int position, long id) { 63 Item item = (Item) adapterView.getItemAtPosition(position);
|
/developers/samples/android/ui/activityscenetransition/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/activityscenetransitionbasic/ |
MainActivity.java | 29 import android.widget.AdapterView; 40 public class MainActivity extends Activity implements AdapterView.OnItemClickListener { 62 public void onItemClick(AdapterView<?> adapterView, View view, int position, long id) { 63 Item item = (Item) adapterView.getItemAtPosition(position);
|
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/ |
MainActivity.java | 29 import android.widget.AdapterView; 40 public class MainActivity extends Activity implements AdapterView.OnItemClickListener { 62 public void onItemClick(AdapterView<?> adapterView, View view, int position, long id) { 63 Item item = (Item) adapterView.getItemAtPosition(position);
|
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/ |
VideoMenuFragment.java | 20 import android.widget.AdapterView; 21 import android.widget.AdapterView.OnItemSelectedListener; 48 public void onItemSelected(AdapterView<?> adapterView, View view, 52 public void onNothingSelected(AdapterView<?> arg0) { 69 public void onItemSelected(AdapterView<?> adapterView, View view, 73 public void onNothingSelected(AdapterView<?> arg0) {
|
/developers/build/prebuilts/gradle/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/ |
DigitalWatchFaceCompanionConfigActivity.java | 29 import android.widget.AdapterView; 192 spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { 194 public void onItemSelected(AdapterView<?> adapterView, View view, int pos, long id) { 195 final String colorName = (String) adapterView.getItemAtPosition(pos); 200 public void onNothingSelected(AdapterView<?> adapterView) { }
|
/developers/samples/android/wearable/wear/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/ |
DigitalWatchFaceCompanionConfigActivity.java | 29 import android.widget.AdapterView; 192 spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { 194 public void onItemSelected(AdapterView<?> adapterView, View view, int pos, long id) { 195 final String colorName = (String) adapterView.getItemAtPosition(pos); 200 public void onNothingSelected(AdapterView<?> adapterView) { }
|
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/ |
DigitalWatchFaceCompanionConfigActivity.java | 29 import android.widget.AdapterView; 192 spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { 194 public void onItemSelected(AdapterView<?> adapterView, View view, int pos, long id) { 195 final String colorName = (String) adapterView.getItemAtPosition(pos); 200 public void onNothingSelected(AdapterView<?> adapterView) { }
|
/developers/build/prebuilts/gradle/DrawableTinting/Application/src/main/java/com/example/android/drawabletinting/ |
DrawableTintingFragment.java | 27 import android.widget.AdapterView; 281 private AdapterView.OnItemSelectedListener mBlendListener = 282 new AdapterView.OnItemSelectedListener() { 285 public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { 291 public void onNothingSelected(AdapterView<?> adapterView) {
|
/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...] |
/developers/samples/android/ui/DrawableTinting/Application/src/main/java/com/example/android/drawabletinting/ |
DrawableTintingFragment.java | 27 import android.widget.AdapterView; 281 private AdapterView.OnItemSelectedListener mBlendListener = 282 new AdapterView.OnItemSelectedListener() { 285 public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { 291 public void onNothingSelected(AdapterView<?> adapterView) {
|
/development/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
PaletteDetailActivity.java | 29 import android.widget.AdapterView; 70 mGridView.setOnItemClickListener(new AdapterView.OnItemClickListener() { 72 public void onItemClick(AdapterView<?> adapterView, View view, int pos, long l) { 78 final Palette.Swatch item = (Palette.Swatch) adapterView.getItemAtPosition(pos);
|
/development/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/ |
DrawableTintingFragment.java | 27 import android.widget.AdapterView; 281 private AdapterView.OnItemSelectedListener mBlendListener = 282 new AdapterView.OnItemSelectedListener() { 285 public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { 291 public void onNothingSelected(AdapterView<?> adapterView) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
Picker.java | 35 import android.widget.AdapterView; 36 import android.widget.AdapterView.OnItemClickListener; 86 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 491 TextView getTextViewFromAdapterView(View adapterView) { 493 return (TextView) adapterView.findViewById(mTextViewResourceId); 495 return (TextView) adapterView; 502 AdapterView.OnItemSelectedListener { 514 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { 535 public void onNothingSelected(AdapterView<?> parent) {
|
/external/chromium_org/third_party/webrtc/voice_engine/test/android/android_test/src/org/webrtc/voiceengine/test/ |
AndroidTest.java | 35 import android.widget.AdapterView;
207 new AdapterView.OnItemSelectedListener() {
208 public void onItemSelected(AdapterView adapterView, View view,
235 public void onNothingSelected(AdapterView adapterView) {
247 new AdapterView.OnItemSelectedListener() {
248 public void onItemSelected(AdapterView adapterView, View view,
343 public void onNothingSelected(AdapterView 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();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
ProjectCallback.java | 510 public Object getAdapterItemValue(ResourceReference adapterView, Object adapterCookie, 517 && adapterView.getName().startsWith("android_widget_")) { //$NON-NLS-1$ 518 String name = adapterView.getName(); 603 public AdapterBinding getAdapterBinding(final ResourceReference adapterView,
|
/developers/build/prebuilts/gradle/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
MainActivity.java | 31 import android.widget.AdapterView; 265 private class PresetSpinnerListener implements AdapterView.OnItemSelectedListener { 267 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { 275 public void onNothingSelected(AdapterView<?> adapterView) { 294 implements AdapterView.OnItemSelectedListener { 301 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { 306 public void onNothingSelected(AdapterView<?> adapterView) {
|
/developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
MainActivity.java | 31 import android.widget.AdapterView; 265 private class PresetSpinnerListener implements AdapterView.OnItemSelectedListener { 267 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { 275 public void onNothingSelected(AdapterView<?> adapterView) { 294 implements AdapterView.OnItemSelectedListener { 301 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { 306 public void onNothingSelected(AdapterView<?> adapterView) {
|
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
MainActivity.java | 31 import android.widget.AdapterView; 265 private class PresetSpinnerListener implements AdapterView.OnItemSelectedListener { 267 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { 275 public void onNothingSelected(AdapterView<?> adapterView) { 294 implements AdapterView.OnItemSelectedListener { 301 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { 306 public void onNothingSelected(AdapterView<?> adapterView) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/layoutRendering/ |
ApiDemosRenderingTest.java | 151 public Object getAdapterItemValue(ResourceReference adapterView, Object adapterCookie, 159 public AdapterBinding getAdapterBinding(ResourceReference adapterView,
|