/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
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/photo/ |
gallery.js | 11 function beforeunload() { return Gallery.instance.onBeforeUnload() } 17 function unload(opt_exiting) { Gallery.instance.onUnload(opt_exiting) } 20 * Gallery for viewing and editing image files. 40 function Gallery(context, volumeManager) { 41 this.container_ = document.querySelector('.gallery'); 57 * Gallery extends cr.EventTarget. 59 Gallery.prototype.__proto__ = cr.EventTarget.prototype; 62 * Creates and initializes a Gallery object based on a context. 64 * @param {Object} context Gallery context. 69 Gallery.open = function(context, volumeManager, entries, selectedEntries) [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...] |
/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);
|
/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...] |
/external/chromium_org/chrome/renderer/resources/extensions/ |
media_galleries_custom_bindings.js | 5 // Custom binding for the Media Gallery API.
|
/packages/apps/Gallery2/ |
Android.mk | 32 LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D 53 # Use the following include to make gallery test apk
|