Searched defs:path (Results 1 - 25 of 129) sorted by relevance

123456

/packages/apps/Gallery2/src/com/android/gallery3d/data/
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 DUnlockImage.java26 public UnlockImage(Path path, GalleryApp application) { argument
27 super(path, application, R.drawable.placeholder_locked);
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 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 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);
H A DComboAlbumSet.java32 public ComboAlbumSet(Path path, GalleryApp application, MediaSet[] mediaSets) { argument
33 super(path, nextVersionNumber());
H A DFilterEmptyPromptSet.java28 public FilterEmptyPromptSet(Path path, MediaSet baseSet, MediaItem emptyItem) { argument
29 super(path, INVALID_DATA_VERSION);
H A DImageCacheRequest.java38 Path path, long timeModified, int type, int targetSize) {
40 mPath = path;
37 ImageCacheRequest(GalleryApp application, Path path, long timeModified, int type, int targetSize) argument
H A DSingleItemAlbum.java27 public SingleItemAlbum(Path path, MediaItem item) { argument
28 super(path, nextVersionNumber());
H A DSnailItem.java34 public SnailItem(Path path) { argument
35 super(path, nextVersionNumber());
H A DSnailSource.java38 // The only path we accept is "/snail/set/id" and "/snail/item/id"
40 public MediaObject createMediaObject(Path path) { argument
42 switch (mMatcher.match(path)) {
47 return new SnailAlbum(path, item);
50 return new SnailItem(path);
H A DUriSource.java44 public MediaObject createMediaObject(Path path) { argument
45 String segment[] = path.split();
47 throw new RuntimeException("bad path: " + path);
52 return new UriImage(mApplication, path, Uri.parse(uri), type);
/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
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DCallLogPullRequest.java45 public CallLogPullRequest(Context context, String path) { argument
47 this.path = path;
62 if (path.equals(BluetoothPbapClient.ICH_PATH)) {
64 } else if (path.equals(BluetoothPbapClient.OCH_PATH)) {
66 } else if (path.equals(BluetoothPbapClient.MCH_PATH)) {
69 Log.w(TAG, "Unknown path type:" + path);
106 Log.d(TAG, "Failed to update call log for path=" + path,
[all...]
H A DPullRequest.java23 public String path; field in class:PullRequest
29 return "PullRequest: { path=" + path + " }";
/packages/apps/Gallery2/src/com/android/photos/shims/
H A DLoaderCompatShim.java29 void deleteItemWithPath(Object path); argument
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
H A DTriangleShape.java26 * that creates a shape with a triangular path (pointing up or down).
31 public TriangleShape(Path path, float stdWidth, float stdHeight) { argument
32 super(path, stdWidth, stdHeight);
33 mTriangularPath = path;
/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DMmsFileProvider.java55 File getFile(final String path, final String extension) { argument
56 return getFile(path);
63 private static File getFile(final String path) { argument
65 final File filePath = new File(getDirectory(context), path + ".dat");
70 LogUtil.e(TAG, "getFile: path "
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DVideoThumbnailRequestDescriptor.java25 public VideoThumbnailRequestDescriptor(final long id, String path, int desiredWidth, argument
27 super(UriUtil.getUriForResourceFile(path), desiredWidth, desiredHeight, sourceWidth,
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
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/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/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/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...]

Completed in 346 milliseconds

123456