Searched refs:path (Results 1 - 25 of 226) sorted by relevance

12345678910

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DVoicemailUriType.java30 private final String path; field in class:VoicemailUriType
32 private VoicemailUriType(String path) { argument
33 this.path = path;
37 public String path() { method in class:VoicemailUriType
38 return path;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
H A DUriType.java22 /** Returns the path associated with this URI type. */
23 public String path(); method in interface:UriType
H A DTypedUriMatcherImpl.java38 String path = value.path();
39 if (path != null) {
40 addUriType(path, value);
48 private void addUriType(String path, T value) { argument
49 mUriMatcher.addURI(mAuthority, path, value.ordinal());
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DSecureSource.java37 public static boolean isSecurePath(String path) { argument
38 return (SECURE_ALBUM == mMatcher.match(Path.fromString(path)));
42 public MediaObject createMediaObject(Path path) { argument
43 switch (mMatcher.match(path)) {
48 return new SecureAlbum(path, mApplication, unlock);
51 return new UnlockImage(path, mApplication);
53 throw new RuntimeException("bad path: " + path);
H A DComboSource.java35 // The only path we accept is "/combo/{set1, set2, ...} and /combo/item/{set1, set2, ...}"
37 public MediaObject createMediaObject(Path path) { argument
38 String[] segments = path.split();
40 throw new RuntimeException("bad path: " + path);
44 switch (mMatcher.match(path)) {
46 return new ComboAlbumSet(path, mApplication,
50 return new ComboAlbum(path,
H A DCameraShortcutImage.java26 public CameraShortcutImage(Path path, GalleryApp application) { argument
27 super(path, application, R.drawable.placeholder_camera);
H A DEmptyAlbumImage.java26 public EmptyAlbumImage(Path path, GalleryApp application) { argument
27 super(path, application, R.drawable.placeholder_empty);
H A DMediaSource.java41 public abstract MediaObject createMediaObject(Path path); argument
62 public PathId(Path path, int id) { argument
63 this.path = path;
66 public Path path; field in class:MediaSource.PathId
82 obj = pid.path.getObject();
85 obj = createMediaObject(pid.path);
87 Log.w(TAG, "cannot create media object: " + pid.path, th);
H A DUnlockImage.java26 public UnlockImage(Path path, GalleryApp application) { argument
27 super(path, application, R.drawable.placeholder_locked);
H A DDataSourceType.java35 Path path = set.getPath();
36 if (MediaSetUtils.isCameraSource(path)) return TYPE_CAMERA;
38 Path prefix = path.getPrefixPath();
H A DDataManager.java49 // path. And it's used to identify a specific media set even if the process is
75 // This is the path for the media set seen by the user at top level.
157 // MediaObject object = peekMediaObject(path);
162 public MediaObject peekMediaObject(Path path) { argument
163 return path.getObject();
166 public MediaObject getMediaObject(Path path) { argument
168 MediaObject obj = path.getObject();
171 MediaSource source = mSourceMap.get(path.getPrefix());
173 Log.w(TAG, "cannot find media source for path: " + path);
194 getMediaSet(Path path) argument
244 getSupportedOperations(Path path) argument
248 getPanoramaSupport(Path path, PanoramaSupportCallback callback) argument
252 delete(Path path) argument
256 rotate(Path path, int degrees) argument
260 getContentUri(Path path) argument
264 getMediaType(Path path) argument
[all...]
H A DSnailAlbum.java27 public SnailAlbum(Path path, SnailItem item) { argument
28 super(path, item);
H A DClusterSource.java60 public MediaObject createMediaObject(Path path) { argument
61 int matchType = mMatcher.match(path);
71 return new ClusterAlbumSet(path, mApplication, sets[0], matchType);
77 MediaSet parent = dataManager.getMediaSet(path.getParent());
80 return new ClusterAlbum(path, dataManager, parent);
83 throw new RuntimeException("bad path: " + path);
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaScannerReceiver.java46 String path = uri.getPath();
51 path = new File(path).getCanonicalPath();
53 Log.e(TAG, "couldn't canonicalize " + path);
56 if (path.startsWith(legacyPath)) {
57 path = externalStoragePath + path.substring(legacyPath.length());
60 Log.d(TAG, "action: " + action + " path: " + path);
65 path !
79 scanFile(Context context, String path) argument
[all...]
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DFileSystemUtils.java127 * @param path the path to get free space for, not null, not empty on Unix
129 * @throws IllegalArgumentException if the path is invalid
137 public static long freeSpace(String path) throws IOException { argument
138 return INSTANCE.freeSpaceOS(path, OS, false);
159 * @param path the path to get free space for, not null, not empty on Unix
161 * @throws IllegalArgumentException if the path is invalid
166 public static long freeSpaceKb(String path) throws IOException { argument
167 return INSTANCE.freeSpaceOS(path, O
189 freeSpaceOS(String path, int os, boolean kb) argument
216 freeSpaceWindows(String path) argument
252 parseDir(String line, String path) argument
306 freeSpaceUnix(String path, boolean kb, boolean posix) argument
363 parseBytes(String freeSpace, String path) argument
[all...]
H A DFileCleaningTracker.java97 * @param path the full path to the file to be tracked, not null
99 * @throws NullPointerException if the path is null
101 public void track(String path, Object marker) { argument
102 track(path, marker, (FileDeleteStrategy) null);
110 * @param path the full path to the file to be tracked, not null
113 * @throws NullPointerException if the path is null
115 public void track(String path, Object marker, FileDeleteStrategy deleteStrategy) { argument
116 if (path
129 addTracker(String path, Object marker, FileDeleteStrategy deleteStrategy) argument
228 private final String path; field in class:FileCleaningTracker.Tracker
242 Tracker(String path, FileDeleteStrategy deleteStrategy, Object marker, ReferenceQueue<Object> queue) argument
[all...]
H A DFileCleaner.java84 * @param path the full path to the file to be tracked, not null
86 * @throws NullPointerException if the path is null
90 public static void track(String path, Object marker) { argument
91 theInstance.track(path, marker);
99 * @param path the full path to the file to be tracked, not null
102 * @throws NullPointerException if the path is null
106 public static void track(String path, Object marker, FileDeleteStrategy deleteStrategy) { argument
107 theInstance.track(path, marke
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DPullRequest.java23 public String path; field in class:PullRequest
29 return "PullRequest: { path=" + path + " }";
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DFileImageRequestDescriptor.java27 public final String path; field in class:FileImageRequestDescriptor
35 public FileImageRequestDescriptor(final String path, final int desiredWidth, argument
38 this(path, desiredWidth, desiredHeight, FileImageRequest.UNSPECIFIED_SIZE,
46 public FileImageRequestDescriptor(final String path, final int desiredWidth, argument
49 super(UriUtil.getUriForResourceFile(path), desiredWidth, desiredHeight, sourceWidth,
53 this.path = path;
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
H A DFileUtils.java28 public static boolean deleteRecursively(final File path) { argument
29 if (path.isDirectory()) {
30 final File[] files = path.listFiles();
37 return path.delete();
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
H A DJarUtils.java42 final String path = resUrl.getPath();
43 if (!path.startsWith("file:")) {
44 throw new RuntimeException("Unknown jar path: " + path);
46 final String jarPath = path.substring("file:".length(), path.indexOf('!'));
68 final String path = entry.getName();
69 final int pos = path.lastIndexOf('/');
70 final String dirName = (pos >= 0) ? path.substring(0, pos) : "";
71 final String name = (pos >= 0) ? path
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
H A DTypedUriMatcherImplTest.java39 private String path; field in class:TypedUriMatcherImplTest.TestUriType
41 private TestUriType(String path) { argument
42 this.path = path;
46 public String path() { method in class:TypedUriMatcherImplTest.TestUriType
47 return path;
67 // Incorrect path.
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoDreamSettingsReceiver.java51 List<String> path = albumUri.getPathSegments();
55 if (path.size() > 3) {
56 albumId = LocalSource.constructId(INTERNAL.equals(path.get(0)), path.get(3));
59 if (path.size() > 1) {
60 albumId = PicasaSource.constructId(path.get(1));
/packages/apps/PhoneCommon/src/com/android/phone/common/compat/
H A DPathInterpolatorCompat.java43 public PathInterpolatorBase(Path path) { argument
44 final PathMeasure pathMeasure = new PathMeasure(path, false /* forceClosed */);
106 final Path path = new Path();
107 path.moveTo(0.0f, 0.0f);
108 path.quadTo(controlX, controlY, 1.0f, 1.0f);
109 return path;
114 final Path path = new Path();
115 path.moveTo(0.0f, 0.0f);
116 path.cubicTo(controlX1, controlY1, controlX2, controlY2, 1.0f, 1.0f);
117 return path;
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
H A DSetupStartIndicatorView.java103 final Path path = mIndicatorPath;
104 path.rewind();
107 path.moveTo(width, 0.0f);
108 path.lineTo(0.0f, halfHeight);
109 path.lineTo(width, height);
112 path.moveTo(0.0f, 0.0f);
113 path.lineTo(width, halfHeight);
114 path.lineTo(0.0f, height);
116 path.close();
120 canvas.drawPath(path, mIndicatorPain
[all...]

Completed in 6826 milliseconds

12345678910