/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
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...] |
ClusterAlbum.java | 24 private ArrayList<Path> mPaths = new ArrayList<Path>(); 30 public ClusterAlbum(Path path, DataManager dataManager, 32 super(path, nextVersionNumber()); 47 void setMediaItems(ArrayList<Path> paths) { 51 ArrayList<Path> getMediaItems() { 75 ArrayList<Path> paths, int start, int count, 81 ArrayList<Path> subset = new ArrayList<Path>(paths.subList(start, end)) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
Canvas_EdgeTypeTest.java | 20 import android.graphics.Path; 41 c.quickReject(new Path(), EdgeType.AA); 42 c.quickReject(new Path(), EdgeType.BW);
|
PathDashPathEffectTest.java | 24 import android.graphics.Path; 28 import android.graphics.Path.Direction; 48 canvas.drawPath(path(), p); method 73 private static Path path() { method in class:PathDashPathEffectTest 74 Path p = new Path(); 80 private static Path shape() { 81 Path p = new Path(); [all...] |
Path_DirectionTest.java | 19 import android.graphics.Path; 20 import android.graphics.Path.Direction;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGTextPath.cpp | 51 Path RenderSVGTextPath::layoutPath() const 56 return Path(); 60 Path pathData; 63 // Spec: The transform attribute on the referenced 'path' element represents a
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGPathBuilder.h | 32 class Path; 38 void setCurrentPath(Path* path) { m_path = path; } 59 Path* m_path;
|
/frameworks/compile/mclinker/include/mcld/Support/ |
MemoryAreaFactory.h | 13 #include <mcld/Support/Path.h> 46 MemoryArea* produce(const sys::fs::Path& pPath, 50 MemoryArea* produce(const sys::fs::Path& pPath,
|
Directory.h | 14 #include <mcld/Support/Path.h> 27 * \brief A Directory object stores a Path object, a FileStatus object for 46 /// constructor - a directory whose path is pPath 47 explicit Directory(const Path& pPath, 63 void assign(const Path& pPath, 72 /// path - the path of the directory 73 const Path& path() const function in class:mcld::sys::fs::Directory 86 mcld::sys::fs::Path m_Path [all...] |
PathCache.h | 15 #include <mcld/Support/Path.h> 23 mcld::sys::fs::Path,
|
/frameworks/compile/mclinker/lib/MC/ |
ContextFactory.cpp | 17 : UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>(pNum) 25 LDContext* ContextFactory::produce(const sys::fs::Path& pPath) 29 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate();
|
/frameworks/compile/mclinker/lib/Support/ |
FileSystem.cpp | 11 #include <mcld/Support/Path.h> 16 bool mcld::sys::fs::exists(const Path &pPath) 24 bool mcld::sys::fs::is_directory(const Path &pPath)
|
/frameworks/compile/mclinker/tools/mcld/include/mcld/ |
SearchPathOptions.h | 12 #include <mcld/Support/Path.h> 29 llvm::cl::opt<mcld::sys::fs::Path, 31 llvm::cl::parser<mcld::sys::fs::Path> >& m_SysRoot;
|
/external/clang/include/clang/Basic/ |
FileSystemStatCache.h | 61 /// \brief Get the 'stat' information for the specified path, using the cache 64 /// \returns \c true if the path does not exist or \c false if it exists. 71 static bool get(const char *Path, FileData &Data, bool isFile, 93 virtual LookupResult getStat(const char *Path, FileData &Data, bool isFile, 97 LookupResult statChained(const char *Path, FileData &Data, bool isFile, 100 return Next->getStat(Path, Data, isFile, F, FS); 104 return get(Path, Data, isFile, F, nullptr, FS) ? CacheMissing : CacheExists; 122 LookupResult getStat(const char *Path, FileData &Data, bool isFile,
|
/frameworks/compile/mclinker/include/mcld/MC/ |
Input.h | 16 #include <mcld/Support/Path.h> 52 const sys::fs::Path& pPath, 57 const sys::fs::Path& pPath, 70 const sys::fs::Path& path() const function in class:mcld::Input 73 void setPath(const sys::fs::Path& pPath) 132 sys::fs::Path m_Path;
|
/external/clang/lib/Basic/ |
FileSystemStatCache.cpp | 16 #include "llvm/Support/Path.h" 46 /// path, using the cache to accelerate it if possible. This returns true if 47 /// the path does not exist or false if it exists. 54 bool FileSystemStatCache::get(const char *Path, FileData &Data, bool isFile, 62 R = Cache->getStat(Path, Data, isFile, F, FS); 66 llvm::ErrorOr<vfs::Status> Status = FS.status(Path); 82 std::error_code EC = FS.openFileForRead(Path, OwnedFile); 105 // If the path doesn't exist, return failure. 108 // If the path exists, make sure that its "directoryness" matches the clients 122 MemorizeStatCalls::getStat(const char *Path, FileData &Data, bool isFile [all...] |
/external/clang/unittests/Tooling/ |
RewriterTestContext.h | 25 #include "llvm/Support/Path.h" 62 SmallString<1024> Path; 64 std::error_code EC = llvm::sys::fs::createTemporaryFile(Name, "", FD, Path); 71 const FileEntry *File = Files.getFile(Path); 74 StringRef Found = TemporaryFiles.GetOrCreateValue(Name, Path.str()).second; 75 assert(Found == Path); 96 std::string Path = TemporaryFiles.lookup(Name); 97 assert(!Path.empty()); 104 Files.getBufferForFile(Path, nullptr));
|
/external/llvm/bindings/ocaml/bitwriter/ |
bitwriter_ocaml.c | 27 CAMLprim value llvm_write_bitcode_file(value M, value Path) { 28 int res = LLVMWriteBitcodeToFile((LLVMModuleRef) M, String_val(Path));
|
/external/llvm/include/llvm/Support/ |
SpecialCaseList.h | 60 /// Parses the special case list from a file. If Path is empty, returns 63 static SpecialCaseList *create(const StringRef Path, std::string &Error); 69 static SpecialCaseList *createOrDie(const StringRef Path);
|
/external/llvm/lib/Bitcode/Writer/ |
BitWriter.cpp | 20 int LLVMWriteBitcodeToFile(LLVMModuleRef M, const char *Path) { 22 raw_fd_ostream OS(Path, ErrorInfo, sys::fs::F_None);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
RoundRectShape.java | 22 import android.graphics.Path; 38 private Path mPath; // this is what we actually draw 74 mPath = new Path(); 91 // can't call simple constructors, use path 112 mPath.addRoundRect(r, mOuterRadii, Path.Direction.CW); 114 mPath.addRect(r, Path.Direction.CW); 121 mPath.addRoundRect(mInnerRect, mInnerRadii, Path.Direction.CCW); 123 mPath.addRect(mInnerRect, Path.Direction.CCW); 136 shape.mPath = new Path(mPath);
|
/external/clang/lib/Tooling/ |
FileMatchTrie.cpp | 17 #include "llvm/Support/Path.h" 34 /// Each node has storage for up to one path and a map mapping a path segment to 42 /// An insert of a path 45 /// - If the node has a path 'p2' but no children, take the last path segment 51 /// An insert operation is linear in the number of a path's segments. 53 // We cannot put relative paths into the FileMatchTrie as then a path can be 54 // a postfix of another path, violating a core assumption of the trie. 55 if (llvm::sys::path::is_relative(NewPath) [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextOnPathActivity.java | 23 import android.graphics.Path; 30 private Path mPath; 31 private Path mStraightPath; 44 private static Path makePath() { 45 Path path = new Path(); local 46 buildPath(path); 47 return path; 50 private static void buildPath(Path path) 58 Path path = new Path(); local [all...] |
/external/chromium_org/chrome/browser/ui/views/apps/ |
shaped_app_window_targeter.cc | 8 #include "ui/gfx/path.h" 19 gfx::Path* mask) const {
|
shaped_app_window_targeter.h | 21 gfx::Path* mask) const OVERRIDE;
|