Home
last modified time | relevance | path

Searched refs:getPath (Results 1 – 25 of 128) sorted by relevance

123456

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java235 private Path getPath(int index) { in getPath() method in PhotoDataAdapter
238 return item.getPath(); in getPath()
266 mPaths[i] = getPath(mCurrentIndex + i - SCREEN_NAIL_MAX); in fireDataChange()
320 if (path == getPath(mCurrentIndex + i)) { in updateScreenNail()
341 if (path == getPath(mCurrentIndex)) { in updateFullImage()
401 mItemPath = item == null ? null : item.getPath(); in updateCurrentIndex()
421 ImageEntry e = mImageCache.get(item.getPath()); in uploadScreenNail()
454 ImageEntry entry = mImageCache.get(item.getPath()); in getScreenNail()
524 ImageEntry entry = mImageCache.get(getPath(mCurrentIndex + offset)); in getLoadingState()
586 if (item != null && item.getPath() != path) { in setCurrentPhoto()
[all …]
DAlbumPage.java137 if (item != null && item.getPath() == path) return i;
257 mSelectionManager.toggle(item.getPath()); in onSingleTapUp()
301 item.getPath().toString()); in pickPhoto()
320 Uri uri = dm.getContentUri(item.getPath()); in onGetContent()
342 mSelectionManager.toggle(item.getPath()); in onLongTap()
348 String basePath = mMediaSet.getPath().toString(); in doCluster()
772 mAlbumView.setHighlightItemPath(item.getPath()); in getDetails()
DAlbumSetPage.java196 mSelectionManager.toggle(targetSet.getPath()); in onSingleTapUp()
248 String mediaPath = targetSet.getPath().toString(); in pickAlbum()
257 .putExtra(AlbumPicker.KEY_ALBUM_PATH, targetSet.getPath().toString()); in pickAlbum()
305 mSelectionManager.toggle(set.getPath()); in onLongTap()
311 String basePath = mMediaSet.getPath().toString(); in doCluster()
555 FilterUtils.setupMenuItems(mActionBar, mMediaSet.getPath(), false); in onCreateActionBar()
757 mAlbumSetView.setHighlightItemPath(item.getPath()); in getDetails()
DVideoUtils.java61 genVideoUsingMuxer(filePath, dstFileInfo.mFile.getPath(), -1, -1, in startMute()
74 genVideoUsingMuxer(src.getPath(), dst.getPath(), startMs, endMs, in startTrim()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMtpService.java55 final String path = primary.getPath(); in addStorageDevicesLocked()
133 String path = volumes[i].getPath(); in onCreate()
157 subdirs[i] = file.getPath(); in onStartCommand()
165 primary.getPath(), subdirs); in onStartCommand()
242 if (volume.getPath().equals(path)) { in volumeMountedLocked()
257 String path = storage.getPath(); in addStorageLocked()
270 MtpStorage storage = mStorageMap.remove(volume.getPath()); in removeStorageLocked()
272 Log.e(TAG, "no MtpStorage for " + volume.getPath()); in removeStorageLocked()
276 Log.d(TAG, "removeStorageLocked " + storage.getStorageId() + " " + storage.getPath()); in removeStorageLocked()
DMediaScannerReceiver.java46 String path = uri.getPath(); in onReceive()
47 String externalStoragePath = Environment.getExternalStorageDirectory().getPath(); in onReceive()
48 String legacyPath = Environment.getLegacyExternalStorageDirectory().getPath(); in onReceive()
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DMockProvider.java96 .path(uri.getPath().substring(1)).build(); in uri()
104 String path = uri.getPath(); in delete()
121 String table = uri.getPath().substring(1); in insert()
127 mMockStore.put(newUri.getPath(), values); in insert()
152 String prefix = uri.getPath() + "/"; in query()
160 ContentValues values = mMockStore.get(uri.getPath()); in query()
187 String path = uri.getPath(); in update()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
DTestProvider.java96 .path(uri.getPath().substring(1)).build(); in uri()
104 String path = uri.getPath(); in delete()
121 String table = uri.getPath().substring(1); in insert()
127 mMockStore.put(newUri.getPath(), values); in insert()
152 String prefix = uri.getPath() + "/"; in query()
160 ContentValues values = mMockStore.get(uri.getPath()); in query()
187 String path = uri.getPath(); in update()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppReceiveFileInfo.java115 String root = Environment.getExternalStorageDirectory().getPath(); in generateFileInfo()
119 + base.getPath()); in generateFileInfo()
122 stat = new StatFs(base.getPath()); in generateFileInfo()
156 filename = base.getPath() + File.separator + filename; in generateFileInfo()
195 sDesiredStoragePath = Environment.getExternalStorageDirectory().getPath() + in safeCanonicalPath()
/packages/apps/Browser/src/com/android/browser/homepages/
DRequestHandler.java159 File f = new File(mUri.getPath()); in writeFolderIndex()
163 t.assign("path", mUri.getPath()); in writeFolderIndex()
164 t.assign("parent_url", f.getParent() != null ? f.getParent() : f.getPath()); in writeFolderIndex()
226 Matcher m = pattern.matcher(mUri.getPath()); in getUriResourcePath()
230 return mUri.getPath(); in getUriResourcePath()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java120 assertEquals(REQUEST_PATH, request.getPath()); in testBasicRequest()
356 InputStream stream = new FileInputStream(destination.getPath()); in testDestination()
408 assertEquals(REDIRECTED_PATH, lastRequest.getPath()); in testRedirect301()
414 assertEquals(REQUEST_PATH, lastRequest.getPath()); in testRedirect302()
685 new File(destination.getPath()).createNewFile(); in testExistingFile()
745 assertEquals(REQUEST_PATH, takeRequest().getPath()); in runRedirectionTest()
746 assertEquals(REDIRECTED_PATH, takeRequest().getPath()); in runRedirectionTest()
/packages/apps/Camera2/src/com/android/camera/session/
DCaptureSessionManagerImpl.java189 final String path = this.getPath(); in finish()
224 public String getPath() { in getPath() method in CaptureSessionManagerImpl.CaptureSessionImpl
247 return tempFile.getPath(); in getPath()
273 final String path = this.getPath(); in updatePreview()
/packages/apps/FMRadio/src/com/android/fmradio/
DFmRecorder.java139 + mRecordFile.getPath()); in startRecording()
415 MediaScannerConnection.scanFile(context, new String[] { mRecordFile.getPath() }, in addRecordingToDatabase()
472 new String[] { mRecordFile.getPath() }, in addToAudioTable()
508 new String[] { mRecordFile.getPath() }, in addToPlaylist()
/packages/apps/Gallery/src/com/android/camera/gallery/
DUriImage.java50 return mUri.getPath(); in getDataPath()
56 return new java.io.FileInputStream(mUri.getPath()); in getInputStream()
68 String path = mUri.getPath(); in getPFD()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSelectionManager.java171 items.add(item.getPath()); in expandMediaSet()
189 Path id = set.getPath(); in getSelected()
226 Path id = item.getPath(); in getSelected()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsProvider.java432 String path = getContext().getDir(PARTS_DIR_NAME, 0).getPath() in insert()
498 String path = getContext().getDir(PARTS_DIR_NAME, 0).getPath() in insert()
744 String path = getContext().getDir(PARTS_DIR_NAME, 0).getPath() + '/' + in update()
839 .startsWith(getContext().getDir(PARTS_DIR_NAME, 0).getPath())) { in openFile()
843 + getContext().getDir(PARTS_DIR_NAME, 0).getPath()); in openFile()
/packages/apps/Gallery2/src/com/android/gallery3d/provider/
DGalleryProvider.java92 Path path = Path.fromString(uri.getPath()); in getType()
118 Path path = Path.fromString(uri.getPath()); in query()
180 Path path = Path.fromString(uri.getPath()); in openFile()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackService.java755 closeExternalStorageFiles(intent.getData().getPath()); in registerExternalStorageListener()
1195 views.setTextViewText(R.id.trackname, getPath()); in updateNotification()
1701 public String getPath() { in getPath() method in MediaPlaybackService
2144 public String getPath() { in getPath() method in MediaPlaybackService.ServiceStub
2145 return mService.get().getPath(); in getPath()
2192 writer.println(getPath()); in dump()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java599 File localFile = new File(localData.getPath()); in fileNameFromDataID()
609 File localFile = new File(localData.getPath()); in fileAgeFromDataID()
737 if (TextUtils.isEmpty(localData.getPath()) ||
741 File localFile = new File(localData.getPath());
2776 stream = new FileInputStream(data.getPath()); in handleMessage()
2778 Log.e(TAG, "File not found:" + data.getPath()); in handleMessage()
2796 bitmap = LocalDataUtil.loadVideoThumbnail(data.getPath()); in handleMessage()
/packages/apps/Mms/src/com/android/mms/ui/
DUriImage.java91 mPath = uri.getPath(); in initFromFile()
150 filePath = uri.getPath(); in initFromContentUri()
221 public String getPath() { in getPath() method in UriImage
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/
DPathFileComparator.java103 return caseSensitivity.checkCompareTo(file1.getPath(), file2.getPath()); in compare()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DMemory.java149 if (volume != null && path.equals(volume.getPath())) {
241 sClickedMountPoint = volume.getPath(); in onPreferenceTreeClick()
242 String state = mStorageManager.getVolumeState(volume.getPath()); in onPreferenceTreeClick()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamTransferManager.java270 File file = new File(uri.getPath()); in cancel()
378 String extRoot = Environment.getExternalStorageDirectory().getPath(); in processFiles()
400 File srcFile = new File(uri.getPath()); in processFiles()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DMediaSetUtils.java63 return set1.getPath().toString().compareTo(set2.getPath().toString()); in compare()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DPackage.java54 compressCommand.setArgs(new String[] { mArgs[0], intermediateFile.getPath() }); in run()
57 cryptCommand.setArgs(new String[] { intermediateFile.getPath(), mArgs[1] }); in run()

123456