/developers/demos/JustForUs/justforus/src/main/java/com/example/android/justforus/ |
D | AssetProvider.java | 79 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/ |
D | AssetProvider.java | 66 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/ |
D | build.gradle | 38 //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/ |
D | SampleGenProperties.groovy | 46 * 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/ |
D | build.gradle | 30 def buildPath = (repoInfo =~ /Mount path: (.*)/)[0][1] 36 * Collapse a path "IntelliJ-style" by putting dots rather than slashes between 37 * path components that have only one child. So the two paths 46 * @param path 50 Map<String,String> collapsePaths(FileTree path, List<String> roots) { 55 path.visit { FileVisitDetails f -> 61 // Starting at this file, walk back to the root of the path and 66 // path and the filename, even if there's only one file in the directory. 74 // the relative path. But wait, Groovy/Gradle is capricious and 87 result.put(f.file.path, collapsedPath.toString()); [all …]
|
D | gradlew | 115 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/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/ |
D | UtilityService.java | 77 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/samples/android/input/autofill/AutofillFramework/kotlinApp/ |
D | gradlew | 115 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/deprecated/wearable/wear/Geofencing/ |
D | gradlew | 115 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/deprecated/wearable/wear/FindMyPhone/ |
D | gradlew | 115 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/ui/DarkTheme/ |
D | gradlew | 115 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/ui/transition/FragmentTransition/ |
D | gradlew | 115 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/SharingShortcuts/ |
D | gradlew | 115 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/deprecated/wearable/wear/RecipeAssistant/ |
D | gradlew | 115 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/background/JobScheduler/kotlinApp/ |
D | gradlew | 115 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/system/RuntimePermissions/ |
D | gradlew | 115 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/WearAccessibilityApp/ |
D | gradlew | 115 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/WearComplicationProvidersTestSuite/ |
D | gradlew | 115 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/ui/transition/AdapterTransition/ |
D | gradlew | 115 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/ui/window/AdvancedImmersiveMode/ |
D | gradlew | 115 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/deprecated/wearable/wear/AgendaData/ |
D | gradlew | 115 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/deprecated/wearable/wear/WatchViewStub/ |
D | gradlew | 115 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/WearSpeakerSample/ |
D | gradlew | 115 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/deprecated/wearable/wear/ElizaChat/ |
D | gradlew | 115 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/notification/NotificationChannels/kotlinApp/ |
D | gradlew | 115 APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|