/external/chromium_org/ui/file_manager/gallery/css/ |
gallery.css | 36 .gallery, 37 .gallery .content { 47 .gallery .content { 53 .gallery .image-container { 60 .gallery[tools] .image-container[cursor='default'] { 64 .gallery[tools] .image-container[cursor='move'] { 70 .gallery[tools] .image-container[cursor='crop'] { 76 .gallery[tools] .image-container[cursor='n-resize'], 77 .gallery[tools] .image-container[cursor='s-resize'] { 83 .gallery[tools] .image-container[cursor='e-resize'] [all...] |
/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));
|
/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_scan_manager.cc | 160 const MediaGalleryPrefInfo& gallery = it->second; local 161 if (!gallery.IsBlackListedType()) { 163 SumFilesUnderPath(gallery.AbsolutePath(), child_folders); 164 if (gallery.audio_count != file_counts.audio_count || 165 gallery.image_count != file_counts.image_count || 166 gallery.video_count != file_counts.video_count) { 176 const MediaGalleryPrefInfo& gallery = local 178 preferences->AddGallery(gallery.device_id, gallery.path, gallery.type 199 MediaGalleryPrefInfo gallery; 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...] |
media_galleries_preferences.cc | 53 // Pref key for the list of media gallery permissions. 55 // Pref key for Media Gallery ID. 57 // Pref key for Media Gallery Permission Value. 291 const MediaGalleryPrefInfo& gallery) { 294 base::Uint64ToString(gallery.pref_id)); 295 dict->SetString(kMediaGalleriesDeviceIdKey, gallery.device_id); 296 dict->SetString(kMediaGalleriesPathKey, gallery.path.value()); 297 dict->SetString(kMediaGalleriesTypeKey, TypeToStringValue(gallery.type)); 299 if (gallery.default_gallery_type != MediaGalleryPrefInfo::kNotDefault) { 302 gallery.default_gallery_type)) 789 const MediaGalleryPrefInfo& gallery = known_galleries_.find(*it)->second; local 1239 MediaGalleriesPrefInfoMap::const_iterator gallery = local [all...] |
media_file_system_registry.cc | 277 // For each gallery in the list of permitted |galleries|, checks if the 299 // Checks if |gallery| is attached and if so, registers the file system and 302 const MediaGalleryPrefInfo& gallery, 307 device_ids->insert(gallery.device_id); 310 base::Owned(device_ids), gallery, callback)); 315 PrefIdFsInfoMap::iterator gallery = pref_id_map_.find(id); local 316 if (gallery == pref_id_map_.end()) 319 file_system_context_->RevokeFileSystem(gallery->second.fsid); 320 pref_id_map_.erase(gallery); 410 const MediaGalleryPrefInfo& gallery, 534 MediaGalleriesPrefInfoMap::const_iterator gallery = local [all...] |
/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/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);
|
/packages/apps/Gallery/src/com/android/camera/ |
GallerySettings.java | 19 import com.android.gallery.R; 26 // This is the setting screen for Gallery.
|
ImageManager.java | 19 import com.android.camera.gallery.BaseImageList; 20 import com.android.camera.gallery.IImage; 21 import com.android.camera.gallery.IImageList; 22 import com.android.camera.gallery.ImageList; 23 import com.android.camera.gallery.ImageListUber; 24 import com.android.camera.gallery.SingleImageList; 25 import com.android.camera.gallery.VideoList; 26 import com.android.camera.gallery.VideoObject;
|
ActionMenuButton.java | 19 import com.android.gallery.R;
|
DeleteImage.java | 19 import com.android.gallery.R;
|
MovieView.java | 19 import com.android.gallery.R;
|
/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.
|
IImage.java | 17 package com.android.camera.gallery; 25 * The interface of all images used in gallery.
|
SingleImageList.java | 17 package com.android.camera.gallery;
|
/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.
|
media_galleries_dialog_views.cc | 185 const MediaGalleriesDialogController::Entry& gallery, 188 bool show_folder_viewer = controller_->ShouldShowFolderViewer(gallery); 190 CheckboxMap::iterator iter = checkbox_map_.find(gallery.pref_info.pref_id); 193 checkbox->SetChecked(gallery.selected); 194 checkbox->SetText(gallery.pref_info.GetGalleryDisplayName()); 195 checkbox->SetTooltipText(gallery.pref_info.GetGalleryTooltip()); 196 base::string16 details = gallery.pref_info.GetGalleryAdditionalDetails(); 204 new MediaGalleryCheckboxView(gallery.pref_info, show_folder_viewer, 206 gallery_view->checkbox()->SetChecked(gallery.selected); 208 checkbox_map_[gallery.pref_info.pref_id] = gallery_view [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...] |
/packages/apps/Gallery/tests/src/com/android/camera/ |
BitmapManagerUnitTests.java | 19 import com.android.camera.gallery.IImage; 20 import com.android.camera.gallery.IImageList;
|
/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
MockImage.java | 1 package com.android.camera.gallery;
|
MockImageList.java | 1 package com.android.camera.gallery;
|