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

1 2 3

  /external/chromium_org/chrome/browser/media_galleries/
media_galleries_dialog_controller_unittest.cc 15 std::string GalleryName(const MediaGalleryPrefInfo& gallery) {
16 base::string16 name = gallery.GetGalleryDisplayName();
22 MediaGalleryPrefInfo gallery; local
23 gallery.pref_id = 1;
24 gallery.device_id = StorageInfo::MakeDeviceId(
25 StorageInfo::FIXED_MASS_STORAGE, "/path/to/gallery");
26 gallery.type = MediaGalleryPrefInfo::kAutoDetected;
27 std::string galleryName("/path/to/gallery");
29 galleryName = "gallery";
31 EXPECT_EQ(galleryName, GalleryName(gallery));
    [all...]
media_galleries_dialog_controller.cc 259 const MediaGalleryPrefInfo& gallery,
263 if (iter->pref_info.path == gallery.path &&
264 iter->pref_info.device_id == gallery.device_id) {
304 MediaGalleryPrefInfo gallery; local
305 bool gallery_exists = preferences_->LookUpGalleryByPath(path, &gallery);
306 if (gallery_exists && gallery.type != MediaGalleryPrefInfo::kBlackListed) {
308 // |known_galleries_| as well. User selecting a known gallery effectively
309 // just sets the gallery to permitted.
310 DCHECK(ContainsKey(known_galleries_, gallery.pref_id));
318 if (iter->pref_info.path == gallery.path &
391 const MediaGalleryPrefInfo& gallery = iter->second; local
433 const MediaGalleryPrefInfo& gallery = iter->pref_info; local
453 GalleryPermission& gallery = it->second; local
    [all...]
media_galleries_preferences.cc 47 // Pref key for the list of media gallery permissions.
49 // Pref key for Media Gallery ID.
51 // Pref key for Media Gallery Permission Value.
178 const MediaGalleryPrefInfo& gallery) {
181 base::Uint64ToString(gallery.pref_id));
182 if (!gallery.volume_metadata_valid)
183 dict->SetString(kMediaGalleriesDisplayNameKey, gallery.display_name);
184 dict->SetString(kMediaGalleriesDeviceIdKey, gallery.device_id);
185 dict->SetString(kMediaGalleriesPathKey, gallery.path.value());
188 switch (gallery.type)
641 const MediaGalleryPrefInfo& gallery = known_galleries_.find(*it)->second; local
911 MediaGalleriesPrefInfoMap::const_iterator gallery = local
    [all...]
  /external/chromium_org/chrome/browser/resources/file_manager/foreground/css/
gallery.css 12 .gallery,
13 .gallery .content {
23 .gallery .content {
31 .gallery > .back-button {
42 .gallery > .back-button div {
44 url('../images/gallery/back_to_files.png') 1x,
45 url('../images/gallery/2x/back_to_files.png') 2x);
53 .gallery[tools] > .back-button div {
57 .gallery[tools] > .back-button div:hover {
63 .gallery .image-container
    [all...]
  /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...]
  /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;
  /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/webui/options/
media_galleries_handler.cc 91 const MediaGalleryPrefInfo& gallery = iter->second; local
92 if (gallery.type == MediaGalleryPrefInfo::kBlackListed)
96 dict->SetString("displayName", gallery.GetGalleryDisplayName());
97 dict->SetString("path", gallery.AbsolutePath().LossyDisplayName());
98 dict->SetString("id", base::Uint64ToString(gallery.pref_id));
  /external/chromium_org/chrome/browser/ui/gtk/extensions/
media_galleries_dialog_gtk.cc 133 // Add gallery button.
170 const MediaGalleryPrefInfo& gallery,
178 std::string details = UTF16ToUTF8(gallery.GetGalleryAdditionalDetails());
185 if (gallery.pref_id != kInvalidMediaGalleryPrefId)
186 checkbox_map_[gallery.pref_id] = widget;
188 new_checkbox_map_[widget] = gallery;
190 std::string tooltip_text = UTF16ToUTF8(gallery.GetGalleryTooltip());
194 std::string label = UTF16ToUTF8(gallery.GetGalleryDisplayName());
media_galleries_dialog_gtk.h 50 virtual void UpdateGalleryInContainer(const MediaGalleryPrefInfo& gallery,
media_galleries_dialog_gtk_unittest.cc 23 MediaGalleryPrefInfo gallery; local
24 gallery.pref_id = id;
25 gallery.device_id = StorageInfo::MakeDeviceId(StorageInfo::FIXED_MASS_STORAGE,
27 gallery.display_name = ASCIIToUTF16("Display Name");
28 return gallery;
118 // a gallery that the dialog hasn't seen before.
  /external/chromium_org/chrome/browser/ui/views/extensions/
media_galleries_dialog_views.cc 199 const MediaGalleryPrefInfo& gallery,
203 base::string16 label = gallery.GetGalleryDisplayName();
204 base::string16 tooltip_text = gallery.GetGalleryTooltip();
205 base::string16 details = gallery.GetGalleryAdditionalDetails();
207 CheckboxMap::iterator iter = checkbox_map_.find(gallery.pref_id);
209 gallery.pref_id != kInvalidMediaGalleryPrefId) {
226 if (gallery.pref_id != kInvalidMediaGalleryPrefId)
230 if (gallery.pref_id != kInvalidMediaGalleryPrefId)
242 if (gallery.pref_id != kInvalidMediaGalleryPrefId)
257 if (gallery.pref_id != kInvalidMediaGalleryPrefId
    [all...]
  /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));
  /external/chromium_org/chrome/browser/extensions/api/media_galleries/
media_galleries_api.cc 314 const MediaGalleryPrefInfo& gallery = gallery_it->second; local
316 metadata.name = base::UTF16ToUTF8(gallery.GetGalleryDisplayName());
317 metadata.gallery_id = base::Uint64ToString(gallery.pref_id);
318 metadata.is_removable = StorageInfo::IsRemovableDevice(gallery.device_id);
319 metadata.is_media_device = StorageInfo::IsMediaDevice(gallery.device_id);
320 metadata.is_available = ContainsKey(*available_devices, gallery.device_id);
  /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...]
  /packages/apps/Gallery/tests/src/com/android/camera/
BitmapManagerUnitTests.java 19 import com.android.camera.gallery.IImage;
20 import com.android.camera.gallery.IImageList;
  /development/samples/ApiDemos/src/com/example/android/apis/view/
Gallery2.java 23 import android.widget.Gallery;
53 Gallery g = (Gallery) findViewById(R.id.gallery);
  /external/chromium_org/chrome/browser/ui/cocoa/extensions/
media_galleries_dialog_cocoa.h 25 // extensions to access a gallery (media folders).
38 // Called when the user clicks the Add Gallery button.
40 // Called when the user toggles a gallery checkbox.
59 void UpdateGalleryCheckbox(const MediaGalleryPrefInfo& gallery,

Completed in 1250 milliseconds

1 2 3