HomeSort by relevance Sort by last modified time
    Searched refs:Gallery (Results 1 - 25 of 44) sorted by null

1 2

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowGallery.java 4 import android.widget.Gallery;
9 @Implements(Gallery.class)
12 @RealObject Gallery gallery; field in class:ShadowGallery
20 onKeyListener.onKey(gallery, keyCode, event);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
LayoutParamsTest.java 3 import android.widget.Gallery;
15 Gallery.LayoutParams layoutParams = new Gallery.LayoutParams(123, 456);
GalleryTest.java 5 import android.widget.Gallery;
18 private Gallery gallery; field in class:GalleryTest
24 gallery = new Gallery(null);
26 gallery.setOnKeyListener(listener);
32 assertTrue(gallery.onKeyDown(KeyEvent.KEYCODE_DPAD_RIGHT, event));
34 assertThat((Gallery) listener.view, sameInstance(gallery));
40 assertTrue(gallery.onKeyDown(KeyEvent.KEYCODE_DPAD_RIGHT, event))
    [all...]
AbsSpinnerTest.java 11 import android.widget.Gallery;
37 adapterView = new Gallery(context);
  /frameworks/base/tests/BiDiTests/src/com/android/bidi/
BiDiTestGalleryLtr.java 23 import android.widget.Gallery;
31 Gallery g = (Gallery) v.findViewById(R.id.galleryview);
BiDiTestGalleryRtl.java 23 import android.widget.Gallery;
31 Gallery g = (Gallery) v.findViewById(R.id.galleryview);
  /packages/apps/Gallery/
Android.mk 8 LOCAL_PACKAGE_NAME := Gallery
  /packages/apps/Gallery/tests/
Android.mk 15 LOCAL_INSTRUMENTATION_FOR := Gallery
  /cts/tests/src/android/widget/cts/
GalleryStubActivity.java 27 import android.widget.Gallery;
31 * A minimal application for {@link Gallery} test.
39 Gallery gallery = (Gallery) findViewById(R.id.gallery_test); local
41 gallery.setAdapter(adapter);
67 i.setLayoutParams(new Gallery.LayoutParams(136, 88));
MyGallery.java 27 import android.widget.Gallery;
30 * A minimal mock gallery for {@link Gallery} test.
32 public class MyGallery extends Gallery {
  /development/samples/ApiDemos/src/com/example/android/apis/view/
Gallery2.java 23 import android.widget.Gallery;
53 Gallery g = (Gallery) findViewById(R.id.gallery);
ImageSwitcher1.java 30 import android.widget.Gallery;
31 import android.widget.Gallery.LayoutParams;
54 Gallery g = (Gallery) findViewById(R.id.gallery);
99 i.setLayoutParams(new Gallery.LayoutParams(
Gallery1.java 32 import android.widget.Gallery;
45 // Reference the Gallery view
46 Gallery g = (Gallery) findViewById(R.id.gallery);
57 // We also want to show context menu for longpressed items in the gallery
124 imageView.setLayoutParams(new Gallery.LayoutParams(
128 // The preferred Gallery item background
  /development/samples/Home/src/com/example/android/home/
Wallpaper.java 29 import android.widget.Gallery;
31 import android.widget.Gallery.LayoutParams;
38 * a gallery of stock photos.
57 private Gallery mGallery;
67 mGallery = (Gallery) findViewById(R.id.gallery);
141 i.setLayoutParams(new Gallery.LayoutParams(
  /cts/tests/tests/widget/src/android/widget/cts/
GalleryTest.java 47 import android.widget.Gallery;
54 * Test {@link Gallery}.
57 private Gallery mGallery;
73 mGallery = (Gallery) mActivity.findViewById(R.id.gallery_test);
77 new Gallery(mContext);
79 new Gallery(mContext, null);
81 new Gallery(mContext, null, 0);
85 new Gallery(mContext, attrs);
86 new Gallery(mContext, attrs, 0);
89 new Gallery(null)
136 final MyGallery gallery = (MyGallery) mActivity.findViewById(R.id.gallery_test); local
161 MyGallery gallery = new MyGallery(mContext); local
226 MyGallery gallery = new MyGallery(mContext); local
235 MyGallery gallery = new MyGallery(mContext); local
242 MyGallery gallery = new MyGallery(mContext); local
251 MyGallery gallery = new MyGallery(mContext); local
261 final MyGallery gallery = (MyGallery) getActivity().findViewById(R.id.gallery_test); local
274 MyGallery gallery = new MyGallery(mContext); local
283 final MyGallery gallery = (MyGallery) getActivity().findViewById(R.id.gallery_test); local
301 MyGallery gallery = new MyGallery(mContext); local
    [all...]
Gallery_LayoutParamsTest.java 26 import android.widget.Gallery.LayoutParams;
AbsSpinnerTest.java 37 import android.widget.Gallery;
63 new Gallery(mContext);
64 new Gallery(mContext, null);
65 new Gallery(mContext, null, 0);
69 new Gallery(mContext, attrs);
70 new Gallery(mContext, attrs, 0);
180 AbsSpinner absSpinner = new Gallery(mContext);
214 AbsSpinner absSpinner = new Gallery(mContext);
  /cts/tests/tests/text/src/android/text/method/cts/
CharacterPickerDialogTest.java 29 import android.widget.Gallery;
65 final Gallery parent = new Gallery(mActivity);
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
AlbumPicker.java 35 data.putBoolean(Gallery.KEY_GET_ALBUM, true);
DialogPicker.java 36 data.putBoolean(Gallery.KEY_GET_CONTENT, true);
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
WidgetClickHandler.java 30 import com.android.gallery3d.app.Gallery;
66 intent = new Intent(this, Gallery.class);
  /device/samsung/toro/
full_toro.mk 24 # Camera and Gallery
26 Gallery
  /packages/apps/Gallery2/src/com/android/photos/
PhotoSetFragment.java 31 import com.android.gallery3d.app.Gallery;
77 intent.setClass(getActivity(), Gallery.class);
  /frameworks/base/core/java/android/widget/
Gallery.java 45 * The default values for the Gallery assume you will be using
47 * each View given to the Gallery from the Adapter. If you are not doing this,
48 * you may need to adjust some Gallery properties, such as the spacing.
50 * Views given to the Gallery should use {@link Gallery.LayoutParams} as their
63 public class Gallery extends AbsSpinner implements GestureDetector.OnGestureListener {
65 private static final String TAG = "Gallery";
186 * Offset between the center of the selected child view and the center of the Gallery.
191 public Gallery(Context context) {
195 public Gallery(Context context, AttributeSet attrs)
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
WallpaperChooserDialogFragment.java 39 import android.widget.Gallery;
142 final Gallery gallery = (Gallery) view.findViewById(R.id.gallery); local
143 gallery.setCallbackDuringFling(false);
144 gallery.setOnItemSelectedListener(this);
145 gallery.setAdapter(new ImageAdapter(getActivity()));
151 selectWallpaper(gallery.getSelectedItemPosition());
178 // Selection handler for the embedded Gallery vie
    [all...]

Completed in 7893 milliseconds

1 2