Searched defs:path (Results 26 - 50 of 387) sorted by relevance

1234567891011>>

/frameworks/base/tools/aapt/
H A DOutputSet.h30 OutputEntry(const android::String8& path, const android::sp<const AaptFile>& file) argument
31 : mPath(path), mFile(file) {}
H A DApkBuilder.cpp59 status_t ApkBuilder::addEntry(const String8& path, const sp<AaptFile>& file) { argument
63 return mSplits.editItemAt(i)->addEntry(path, file);
109 status_t ApkSplit::addEntry(const String8& path, const sp<AaptFile>& file) { argument
110 if (!mFiles.insert(OutputEntry(path, file)).second) {
H A DCacheUpdater.h35 // Make sure all the directories along this path exist
36 virtual void ensureDirectoriesExist(String8 path) = 0;
39 virtual void deleteFile(String8 path) = 0;
57 // Make sure all the directories along this path exist
58 virtual void ensureDirectoriesExist(String8 path) argument
60 // Check to see if we're dealing with a fully qualified path
67 // If something in the path doesn't exist, then walk the path backwards
69 if (stat(path.string(),&s) == -1) {
71 existsPath = path;
94 deleteFile(String8 path) argument
[all...]
H A DDirectoryWalker.h28 virtual bool openDir(String8 path) = 0;
29 virtual bool openDir(const char* path) = 0;
44 // Base path
57 virtual bool openDir(String8 path) { argument
58 mBasePath = path;
67 virtual bool openDir(const char* path) { argument
68 String8 p(path);
H A DFileFinder.cpp80 void SystemFileFinder::checkAndAddFile(String8 path, const struct stat* stats, argument
86 String8 ext(path.getPathExtension());
94 fileStore.add(path,stats->st_mtime);
/frameworks/base/tools/aapt/tests/
H A DMockDirectoryWalker.h19 // entries. It takes a path and a map of filenames and their modification times.
24 StringDirectoryWalker(String8& path, Vector< pair<String8,time_t> >& data) argument
25 : mPos(0), mBasePath(path), mData(data) {
31 virtual bool openDir(String8 path) { argument
34 return path == mBasePath;
36 virtual bool openDir(const char* path) { argument
37 String8 p(path);
79 // Base path
/frameworks/base/tools/aapt2/
H A DSource.h33 std::string path; member in struct:aapt::Source
38 inline Source(const StringPiece& path) : path(path.toString()) { argument
41 inline Source(const StringPiece& path, size_t line) : path(path.toString()), line(line) { argument
45 return Source(path, line);
54 out << source.path;
62 return lhs.path
[all...]
/frameworks/support/documents-archive/src/android/support/provider/
H A DParsedDocumentId.java26 public ParsedDocumentId(String archiveId, String path) { argument
28 mPath = path;
/frameworks/support/v4/api21/android/support/v4/view/animation/
H A DPathInterpolatorCompatApi21.java24 * API 21+ implementation for path interpolator compatibility.
32 public static Interpolator create(Path path) { argument
33 return new PathInterpolator(path);
/frameworks/support/v4/donut/android/support/v4/view/animation/
H A DPathInterpolatorCompatBase.java23 * Base implementation for path interpolator compatibility.
31 public static Interpolator create(Path path) { argument
32 return new PathInterpolatorDonut(path);
/frameworks/support/v4/java/android/support/v4/view/animation/
H A DPathInterpolatorCompat.java24 * Helper for creating path-based {@link Interpolator} instances. On API 21 or newer, the
43 * @param path the {@link Path} to use to make the line representing the {@link Interpolator}
46 public static Interpolator create(Path path) { argument
48 return PathInterpolatorCompatApi21.create(path);
50 return PathInterpolatorCompatBase.create(path);
/frameworks/base/core/java/android/content/
H A DUriMatcher.java152 * this method will accept a leading slash in the path.
155 * @param path the path to match. * may be used as a wild card for
160 public void addURI(String authority, String path, int code) argument
167 if (path != null) {
168 String newPath = path;
170 if (path.length() > 0 && path.charAt(0) == '/') {
171 newPath = path.substring(1);
210 * Try to match against the path i
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabaseConfiguration.java44 * Special path used by in-memory databases.
49 * The database path.
51 public final String path; field in class:SQLiteDatabaseConfiguration
55 * This is derived from the path but is stripped to remove PII.
96 * @param path The database path.
99 public SQLiteDatabaseConfiguration(String path, int openFlags) { argument
100 if (path == null) {
101 throw new IllegalArgumentException("path must not be null.");
104 this.path
159 stripPathForLogs(String path) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureLibraries.java36 public static GestureLibrary fromFile(String path) { argument
37 return fromFile(new File(path));
40 public static GestureLibrary fromFile(File path) { argument
41 return new FileGestureLibrary(path);
55 public FileGestureLibrary(File path) { argument
56 mPath = path;
/frameworks/base/core/java/android/os/
H A DStatFs.java32 * {@code path}. Upon construction, the stat of the file system will be
36 * @param path path in the desired file system to stat.
38 public StatFs(String path) { argument
39 mStat = doStat(path);
42 private static StructStatVfs doStat(String path) { argument
44 return Os.statvfs(path);
46 throw new IllegalArgumentException("Invalid path: " + path, e);
52 * the same as re-constructing the object with the same file system path,
55 restat(String path) argument
[all...]
/frameworks/base/core/java/android/os/storage/
H A DStorageEventListener.java34 * @param path the filesystem path for the storage
38 public void onStorageStateChanged(String path, String oldState, String newState) { argument
/frameworks/base/core/java/android/webkit/
H A DWebIconDatabase.java53 * Open a the icon database and store the icons in the given path.
54 * @param path The directory path where the icon database will be stored.
56 public abstract void open(String path); argument
/frameworks/base/core/jni/
H A Dandroid_server_Watchdog.cpp61 jniThrowException(env, "java/lang/IllegalArgumentException", "Null path");
65 const char *path = env->GetStringUTFChars(pathStr, NULL); local
67 int outFd = open(path, O_WRONLY | O_APPEND | O_CREAT,
97 env->ReleaseStringUTFChars(pathStr, path);
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DPathOffsetTest.java81 private static Bitmap drawAndGetBitmap(Path path) { argument
87 canvas.drawPath(path, paint);
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DPathShape.java25 * The path can be drawn to a Canvas with its own draw() method,
40 * @param path a Path that defines the geometric paths for this shape
48 public PathShape(Path path, float stdWidth, float stdHeight) { argument
49 mPath = path;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DFreePathInterpolator.java32 * Path path = new Path();
33 * path.lineTo(0.25f, 0.25f);
34 * path.moveTo(0.25f, 0.5f);
35 * path.lineTo(1f, 1f);
50 * @param path The <code>Path</code> to use to make the line representing the interpolator.
52 public FreePathInterpolator(Path path) { argument
53 initPath(path);
56 private void initPath(Path path) { argument
57 float[] pointComponents = path.approximate(PRECISION);
135 * @param y a value from (0,1) that is in this path
[all...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DScreenshotTest.java86 NewScreenshotObserver(String path) { argument
87 super(path, FileObserver.CREATE);
95 public void onEvent(int event, String path) { argument
96 Log.d(LOG_TAG, String.format("Detected new file added %s", path));
98 mAddedPath = path;
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerServiceUtils.java196 * Returns the canonicalized path of {@code path} as per {@code realpath(3)}
199 public static String realpath(File path) throws IOException { argument
201 return Libcore.os.realpath(path.getAbsolutePath());
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathsCacheActivity.java50 Path path = new Path();
51 buildPath(path);
52 return path;
55 private static void buildPath(Path path) { argument
56 path.moveTo(0.0f, 0.0f);
57 path.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f);
58 path.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f);
59 path.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f);
63 Path path = new Path();
64 buildLargePath(path);
68 buildLargePath(Path path) argument
[all...]
H A DTextPathActivity.java61 Path path = new Path();
64 drawTextAsPath(canvas, "Hello", path);
67 drawTextAsPath(canvas, "OpenGL", path);
70 private void drawTextAsPath(Canvas canvas, String text, Path path) { argument
72 mHugePaint.getTextPath(text, 0, count, 0, 0, path);
73 path.close();
74 canvas.drawPath(path, mHugePaint);

Completed in 562 milliseconds

1234567891011>>