/external/chromium_org/chrome/browser/media_galleries/ |
media_galleries_dialog_controller_unittest.cc | 17 std::string GalleryName(const MediaGalleryPrefInfo& gallery) { 18 string16 name = gallery.GetGalleryDisplayName(); 24 MediaGalleryPrefInfo gallery; local 25 gallery.pref_id = 1; 26 gallery.device_id = StorageInfo::MakeDeviceId( 27 StorageInfo::FIXED_MASS_STORAGE, "/path/to/gallery"); 28 gallery.type = MediaGalleryPrefInfo::kAutoDetected; 29 EXPECT_EQ("gallery", GalleryName(gallery)); 31 gallery.display_name = ASCIIToUTF16("override") [all...] |
media_galleries_preferences.h | 57 // The absolute path of the gallery. 60 // The ID that identifies this gallery in this Profile. 63 // The user-visible name of this gallery. 67 // gallery lives on. 70 // The root of the gallery, relative to the root of the device. 73 // The type of gallery. 76 // The volume label of the volume/device on which the gallery 80 // Vendor name for the volume/device on which the gallery is located. 84 // Model name for the volume/device on which the gallery is located. 88 // The capacity in bytes of the volume/device on which the gallery i [all...] |
media_galleries_dialog_controller.cc | 246 MediaGalleryPrefInfo gallery; local 247 bool gallery_exists = preferences_->LookUpGalleryByPath(path, &gallery); 248 if (gallery_exists && gallery.type != MediaGalleryPrefInfo::kBlackListed) { 250 // |known_galleries_| as well. User selecting a known gallery effectively 251 // just sets the gallery to permitted. 253 known_galleries_.find(gallery.pref_id); 262 if (iter->pref_info.path == gallery.path && 263 iter->pref_info.device_id == gallery.device_id) { 270 // Lastly, add a new gallery to |new_galleries_|. 271 new_galleries_.push_back(GalleryPermission(gallery, true)) 298 const MediaGalleryPrefInfo& gallery = iter->second; local 331 const MediaGalleryPrefInfo& gallery = iter->pref_info; local 358 GalleryPermission& gallery = it->second; 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...] |
LayoutParamsTest.java | 3 import android.widget.Gallery; 15 Gallery.LayoutParams layoutParams = new Gallery.LayoutParams(123, 456);
|
/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/chromium_org/chrome/browser/resources/file_manager/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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
completion10.xml | 6 <Gallery xmlns:android="http://schemas.android.com/apk/res/android" 7 android:id="@+id/gallery"
|
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/ |
gallery_watch_manager.h | 5 // Manages all the gallery file watchers for the associated profile. This class 37 // Sets up a gallery watch for the extension specified by the |extension_id|. 39 // |gallery_id| specifies the gallery identifier. 40 // |watch_path| specifies the absolute gallery path. 49 // Cancels the gallery watch for the extension specified by the 51 // |watch_path| specifies the absolute gallery path. 68 // Initiates a gallery watch operation for the extension specified by 69 // the |extension_id|. |gallery_id| specifies the gallery identifier and 70 // |watch_path| specifies the absolute path of the gallery. Returns true, 78 // Cancels the gallery watch operation for the extension specified by th [all...] |
gallery_watch_state_tracker.h | 5 // GalleryWatchStateTracker tracks the gallery watchers, updates the 44 // Updates the storage for the given extension on the receipt of gallery 49 // Updates the storage for the given extension on the receipt of gallery 54 // Updates the state of the gallery watchers on the receipt of access 59 // access the gallery associated with the |gallery_id| and is set to false 60 // if the user revoked the gallery permission. 67 // Returns a set of watched gallery identifiers for the extension specified 72 // Removes all the gallery watchers associated with the extension specified 79 // Key: Gallery identifier. 81 // the extension has access permission to the watched gallery and a watche [all...] |
media_galleries_watch_apitest.cc | 5 // MediaGalleriesPrivate gallery watch API browser tests. 139 // Set up gallery watch. 146 // Add gallery watch listener. 150 // Modify gallery contents. 166 // Remove gallery watch listener. 170 // Remove gallery watch request. 187 // Set up gallery watch. 194 // Add a gallery watch listener. 197 // Modify gallery contents. 203 // Remove gallery watch listener [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/js/photo/ |
gallery_item.js | 13 Gallery.Item = function(url) { 21 Gallery.Item.prototype.getUrl = function() { return this.url_ }; 26 Gallery.Item.prototype.setUrl = function(url) { this.url_ = url }; 31 Gallery.Item.prototype.getFileName = function() { 38 Gallery.Item.prototype.isOriginal = function() { return this.original_ }; 44 Gallery.Item.COPY_SIGNATURE = ' - Edited'; 50 Gallery.Item.REGEXP_COPY_0 = 51 new RegExp('^(.+)' + Gallery.Item.COPY_SIGNATURE + '$'); 57 Gallery.Item.REGEXP_COPY_N = 58 new RegExp('^(.+)' + Gallery.Item.COPY_SIGNATURE + ' \\((\\d+)\\)$') [all...] |
gallery.js | 17 Gallery.openStandalone(decodeURI(location.hash.substr(1)), pageState); 24 function beforeunload() { return Gallery.instance.onBeforeUnload() } 30 function unload(opt_exiting) { Gallery.instance.onUnload(opt_exiting) } 33 * Gallery for viewing and editing image files. 50 function Gallery(context) { 51 this.container_ = document.querySelector('.gallery'); 66 * Gallery extends cr.EventTarget. 68 Gallery.prototype.__proto__ = cr.EventTarget.prototype; 71 * Create and initialize a Gallery object based on a context. 73 * @param {Object} context Gallery context [all...] |
/packages/apps/Gallery/ |
Android.mk | 8 LOCAL_PACKAGE_NAME := Gallery
|
/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
|
/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/common/extensions/api/ |
media_galleries.idl | 24 // media gallery configuration dialog will be displayed. 35 // A unique and persistent id for the media gallery. 38 // If the media gallery is on a removable device, a unique id for the 42 // True if the media gallery is on a removable device. 45 // True if the device the media gallery is on was detected as a media
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
media_galleries_dialog_cocoa.h | 23 // extensions to access a gallery (media folders). 36 // Called when the user clicks the Add Gallery button. 38 // Called when the user toggles a gallery checkbox. 42 virtual void UpdateGallery(const MediaGalleryPrefInfo& gallery, 44 virtual void ForgetGallery(MediaGalleryPrefId gallery) OVERRIDE; 57 void UpdateGalleryCheckbox(const MediaGalleryPrefInfo& gallery,
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
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
|
Gallery2.java | 23 import android.widget.Gallery; 53 Gallery g = (Gallery) findViewById(R.id.gallery);
|
/development/samples/WiFiDirectDemo/res/values/ |
strings.xml | 8 <string name="get_file_button">Launch Gallery</string> 12 <string name="client_text">This device will act as a client. Click on Gallery button to pick a local(stored) file</string>
|
/packages/apps/Gallery/tests/ |
Android.mk | 15 LOCAL_INSTRUMENTATION_FOR := Gallery
|
/external/chromium_org/extensions/common/ |
switches.cc | 16 // Allows injecting extensions and user scripts on the extensions gallery 18 // automation testing of the gallery. 19 const char kAllowScriptingGallery[] = "allow-scripting-gallery";
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
BiDiTestGalleryLtr.java | 23 import android.widget.Gallery; 31 Gallery g = (Gallery) v.findViewById(R.id.galleryview);
|