/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | CacheStorageUsageInfo.java | 61 String path = cacheDir.getAbsolutePath(); 62 StatFs stat = new StatFs(path);
|
H A D | ManageCacheDrawer.java | 59 int height, int rotation, Path path, 63 boolean selected = mSelectionManager.isItemSelected(path); 92 drawCachingPin(canvas, path, dataSourceType, isCaching, chooseToCache, 95 if (mSelectionManager.isPressedPath(path)) { 100 private void drawCachingPin(GLCanvas canvas, Path path, int dataSourceType, argument 58 draw(GLCanvas canvas, Texture content, int width, int height, int rotation, Path path, int dataSourceType, int mediaType, boolean isPanorama, int labelBackgroundHeight, boolean wantCache, boolean isCaching) argument
|
H A D | GridDrawer.java | 49 int height, int rotation, Path path, 73 if (mSelectionManager.isPressedPath(path)) { 75 } else if (mSelectionMode && mSelectionManager.isItemSelected(path)) { 48 draw(GLCanvas canvas, Texture content, int width, int height, int rotation, Path path, int dataSourceType, int mediaType, boolean isPanorama, int labelBackgroundHeight, boolean wantCache, boolean isCaching) argument
|
H A D | ActionModeHandler.java | 182 for (Path path : paths) { 184 int support = manager.getSupportedOperations(path); 185 type |= manager.getMediaType(path); 224 for (Path path : paths) { 225 int support = manager.getSupportedOperations(path); 226 type |= manager.getMediaType(path); 229 uris.add(manager.getContentUri(path)); 255 public void updateSupportedOperation(Path path, boolean selected) { argument
|
/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/apps/Email/emailcommon/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/Mms/src/com/android/mms/model/ |
H A D | AudioModel.java | 73 String path; 80 path = c.getString(c.getColumnIndexOrThrow(Part._DATA)); 83 path = c.getString(c.getColumnIndexOrThrow(Audio.Media.DATA)); 98 mSrc = path.substring(path.lastIndexOf('/') + 1);
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
H A D | DownloadManagerFunctionalTest.java | 51 String path = "/download_manager_test_path"; 52 Uri downloadUri = requestDownload(path); 59 assertEquals(path, request.getPath()); 67 Uri downloadUri = requestDownload("/path"); 82 Uri downloadUri = requestDownload("/path"); 86 downloadUri = requestDownload("/path"); 148 private Uri requestDownload(String path) throws MalformedURLException { argument 150 values.put(Downloads.Impl.COLUMN_URI, getServerUri(path));
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | MediaSet.java | 56 public MediaSet(Path path, long version) { argument 57 super(path, version); 106 public int getIndexOfItem(Path path, int hint) { argument 113 int index = getIndexOf(path, list); 120 index = getIndexOf(path, list); 128 protected int getIndexOf(Path path, ArrayList<MediaItem> list) { argument 130 if (list.get(i).mPath == path) return i;
|
H A D | MtpDevice.java | 44 public MtpDevice(Path path, GalleryApp application, int deviceId, argument 46 super(path, nextVersionNumber()); 58 public MtpDevice(Path path, GalleryApp application, int deviceId, argument 60 this(path, application, deviceId,
|
H A D | MtpImage.java | 51 MtpImage(Path path, GalleryApp application, int deviceId, argument 53 super(path, nextVersionNumber()); 67 MtpImage(Path path, GalleryApp app, int deviceId, int objectId, MtpContext mtpContext) { argument 68 this(path, app, deviceId, MtpDevice.getObjectInfo(mtpContext, deviceId, objectId),
|
H A D | ComboAlbum.java | 32 public ComboAlbum(Path path, MediaSet[] mediaSets, String name) { argument 33 super(path, nextVersionNumber());
|
H A D | LocalImage.java | 88 public LocalImage(Path path, GalleryApp application, Cursor cursor) { argument 89 super(path, nextVersionNumber()); 94 public LocalImage(Path path, GalleryApp application, int id) { argument 95 super(path, nextVersionNumber()); 101 throw new RuntimeException("cannot get cursor for: " + path); 107 throw new RuntimeException("cannot find data for: " + path); 160 LocalImageRequest(GalleryApp application, Path path, int type, argument 162 super(application, path, type, getTargetSize(type));
|
H A D | PathMatcher.java | 41 public int match(Path path) { argument 42 String[] segments = path.split();
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaScannerService.java | 186 private Uri scanFile(String path, String mimeType) { argument 190 return scanner.scanSingleFile(path, volumeName, mimeType); 201 public void requestScanFile(String path, String mimeType, IMediaScannerListener listener) 204 Log.d(TAG, "IMediaScannerService.scanFile: " + path + " mimeType: " + mimeType); 207 args.putString("filepath", path); 216 public void scanFile(String path, String mimeType) { 217 requestScanFile(path, mimeType, null);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | IntentUtilities.java | 42 public static Uri.Builder createActivityIntentUrlBuilder(String path) { argument 46 b.path(path);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | BlobCache.java | 57 // public BlobCache(String path, int maxEntries, int maxBytes, boolean reset) throws IOException; 64 // public static void deleteFiles(String path); 127 // path + ".idx", path + ".0", and path + ".1" 132 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset) argument 134 this(path, maxEntries, maxBytes, reset, 0); 137 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset, argument 139 mIndexFile = new RandomAccessFile(path + ".idx", "rw"); 140 mDataFile0 = new RandomAccessFile(path 158 deleteFiles(String path) argument 164 deleteFileSilently(String path) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/ |
H A D | Doodle.java | 31 * Doodle that consists of a color and doodling path for drawing. 58 * Adds control points whose coordinates range from 0 to 1 to construct the doodle path. 60 * @return true if the constructed path is in (0, 0, 1, 1) bounds; otherwise, false. 81 * Gets the drawing path from the normalized doodle path. 83 public void getDrawingPath(Matrix matrix, Path path) { argument 84 path.set(normalizedPath); 85 path.transform(matrix);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | PhotoPage.java | 76 public static final String KEY_MEDIA_SET_PATH = "media-set-path"; 77 public static final String KEY_MEDIA_ITEM_PATH = "media-item-path"; 114 public void setCurrentPhoto(Path path, int indexHint); argument 262 private void updateShareURI(Path path) { argument 265 int type = manager.getMediaType(path); 268 intent.putExtra(Intent.EXTRA_STREAM, manager.getContentUri(path)); 273 mPendingSharePath = path; 436 Path path = current.getPath(); 444 data.putString(SlideshowPage.KEY_ITEM_PATH, path.toString()); 455 intent.setData(manager.getContentUri(path)); [all...] |
H A D | FilterUtils.java | 41 // newPath operation: create a new path based on a source path and put an extra 52 // For all fixed set in the path defined above, if some clusterType and 79 public static void setupMenuItems(GalleryActionBar model, Path path, boolean inAlbum) { argument 81 getAppliedFilters(path, result); 116 // Gets the filters applied in the path. 117 private static void getAppliedFilters(Path path, int[] result) { argument 118 getAppliedFilters(path, result, false); 121 private static void getAppliedFilters(Path path, int[] result, boolean underCluster) { argument 122 String[] segments = path [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppUtility.java | 141 Uri path = Uri.parse(fileName); 143 if (path.getScheme() == null) { 144 path = Uri.fromFile(new File(fileName)); 146 uris.add(path.toString()); 147 if (V) Log.d(TAG, "Uri in this batch: " + path.toString()); 179 Uri path = Uri.parse(fileName); 181 if (path.getScheme() == null) { 182 path = Uri.fromFile(new File(fileName)); 185 if (isRecognizedFileType(context, path, mimetype)) { 187 activityIntent.setDataAndType(path, mimetyp [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
H A D | GalleryProvider.java | 68 public static Uri getUriFor(Context context, Path path) { argument 73 .appendEncodedPath(path.toString().substring(1)) // ignore the leading '/' 87 Path path = Path.fromString(uri.getPath()); 88 MediaItem item = (MediaItem) mDataManager.getMediaObject(path); 121 Path path = Path.fromString(uri.getPath()); 122 MediaObject object = mDataManager.getMediaObject(path); 204 Path path = Path.fromString(uri.getPath()); 205 MediaObject object = mDataManager.getMediaObject(path);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | PackageIconLoader.java | 198 List<String> path = uri.getPathSegments(); 199 if (path == null) { 200 throw new FileNotFoundException("No path: " + uri); 202 int len = path.size(); 206 id = Integer.parseInt(path.get(0)); 208 throw new FileNotFoundException("Single path segment is not a resource ID: " + uri); 211 id = r.getIdentifier(path.get(1), path.get(0), authority); 213 throw new FileNotFoundException("More than two path segments: " + uri);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | PieChartView.java | 65 public Path path = new Path(); field in class:PieChartView.Slice 142 slice.path.reset(); 181 slice.path.moveTo(rect.centerX(), rect.centerY()); 182 slice.path.arcTo(rect, startAngle, sweepAngle); 183 slice.path.lineTo(rect.centerX(), rect.centerY()); 230 canvas.drawPath(slice.path, slice.paint);
|