Lines Matching refs:path

46 // path. And it's used to identify a specific media set even if the process is
67 // This is the path for the media set seen by the user at top level.
144 public MediaObject peekMediaObject(Path path) {
145 return path.getObject();
148 public MediaSet peekMediaSet(Path path) {
149 return (MediaSet) path.getObject();
152 public MediaObject getMediaObject(Path path) {
153 MediaObject obj = path.getObject();
156 MediaSource source = mSourceMap.get(path.getPrefix());
158 Log.w(TAG, "cannot find media source for path: " + path);
162 MediaObject object = source.createMediaObject(path);
164 Log.w(TAG, "cannot create media object: " + path);
173 public MediaSet getMediaSet(Path path) {
174 return (MediaSet) getMediaObject(path);
201 // Group the path by the prefix.
204 Path path = list.get(i);
205 String prefix = path.getPrefix();
211 group.add(new PathId(path, i + startIndex));
223 public int getSupportedOperations(Path path) {
224 return getMediaObject(path).getSupportedOperations();
227 public void delete(Path path) {
228 getMediaObject(path).delete();
231 public void rotate(Path path, int degrees) {
232 getMediaObject(path).rotate(degrees);
235 public Uri getContentUri(Path path) {
236 return getMediaObject(path).getContentUri();
239 public int getMediaType(Path path) {
240 return getMediaObject(path).getMediaType();
243 public MediaDetails getDetails(Path path) {
244 return getMediaObject(path).getDetails();
247 public void cache(Path path, int flag) {
248 getMediaObject(path).cache(flag);
254 Path path = source.findPathByUri(uri);
255 if (path != null) return path;