/developers/samples/android/experimental/ndkSampleGen/ |
build.gradle | 38 //Get absolute path of input path 39 FileTree inputFileTree = project.fileTree(sample.@path) 40 def inputPath = inputFileTree.getFiles().iterator().next().parentFile.absolutePath //sample.@path 42 println "Input path : " + inputPath 85 String collapsed = collapsedPaths.get(fcd.file.path); 86 fcd.path = "src/${collapsed}"; 101 def inputPath = sample.@path 166 def buildPath = (repoInfo =~ /Mount path: (.*)/)[0][1] 172 * Collapse a path "IntelliJ-style" by putting dots rather than slashes betwee [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
ChainedData.java | 92 public Data getChild(String path) { 96 Data child = d.getChild(path); 100 // style of VariableLocator that does not iteratively ask for each HDF path element 124 logger.info("Found " + children.size() + " matches for path " + path); 130 public Data createChild(String path) { 131 Data child = getChild(path); 136 return dataList[0].createChild(path); 141 public String getValue(String path, String defaultValue) { 142 Data child = getChild(path); [all...] |
DelegatedData.java | 196 public Data getChild(String path) { 197 return newInstance(getDelegate().getChild(path)); 201 public Data createChild(String path) { 202 return newInstance(getDelegate().createChild(path)); 206 public void removeTree(String path) { 207 getDelegate().removeTree(path); 245 public String getValue(String path, String defaultValue) { 246 return getDelegate().getValue(path, defaultValue); 250 public int getIntValue(String path, int defaultValue) { 251 return getDelegate().getIntValue(path, defaultValue) [all...] |
/external/lldb/utils/test/ |
run-dis.py | 5 and path pattern. 32 def isbinary(path): 33 file_output = subprocess.Popen(["file", path], 43 path = os.path.join(root, name) 49 if os.path.islink(path): 52 # We'll be pattern matching based on the path relative to the SDK root. 53 replaced_path = path.replace(root_dir, "", 1) 54 # Check regular expression match for the replaced path [all...] |
/external/skia/bench/ |
HairlinePathBench.cpp | 59 SkPath path; variable 60 this->makePath(&path); 63 path.transform(m); 68 canvas->drawPath(path, paint); 87 void makePath(SkPath* path) override { 100 path->moveTo(SkIntToScalar(points[base1] + xTrans), 102 path->lineTo(SkIntToScalar(points[base2] + xTrans), 104 path->lineTo(SkIntToScalar(points[base3] + xTrans), 119 void makePath(SkPath* path) override { 132 path->moveTo(SkIntToScalar(points[base1] + xTrans) [all...] |
/external/skia/gm/ |
strokes.cpp | 148 static void make0(SkPath* path, const SkRect& bounds, SkString* title) { 149 path->addRect(bounds, SkPath::kCW_Direction); 150 path->addRect(inset(bounds), SkPath::kCW_Direction); 154 static void make1(SkPath* path, const SkRect& bounds, SkString* title) { 155 path->addRect(bounds, SkPath::kCW_Direction); 156 path->addRect(inset(bounds), SkPath::kCCW_Direction); 160 static void make2(SkPath* path, const SkRect& bounds, SkString* title) { 161 path->addOval(bounds, SkPath::kCW_Direction); 162 path->addOval(inset(bounds), SkPath::kCW_Direction); 166 static void make3(SkPath* path, const SkRect& bounds, SkString* title) [all...] |
/external/skia/src/gpu/ |
GrPathRendering.h | 22 * Abstract class wrapping HW path rendering API. 24 * The subclasses of this class use the possible HW API to render paths (as opposed to path 62 SkFAIL("Unknown path transform type"); 80 * Creates a new gpu path, based on the specified path and stroke and returns it. 81 * The caller owns a ref on the returned path which must be balanced by a call to unref. 83 * @param skPath the path geometry. 84 * @param stroke the path stroke. 85 * @return a new path. 91 * returned path range which must be balanced by a call to unref [all...] |
/external/skia/tests/ |
PathCoverageTest.cpp | 113 SkPoint path [3]; local 114 path[1] = SkPoint::Make(SkIntToScalar(array[0]), SkIntToScalar(array[1])); 115 path[2] = SkPoint::Make(SkIntToScalar(array[2]), SkIntToScalar(array[3])); 118 path[0] = path[1]; 119 path[1] = path[2]; 120 path[2] = SkPoint::Make(SkIntToScalar(array[i]), 123 quadraticPointCount_CC(path, SkIntToScalar(1)); 125 quadraticPointCount_EE(path); [all...] |
/external/skia/tools/ |
git-sync-deps | 14 GIT_EXECUTABLE: path to "git" binary; if unset, will look for one of 15 ['git', 'git.exe', 'git.bat'] in your default path. 24 cd path/to/repository 28 cd path/to/repository 59 DEFAULT_DEPS_PATH = os.path.normpath( 60 os.path.join(os.path.dirname(__file__), os.pardir, 'DEPS')) 91 directory (string) the path into which the repository 97 return os.path.realpath(directory) == os.path.realpath(toplevel [all...] |
/frameworks/compile/mclinker/unittests/ |
PathTest.cpp | 21 m_pTestee = new Path(); 47 m_pTestee = new Path(root); 57 m_pTestee = new Path(root); 67 m_pTestee = new Path(root); 78 m_pTestee = new Path(root); 87 Path* p2 = new Path("ccc///////"); 92 m_pTestee = new Path(root); 99 Path* p2 = new Path("aaa//") [all...] |
/ndk/tests/ |
run-libcxx.sh | 42 ADB="adb -s $DEVICE_arm" PATH=$TOOLCHAIN_DIR_ARM/bin:$PATH \ 50 ADB="adb -s $DEVICE_x86" PATH=$TOOLCHAIN_DIR_X86/bin:$PATH \ 58 ADB="adb -s $DEVICE_mips" PATH=$TOOLCHAIN_DIR_MIPS/bin:$PATH \ 66 ADB="adb -s $DEVICE_arm" PATH=$TOOLCHAIN_DIR_ARM/bin:$PATH \ 74 ADB="adb -s $DEVICE_x86" PATH=$TOOLCHAIN_DIR_X86/bin:$PATH \ [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/algorithms/shortest_paths/ |
astar.py | 2 """Shortest paths and path lengths using A* ("A star") algorithm. 22 """Return a list of nodes in a shortest path between source and target 25 There may be more than one shortest path. This returns only one. 32 Starting node for path 35 Ending node for path 48 If no path exists between source and target. 95 path = [curnode] 98 path.append(node) 100 path.reverse() 101 return path [all...] |
/external/chromium-trace/trace-viewer/third_party/Paste/paste/debug/ |
doctest_webapp.py | 23 here = os.path.abspath(__file__) 24 paste_parent = os.path.dirname( 25 os.path.dirname(os.path.dirname(here))) 60 env['PATH'] = (env.get('PATH', '') 62 + os.path.join(paste_parent, 'scripts') 64 + os.path.join(paste_parent, 'paste', '3rd-party', 85 full = os.path.join(dir, fn) 86 if os.path.isdir(full) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
PathAnimations.java | 26 import android.graphics.Path; 42 /** This application demonstrates the use of Path animation. */ 46 final static Path sTraversalPath = new Path(); 82 sTraversalPath.addCircle(3.5f, 3.5f, 0.5f, Path.Direction.CCW); 136 Path path = mCanvasView.getPath(); local 137 if (path.isEmpty()) { 144 // coordinates of the Path and set them on the view object. 148 mAnimator = ObjectAnimator.ofFloat(view, "x", "y", path); [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/animation/ |
TestCameraMotionPath.java | 60 private MotionPath path; field in class:TestCameraMotionPath 77 path = new MotionPath(); 78 path.setCycle(true); 79 path.addWayPoint(new Vector3f(20, 3, 0)); 80 path.addWayPoint(new Vector3f(0, 3, 20)); 81 path.addWayPoint(new Vector3f(-20, 3, 0)); 82 path.addWayPoint(new Vector3f(0, 3, -20)); 83 path.setCurveTension(0.83f); 84 path.enableDebugShape(assetManager, rootNode); 86 cameraMotionControl = new MotionTrack(camNode, path); [all...] |
/external/selinux/policycoreutils/sepolicy/sepolicy/ |
interface.py | 48 def get_interfaces_from_xml(path): 51 idict = get_interface_dict(path) 57 def get_all_interfaces(path=""): 60 if not path: 63 xml_path = get_xml_file(path) 68 def get_admin(path=""): 72 if path: 74 xml_path = get_xml_file(path) 89 def get_user(path=""): 93 if path [all...] |
/external/v8/test/test262-es6/ |
testcfg.py | 53 self.testroot = os.path.join(self.root, *TEST_262_SUITE_PATH) 54 self.harnesspath = os.path.join(self.root, *TEST_262_HARNESS_PATH) 55 self.harness = [os.path.join(self.harnesspath, f) 57 self.harness += [os.path.join(self.root, "harness-adapt.js")] 61 return testcase.path.split(os.path.sep)[-1] 74 testname = os.path.join(dirname[len(self.testroot) + 1:], 83 [os.path.join(self.testroot, testcase.path + ".js")]) 87 root = os.path.join(self.root, *TEST_262_TOOLS_PATH [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
FilterUtils.java | 21 import com.android.gallery3d.data.Path; 41 // newPath operation: create a new path based on a source path and put an extra 52 // For all fixed set in the path defined above, if some clusterType and 80 public static void setupMenuItems(GalleryActionBar actionBar, Path path, boolean inAlbum) { 82 getAppliedFilters(path, result); 117 // Gets the filters applied in the path. 118 private static void getAppliedFilters(Path path, int[] result) [all...] |
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/ |
dictionary_structure_with_buffer_policy_factory.cpp | 40 const char *const path, const int bufOffset, const int size, 42 if (FileUtils::existsDir(path)) { 43 // Given path represents a directory. 44 return newPolicyForDirectoryDict(path, isUpdatable); 47 AKLOGE("One file dictionaries don't support updating. path: %s", path); 51 return newPolicyForFileDict(path, bufOffset, size); 102 const char *const path, const bool isUpdatable) { 105 getHeaderFilePathInDictDir(path, headerFilePathBufSize, headerFilePath); 119 AKLOGE("Given path is a directory but the format is version 2xx. path: %s", path) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_unicode_file.py | 35 if os.path.exists(filename): 45 self.assertTrue(os.path.exists(filename)) 46 self.assertTrue(os.path.isfile(filename)) 48 self.assertTrue(os.path.exists(os.path.abspath(filename))) 49 self.assertTrue(os.path.isfile(os.path.abspath(filename))) 50 self.assertTrue(os.access(os.path.abspath(filename), os.R_OK)) 58 os.path.abspath(filename)==os.path.abspath(glob.glob(filename)[0]) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_unicode_file.py | 35 if os.path.exists(filename): 45 self.assertTrue(os.path.exists(filename)) 46 self.assertTrue(os.path.isfile(filename)) 48 self.assertTrue(os.path.exists(os.path.abspath(filename))) 49 self.assertTrue(os.path.isfile(os.path.abspath(filename))) 50 self.assertTrue(os.access(os.path.abspath(filename), os.R_OK)) 58 os.path.abspath(filename)==os.path.abspath(glob.glob(filename)[0]) [all...] |
/external/skia/include/core/ |
SkPath.h | 44 /** Returns true if the caller is the only owner of the underlying path data */ 57 /** Same as Winding, but draws outside of the path, rather than inside 60 /** Same as EvenOdd, but draws outside of the path, rather than inside 65 /** Return the path's fill type. This is used to define how "inside" is 68 @return the path's fill type 72 /** Set the path's fill type. This is used to define how "inside" is 75 @param ft The new fill type for this path 99 * Return the path's convexity, as stored in the path. If it is currently unknown, 119 * Store a convexity setting in the path. There is no automatic check t [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
DexPathList.java | 38 * One of the lists is a dex/resource path — typically referred 39 * to as a "class path" — list, and the other names directories 40 * containing native code libraries. Class path entries may be any of: 57 * List of dex/resource (class path) elements. 63 /** List of native library path elements. */ 82 * @param dexPath list of dex/resource path elements, separated by 84 * @param libraryPath list of native library directory path elements, 126 // 1. This class loader's library path for application libraries (libraryPath): 128 // 1.2. Path to libraries in apk-files 129 // 2. The VM's library path from the system property for system librarie 225 String path = file.getPath(); local 400 String path = element.findNativeLibrary(fileName); local 484 String path = new File(dir, name).getPath(); local [all...] |
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
WindowsFakeFileSystemTest.groovy | 57 assert fileSystem.path(null, null) == "" 58 assert fileSystem.path(null, "abc") == "abc" 59 assert fileSystem.path("abc", null) == "abc" 60 assert fileSystem.path("", "") == "" 61 assert fileSystem.path("", "abc") == "abc" 62 assert fileSystem.path("abc", "") == "abc" 63 assert fileSystem.path("abc", "def") == "abc" + SEP + "def" 64 assert fileSystem.path("abc\\", "def") == "abc\\def" 65 assert fileSystem.path("c:/abc/", "def") == "c:\\abc\\def" 66 assert fileSystem.path("d:\\abc", "\\def") == "d:\\abc\\def [all...] |
/developers/build/prebuilts/gradle/BeamLargeFiles/Application/src/main/java/com/example/android/common/assetprovider/ |
AssetProvider.java | 62 // interface. Looks up the file indicated by /res/assets/{uri.path}, and returns the MIME 66 String path = uri.getPath(); local 69 if (!fileExists(path)) { 83 // /res/assets/{uri.path} will be returned. 92 String path = uri.getPath(); local 94 return mAssets.openFd(path); 103 * @param path Fully qualified path to file. 106 private boolean fileExists(String path) { 109 mAssets.openFd(path).close() [all...] |