/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/ |
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...] |
/external/chromium_org/chrome/browser/ui/views/extensions/ |
media_galleries_dialog_views_unittest.cc | 24 MediaGalleryPrefInfo gallery; local 25 gallery.pref_id = id; 26 gallery.device_id = storage_monitor::StorageInfo::MakeDeviceId( 29 gallery.display_name = base::ASCIIToUTF16("Display Name"); 30 return gallery; 109 // a gallery that the dialog hasn't seen before.
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
IImageList.java | 17 package com.android.camera.gallery; 44 * The interface of all image collections used in gallery.
|
SingleImageList.java | 17 package com.android.camera.gallery;
|
LruCache.java | 17 package com.android.camera.gallery;
|
VideoObject.java | 17 package com.android.camera.gallery;
|
IImage.java | 17 package com.android.camera.gallery; 25 * The interface of all images used in gallery.
|
Image.java | 17 package com.android.camera.gallery; 36 * The class for normal images in gallery.
|
UriImage.java | 17 package com.android.camera.gallery;
|
VideoList.java | 17 package com.android.camera.gallery; 28 * A collection of all the <code>VideoObject</code> in gallery.
|
BaseImage.java | 17 package com.android.camera.gallery;
|
BaseImageList.java | 17 package com.android.camera.gallery;
|
ImageList.java | 17 package com.android.camera.gallery;
|
ImageListUber.java | 17 package com.android.camera.gallery;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
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...] |
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));
|
/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
ImageListUberUnitTests.java | 1 package com.android.camera.gallery;
|
LruCacheUnitTests.java | 1 package com.android.camera.gallery;
|
MockImageList.java | 1 package com.android.camera.gallery;
|
MockImage.java | 1 package com.android.camera.gallery;
|
/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/browser/media_galleries/ |
media_galleries_permission_controller_unittest.cc | 35 std::string GalleryName(const MediaGalleryPrefInfo& gallery) { 36 base::string16 name = gallery.GetGalleryDisplayName(); 255 MediaGalleryPrefInfo gallery; local 256 gallery.pref_id = 1; 257 gallery.device_id = StorageInfo::MakeDeviceId( 258 StorageInfo::FIXED_MASS_STORAGE, "/path/to/gallery"); 259 gallery.type = MediaGalleryPrefInfo::kAutoDetected; 260 std::string galleryName("/path/to/gallery"); 262 galleryName = "gallery"; 264 EXPECT_EQ(galleryName, GalleryName(gallery)); [all...] |
media_galleries_permission_controller.cc | 37 // Comparator for sorting gallery entries. Sort Removable entries above 301 MediaGalleryPrefInfo gallery; local 303 bool gallery_exists = preferences_->LookUpGalleryByPath(path, &gallery); 304 if (gallery_exists && !gallery.IsBlackListedType()) { 306 // |known_galleries_| as well. User selecting a known gallery effectively 307 // just sets the gallery to permitted. 308 GalleryDialogId gallery_id = GetDialogId(gallery.pref_id); 320 if (iter->second.pref_info.path == gallery.path && 321 iter->second.pref_info.device_id == gallery.device_id) { 328 // Lastly, if not found, add a new gallery to |new_galleries_| 397 const MediaGalleryPrefInfo& gallery = iter->second; local 454 const MediaGalleryPrefInfo& gallery = iter->second.pref_info; local 475 Entry& gallery = it->second; local [all...] |
media_galleries_scan_result_controller.cc | 271 const MediaGalleryPrefInfo& gallery = it->second; local 272 if ((gallery.audio_count || gallery.image_count || gallery.video_count) && 273 !gallery.IsBlackListedType() && 274 !ContainsKey(permitted, gallery.pref_id) && 275 !ContainsKey(ignore_list, gallery.pref_id)) { 276 ScanResults::iterator existing = scan_results->find(gallery.pref_id); 279 (*scan_results)[gallery.pref_id] = Entry(gallery, true) [all...] |