HomeSort by relevance Sort by last modified time
    Searched full:path (Results 501 - 525 of 27077) sorted by null

<<21222324252627282930>>

  /external/skia/gm/
degeneratesegments.cpp 35 // do not want the moveTo that is added at the beginning of a path to
36 // appear in the appended path.
37 static SkPoint AddMove(SkPath& path, SkPoint& startPt) {
39 path.moveTo(moveToPt);
43 static SkPoint AddMoveClose(SkPath& path, SkPoint& startPt) {
45 path.moveTo(moveToPt);
46 path.close();
50 static SkPoint AddDegenLine(SkPath& path, SkPoint& startPt) {
51 path.lineTo(startPt);
55 static SkPoint AddMoveDegenLine(SkPath& path, SkPoint& startPt)
324 SkPath path; local
    [all...]
inversepaths.cpp 14 SkPath path; local
15 path.addRect(rect);
16 return path;
21 SkPath path; local
22 path.addRect(rect);
23 return path;
27 SkPath path; local
28 path.addCircle(cx, cy, d/2, SkPath::kCW_Direction);
29 return path;
33 SkPath path; local
108 SkPath path = paths[pathIndex](cx, cy, size); local
    [all...]
hittestpath.cpp 13 static void test_hittest(SkCanvas* canvas, const SkPath& path) {
15 SkRect r = path.getBounds();
18 canvas->drawPath(path, paint);
25 if (path.contains(x, y)) {
33 SkPath path; local
43 path.lineTo(randoms[0] * scale, randoms[1] * scale);
44 path.quadTo(randoms[2] * scale, randoms[3] * scale,
46 path.cubicTo(randoms[6] * scale, randoms[7] * scale,
51 path.setFillType(SkPath::kEvenOdd_FillType);
52 path.offset(SkIntToScalar(20), SkIntToScalar(20))
    [all...]
  /device/htc/flounder/
mixer_paths_0.xml 14 <path name="speaker">
16 </path>
18 <path name="headphones">
21 </path>
23 <path name="speaker-and-headphones">
27 </path>
29 <path name="bt-sco-headset">
30 </path>
32 <path name="bt-sco-mic">
33 </path>
    [all...]
  /external/autotest/client/cros/tendo/n_faced_peerd/
object_manager.py 17 paths. All returned object paths are children of the object path
19 the ObjectManager's object path plus '/'.
24 combination of object path and interface. If an interface has no
40 def __init__(self, bus, path):
41 super(ObjectManager, self).__init__(bus, path)
45 def claim_interface(self, path, interface_name, property_getter):
48 @param path: string object path of object exposed.
55 logging.debug('claim_interface(%s, %s, ...)', path, interface_name)
56 if path in self._paths
    [all...]
  /external/jsoncpp/scons-tools/
targz.py 13 import os.path namespace
30 def archive_name( path ):
31 path = os.path.normpath( os.path.abspath( path ) )
32 common_path = os.path.commonprefix( (base_dir, path) )
33 archive_name = path[len(common_path):]
38 path = os.path.join(dirname, name
    [all...]
  /external/llvm/test/Bindings/Go/
lit.local.cfg 12 def find_executable(executable, path=None):
13 if path is None:
14 path = os.environ['PATH']
15 paths = path.split(os.pathsep)
16 base, ext = os.path.splitext(executable)
21 if not os.path.isfile(executable):
23 f = os.path.join(p, executable)
24 if os.path.isfile(f):
42 path = find_executable(args[0]
    [all...]
  /external/dbus/cmake/modules/
Win32Macros.cmake 21 get_filename_component(CMAKE_BIN_PATH ${CMAKE_COMMAND} PATH)
25 get_filename_component(QT_BIN_PATH ${QT_QMAKE_EXECUTABLE} PATH)
32 get_filename_component(MINGW_BIN_PATH ${CMAKE_CXX_COMPILER} PATH)
34 write_file (${CMAKE_BINARY_DIR}/${_projectname}-shell.bat "set PATH=${ADD_PATH};%PATH%\ncmd.exe")
37 get_filename_component(VC_BIN_PATH ${CMAKE_CXX_COMPILER} PATH)
38 write_file (${CMAKE_BINARY_DIR}/${_projectname}-shell.bat "set PATH=${ADD_PATH};%PATH%\ncall \"${VC_BIN_PATH}\\vcvars32.bat\"\ncmd.exe")
40 write_file (${CMAKE_BINARY_DIR}/${_projectname}-sln.bat "set PATH=${ADD_PATH};%PATH%\nstart ${_projectname}.sln"
    [all...]
  /external/lzma/CPP/Windows/
DLL.cpp 26 bool CLibrary::LoadEx(CFSTR path, DWORD flags) throw()
33 _module = ::LoadLibraryEx(fs2fas(path), NULL, flags);
38 _module = ::LoadLibraryExW(fs2us(path), NULL, flags);
43 bool CLibrary::Load(CFSTR path) throw()
50 _module = ::LoadLibrary(fs2fas(path));
55 _module = ::LoadLibraryW(fs2us(path));
60 bool MyGetModuleFileName(FString &path)
63 path.Empty();
72 path = fas2fs(s);
84 path = us2fs(s);
    [all...]
  /external/skia/tests/
EmptyPathTest.cpp 14 static void drawAndTest(skiatest::Reporter* reporter, const SkPath& path,
25 canvas.drawPath(path, p);
44 str = "Path expected to draw everywhere, but didn't. ";
46 str = "Path expected to draw nowhere, but did. ";
51 paint.isAntiAlias(), path.getFillType(), path.countPoints());
53 // canvas.drawPath(path, p);
62 static void iter_paint(skiatest::Reporter* reporter, const SkPath& path, bool shouldDraw,
95 drawAndTest(reporter, path, paint, shouldDraw);
97 drawAndTest(reporter, path, paint, shouldDraw)
136 SkPath path; local
    [all...]
  /frameworks/base/graphics/java/android/graphics/
PathMeasure.java 20 private Path mPath;
24 * of a path, and/or to find the position and tangent along it, call
27 * Note that once a path is associated with the measure object, it is
28 * undefined if the path is subsequently modified and the the measure object
29 * is used. If the path is modified, you must call setPath with the path.
37 * Create a PathMeasure object associated with the specified path object
39 * path's length, and the position and tangent of any position along the
40 * path.
42 * Note that once a path is associated with the measure object, it i
    [all...]
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
PathTest.java 27 Path path = new Path(); local
29 final Path.FillType defaultFillType = path.getFillType();
30 final Path.FillType fillType = Path.FillType.INVERSE_EVEN_ODD;
33 path.setFillType(fillType);
34 path.reset();
35 assertEquals(path.getFillType(), fillType)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
Path.java 25 public class Path {
26 private static final String TAG = "Path";
27 private static Path sRoot = new Path(null, "ROOT");
29 private final Path mParent;
32 private IdentityCache<String, Path> mChildren;
34 private Path(Path parent, String segment) {
39 public Path getChild(String segment) {
40 synchronized (Path.class)
96 String path = toString(); local
    [all...]
SecureSource.java 37 public static boolean isSecurePath(String path) {
38 return (SECURE_ALBUM == mMatcher.match(Path.fromString(path)));
42 public MediaObject createMediaObject(Path path) {
43 switch (mMatcher.match(path)) {
48 return new SecureAlbum(path, mApplication, unlock);
51 return new UnlockImage(path, mApplication);
53 throw new RuntimeException("bad path: " + path);
    [all...]
  /prebuilts/go/darwin-x86/src/os/exec/
lp_plan9.go 13 // ErrNotFound is the error resulting if a path search failed to find an executable file.
14 var ErrNotFound = errors.New("executable file not found in $path")
28 // in the directories named by the path environment variable.
30 // directly and the path is not consulted.
31 // The result may be an absolute path or a path relative to the current directory.
33 // skip the path lookup for these prefixes
46 path := os.Getenv("path")
47 for _, dir := range strings.Split(path, "\000")
    [all...]
  /prebuilts/go/darwin-x86/src/path/filepath/
path_plan9.go 9 // IsAbs reports whether the path is absolute.
10 func IsAbs(path string) bool {
11 return strings.HasPrefix(path, "/") || strings.HasPrefix(path, "#")
16 func volumeNameLen(path string) int {
25 func splitList(path string) []string {
26 if path == "" {
29 return strings.Split(path, string(ListSeparator))
32 func abs(path string) (string, error) {
33 return unixAbs(path)
    [all...]
  /prebuilts/go/linux-x86/src/os/exec/
lp_plan9.go 13 // ErrNotFound is the error resulting if a path search failed to find an executable file.
14 var ErrNotFound = errors.New("executable file not found in $path")
28 // in the directories named by the path environment variable.
30 // directly and the path is not consulted.
31 // The result may be an absolute path or a path relative to the current directory.
33 // skip the path lookup for these prefixes
46 path := os.Getenv("path")
47 for _, dir := range strings.Split(path, "\000")
    [all...]
  /prebuilts/go/linux-x86/src/path/filepath/
path_plan9.go 9 // IsAbs reports whether the path is absolute.
10 func IsAbs(path string) bool {
11 return strings.HasPrefix(path, "/") || strings.HasPrefix(path, "#")
16 func volumeNameLen(path string) int {
25 func splitList(path string) []string {
26 if path == "" {
29 return strings.Split(path, string(ListSeparator))
32 func abs(path string) (string, error) {
33 return unixAbs(path)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/
test_clean.py 20 dirs = [(d, os.path.join(pkg_dir, d))
24 for name, path in dirs:
25 os.mkdir(path)
26 setattr(cmd, name, path)
30 self.write_file(os.path.join(path, f))
38 for name, path in dirs:
39 self.assertTrue(not os.path.exists(path),
40 '%s was not removed' % path)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/
test_clean.py 20 dirs = [(d, os.path.join(pkg_dir, d))
24 for name, path in dirs:
25 os.mkdir(path)
26 setattr(cmd, name, path)
30 self.write_file(os.path.join(path, f))
38 for name, path in dirs:
39 self.assertTrue(not os.path.exists(path),
40 '%s was not removed' % path)
    [all...]
  /external/clang/bindings/python/tests/cindex/
test_translation_unit.py 17 kInputsDir = os.path.join(os.path.dirname(__file__), 'INPUTS')
20 path = os.path.join(kInputsDir, 'hello.cpp')
21 tu = TranslationUnit.from_source(path)
22 assert tu.spelling == path
25 path = os.path.join(kInputsDir, 'hello.cpp')
26 tu = get_tu(path)
32 path = os.path.join(kInputsDir, 'parse_arguments.c'
    [all...]
  /external/jsoncpp/devtools/
fixeol.py 2 import os.path namespace
4 def fix_source_eol( path, is_dry_run = True, verbose = True, eol = '\n' ):
6 if not os.path.isfile( path ):
7 raise ValueError( 'Path "%s" is not a file' % path )
9 f = open(path, 'rb')
19 print('%s =>' % path, end=' ')
21 f = open(path, "wb")
38 ## for path in python_sources
    [all...]
  /frameworks/base/docs/html/distribute/essentials/
_book.yaml 3 path: /distribute/essentials/quality/core.html
9 path: /distribute/essentials/quality/tablets.html
15 path: /distribute/essentials/quality/wear.html
18 path: /distribute/essentials/quality/tv.html
21 path: /distribute/essentials/quality/auto.html
24 path: /distribute/essentials/quality/billions.html
27 path: /distribute/tools/launch-checklist.html
33 path: /distribute/tools/localization-checklist.html
39 path: /distribute/tools/promote/brand.html
45 path: /distribute/tools/promote/device-art.htm
    [all...]
  /frameworks/base/tools/aapt2/
Source.h 33 std::string path; member in struct:aapt::Source
38 inline Source(const StringPiece& path) : path(path.toString()) {
41 inline Source(const StringPiece& path, size_t line) : path(path.toString()), line(line) {
45 return Source(path, line);
54 out << source.path;
62 return lhs.path == rhs.path && lhs.line == rhs.line
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
macpath.py 1 """Pathname and path-related operations for the Macintosh."""
16 # strings representing various path-related bits and pieces
28 def normcase(path):
29 return path.lower()
33 """Return true if a path is absolute.
43 path = s
46 path = t
50 if ':' not in path:
51 path = ':' + path
    [all...]

Completed in 591 milliseconds

<<21222324252627282930>>