/frameworks/compile/mclinker/include/mcld/Support/ |
RealPath.h | 11 #include "mcld/Support/Path.h" 23 class RealPath : public Path { 25 typedef Path::ValueType ValueType; 26 typedef Path::StringType StringType; 32 explicit RealPath(const Path& pPath); 36 RealPath& assign(const Path& pPath);
|
Directory.h | 14 #include "mcld/Support/Path.h" 27 * \brief A Directory object stores a Path object, a FileStatus object for 47 /// constructor - a directory whose path is pPath 48 explicit Directory(const Path& pPath, 68 void assign(const Path& pPath, 77 /// path - the path of the directory 78 const Path& path() const { return m_Path; } function in class:mcld::sys::fs::Directory 90 mcld::sys::fs::Path m_Path [all...] |
/frameworks/compile/mclinker/unittests/ |
PathTest.cpp | 21 m_pTestee = new Path(); 47 m_pTestee = new Path(root); 57 m_pTestee = new Path(root); 67 m_pTestee = new Path(root); 78 m_pTestee = new Path(root); 87 Path* p2 = new Path("ccc///////"); 92 m_pTestee = new Path(root); 99 Path* p2 = new Path("aaa//") [all...] |
PathTest.h | 12 #include "mcld/Support/Path.h" 18 * \brief a testcase for mcld::Path and its non-member funtions. 20 * \see Path 37 mcld::sys::fs::Path* m_pTestee;
|
/frameworks/compile/mclinker/include/mcld/MC/ |
SearchDirs.h | 13 #include "mcld/Support/Path.h" 44 explicit SearchDirs(const sys::fs::Path& pSysRoot); 48 // find - give a namespec, return a real path of the shared object. 49 sys::fs::Path* find(const std::string& pNamespec, 52 const sys::fs::Path* find(const std::string& pNamespec, 55 void setSysRoot(const sys::fs::Path& pSysRoot) { m_SysRoot = pSysRoot; } 56 const sys::fs::Path& sysroot() const { return m_SysRoot; } 69 bool insert(const sys::fs::Path& pDirectory); 73 sys::fs::Path m_SysRoot;
|
/system/core/libcutils/ |
canned_fs_config.c | 28 const char* path; member in struct:__anon74729 33 } Path; 35 static Path* canned_data = NULL; 40 return strcmp(((Path*)a)->path, ((Path*)b)->path); 54 canned_data = (Path*) realloc(canned_data, canned_alloc * sizeof(Path)); 56 Path* p = canned_data + canned_used [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathMeasureTest.java | 21 import android.graphics.Path; 23 import android.graphics.Path.Direction; 28 private Path mPath; 33 mPath = new Path(); 42 Path path = new Path(); local 43 mPathMeasure = new PathMeasure(path, true); 46 mPathMeasure = new PathMeasure(path, false); 64 mPath.addRect(1f, 2f, 3f, 4f, Path.Direction.CW) [all...] |
Canvas_EdgeTypeTest.java | 20 import android.graphics.Path; 41 c.quickReject(new Path(), EdgeType.AA); 42 c.quickReject(new Path(), EdgeType.BW);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/ |
CircleClipFrameLayout.java | 21 import android.graphics.Path; 26 final Path mClipPath = new Path(); 48 mClipPath.addOval(0, 0, getWidth(), getHeight(), Path.Direction.CW);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
PathShape.java | 21 import android.graphics.Path; 24 * Creates geometric paths, utilizing the {@link android.graphics.Path} class. 25 * The path can be drawn to a Canvas with its own draw() method, 30 private Path mPath; 40 * @param path a Path that defines the geometric paths for this shape 48 public PathShape(Path path, float stdWidth, float stdHeight) { 49 mPath = path; 71 shape.mPath = new Path(mPath) [all...] |
/frameworks/compile/mclinker/lib/MC/ |
ContextFactory.cpp | 18 : UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>(pNum) { 24 LDContext* ContextFactory::produce(const sys::fs::Path& pPath) { 27 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate(); 35 return produce(sys::fs::Path(pPath));
|
/frameworks/base/core/java/android/transition/ |
PatternPathMotion.java | 23 import android.graphics.Path; 29 * A PathMotion that takes a Path pattern and applies it to the separation between two points. 30 * The starting point of the Path will be moved to the origin and the end point will be scaled 41 private Path mOriginalPatternPath; 43 private final Path mPatternPath = new Path(); 62 Path pattern = PathParser.createPathFromPathData(pathData); 71 * Creates a PatternPathMotion with the Path defining a pattern of motion between two 76 * @param patternPath A Path to be used as a pattern for two-dimensional motion. 78 public PatternPathMotion(Path patternPath) 139 Path path = new Path(); local [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
StepRenderer.java | 19 import android.graphics.Path;
34 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) {
35 //path.lineTo(thisPoint.x, thisPoint.y);
37 path.lineTo(thisPoint.x, lastPoint.y);
38 path.lineTo(thisPoint.x, thisPoint.y);
|
/external/clang/lib/Basic/ |
FileSystemStatCache.cpp | 16 #include "llvm/Support/Path.h" 35 /// path, using the cache to accelerate it if possible. This returns true if 36 /// the path does not exist or false if it exists. 43 bool FileSystemStatCache::get(const char *Path, FileData &Data, bool isFile, 51 R = Cache->getStat(Path, Data, isFile, F, FS); 55 llvm::ErrorOr<vfs::Status> Status = FS.status(Path); 70 auto OwnedFile = FS.openFileForRead(Path); 93 // If the path doesn't exist, return failure. 96 // If the path exists, make sure that its "directoryness" matches the clients 110 MemorizeStatCalls::getStat(const char *Path, FileData &Data, bool isFile [all...] |
/external/testng/src/main/java/org/testng/internal/ |
PathUtils.java | 19 import java.nio.file.Path; 29 Path rootPath = Paths.get(suite.getFileName()).getParent();
|
/frameworks/support/compat/gingerbread/android/support/v4/view/animation/ |
PathInterpolatorCompatBase.java | 19 import android.graphics.Path; 23 * Base implementation for path interpolator compatibility. 31 public static Interpolator create(Path path) { 32 return new PathInterpolatorGingerbread(path);
|
PathInterpolatorGingerbread.java | 19 import android.graphics.Path; 24 * A path interpolator implementation compatible with API 9+. 29 * Governs the accuracy of the approximation of the {@link Path}. 36 public PathInterpolatorGingerbread(Path path) { 37 final PathMeasure pathMeasure = new PathMeasure(path, false /* forceClosed */); 98 private static Path createQuad(float controlX, float controlY) { 99 final Path path = new Path(); local 107 final Path path = new Path(); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
MediaSource.java | 37 public Path findPathByUri(Uri uri, String type) { 41 public abstract MediaObject createMediaObject(Path path); 49 public Path getDefaultSetOf(Path item) { 62 public PathId(Path path, int id) { 63 this.path = path; 66 public Path path field in class:MediaSource.PathId [all...] |
SnailSource.java | 38 // The only path we accept is "/snail/set/id" and "/snail/item/id" 40 public MediaObject createMediaObject(Path path) { 42 switch (mMatcher.match(path)) { 47 return new SnailAlbum(path, item); 50 return new SnailItem(path); 57 // them. You can obtain the Path of the SnailAlbum and SnailItem associated 63 public static Path getSetPath(int id) { 64 return Path.fromString("/snail/set").getChild(id); 67 public static Path getItemPath(int id) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
MediaSetUtils.java | 24 import com.android.gallery3d.data.Path; 47 private static final Path[] CAMERA_PATHS = { 48 Path.fromString("/local/all/" + CAMERA_BUCKET_ID), 49 Path.fromString("/local/image/" + CAMERA_BUCKET_ID), 50 Path.fromString("/local/video/" + CAMERA_BUCKET_ID)}; 52 public static boolean isCameraSource(Path path) { 53 return CAMERA_PATHS[0] == path || CAMERA_PATHS[1] == path 54 || CAMERA_PATHS[2] == path; [all...] |
/cts/tests/tests/transition/src/android/transition/cts/ |
ArcMotionTest.java | 18 import android.graphics.Path; 30 Path expected = arcWithPoint(0, 100, 100, 0, 100, 100); 31 Path path = arcMotion.getPath(0, 100, 100, 0); local 32 assertPathMatches(expected, path); 35 path = arcMotion.getPath(100, 0, 0, -100); 36 assertPathMatches(expected, path); 39 path = arcMotion.getPath(0, -100, -100, 0); 40 assertPathMatches(expected, path); 43 path = arcMotion.getPath(-100, 0, 0, 100) 52 Path path; local 93 Path path = new Path(); local 109 Path path = arcMotion.getPath(0, 100, 100, 0); local 121 Path path = arcMotion.getPath(0, 0, 100, 0); local 138 Path path = arcMotion.getPath(0, 0, 0, 100); local [all...] |
PathMotionTest.java | 18 import android.graphics.Path; 24 public static void assertPathMatches(Path expectedPath, Path path) { 26 PathMeasure pathMeasure = new PathMeasure(path, false);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
PathTest.java | 3 import android.graphics.Path; 22 Path path = Robolectric.newInstanceOf(Path.class); local 23 path.quadTo(0, 5, 10, 15); 24 ShadowPath shadowPath = shadowOf(path); 30 Path path = Robolectric.newInstanceOf(Path.class); local 31 path.moveTo(2, 3) 42 Path path = Robolectric.newInstanceOf(Path.class); local [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
PathsCacheActivity.java | 23 import android.graphics.Path; 33 private Path mPath; 37 private final ArrayList<Path> mPathList = new ArrayList<Path>(); 49 private static Path makePath() { 50 Path path = new Path(); local 51 buildPath(path); 52 return path; 63 Path path = new Path(); local 115 Path path = makePath(); local [all...] |
SmallCircleActivity.java | 23 import android.graphics.Path; 49 private final Path mPath; 54 mPath = new Path(); 55 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.275f, Path.Direction.CW); 56 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.225f, Path.Direction.CCW);
|