Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 662) sorted by relevance

12345678910>>...27

/developers/demos/JustForUs/justforus/src/main/java/com/example/android/justforus/
DAssetProvider.java79 String path = uri.getLastPathSegment(); in getType() local
82 if (!fileExists(path)) { in getType()
105 String path = uri.getLastPathSegment(); in openAssetFile() local
107 return mAssets.openFd(path); in openAssetFile()
119 private boolean fileExists(String path) { in fileExists() argument
122 mAssets.openFd(path).close(); in fileExists()
133 String path = uri.getLastPathSegment(); in query() local
134 if (!fileExists(path)) { in query()
135 Log.e(TAG, "Requested file doesn't exist at " + path); in query()
151 row[col] = path; in query()
/developers/samples/android/common/src/java/com/example/android/common/assetprovider/
DAssetProvider.java66 String path = uri.getPath(); in getType() local
69 if (!fileExists(path)) { in getType()
92 String path = uri.getPath(); in openAssetFile() local
94 return mAssets.openFd(path); in openAssetFile()
106 private boolean fileExists(String path) { in fileExists() argument
109 mAssets.openFd(path).close(); in fileExists()
/developers/build/prebuilts/gradle/BeamLargeFiles/Application/src/main/java/com/example/android/common/assetprovider/
DAssetProvider.java66 String path = uri.getPath(); in getType() local
69 if (!fileExists(path)) { in getType()
92 String path = uri.getPath(); in openAssetFile() local
94 return mAssets.openFd(path); in openAssetFile()
106 private boolean fileExists(String path) { in fileExists() argument
109 mAssets.openFd(path).close(); in fileExists()
/developers/samples/android/experimental/ndkSampleGen/
Dbuild.gradle38 //Get absolute path of input path
39 FileTree inputFileTree = project.fileTree(sample.@path)
40 … def inputPath = inputFileTree.getFiles().iterator().next().parentFile.absolutePath //sample.@path
42 println "Input path : " + inputPath
85 String collapsed = collapsedPaths.get(fcd.file.path);
86 fcd.path = "src/${collapsed}";
101 def inputPath = sample.@path
166 def buildPath = (repoInfo =~ /Mount path: (.*)/)[0][1]
172 * Collapse a path "IntelliJ-style" by putting dots rather than slashes between
173 * path components that have only one child. So the two paths
[all …]
/developers/build/buildSrc/src/main/groovy/com/example/android/samples/build/
DSampleGenProperties.groovy46 * Relative path to samples/common directory
51 * Relative path to build directory (platform/developers/build)
62 * @return The path to the sample project (as opposed to the top-level project, which
73 * @return The path that contains common files -- can be cleaned without harming
82 * @return The path that contains template files -- can be cleaned without harming
104 * The path to the template parameters file
111 * Transforms a package name into a java-style OS dependent path
113 * @return The java-style path to the package's code
120 * Transforms a path into a java-style package name
121 * @param path The java-style path to the package's code
[all …]
/developers/build/
Dbuild.gradle35 def buildPath = (repoInfo =~ /Mount path: (.*)/)[0][1]
41 * Collapse a path "IntelliJ-style" by putting dots rather than slashes between
42 * path components that have only one child. So the two paths
51 * @param path
55 Map<String,String> collapsePaths(FileTree path, List<String> roots) {
60 path.visit { FileVisitDetails f ->
66 // Starting at this file, walk back to the root of the path and
71 // path and the filename, even if there's only one file in the directory.
79 // the relative path. But wait, Groovy/Gradle is capricious and
92 result.put(f.file.path, collapsedPath.toString());
[all …]
/developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/
DUtilityService.java77 public static void startDeviceActivity(Context context, String path, String name, String city) { in startDeviceActivity() argument
81 if (Constants.START_ATTRACTION_PATH.equals(path)) { in startDeviceActivity()
87 intent.putExtra(EXTRA_START_PATH, path); in startDeviceActivity()
147 private void startDeviceActivityInternal(String path, String extraInfo) { in startDeviceActivityInternal() argument
165 googleApiClient, node.getId(), path, extraInfo.getBytes()); in startDeviceActivityInternal()
/developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/
DUtilityService.java77 public static void startDeviceActivity(Context context, String path, String name, String city) { in startDeviceActivity() argument
81 if (Constants.START_ATTRACTION_PATH.equals(path)) { in startDeviceActivity()
87 intent.putExtra(EXTRA_START_PATH, path); in startDeviceActivity()
147 private void startDeviceActivityInternal(String path, String extraInfo) { in startDeviceActivityInternal() argument
165 googleApiClient, node.getId(), path, extraInfo.getBytes()); in startDeviceActivityInternal()
/developers/build/prebuilts/gradle/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
DMyCloudProvider.java451 String path = file.getAbsolutePath();
455 if (rootPath.equals(path)) {
456 path = "";
458 path = path.substring(rootPath.length());
460 path = path.substring(rootPath.length() + 1);
463 return "root" + ':' + path;
536 final String path = docId.substring(splitIndex + 1);
537 target = new File(target, path);
/developers/samples/android/content/documentsUi/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
DMyCloudProvider.java451 String path = file.getAbsolutePath();
455 if (rootPath.equals(path)) {
456 path = "";
458 path = path.substring(rootPath.length());
460 path = path.substring(rootPath.length() + 1);
463 return "root" + ':' + path;
536 final String path = docId.substring(splitIndex + 1);
537 target = new File(target, path);
/developers/samples/android/ui/Interpolator/Application/src/main/java/com/example/android/interpolator/
DInterpolatorFragment.java112 Path path = mIsOut ? mPathIn : mPathOut; in onCreateView()
120 startAnimation(interpolator, duration, path); in onCreateView()
205 public ObjectAnimator startAnimation(Interpolator interpolator, long duration, Path path) { in startAnimation() argument
207 ObjectAnimator animator = ObjectAnimator.ofFloat(mView, View.SCALE_X, View.SCALE_Y, path); in startAnimation()
/developers/build/prebuilts/gradle/Interpolator/Application/src/main/java/com/example/android/interpolator/
DInterpolatorFragment.java112 Path path = mIsOut ? mPathIn : mPathOut; in onCreateView()
120 startAnimation(interpolator, duration, path); in onCreateView()
205 public ObjectAnimator startAnimation(Interpolator interpolator, long duration, Path path) { in startAnimation() argument
207 ObjectAnimator animator = ObjectAnimator.ofFloat(mView, View.SCALE_X, View.SCALE_Y, path); in startAnimation()
/developers/samples/android/input/multitouch/BasicMultitouch/
Dgradlew115 APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/
Dgradlew115 APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
/developers/samples/android/media/Camera2Raw/
Dgradlew115 APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
/developers/build/prebuilts/gradle/SwipeRefreshLayoutBasic/
Dgradlew115 APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
/developers/samples/android/connectivity/bluetooth/BluetoothAdvertisements/
Dgradlew115 APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
/developers/samples/android/media/Camera2Video/
Dgradlew115 APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
/developers/samples/android/content/contacts/BasicContactables/
Dgradlew115 APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
/developers/samples/android/content/documentsUi/StorageClient/
Dgradlew115 APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
/developers/build/prebuilts/gradle/SkeletonWearableApp/
Dgradlew115 APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
/developers/build/prebuilts/gradle/Quiz/
Dgradlew115 APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
/developers/build/prebuilts/gradle/SwipeRefreshListFragment/
Dgradlew115 APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
/developers/samples/android/security/DirectBoot/
Dgradlew115 APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
/developers/samples/android/wearable/wear/EmbeddedApp/
Dgradlew115 APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`

12345678910>>...27