HomeSort by relevance Sort by last modified time
    Searched refs:Gallery (Results 1 - 25 of 50) 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/Gallery2/src/com/android/gallery3d/app/
Gallery.java 24 /** Trampoline activity that launches the Gallery activity defined in IntentHelper. */
25 public class Gallery extends Activity {
29 Intent intent = IntentHelper.getGalleryIntent(Gallery.this);
31 // it's already in a new task. Start Gallery activity and
  /packages/apps/Gallery/
Android.mk 8 LOCAL_PACKAGE_NAME := Gallery
  /packages/apps/Gallery/tests/
Android.mk 15 LOCAL_INSTRUMENTATION_FOR := Gallery
  /cts/tests/tests/widget/src/android/widget/cts/
GalleryCtsActivity.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));
GalleryTest.java 48 import android.widget.Gallery;
55 * Test {@link Gallery}.
58 private Gallery mGallery;
74 mGallery = (Gallery) mActivity.findViewById(R.id.gallery_test);
79 new Gallery(mContext);
81 new Gallery(mContext, null);
83 new Gallery(mContext, null, 0);
87 new Gallery(mContext, attrs);
88 new Gallery(mContext, attrs, 0);
91 new Gallery(null)
138 final MyGallery gallery = (MyGallery) mActivity.findViewById(R.id.gallery_test); local
164 MyGallery gallery = new MyGallery(mContext); local
231 MyGallery gallery = new MyGallery(mContext); local
241 MyGallery gallery = new MyGallery(mContext); local
249 MyGallery gallery = new MyGallery(mContext); local
259 MyGallery gallery = new MyGallery(mContext); local
269 final MyGallery gallery = (MyGallery) getActivity().findViewById(R.id.gallery_test); local
283 MyGallery gallery = new MyGallery(mContext); local
292 final MyGallery gallery = (MyGallery) getActivity().findViewById(R.id.gallery_test); local
311 MyGallery gallery = new MyGallery(mContext); local
    [all...]
Gallery_LayoutParamsTest.java 27 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);
182 AbsSpinner absSpinner = new Gallery(mContext);
217 AbsSpinner absSpinner = new Gallery(mContext);
MyGallery.java 27 import android.widget.Gallery;
30 * A minimal mock gallery for {@link Gallery} test.
32 public class MyGallery extends Gallery {
  /external/chromium_org/ui/file_manager/gallery/js/
gallery.js 11 function unload(opt_exiting) { Gallery.instance.onUnload(opt_exiting); }
21 * Gallery for viewing and editing image files.
28 function Gallery(volumeManager) {
48 this.container_ = document.querySelector('.gallery');
64 * Gallery extends cr.EventTarget.
66 Gallery.prototype.__proto__ = cr.EventTarget.prototype;
73 Gallery.FADE_TIMEOUT = 3000;
80 Gallery.FIRST_FADE_TIMEOUT = 1000;
83 * Time until mosaic is initialized in the background. Used to make gallery
88 Gallery.MOSAIC_BACKGROUND_INIT_DELAY = 1000
867 var gallery = null; variable
    [all...]
gallery_item.js 13 Gallery.Item = function(entry) {
21 Gallery.Item.prototype.getEntry = function() { return this.entry_ };
26 Gallery.Item.prototype.getFileName = function() {
33 Gallery.Item.prototype.isOriginal = function() { return this.original_ };
39 Gallery.Item.COPY_SIGNATURE = ' - Edited';
45 Gallery.Item.REGEXP_COPY_0 =
46 new RegExp('^(.+)' + Gallery.Item.COPY_SIGNATURE + '$');
52 Gallery.Item.REGEXP_COPY_N =
53 new RegExp('^(.+)' + Gallery.Item.COPY_SIGNATURE + ' \\((\\d+)\\)$');
62 Gallery.Item.prototype.createCopyName_ = function(dirEntry, callback)
    [all...]
  /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(
  /external/chromium_org/ui/file_manager/file_manager/foreground/js/photo/
gallery_item.js 13 Gallery.Item = function(entry) {
21 Gallery.Item.prototype.getEntry = function() { return this.entry_ };
26 Gallery.Item.prototype.getFileName = function() {
33 Gallery.Item.prototype.isOriginal = function() { return this.original_ };
39 Gallery.Item.COPY_SIGNATURE = ' - Edited';
45 Gallery.Item.REGEXP_COPY_0 =
46 new RegExp('^(.+)' + Gallery.Item.COPY_SIGNATURE + '$');
52 Gallery.Item.REGEXP_COPY_N =
53 new RegExp('^(.+)' + Gallery.Item.COPY_SIGNATURE + ' \\((\\d+)\\)$');
62 Gallery.Item.prototype.createCopyName_ = function(dirEntry, callback)
    [all...]
gallery.js 11 function unload(opt_exiting) { Gallery.instance.onUnload(opt_exiting); }
14 * Gallery for viewing and editing image files.
35 function Gallery(context, volumeManager) {
36 this.container_ = document.querySelector('.gallery');
54 * Gallery extends cr.EventTarget.
56 Gallery.prototype.__proto__ = cr.EventTarget.prototype;
59 * Creates and initializes a Gallery object based on a context.
61 * @param {Object} context Gallery context.
66 Gallery.open = function(context, volumeManager, entries, selectedEntries) {
67 Gallery.instance = new Gallery(context, volumeManager)
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
CharacterPickerDialogTest.java 30 import android.widget.Gallery;
68 final Gallery parent = new Gallery(mActivity);
  /packages/apps/Gallery2/
Android.mk 32 LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D
46 # Use the following include to make gallery test apk
  /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 41 import android.widget.Gallery;
143 final Gallery gallery = (Gallery) view.findViewById(R.id.gallery); local
144 gallery.setCallbackDuringFling(false);
145 gallery.setOnItemSelectedListener(this);
146 gallery.setAdapter(new ImageAdapter(getActivity()));
152 selectWallpaper(gallery.getSelectedItemPosition());
179 // Selection handler for the embedded Gallery vie
    [all...]
  /external/chromium_org/chrome/renderer/resources/extensions/
media_galleries_custom_bindings.js 5 // Custom binding for the Media Gallery API.
  /external/chromium_org/ui/file_manager/file_manager/foreground/js/
file_tasks.js 200 actionId === 'gallery' ||
201 actionId === 'gallery-video'));
243 } else if (taskParts[2] === 'gallery' ||
244 taskParts[2] === 'gallery-video') {
564 if (id === 'gallery' || id === 'gallery-video') {
627 * Open the Gallery.
637 * The core implementation to open the Gallery.
653 if (this.params_ && this.params_.gallery) {
654 // Remove the Gallery state from the location, we do not need it any more
    [all...]

Completed in 5359 milliseconds

1 2