/cts/tests/tests/transition/src/android/transition/cts/ |
ArcMotionTest.java | 31 Path path = arcMotion.getPath(0, 100, 100, 0); 35 path = arcMotion.getPath(100, 0, 0, -100); 39 path = arcMotion.getPath(0, -100, -100, 0); 43 path = arcMotion.getPath(-100, 0, 0, 100); 55 path = arcMotion.getPath(0, 120, 160, 0); 59 path = arcMotion.getPath(0, 160, 120, 0); 63 path = arcMotion.getPath(-120, 0, 0, 160); 67 path = arcMotion.getPath(-160, 0, 0, 120); 71 path = arcMotion.getPath(0, -120, -160, 0); 75 path = arcMotion.getPath(0, -160, -120, 0) [all...] |
PatternPathMotionTest.java | 35 assertPathMatches(expected, pathMotion.getPath(0, 0, 100, 100)); 48 assertPathMatches(expected, pathMotion.getPath(0, 0, 0, 100));
|
/external/libgdx/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/iosmoe/ |
IOSFileHandle.java | 36 if (file.getPath().length() == 0) return new IOSFileHandle(new File(name), type);
54 if (file.getPath().length() == 0) throw new GdxRuntimeException("Cannot get the sibling of the root.");
60 if (type == FileType.Internal) return new File(IOSFiles.internalPath, file.getPath());
61 if (type == FileType.External) return new File(IOSFiles.externalPath, file.getPath());
62 if (type == FileType.Local) return new File(IOSFiles.localPath, file.getPath());
|
/external/libgdx/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/ |
IOSFileHandle.java | 36 if (file.getPath().length() == 0) return new IOSFileHandle(new File(name), type);
54 if (file.getPath().length() == 0) throw new GdxRuntimeException("Cannot get the sibling of the root.");
60 if (type == FileType.Internal) return new File(IOSFiles.internalPath, file.getPath());
61 if (type == FileType.External) return new File(IOSFiles.externalPath, file.getPath());
62 if (type == FileType.Local) return new File(IOSFiles.localPath, file.getPath());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
MountServiceTests.java | 66 public String getPath() { 117 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 120 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 133 assertTrue("mountObb call on " + file.getPath() + " should succeed", 134 sm.mountObb(file.getPath(), null, observer)); 140 assertTrue("OBB should be mounted", sm.isObbMounted(file.getPath())); 144 file.getPath(), observer.getPath()); 154 assertTrue("mountObb call on " + file.getPath() + " should succeed", sm.mountObb(file 155 .getPath(), null, observer)) [all...] |
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
AndroidZipFileHandle.java | 46 path = file.getPath().replace('\\', '/'); 48 assetFd = expansionFile.getAssetFileDescriptor(getPath()); 60 private String getPath() { 69 input = expansionFile.getInputStream(getPath()); 78 if (file.getPath().length() == 0) 85 if (file.getPath().length() == 0) 87 return Gdx.files.getFileHandle(new File(file.getParent(), name).getPath(), type); //this way we can find the sibling even if it's not inside the obb 95 return new AndroidZipFileHandle(parent.getPath()); 100 ZipEntryRO[] zipEntries = expansionFile.getEntriesAt(getPath()); 109 ZipEntryRO[] zipEntries = expansionFile.getEntriesAt(getPath()); [all...] |
AndroidFileHandle.java | 51 if (file.getPath().length() == 0) return new AndroidFileHandle(assets, new File(name), type);
57 if (file.getPath().length() == 0) throw new GdxRuntimeException("Cannot get the sibling of the root.");
58 return Gdx.files.getFileHandle(new File(file.getParent(), name).getPath(), type); //this way we can find the sibling even if it's inside the obb
75 return assets.open(file.getPath());
86 String[] relativePaths = assets.list(file.getPath());
101 String[] relativePaths = assets.list(file.getPath());
127 String[] relativePaths = assets.list(file.getPath());
152 String[] relativePaths = assets.list(file.getPath());
177 return assets.list(file.getPath()).length > 0;
187 String fileName = file.getPath();
[all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FileWriterTest.java | 42 fos = new FileOutputStream(f.getPath()); 48 br = new BufferedReader(new FileReader(f.getPath())); 98 fos = new FileOutputStream(f.getPath()); 101 fis = new FileInputStream(f.getPath()); 115 fos = new FileOutputStream(f.getPath()); 118 bw = new BufferedWriter(new FileWriter(f.getPath())); 121 br = new BufferedReader(new FileReader(f.getPath())); 133 fos = new FileOutputStream(f.getPath()); 136 bw = new BufferedWriter(new FileWriter(f.getPath(), true)); 139 br = new BufferedReader(new FileReader(f.getPath())); [all...] |
/cts/libs/vogar-expect/src/vogar/commands/ |
Rm.java | 27 new Command("rm", "-f", file.getPath()).execute(); 31 new Command("rm", "-rf", directory.getPath()).execute();
|
/external/libgdx/backends/gdx-backend-headless/src/com/badlogic/gdx/backends/headless/ |
HeadlessFileHandle.java | 37 if (file.getPath().length() == 0) return new HeadlessFileHandle(new File(name), type);
42 if (file.getPath().length() == 0) throw new GdxRuntimeException("Cannot get the sibling of the root.");
58 if (type == FileType.External) return new File(HeadlessFiles.externalPath, file.getPath());
59 if (type == FileType.Local) return new File(HeadlessFiles.localPath, file.getPath());
|
/external/libgdx/backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/ |
JglfwFileHandle.java | 37 if (file.getPath().length() == 0) return new JglfwFileHandle(new File(name), type); 42 if (file.getPath().length() == 0) throw new GdxRuntimeException("Cannot get the sibling of the root."); 58 if (type == FileType.External) return new File(JglfwFiles.externalPath, file.getPath()); 59 if (type == FileType.Local) return new File(JglfwFiles.localPath, file.getPath());
|
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/ |
LwjglFileHandle.java | 37 if (file.getPath().length() == 0) return new LwjglFileHandle(new File(name), type);
42 if (file.getPath().length() == 0) throw new GdxRuntimeException("Cannot get the sibling of the root.");
58 if (type == FileType.External) return new File(LwjglFiles.externalPath, file.getPath());
59 if (type == FileType.Local) return new File(LwjglFiles.localPath, file.getPath());
|
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/ |
Lwjgl3FileHandle.java | 37 if (file.getPath().length() == 0) return new Lwjgl3FileHandle(new File(name), type);
42 if (file.getPath().length() == 0) throw new GdxRuntimeException("Cannot get the sibling of the root.");
58 if (type == FileType.External) return new File(Lwjgl3Files.externalPath, file.getPath());
59 if (type == FileType.Local) return new File(Lwjgl3Files.localPath, file.getPath());
|
/frameworks/base/tools/aapt/ |
OutputSet.h | 37 inline const android::String8& getPath() const { 41 bool operator<(const OutputEntry& o) const { return getPath() < o.mPath; } 42 bool operator==(const OutputEntry& o) const { return getPath() == o.mPath; }
|
/external/libweave/examples/provider/ |
file_config_store.cc | 27 std::string FileConfigStore::GetPath(const std::string& name) const { 70 LOG(INFO) << "Loading settings from " << GetPath(name); 71 std::ifstream str(GetPath(name)); 80 LOG(INFO) << "Saving settings to " << GetPath(name); 81 std::ofstream str(GetPath(name));
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
GestureStrokeTest.java | 40 * Test {@link GestureStroke#getPath()} when set of empty points are provided. 45 assertNull(emptyStroke.getPath()); 49 * Test {@link GestureStroke#getPath()} when a single point is provided. 53 Path emptyPath = emptyStroke.getPath(); 59 * Test {@link GestureStroke#getPath()} when a line is provided. 63 Path linePath = lineStroke.getPath(); 78 // expect the same results generated by getPath
|
/art/runtime/ |
elf_file.cc | 104 file_->GetPath().c_str(), file_->Fd(), strerror(errno)); 111 file_->GetPath().c_str()); 124 file_->GetPath().c_str(), 134 sizeof(Elf_Ehdr), file_->GetPath().c_str()); 143 file_->GetPath().c_str(), 157 file_->GetPath().c_str(), 181 file_->GetPath().c_str()); 189 file_->GetPath().c_str()); 203 i, file_->GetPath().c_str()); 248 << file_->GetPath() << ": " << std::he [all...] |
/external/vogar/src/vogar/android/ |
DeviceFilesystem.java | 50 while (dir != null && !dir.getPath().equals("/sdcard") && !dir.getPath().equals("/")) { 70 args.add(name.getPath()); 86 args.add(dir.getPath()); 96 if (fileString.equals(dir.getPath() + ": No such file or directory")) { 99 if (fileString.equals(dir.getPath())) {
|
DeviceFileCache.java | 72 new Command(log, "adb", "shell", "mv", temporary.getPath(), cachedFile.getPath()).execute(); 77 new Command(log, "adb", "shell", "cat", source.getPath(), ">", temporary.getPath())
|
/frameworks/base/services/core/java/com/android/server/updates/ |
SELinuxPolicyInstallReceiver.java | 110 Os.rename(current.getPath(), backup.getPath()); 113 Os.rename(tmp.getPath(), current.getPath()); 118 Os.rename(backup.getPath(), current.getPath());
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
AbstractFileSystemEntryTestCase.groovy | 39 assertNull("path", entry.getPath())
41 assert entry.getPath() == PATH
49 assertEquals("path", PATH, entry.getPath())
51 assert entry.getPath() == ""
|
/external/lzma/CPP/Windows/ |
FileDir.h | 52 const FString &GetPath() const { return _path; }
66 const FString &GetPath() const { return _path; }
|
/external/opencv3/samples/java/sbt/src/main/java/ |
DetectFaceDemo.java | 21 .getResource("/lbpcascade_frontalface.xml").getPath()); 23 "/AverageMaleFace.jpg").getPath());
|
/external/opencv3/samples/java/sbt/src/main/scala/ |
ScalaDetectFaceDemo.scala | 18 val faceDetector = new CascadeClassifier(getClass.getResource("/lbpcascade_frontalface.xml").getPath) 19 val image = Imgcodecs.imread(getClass.getResource("/AverageMaleFace.jpg").getPath)
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
StateListDrawableTest.java | 30 assertThat(((ShadowBitmapDrawable) shadowOf(drawableForState)).getPath(), is("/foo")); 43 assertThat(((ShadowBitmapDrawable) shadowOf(drawableForState)).getPath(), is("/foo"));
|