/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | AlbumSlotRenderer.java | 72 public void setHighlightItemPath(Path path) { argument 73 if (mHighlightItemPath == path) return; 74 mHighlightItemPath = path; 148 } else if ((entry.path != null) && (mHighlightItemPath == entry.path)) { 150 } else if (mInSelectionMode && mSelectionManager.isItemSelected(entry.path)) {
|
H A D | CacheStorageUsageInfo.java | 62 String path = cacheDir.getAbsolutePath(); 63 StatFs stat = new StatFs(path);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | MediaObject.java | 78 public MediaObject(Path path, long version) { argument 79 path.setObject(this); 80 mPath = path; 110 Log.e(TAG, "The object was created from path: " + getPath());
|
H A D | TagClustering.java | 48 Path path = item.getPath(); 52 untagged.add(path); 62 list.add(path);
|
H A D | FilterTypeSet.java | 32 public FilterTypeSet(Path path, DataManager dataManager, MediaSet baseSet, argument 34 super(path, INVALID_DATA_VERSION); 107 Path path = item.getPath(); 108 buf[index] = path;
|
H A D | SecureAlbum.java | 56 public SecureAlbum(Path path, GalleryApp application, MediaItem unlock) { argument 57 super(path, nextVersionNumber()); 77 Path path = pathBase.getChild(id); 78 if (!mAllItems.contains(path)) { 79 mAllItems.add(path); 177 Path path = mAllItems.get(i); 179 int id = Integer.parseInt(path.getSuffix()); 181 if (videoIds.contains(id)) mExistingItems.add(path); 183 if (imageIds.contains(id)) mExistingItems.add(path);
|
H A D | ComboAlbumSet.java | 32 public ComboAlbumSet(Path path, GalleryApp application, MediaSet[] mediaSets) { argument 33 super(path, nextVersionNumber());
|
H A D | DownloadEntry.java | 55 public String path; field in class:DownloadEntry 69 .append("_data").append(path)
|
H A D | LocalVideo.java | 75 public LocalVideo(Path path, GalleryApp application, Cursor cursor) { argument 76 super(path, nextVersionNumber()); 81 public LocalVideo(Path path, GalleryApp context, int id) { argument 82 super(path, nextVersionNumber()); 88 throw new RuntimeException("cannot get cursor for: " + path); 94 throw new RuntimeException("cannot find data for: " + path); 161 LocalVideoRequest(GalleryApp application, Path path, int type, argument 163 super(application, path, type, MediaItem.getTargetSize(type));
|
H A D | SnailItem.java | 34 public SnailItem(Path path) { argument 35 super(path, nextVersionNumber());
|
H A D | MediaSet.java | 57 public MediaSet(Path path, long version) { argument 58 super(path, version); 119 public int getIndexOfItem(Path path, int hint) { argument 126 int index = getIndexOf(path, list); 133 index = getIndexOf(path, list); 141 protected int getIndexOf(Path path, ArrayList<MediaItem> list) { argument 145 if (item != null && item.mPath == path) return i;
|
/packages/apps/Mms/src/com/android/mms/util/ |
H A D | CacheManager.java | 51 String path = cacheDir.getAbsolutePath() + "/" + filename; 52 Log.d(TAG, "Cache dir: " + path); 54 cache = new BlobCache(path, maxEntries, maxBytes, false,
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/ |
H A D | MockProvider.java | 93 .path(uri.getPath().substring(1)).build(); 101 String path = uri.getPath(); 102 if (mMockStore.containsKey(path)) { 103 mMockStore.remove(path); 120 Uri newUri = new Uri.Builder().scheme("content").authority(AUTHORITY).path(table) 184 String path = uri.getPath(); 188 String prefix = path + "/"; 196 ContentValues cv = mMockStore.get(path); 223 mMockStore.put(path + "/" + targetValues.getAsLong(ID_COLUMN), targetValues);
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
H A D | MockProvider.java | 93 .path(uri.getPath().substring(1)).build(); 101 String path = uri.getPath(); 102 if (mMockStore.containsKey(path)) { 103 mMockStore.remove(path); 120 Uri newUri = new Uri.Builder().scheme("content").authority(AUTHORITY).path(table) 184 String path = uri.getPath(); 188 String prefix = path + "/"; 196 ContentValues cv = mMockStore.get(path); 223 mMockStore.put(path + "/" + targetValues.getAsLong(ID_COLUMN), targetValues);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | GesturePreviewTrail.java | 193 private static void createPath(final Path path, final WorkingSet w) { argument 194 path.rewind(); 196 path.moveTo(w.p1x, w.p1y); 197 path.arcTo(w.arc1, w.aa, w.a1); 199 path.moveTo(w.p2x, w.p2y); 200 path.arcTo(w.arc2, w.aa, w.a2); 202 path.moveTo(w.p1ax, w.p1ay); 203 path.lineTo(w.p1x, w.p1y); 204 path.lineTo(w.p1bx, w.p1by); 205 path [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ProfileAwareUriMatcher.java | 47 // path with the location specified by the value in the map) is in the profile ID-space. 51 // segment path with the location specified by the value in the map) is the special profile 65 public void addURI(String authority, String path, int code) { argument 66 super.addURI(authority, path, code); 69 if (path != null) { 70 String[] tokens = PATH_SPLIT_PATTERN.split(path); 73 // Keep track of whether we've passed a "lookup" token in the path; wildcards after
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
H A D | DumpFileProvider.java | 67 /** @return the path part of a URI, without the beginning "/". */ 69 final String path = uri.getPath(); 70 return path.startsWith("/") ? path.substring(1) : path; 101 // Just return the requested path as the display name. We don't care if the file
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | CacheManager.java | 49 String path = cacheDir.getAbsolutePath() + "/" + filename; 51 cache = new BlobCache(path, maxEntries, maxBytes, false,
|
/packages/apps/Music/src/com/android/music/ |
H A D | IMediaPlaybackService.aidl | 24 void openFile(String path);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaScannerService.java | 189 private Uri scanFile(String path, String mimeType) { argument 194 // make sure the file path is in canonical form 195 String canonicalPath = new File(path).getCanonicalPath(); 198 Log.e(TAG, "bad path " + path + " in scanFile()", e); 211 public void requestScanFile(String path, String mimeType, IMediaScannerListener listener) 214 Log.d(TAG, "IMediaScannerService.scanFile: " + path + " mimeType: " + mimeType); 217 args.putString("filepath", path); 226 public void scanFile(String path, String mimeType) { 227 requestScanFile(path, mimeTyp [all...] |
/packages/apps/Email/src/org/apache/commons/io/ |
H A D | FilenameUtils.java | 46 * <li>the path - dev\project\</li>
47 * <li>the full path - C:\dev\project\</li>
164 * Normalizes a path, removing double and single dot path steps.
166 * This method normalizes a path to a standard format.
172 * A single dot path segment will be removed.
173 * A double dot will cause that path segment and the one before to be removed.
174 * If the double dot has no parent path segment to work with, <code>null</code>
209 * Normalizes a path, removing double and single dot path step 423 separatorsToUnix(String path) argument 436 separatorsToWindows(String path) argument 449 separatorsToSystem(String path) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/provider/ |
H A D | SharedImageProvider.java | 103 File path = new File(uriPath); 113 columns[i] = path.getName(); 115 columns[i] = path.length(); 132 File path = new File(uriPath); 135 return ParcelFileDescriptor.open(path, imode);
|
/packages/apps/Mms/src/com/android/mms/model/ |
H A D | AudioModel.java | 65 String path; 72 path = c.getString(c.getColumnIndexOrThrow(Part._DATA)); 75 path = c.getString(c.getColumnIndexOrThrow(Audio.Media.DATA)); 90 mSrc = path.substring(path.lastIndexOf('/') + 1);
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | StorageMeasurement.java | 380 final String path = mVolume != null ? mVolume.getPath() 383 final long[] stats = imcs.getFileSystemStats(path); 418 final File path = currentEnv.getExternalStoragePublicDirectory(type); 419 final long size = getDirectorySize(imcs, path); 426 final File path = mIsInternal ? currentEnv.getExternalStorageDirectory() 428 details.miscSize = measureMisc(imcs, path); 462 private static long getDirectorySize(IMediaContainerService imcs, File path) { argument 464 final long size = imcs.calculateDirectorySize(path.toString()); 465 Log.d(TAG, "getDirectorySize(" + path + ") returned " + size); 468 Log.w(TAG, "Could not read memory from default container service for " + path, [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | StorageManager.java | 135 void verifySpaceBeforeWritingToFile(int destination, String path, long length) argument 142 verifySpace(destination, path, length); 145 void verifySpace(int destination, String path, long length) throws StopRequestException { argument 150 ", path: " + path + ", length: " + length); 152 if (path == null) { 153 throw new IllegalArgumentException("path can't be null"); 168 if (path.startsWith(mExternalStorageDir.getPath())) { 170 } else if (path.startsWith(mDownloadDataDir.getPath())) { 172 } else if (path [all...] |