/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/llvm/include/llvm/Support/ |
FileSystem.h | 12 // path class. 269 /// @brief Make \a path an absolute path. 271 /// Makes \a path absolute using the \a current_directory if it is not already. 272 /// An empty \a path will result in the \a current_directory. 274 /// /absolute/path => /absolute/path 275 /// relative/../path => <current-directory>/relative/../path 277 /// @param path A path that is modified to be an absolute path 711 const std::string &path() const { return Path; } function in class:llvm::sys::fs::directory_entry [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Path.java | 23 * The Path class encapsulates compound (multiple contour) geometric paths 25 * It can be drawn with canvas.drawPath(path, paint), either filled or stroked 27 * text on a path. 29 public class Path { 46 * Create an empty path 48 public Path() { 53 * Create a new path, copying the contents from the src path. 55 * @param src The path to copy from when initializing the new path [all...] |
/frameworks/compile/mclinker/unittests/ |
LinkerTest.cpp | 19 #include "mcld/Support/Path.h" 83 Path search_dir(TOPDIR); 99 Path crtbegin(search_dir); 104 Path plasma(TOPDIR); 115 Path crtend(search_dir); 141 Path search_dir(TOPDIR); 158 Path crtbegin(search_dir); 163 Path plasma(TOPDIR); 174 Path crtend(search_dir); 239 Path search_dir(TOPDIR) [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/clang/lib/Frontend/Rewrite/ |
FrontendActions.cpp | 23 #include "llvm/Support/Path.h" 69 SmallString<128> Path(Filename); 70 llvm::sys::path::replace_extension(Path, 71 NewSuffix + llvm::sys::path::extension(Path)); 72 return Path.str(); 79 SmallString<128> Path; 80 llvm::sys::fs::createTemporaryFile(llvm::sys::path::filename(Filename), 81 llvm::sys::path::extension(Filename).drop_front(), fd [all...] |
/external/skia/dm/ |
DMSrcSink.h | 30 typedef ImplicitString Path; 122 CodecSrc(Path, Mode, DstColorType, SkAlphaType, float); 130 Path fPath; 147 AndroidCodecSrc(Path, Mode, CodecSrc::DstColorType, SkAlphaType, int sampleSize); 155 Path fPath; 176 BRDSrc(Path, SkBitmapRegionDecoder::Strategy, Mode, CodecSrc::DstColorType, uint32_t); 183 Path fPath; 192 explicit SKPSrc(Path path); 198 Path fPath [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/clang/lib/Basic/ |
FileManager.cpp | 28 #include "llvm/Support/Path.h" 111 if (llvm::sys::path::is_separator(Filename[Filename.size() - 1])) 114 StringRef DirName = llvm::sys::path::parent_path(Filename); 115 // Use the current directory if file has no path component. 122 /// Add all ancestors of the given path (pointing to either a file or 124 void FileManager::addAncestorsAsVirtualDirs(StringRef Path) { 125 StringRef DirName = llvm::sys::path::parent_path(Path); 155 DirName != llvm::sys::path::root_path(DirName) && 156 llvm::sys::path::is_separator(DirName.back()) [all...] |
/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/packages/SystemUI/src/com/android/systemui/recents/misc/ |
FreePathInterpolator.java | 19 import android.graphics.Path; 24 * An interpolator that can traverse a Path. The x coordinate along the <code>Path</code> 26 * This means that the Path must conform to a function <code>y = f(x)</code>. 28 * <p>The <code>Path</code> must not have gaps in the x direction and must not 32 * Path path = new Path(); 33 * path.lineTo(0.25f, 0.25f); 34 * path.moveTo(0.25f, 0.5f) [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();
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
TranslationAnimationCreator.java | 7 import android.graphics.Path; 52 Path path = new Path(); local 53 path.moveTo(startX, 0); 54 path.lineTo(endX, 0); 56 ObjectAnimator.ofFloat(view, View.TRANSLATION_X, View.TRANSLATION_Y, path);
|
/prebuilts/go/darwin-x86/src/net/http/cookiejar/ |
jar.go | 67 // their name/domain/path. 95 Path string 105 // deterministic order, even for cookies that have equal Path length and 110 // Id returns the domain;path;name triple of e as an id. 112 return fmt.Sprintf("%s;%s;%s", e.Domain, e.Path, e.Name) 116 // request to host/path. It is the caller's responsibility to check if the 118 func (e *entry) shouldSend(https bool, host, path string) bool { 119 return e.domainMatch(host) && e.pathMatch(path) && (https || !e.Secure) 130 // pathMatch implements "path-match" according to RFC 6265 section 5.1.4. 132 if requestPath == e.Path { [all...] |
/prebuilts/go/linux-x86/src/net/http/cookiejar/ |
jar.go | 67 // their name/domain/path. 95 Path string 105 // deterministic order, even for cookies that have equal Path length and 110 // Id returns the domain;path;name triple of e as an id. 112 return fmt.Sprintf("%s;%s;%s", e.Domain, e.Path, e.Name) 116 // request to host/path. It is the caller's responsibility to check if the 118 func (e *entry) shouldSend(https bool, host, path string) bool { 119 return e.domainMatch(host) && e.pathMatch(path) && (https || !e.Secure) 130 // pathMatch implements "path-match" according to RFC 6265 section 5.1.4. 132 if requestPath == e.Path { [all...] |
/external/llvm/lib/CodeGen/ |
Analysis.cpp | 329 /// Return true if this scalar return value only has bits discarded on its path 392 /// represented is SubTypes.back()->getTypeAtIndex(Path.back() - 1). 394 /// @param Path Set of extractvalue indices leading from the outermost type 399 /// false. SubTypes.back()->getTypeAtIndex(Path.back()) is either an empty 402 SmallVectorImpl<unsigned> &Path) { 404 // coordinates in Path. 405 while (!Path.empty() && !indexReallyValid(SubTypes.back(), Path.back() + 1)) { 406 Path.pop_back(); 411 if (Path.empty() [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
ViewClippingTests.java | 5 import android.graphics.Path; 113 Path mPath = new Path(); 118 Path.Direction.CW);
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
JSystem.cs | 77 return System.IO.Path.GetTempPath();
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
JSystem.cs | 76 return System.IO.Path.GetTempPath();
|
/external/clang/include/clang/Basic/ |
FileManager.h | 166 bool getStatValue(const char *Path, FileData &Data, bool isFile, 169 /// Add all ancestors of the given path (pointing to either a file 171 void addAncestorsAsVirtualDirs(StringRef Path); 243 /// \brief Get the 'stat' information for the given \p Path. 245 /// If the path is relative, it will be resolved against the WorkingDir of the 249 bool getNoncachedStatValue(StringRef Path, 255 /// \brief If path is not absolute and FileSystemOptions set the working 256 /// directory, the path is modified to be relative to the given 258 /// \returns true if \c path changed. 259 bool FixupRelativePath(SmallVectorImpl<char> &path) const [all...] |
/external/clang/include/clang/Lex/ |
ModuleLoader.h | 82 /// \param Path The identifiers (and their locations) of the module 83 /// "path", e.g., "std.vector" would be split into "std" and "vector". 95 ModuleIdPath Path,
|