Searched refs:path (Results 201 - 225 of 300) sorted by relevance

1234567891011>>

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
H A DInfoPanel.java85 String path = ImageLoader.getLocalPathFromUri(getActivity(), uri);
87 if (path != null) {
88 localUri = Uri.parse(path);
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetConfigure.java170 Path path = Path.fromString(albumPath);
171 MediaSet mediaSet = (MediaSet) manager.getMediaObject(path);
173 int bucketId = Integer.parseInt(path.getSuffix());
174 // If the chosen album is a local album, find relative path
175 // Otherwise, leave the relative path field empty
177 Log.i(TAG, "Setting widget, album path: " + albumPath
178 + ", relative path: " + relativePath);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumSetSlotRenderer.java96 public void setHighlightItemPath(Path path) { argument
97 if (mHighlightItemPath == path) return;
98 mHighlightItemPath = path;
H A DDialogDetailsView.java136 String path = null;
210 // up the path).
212 path = detail.getValue().toString();
245 DetailsHelper.resolveResolution(path, this);
/packages/apps/Gallery2/src/com/android/photos/
H A DBitmapRegionTileSource.java67 public BitmapRegionTileSource(Context context, String path, int previewSize, int rotation) { argument
71 mDecoder = BitmapRegionDecoder.newInstance(path, true);
86 Bitmap preview = decodePreview(path, previewSize);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DGestureTrailDrawingPoints.java205 final Path path = roundedLine.makePath(p1x, p1y, body1, p2x, p2y, body2);
206 if (!path.isEmpty()) {
218 canvas.drawPath(path, paint);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DPhotoStoreTest.java133 File storedFile = new File(mPhotoStore.get(photoFileId).path);
179 assertTrue(new File(entry.path).exists());
184 assertFalse(new File(entry.path).exists());
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadIdleService.java141 final String path = cursor.getString(OrphanQuery._DATA);
142 if (TextUtils.isEmpty(path)) continue;
144 final File file = new File(path);
H A DDownloadService.java475 private void deleteFileIfExists(String path) { argument
476 if (!TextUtils.isEmpty(path)) {
478 Log.d(TAG, "deleteFileIfExists() deleting " + path);
480 final File file = new File(path);
482 Log.w(TAG, "file: '" + path + "' couldn't be deleted");
/packages/apps/OMA-DM/engine/dmlib/tool-src/dmt_gen_tool/com/mot/dm/core/
H A DGen.java57 HashMap archivesMap; //path, printWriter
68 String path = tokener.nextToken();
73 archivesMap.put(path, fwriter);
88 public void print(String path, String s) throws IOException { argument
98 //See which directory contains the path
100 if (path.indexOf(rootpath) == 0 && longestmatch < len) {
931 String path = (String) parms.get("URI");
932 if (path !=null){
934 if(path.indexOf(fileSep) > 0){
935 path
1245 writeFile(String path, String body) argument
1279 private String[] path = new String[20]; field in class:Gen
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DHighlightView.java82 Path path = new Path();
92 path.addCircle(mDrawRect.left + (width / 2),
98 path.addRect(new RectF(mDrawRect), Path.Direction.CW);
101 canvas.clipPath(path, Region.Op.DIFFERENCE);
106 canvas.drawPath(path, mOutlinePaint);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DSpline.java274 Path path = new Path();
275 path.moveTo(0, points[0].y);
300 path.lineTo((float) x, (float) y);
307 path.lineTo(lastPoint.x, lastPoint.y);
308 path.lineTo(w, lastPoint.y);
320 canvas.drawPath(path, paint);
337 canvas.drawPath(path, paint);
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackService.java732 * @param storagePath path to mount point for the removed media
926 // possible fast path: list might be the same
1100 * @param path The full path of the file to be opened.
1102 public boolean open(String path) { argument
1104 if (path == null) {
1108 // if mCursor is null, try to associate path with a database cursor
1115 if (path.startsWith("content://media/")) {
1116 uri = Uri.parse(path);
1120 uri = MediaStore.Audio.Media.getContentUriForPath(path);
1877 setDataSource(String path) argument
1884 setDataSourceImpl(MediaPlayer player, String path) argument
1911 setNextDataSource(String path) argument
2089 openFile(String path) argument
[all...]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryHistoryChart.java832 Path path;
834 if (value <= mBatteryCriticalLevel) path = mBatCriticalPath;
835 else if (value <= mBatteryWarnLevel) path = mBatWarnPath;
836 else path = null; //mBatGoodPath;
838 if (path != lastLinePath) {
842 if (path != null) {
843 path.moveTo(x, y);
845 lastLinePath = path;
846 } else if (path != null) {
847 path
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
H A DImageLoader.java141 String path = uri.getPath();
142 exif.readExif(path);
565 String path = getLocalPathFromUri(context, uri);
566 if (path != null) {
567 Uri localUri = Uri.parse(path);
574 exif.readExif(path);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DFileCache.java226 String path = cursor.getString(1);
236 if (new File(mRootDir, path).delete()) {
241 Log.w(TAG, "unable to delete file: " + path);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocationClustering.java57 Path path; field in class:LocationClustering.SmallItem
78 s.path = item.getPath();
192 result.add(items.get(i).path);
/packages/apps/Launcher3/util/com/android/launcher3/
H A DDecoderRing.java297 private static void writeImageData(byte[] data, String path) { argument
300 iconFile = new FileOutputStream(path);
302 System.err.println("wrote " + path);
/packages/apps/Camera2/src/com/android/camera/session/
H A DCaptureSessionManagerImpl.java189 final String path = this.getPath();
196 jpegDataTemp = FileUtil.readFileToByteArray(new File(path));
273 final String path = this.getPath();
280 jpegDataTemp = FileUtil.readFileToByteArray(new File(path));
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DManageCachePage.java57 public static final String KEY_MEDIA_PATH = "media-path";
169 Path path = targetSet.getPath();
172 boolean isSelected = mSelectionManager.isItemSelected(path);
189 mSelectionManager.toggle(path);
405 public void onSelectionChange(Path path, boolean selected) { argument
/packages/apps/Gallery2/src/com/android/photos/data/
H A DPhotoSetLoader.java107 public void deleteItemWithPath(Object path) { argument
/packages/apps/OMA-DM/engine/xpl/hdr/
H A Dxpl_File.h106 XPL_FS_RET_STATUS_T XPL_FS_Remove(CPCHAR path);
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DMockSource.java131 Uri data = new Uri.Builder().scheme("content").authority(mName).path(query).build();
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
H A DEmlMessageLoaderTest.java58 new Uri.Builder().scheme("content").authority("empty").path("empty").build());
/packages/apps/OMA-DM/engine/dmlib/linux_java/samples/unittest/src/
H A Ddmt_test.cc358 DMString path; local
359 ptrNode->GetPath(path);
361 Error("It's not a External Storage Node \n", path.c_str());
368 DMString path; local
370 if( (e=ptrNode->GetPath(path)) != NULL )
376 Error("can't get attributes of node %s", path.c_str());
384 Error("can't get value of node %s", path.c_str());
388 printf("path=%s\n", (const char*)path.c_str());
871 DMString path; local
[all...]

Completed in 2983 milliseconds

1234567891011>>