/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
GalleryProvider.java | 37 import com.android.gallery3d.data.Path; 73 public static Uri getUriFor(Context context, Path path) { 78 .appendEncodedPath(path.toString().substring(1)) // ignore the leading '/' 92 Path path = Path.fromString(uri.getPath()); local 93 MediaItem item = (MediaItem) mDataManager.getMediaObject(path); 118 Path path = Path.fromString(uri.getPath()) local 180 Path path = Path.fromString(uri.getPath()); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/ |
FileStorage.java | 25 import org.eclipse.core.runtime.Path; 75 return new Path(mFile.getAbsolutePath());
|
/frameworks/compile/mclinker/unittests/ |
LinkerTest.cpp | 19 #include <mcld/Support/Path.h> 90 Path search_dir(TOPDIR); 106 Path crtbegin(search_dir); 111 Path plasma(TOPDIR); 122 Path crtend(search_dir); 148 Path search_dir(TOPDIR); 164 Path crtbegin(search_dir); 169 Path plasma(TOPDIR); 180 Path crtend(search_dir); 245 Path search_dir(TOPDIR) [all...] |
/external/emma/ant/ant14/com/vladium/emma/instr/ |
instrTask.java | 15 import org.apache.tools.ant.types.Path; 58 + ": instrumentation path must be specified", location).fillInStackTrace (); 84 public void setInstrpath (final Path path) 87 m_instrpath = path; 89 m_instrpath.append (path); 97 public Path createInstrpath () 100 m_instrpath = new Path (project); 174 private Path m_instrpath;
|
/external/llvm/lib/Support/ |
IntervalMap.cpp | 19 void Path::replaceRoot(void *Root, unsigned Size, IdxPair Offsets) { 20 assert(!path.empty() && "Can't replace missing root"); 21 path.front() = Entry(Root, Size, Offsets.first); 22 path.insert(path.begin() + 1, Entry(subtree(0), Offsets.second)); 25 NodeRef Path::getLeftSibling(unsigned Level) const { 32 while (l && path[l].offset == 0) 36 if (path[l].offset == 0) 40 NodeRef NR = path[l].subtree(path[l].offset - 1) [all...] |
Path.cpp | 1 //===-- Path.cpp - Implement OS Path Concept ------------------------------===// 10 // This file implements the operating system Path API. 15 #include "llvm/Support/Path.h" 35 using llvm::sys::path::is_separator; 45 StringRef find_first_component(StringRef path) { 53 if (path.empty()) 54 return path; 58 if (path.size() >= 2 && std::isalpha(static_cast<unsigned char>(path[0])) & 241 namespace path { namespace in namespace:llvm::sys [all...] |
/frameworks/rs/driver/ |
rsdPath.cpp | 65 static void cleanup(const Context *rsc, const Path *m) { 72 bool rsdPathInitStatic(const Context *rsc, const Path *m, 78 //LOGE("init path m %p, %p", m, dps); 83 bool rsdPathInitDynamic(const Context *rsc, const Path *m) { 88 void rsdPathDraw(const Context *rsc, const Path *m) { 98 void rsdPathDestroy(const Context *rsc, const Path *m) {
|
/external/clang/unittests/Basic/ |
VirtualFileSystemTest.cpp | 13 #include "llvm/Support/Path.h" 35 ErrorOr<vfs::Status> status(const Twine &Path) { 37 FilesAndDirs.find(Path.str()); 42 std::error_code openFileForRead(const Twine &Path, 56 std::string Path; 58 if (Path.size() < S.size() && S.find(Path) == 0) { 60 if (LastSep == Path.size() || LastSep == Path.size()-1) 68 Path(_Path.str()) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalSource.java | 83 public MediaObject createMediaObject(Path path) { 85 switch (mMatcher.match(path)) { 89 return new LocalAlbumSet(path, mApplication); 91 return new LocalAlbum(path, app, mMatcher.getIntVar(0), true); 93 return new LocalAlbum(path, app, mMatcher.getIntVar(0), false); 103 path, comp, new MediaSet[] {imageSet, videoSet}, bucketId); 106 return new LocalImage(path, mApplication, mMatcher.getIntVar(0)); 108 return new LocalVideo(path, mApplication, mMatcher.getIntVar(0)); 110 throw new RuntimeException("bad path: " + path) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Path.java | 20 * The Path class encapsulates compound (multiple contour) geometric paths 22 * It can be drawn with canvas.drawPath(path, paint), either filled or stroked 24 * text on a path. 26 public class Path { 43 * Create an empty path 45 public Path() { 50 * Create a new path, copying the contents from the src path. 52 * @param src The path to copy from when initializing the new path [all...] |
/external/clang/lib/AST/ |
APValue.cpp | 39 /// Path - The sequence of base classes, fields and array indices to follow to 41 /// may not be such a path. 43 LValuePathEntry Path[InlinePathSpace]; 63 LValuePathEntry *getPath() { return hasPathPtr() ? PathPtr : Path; } 65 return hasPathPtr() ? PathPtr : Path; 81 PathElem Path[InlinePathSpace]; 100 PathElem *getPath() { return hasPathPtr() ? PathPtr : Path; } 102 return hasPathPtr() ? PathPtr : Path; 390 // No lvalue path: just print the offset. 421 // We have an lvalue path. Print it out nicely [all...] |
/dalvik/dx/src/com/android/multidex/ |
ClassReferenceListBuilder.java | 67 private Path path; field in class:ClassReferenceListBuilder 72 * @param inputPath list of path to input jars or folders. Path elements must be separated by 73 * the system path separator: ':' on Unix, ';' on Windows. 76 this(new Path(inputPath)); 79 private ClassReferenceListBuilder(Path path) { 80 this.path = path; 100 Path path = null; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLAreaElement.cpp | 32 #include "platform/graphics/Path.h" 78 m_region = adoptPtr(new Path(getRegion(size))); 90 Path HTMLAreaElement::computePath(RenderObject* obj) const 93 return Path(); 103 Path p = getRegion(size); 120 Path HTMLAreaElement::getRegion(const LayoutSize& size) const 123 return Path(); 139 Path path; local 144 path.moveTo(FloatPoint(minimumValueForLength(m_coords[0], width).toFloat(), minimumValueForLength(m_coo (…) [all...] |
/external/clang/lib/Rewrite/Frontend/ |
FrontendActions.cpp | 23 #include "llvm/Support/Path.h" 68 SmallString<128> Path(Filename); 69 llvm::sys::path::replace_extension(Path, 70 NewSuffix + llvm::sys::path::extension(Path)); 71 return Path.str(); 78 SmallString<128> Path; 79 llvm::sys::fs::createTemporaryFile(llvm::sys::path::filename(Filename), 80 llvm::sys::path::extension(Filename), fd [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
DashPathEffectTest.java | 24 import android.graphics.Path; 48 Path path = new Path(); local 49 path.moveTo(START_X, COORD_Y); 50 path.lineTo(END_X, COORD_Y); 59 canvas.drawPath(path, paint);
|
DiscretePathEffectTest.java | 25 import android.graphics.Path; 51 Path path = new Path(); local 52 path.moveTo(START_X, COORD_Y); 53 path.lineTo(END_X, COORD_Y); 59 canvas.drawPath(path, paint); 67 canvas.drawPath(path, paint); 72 canvas.drawPath(path, paint);
|
EmbossMaskFilterTest.java | 25 import android.graphics.Path; 49 Path path = new Path(); local 50 path.moveTo(START_X, CENTER_Y); 51 path.lineTo(END_X, CENTER_Y); 57 c.drawPath(path, paint);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Clipping.java | 34 private Path mPath; 46 mPath = new Path(); 83 mPath.addCircle(50, 50, 50, Path.Direction.CCW);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/httpfs/ |
http_fs.cc | 44 Error HttpFs::Access(const Path& path, int a_mode) { 47 NodeMap_t::iterator iter = node_cache_.find(path.Join()); 50 std::string url = MakeUrl(path); 68 Error HttpFs::Open(const Path& path, int open_flags, ScopedNode* out_node) { 72 NodeMap_t::iterator iter = node_cache_.find(path.Join()); 79 std::string url = MakeUrl(path); 90 error = FindOrCreateDir(path.Parent(), &parent); 94 error = parent->AddChild(path.Basename(), node) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGPath.cpp | 88 Path* usePath; 133 Path* RenderSVGPath::zeroLengthLinecapPath(const FloatPoint& linecapPosition) const 135 DEFINE_STATIC_LOCAL(Path, tempPath, ()); 159 path().apply(&subpathData, SVGSubpathData::updateFromPathElement);
|
/external/chromium_org/ui/views/window/ |
non_client_view.h | 11 class Path; 76 gfx::Path* window_mask) = 0; 177 void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask);
|
/external/fonttools/Lib/fontTools/pens/ |
reportLabPen.py | 4 from reportlab.graphics.shapes import Path 9 """A pen for drawing onto a reportlab.graphics.shapes.Path object.""" 11 def __init__(self, glyphSet, path=None): 13 if path is None: 14 path = Path() 15 self.path = path 19 self.path.moveTo(x,y) 23 self.path.lineTo(x,y 47 path = sys.argv[1] variable [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ClearActivity.java | 25 import android.graphics.Path; 43 private final Path mPath; 58 mPath = new Path();
|
ScaledPathsActivity.java | 23 import android.graphics.Path; 39 private final Path mPath; 51 mPath = new Path();
|
/external/llvm/lib/CodeGen/ |
Analysis.cpp | 317 /// Return true if this scalar return value only has bits discarded on its path 379 /// represented is SubTypes.back()->getTypeAtIndex(Path.back() - 1). 381 /// @param Path Set of extractvalue indices leading from the outermost type 386 /// false. SubTypes.back()->getTypeAtIndex(Path.back()) is either an empty 389 SmallVectorImpl<unsigned> &Path) { 391 // coordinates in Path. 392 while (!Path.empty() && !indexReallyValid(SubTypes.back(), Path.back() + 1)) { 393 Path.pop_back(); 398 if (Path.empty() [all...] |