/frameworks/base/core/java/android/gesture/ |
GestureStroke.java | 21 import android.graphics.Path; 42 private Path mCachedPath; 113 public Path getPath() { 125 Path path = null; local 133 if (path == null) { 134 path = new Path(); 135 path.moveTo(x, y); 142 path.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2) 175 Path path = null; local [all...] |
/frameworks/base/core/java/android/view/animation/ |
PathInterpolator.java | 22 import android.graphics.Path; 30 * An interpolator that can traverse a Path that extends from <code>Point</code> 31 * <code>(0, 0)</code> to <code>(1, 1)</code>. The x coordinate along the <code>Path</code> 33 * This means that the Path must conform to a function <code>y = f(x)</code>. 35 * <p>The <code>Path</code> must not have gaps in the x direction and must not 39 * Path path = new Path(); 40 * path.lineTo(0.25f, 0.25f); 41 * path.moveTo(0.25f, 0.5f) 110 Path path = PathParser.createPathFromPathData(pathData); local 144 Path path = new Path(); local 151 Path path = new Path(); local [all...] |
/frameworks/compile/mclinker/lib/MC/ |
Input.cpp | 43 const sys::fs::Path& pPath, 58 const sys::fs::Path& pPath,
|
/frameworks/compile/mclinker/tools/mcld/include/mcld/ |
PositionalOptions.h | 13 #include <mcld/Support/Path.h> 51 llvm::cl::list<mcld::sys::fs::Path>& m_InputObjectFiles;
|
/frameworks/compile/mclinker/unittests/ |
FragmentRefTest.cpp | 16 #include <mcld/Support/Path.h> 47 Path path(TOPDIR); 48 path.append("unittests/test3.txt"); 50 MemoryArea* area = areaFactory->produce(path, FileHandle::ReadWrite);
|
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...] |
/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());
|
/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...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/httpfs/ |
http_fs.cc | 44 Error HttpFs::OpenWithMode(const Path& path, int open_flags, mode_t mode, 48 ScopedNode node = FindExistingNode(path); 55 std::string url = MakeUrl(path); 66 error = FindOrCreateDir(path.Parent(), &parent); 70 error = parent->AddChild(path.Basename(), node); 74 node_cache_[path.Join()] = node; 79 ScopedNode HttpFs::FindExistingNode(const Path& path) { 80 NodeMap_t::iterator iter = node_cache_.find(path.Join()) [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...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLAreaElement.cpp | 32 #include "platform/graphics/Path.h" 77 m_region = adoptPtr(new Path(getRegion(size))); 89 Path HTMLAreaElement::computePath(RenderObject* obj) const 92 return Path(); 102 Path p = getRegion(size); 119 Path HTMLAreaElement::getRegion(const LayoutSize& size) const 122 return Path(); 138 Path path; local 143 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/third_party/WebKit/Source/core/rendering/ |
ClipPathOperation.h | 34 #include "platform/graphics/Path.h" 105 const Path& path(const FloatRect& boundingRect) function in class:blink::FINAL 109 m_path = adoptPtr(new Path); 110 m_shape->path(*m_path, boundingRect); 124 OwnPtr<Path> m_path;
|
/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);
|