Lines Matching defs:Gallery
17 Gallery.Item = function(
79 Gallery.Item.prototype.getEntry = function() { return this.entry_; };
84 Gallery.Item.prototype.getLocationInfo = function() {
91 Gallery.Item.prototype.getMetadata = function() { return this.metadata_; };
100 Gallery.Item.prototype.getFetchedMedia = function() {
118 Gallery.Item.prototype.setMetadata = function(metadata) {
125 Gallery.Item.prototype.getFileName = function() {
132 Gallery.Item.prototype.isOriginal = function() { return this.original_; };
138 Gallery.Item.prototype.getLastAccessedDate = function() {
145 Gallery.Item.prototype.touch = function() {
153 Gallery.Item.COPY_SIGNATURE = ' - Edited';
159 Gallery.Item.REGEXP_COPY_0 =
160 new RegExp('^(.+)' + Gallery.Item.COPY_SIGNATURE + '$');
166 Gallery.Item.REGEXP_COPY_N =
167 new RegExp('^(.+)' + Gallery.Item.COPY_SIGNATURE + ' \\((\\d+)\\)$');
176 Gallery.Item.prototype.createCopyName_ = function(dirEntry, callback) {
179 // If the item represents a file created during the current Gallery session
208 var matchN = Gallery.Item.REGEXP_COPY_N.exec(name);
209 var match0 = Gallery.Item.REGEXP_COPY_0.exec(name);
212 name = matchN[1] + Gallery.Item.COPY_SIGNATURE + ' (' + copyNumber + ')';
214 name = match0[1] + Gallery.Item.COPY_SIGNATURE + ' (1)';
216 name += Gallery.Item.COPY_SIGNATURE;
238 Gallery.Item.prototype.saveToFile = function(
258 console.error('Error saving from gallery', name, error);
330 Gallery.Item.prototype.rename = function(displayName) {