Home
last modified time | relevance | path

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

12345678

/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/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DDownloadCompletionReceiver.java52 .getPath(context.getFilesDir().getPath(), "images/animals/", fileName) in getDestinationFile()
60 .getPath(context.getFilesDir().getPath(), "images/image.png") in getDestinationFile()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DCarStorageMonitoringTest.java218 new String(Files.readAllBytes(temporaryFile.getPath()))); in testWearEstimateRecordJson()
254 new String(Files.readAllBytes(temporaryFile.getPath()))); in testWearHistoryJson()
335 statsFile.getPath()); in testUidIoStatEntry()
380 statsFile.getPath()); in testUidIoStatEntryMissingFields()
394 statsFile.getPath()); in testUidIoStatEntryNonNumericFields()
446 new String(Files.readAllBytes(temporaryFile.getPath()))); in testUidIoStatEntryJson()
653 new String(Files.readAllBytes(temporaryFile.getPath()))); in testUidIoStatsDeltaJson()
667 Files.write(ext4_part1.getPath().resolve("lifetime_write_kbytes"), in testLifetimeWriteInfo()
669 Files.write(f2fs_part1.getPath().resolve("lifetime_write_kbytes"), in testLifetimeWriteInfo()
671 Files.write(ext4_part2.getPath().resolve("lifetime_write_kbytes"), in testLifetimeWriteInfo()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DMtpService.java70 if (volume.getPath().equals(path)) {
139 mVolumeMap.put(v.getPath(), v); in onStartCommand()
175 …" with storage " + primary.getPath() + (mUnlocked ? " unlocked" : "") + " as user " + UserHandle.m… in startServer()
225 Log.v(TAG, "Adding MTP storage:" + volume.getPath()); in addStorage()
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtilsTests.java186 compressCommand.setArgs(new String[] { rawFile.getPath(), file.getPath() }); in runTestHeaderReaderProcessorWithOneSpec()
193 cryptCommand.setArgs(new String[] { rawFile.getPath(), file.getPath() }); in runTestHeaderReaderProcessorWithOneSpec()
/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/StorageManager/src/com/android/storagemanager/deletionhelper/
DDownloadsDeletionType.java168 mUncheckedFiles.remove(file.getPath()); in setFileChecked()
170 mUncheckedFiles.add(file.getPath()); in setFileChecked()
199 return !mUncheckedFiles.contains(file.getPath()); in isChecked()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppSendFileInfo.java152 if (uri.getPath() == null) { in generateFileInfo()
157 EventLog.writeEvent(0x534e4554, "35310991", -1, uri.getPath()); in generateFileInfo()
164 File f = new File(uri.getPath()); in generateFileInfo()
/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/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java125 assertEquals(REQUEST_PATH, request.getPath()); in testBasicRequest()
361 InputStream stream = new FileInputStream(destination.getPath()); in testDestination()
415 assertEquals(REDIRECTED_PATH, lastRequest.getPath()); in testRedirect301()
421 assertEquals(REQUEST_PATH, lastRequest.getPath()); in testRedirect302()
717 new File(destination.getPath()).createNewFile(); in testExistingFile()
777 assertEquals(REQUEST_PATH, takeRequest().getPath()); in runRedirectionTest()
778 assertEquals(REDIRECTED_PATH, takeRequest().getPath()); in runRedirectionTest()
/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/Gallery2/src/com/android/gallery3d/util/
DMediaSetUtils.java63 return set1.getPath().toString().compareTo(set2.getPath().toString()); in compare()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMmsFileProvider.java47 final File file = getFile(uri.getPath()); in buildRawMmsUri()
60 return getFile(uri.getPath()); in getFile()
DFileProvider.java100 final String fileId = uri.getPath(); in delete()
111 final String fileId = uri.getPath(); in openFile()
DMediaScratchFileProvider.java70 final File file = getFileWithExtension(uri.getPath(), extension); in buildMediaScratchSpaceUri()
79 return getFileWithExtension(uri.getPath(), getExtensionFromUri(uri)); in getFileFromUri()
/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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DStorageSummaryDonutPreferenceController.java111 final long sharedDataSize = volume.getPath().getTotalSpace(); in updateSizes()
118 final long usedBytes = totalSize - volume.getPath().getFreeSpace(); in updateSizes()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMediaObject.java85 public Path getPath() { in getPath() method in MediaObject
111 Log.e(TAG, "The object was created from path: " + getPath()); in getContentUri()
DFilterTypeSet.java88 String filteredPath = basePath + "/{" + set.getPath().toString() + "}"; in updateData()
107 Path path = item.getPath(); in updateData()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageSummaryDonutPreferenceController.java111 final long sharedDataSize = volume.getPath().getTotalSpace(); in updateSizes()
118 final long usedBytes = totalSize - volume.getPath().getFreeSpace(); in updateSizes()
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DLensResolverActivity.java256 filter.addDataSchemeSpecificPart(p.getPath(), p.getType()); in buildIntentFilterForResolveInfo()
275 String path = data.getPath(); in buildIntentFilterForResolveInfo()
279 filter.addDataPath(p.getPath(), p.getType()); in buildIntentFilterForResolveInfo()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DClusterContentProvider.java57 String filename = new File(uri.getPath()).getName(); in openFile()
74 Log.e(TAG, "could not copy file to internal cache: " + uri.getPath(), e); in openFile()

12345678