Lines Matching refs:Path
22 import org.apache.tools.ant.types.Path;
42 * <tr><td>path to aapt</td><td>executable</td><td>attribute (Path)</td>
46 * <tr><td>-M AndroidManifest.xml</td><td>manifest</td><td>attribute (Path)</td></tr>
47 * <tr><td>-I base-package</td><td>androidjar</td><td>attribute (Path)</td></tr>
48 * <tr><td>-A asset-source-dir</td><td>assets</td><td>attribute (Path</td></tr>
49 * <tr><td>-S resource-sources</td><td><res path=""></td><td>nested element(s)<br>with attribute (Path)</td></tr>
51 * <tr><td>-F apk-file</td><td>apkfolder<br>outfolder<br>apkbasename<br>basename</td><td>attribute (Path)<br>attribute (Path) deprecated<br>attribute (String)<br>attribute (String) deprecated</td></tr>
52 * <tr><td>-J R-file-dir</td><td>rfolder</td><td>attribute (Path)<br>-m always enabled</td></tr>
86 private ArrayList<Path> mResources;
99 * Input path that ignores the same folders/files that aapt does.
142 public void setExecutable(Path executable) {
209 public void setManifest(Path manifest) {
217 * @deprecated Use nested element(s) <res path="value" />
220 public void setResources(Path resources) {
222 "Use nested element(s) <res path=\"value\" /> instead.");
224 mResources = new ArrayList<Path>();
227 mResources.add(new Path(getProject(), resources.toString()));
234 public void setAssets(Path assets) {
242 public void setAndroidjar(Path androidJar) {
249 * @deprecated use {@link #setApkfolder(Path)}
252 public void setOutfolder(Path outFolder) {
254 "Use 'apkfolder' (path) instead.");
262 public void setApkfolder(Path apkFolder) {
278 public void setRfolder(Path rFolder) {
311 mResources = new ArrayList<Path>();
314 Path path = new Path(getProject());
315 mResources.add(path);
317 return path;
377 // the project res folder is an input path of course
378 for (Path pathList : mResources) {
379 for (String path : pathList.list()) {
380 paths.add(new File(path));
385 if (libResRef instanceof Path) {
386 for (String path : ((Path)libResRef).list()) {
387 paths.add(new File(path));
398 // let's not forget the manifest as an input path (with no extension restrictions).
417 // let's not forget the manifest as an input path.
422 // If we're here to generate a .ap_ file we need to use assets as an input path as well.
541 for (Path pathList : mResources) {
542 for (String path : pathList.list()) {
544 File res = new File(path);
547 task.createArg().setValue(path);
554 if (libResRef instanceof Path) {
555 for (String path : ((Path)libResRef).list()) {
557 File res = new File(path);
560 task.createArg().setValue(path);