/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SelectionManager.java | 23 import com.android.gallery3d.data.Path; 37 private Set<Path> mClickedSet; 49 public void onSelectionChange(Path path, boolean selected); 54 mClickedSet = new HashSet<Path>(); 107 public boolean isItemSelected(Path itemId) { 130 public void toggle(Path path) { 131 if (mClickedSet.contains(path)) { 132 mClickedSet.remove(path); [all...] |
/external/clang/lib/AST/ |
CXXInheritance.cpp | 30 for (paths_iterator Path = begin(), PathEnd = end(); Path != PathEnd; ++Path) 31 Decls.insert(Path->Decls.front()); 56 /// clear - Clear out all prior path information. 92 [this, BaseDecl](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { 93 return FindBaseClass(Specifier, Path, BaseDecl); 113 [this, BaseDecl](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { 114 return FindVirtualBaseClass(Specifier, Path, BaseDecl); 183 // The access of the path down to this record [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/ |
SourceRoot.java | 13 import java.nio.file.Path; 52 * @param localPath the path to the file that was parsed, relative to the source root path. 53 * @param absolutePath the absolute path to the file that was parsed. 56 Result process(Path localPath, Path absolutePath, ParseResult<CompilationUnit> result); 59 private final Path root; 60 private final Map<Path, ParseResult<CompilationUnit>> cache = new ConcurrentHashMap<>(); 65 public SourceRoot(Path root) { 68 throw new IllegalArgumentException("Only directories are allowed as root path!"); 110 final Path path = root.resolve(relativePath); local 142 final Path path = packageAbsolutePath(root, startPackage); local 195 final Path path = packageAbsolutePath(root, startPackage); local 275 final Path path = packageAbsolutePath(root, startPackage); local 324 final Path path = packageAbsolutePath(root, startPackage); local 383 final Path path = fileInPackageRelativePath(startPackage, filename); local 400 final Path path = compilationUnit.getStorage().get().getPath(); local 432 final Path path = root.resolve(cu.getKey()); local 435 save(cu.getValue().getResult().get(), path); local 531 private final Path path; field in class:SourceRoot.ParallelParse [all...] |
/development/samples/browseable/Interpolator/src/com.example.android.interpolator/ |
InterpolatorFragment.java | 20 import android.graphics.Path; 37 * This sample demonstrates the use of animation interpolators and path animations for 40 * view (scale X and Y) along a path. 66 * Path for in (shrinking) animation, from 100% scale to 20%. 68 private Path mPathIn; 70 * Path for out (growing) animation, from 20% to 100%. 72 private Path mPathOut; 102 // selected: the Interpolator, duration and animation path 111 // Animation path is based on whether animating in or out 112 Path path = mIsOut ? mPathIn : mPathOut [all...] |
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/manual/ |
BulkParseTest.java | 15 import java.nio.file.Path; 43 Path workdir = CodeGenerationUtils.mavenModuleRoot(BulkParseTest.class).resolve(Paths.get(temporaryDirectory(), "javaparser_bulkparsetest")); 45 Path openJdkZipPath = workdir.resolve("langtools.zip"); 57 Path path = Paths.get("/usr/lib/jvm/openjdk-9/src.zip"); local 58 bulkTest(new SourceZip(path), "openjdk_src_zip_test_results.txt", new ParserConfiguration().setLanguageLevel(JAVA_9)); 71 TreeMap<Path, List<Problem>> results = new TreeMap<>(comparing(o -> o.toString().toLowerCase())); 85 TreeMap<Path, List<Problem>> results = new TreeMap<>(comparing(o -> o.toString().toLowerCase())); 86 sourceRoot.parse((path, result) -> { 87 if (!path.toString().contains("target")) [all...] |
/frameworks/compile/mclinker/lib/Support/ |
Directory.cpp | 26 const Path dot_path("."); 27 const Path dot_dot_path(".."); 43 Directory::Directory(const Path& pPath, FileStatus st, FileStatus symlink_st) 57 : Directory(sys::fs::Path(pPath), st, symlink_st) { 83 void Directory::assign(const Path& pPath, 156 Path* DirIterator::path() { function in class:mcld::sys::fs::DirIterator 162 const Path* DirIterator::path() const { function in class:mcld::sys::fs::DirIterator 223 const Path* x_path = path() [all...] |
/frameworks/support/transition/src/androidTest/java/androidx/transition/ |
ArcMotionTest.java | 21 import android.graphics.Path; 37 Path expected = arcWithPoint(0, 100, 100, 0, 100, 100); 38 Path path = arcMotion.getPath(0, 100, 100, 0); local 39 assertPathMatches(expected, path); 42 path = arcMotion.getPath(100, 0, 0, -100); 43 assertPathMatches(expected, path); 46 path = arcMotion.getPath(0, -100, -100, 0); 47 assertPathMatches(expected, path); 50 path = arcMotion.getPath(-100, 0, 0, 100) 60 Path path; local 101 Path path = new Path(); local 118 Path path = arcMotion.getPath(0, 100, 100, 0); local 131 Path path = arcMotion.getPath(0, 0, 100, 50); local 171 Path path = arcMotion.getPath(0, 0, 50, 100); local [all...] |
/prebuilts/go/darwin-x86/src/go/importer/ |
importer_test.go | 41 if pkg.Path() != thePackage { 42 t.Fatalf("Path() = %q, want %q", pkg.Path(), thePackage) 47 lookup := func(path string) (io.ReadCloser, error) { 48 if path != "math/bigger" { 49 t.Fatalf("lookup called with unexpected path %q", path) 63 // and that should be recorded in pkg.Path(), at least for the gc toolchain. 64 if pkg.Path() != "math/bigger" { 65 t.Fatalf("Path() = %q, want %q", pkg.Path(), "math/bigger" [all...] |
/prebuilts/go/linux-x86/src/go/importer/ |
importer_test.go | 41 if pkg.Path() != thePackage { 42 t.Fatalf("Path() = %q, want %q", pkg.Path(), thePackage) 47 lookup := func(path string) (io.ReadCloser, error) { 48 if path != "math/bigger" { 49 t.Fatalf("lookup called with unexpected path %q", path) 63 // and that should be recorded in pkg.Path(), at least for the gc toolchain. 64 if pkg.Path() != "math/bigger" { 65 t.Fatalf("Path() = %q, want %q", pkg.Path(), "math/bigger" [all...] |
/libcore/luni/src/test/java/libcore/java/nio/file/ |
Files2Test.java | 50 import java.nio.file.Path; 102 private Path mockPath; 104 private Path mockPath2; 304 Path dirPath = filesSetup.getPathInTestDir(dirName); 325 Path dirPath = filesSetup.getPathInTestDir("dir"); 345 Path deviceFilePath = Paths.get("/dev/null"); 583 public void test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow() 595 Path rootDir = filesSetup.getPathInTestDir("root"); 596 Path dir1 = filesSetup.getPathInTestDir("root/dir1"); 597 Path dir2 = filesSetup.getPathInTestDir("root/dir1/dir2") [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DataManager.java | 49 // path. And it's used to identify a specific media set even if the process is 75 // This is the path for the media set seen by the user at top level. 157 // MediaObject object = peekMediaObject(path); 162 public MediaObject peekMediaObject(Path path) { 163 return path.getObject(); 166 public MediaObject getMediaObject(Path path) { 168 MediaObject obj = path.getObject(); 171 MediaSource source = mSourceMap.get(path.getPrefix()) 225 Path path = list.get(i); local 271 Path path = source.findPathByUri(uri, type); local 358 Path path = findPathByUri(uri, null); local [all...] |
FilterTypeSet.java | 29 private final ArrayList<Path> mPaths = new ArrayList<Path>(); 32 public FilterTypeSet(Path path, DataManager dataManager, MediaSet baseSet, 34 super(path, INVALID_DATA_VERSION); 100 final Path[] buf = new Path[total]; 107 Path path = item.getPath(); 108 buf[index] = path; [all...] |
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/utils/ |
SourceZipTest.java | 30 import java.nio.file.Path;
40 private final Path testDir = CodeGenerationUtils.mavenModuleRoot(SourceZipTest.class)
48 List<Pair<Path, ParseResult<CompilationUnit>>> results = sourceZip.parse();
51 for (Pair<Path, ParseResult<CompilationUnit>> pr : results) {
60 List<Pair<Path, ParseResult<CompilationUnit>>> results = new ArrayList<>();
62 sourceZip.parse((path, result) -> results.add(new Pair<>(path, result)));
66 for (Pair<Path, ParseResult<CompilationUnit>> pr : results) {
|
/external/llvm/include/llvm/LTO/legacy/ |
ThinLTOCodeGenerator.h | 96 * The client enabled the cache by supplying a path to an existing directory. 111 std::string Path; // Path to the cache, empty to disable. 117 /// Provide a path to a directory where to store the cached files for 119 void setCacheDir(std::string Path) { CacheOptions.Path = std::move(Path); } 155 /// Set the path to a directory where to save temporaries at various stages of 157 void setSaveTempsDir(std::string Path) { SaveTempsDir = std::move(Path); } [all...] |
/external/turbine/javatests/com/google/turbine/deps/ |
DependenciesTest.java | 40 import java.nio.file.Path; 59 static final ImmutableSet<Path> BOOTCLASSPATH = 66 private ImmutableList<Path> classpath = ImmutableList.of(); 68 LibraryBuilder addSourceLines(String path, String... lines) { 69 sources.put(path, Joiner.on('\n').join(lines)); 73 LibraryBuilder setClasspath(Path... classpath) { 78 Path compileToJar(String path) throws Exception { 79 Path lib = temporaryFolder.newFile(path).toPath() [all...] |
/frameworks/compile/mclinker/include/mcld/MC/ |
CommandAction.h | 14 #include "mcld/Support/Path.h" 30 InputFileAction(unsigned int pPosition, const sys::fs::Path& pPath); 34 const sys::fs::Path& path() const { return m_Path; } function in class:mcld::InputFileAction 39 sys::fs::Path m_Path; 61 BitcodeAction(unsigned int pPosition, const sys::fs::Path& pPath); 63 const sys::fs::Path& path() const { return m_Path; } function in class:mcld::BitcodeAction 68 sys::fs::Path m_Path;
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/archive/ |
ArchiveFile.kt | 21 import java.nio.file.Path 26 class ArchiveFile(relativePath: Path, data: ByteArray) : ArchiveItem { 49 fun updateRelativePath(newRelativePath: Path) {
|
/prebuilts/go/darwin-x86/src/cmd/internal/objabi/ |
path_test.go | 11 Path string 29 if got := PathToPrefix(tc.Path); got != tc.Expected { 30 t.Errorf("expected PathToPrefix(%s) = %s, got %s", tc.Path, tc.Expected, got)
|
/prebuilts/go/linux-x86/src/cmd/internal/objabi/ |
path_test.go | 11 Path string 29 if got := PathToPrefix(tc.Path); got != tc.Expected { 30 t.Errorf("expected PathToPrefix(%s) = %s, got %s", tc.Path, tc.Expected, got)
|
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
ToolRunner.cpp | 56 static int RunProgramWithTimeout(const sys::Path &ProgramPath,
58 const sys::Path &StdInFile,
59 const sys::Path &StdOutFile,
60 const sys::Path &StdErrFile,
64 const sys::Path* redirects[3];
89 static int RunProgramRemotelyWithTimeout(const sys::Path &RemoteClientPath,
91 const sys::Path &StdInFile,
92 const sys::Path &StdOutFile,
93 const sys::Path &StdErrFile,
96 const sys::Path* redirects[3]; [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/ |
Cd.c | 22 If FullPath begining with ':' is invalid path, then ASSERT.
27 @param[in, out] FullPath The pointer to the string containing the path.
114 Extract drive string and path string from FullPath.
116 The caller must be free Drive and Path.
118 @param[in] FullPath A path to be extracted.
120 @param[out] Path Buffer to save path.
129 OUT CHAR16 **Path
140 *Path = AllocateCopyPool (StrSize (FullPath), FullPath);
141 if (*Path == NULL) { [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
BezierLineAndPointRenderer.java | 19 import android.graphics.Path;
32 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) {
33 //path.lineTo(thisPoint.x, thisPoint.y);
38 path.quadTo((lastPoint.x + mid.x) / 2, lastPoint.y, mid.x, mid.y);
39 //path.quadTo((mid.x + thisPoint.x) / 2, thisPoint.y, thisPoint.x, thisPoint.y);
40 path.quadTo((mid.x + thisPoint.x) / 2, lastPoint.y, thisPoint.x, thisPoint.y);
|
/external/llvm/lib/Bitcode/Writer/ |
BitWriter.cpp | 20 int LLVMWriteBitcodeToFile(LLVMModuleRef M, const char *Path) { 22 raw_fd_ostream OS(Path, EC, sys::fs::F_None);
|
/external/python/cpython3/Tools/scripts/ |
pyvenv | 6 executable = pathlib.Path(sys.executable or 'python3').name
|
/frameworks/compile/mclinker/lib/Core/ |
LinkerScript.cpp | 22 const mcld::sys::fs::Path& LinkerScript::sysroot() const { 26 void LinkerScript::setSysroot(const mcld::sys::fs::Path& pSysroot) {
|