/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
TranslationAnimationCreator.java | 22 import android.graphics.Path; 70 Path path = new Path(); local 71 path.moveTo(startX, 0); 72 path.lineTo(endX, 0); 74 ObjectAnimator.ofFloat(view, View.TRANSLATION_X, View.TRANSLATION_Y, path);
|
/cts/tests/tests/os/src/android/os/cts/ |
StatFsTest.java | 26 File path = Environment.getDataDirectory(); local 27 StatFs stat = new StatFs(path.getPath()); 43 path = Environment.getRootDirectory(); 44 stat.restat(path.getPath());
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowPathTest.java | 9 import android.graphics.Path; 21 Path path = Shadow.newInstanceOf(Path.class); local 22 path.quadTo(0, 5, 10, 15); 23 ShadowPath shadowPath = shadowOf(path); 29 Path path = Shadow.newInstanceOf(Path.class); local 30 path.moveTo(2, 3) 41 Path path = Shadow.newInstanceOf(Path.class); local 53 Path path = Shadow.newInstanceOf(Path.class); local 68 Path path = Shadow.newInstanceOf(Path.class); local [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextPathActivity.java | 23 import android.graphics.Path; 61 Path path = new Path(); local 64 drawTextAsPath(canvas, "Hello", path); 67 drawTextAsPath(canvas, "OpenGL", path); 70 private void drawTextAsPath(Canvas canvas, String text, Path path) { 72 mHugePaint.getTextPath(text, 0, count, 0, 0, path); 73 path.close() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
AdtTestData.java | 45 /** The absolute file path to the plugin's contents. */ 64 // Fix the path returned by the URL resolver 88 sLogger.warning("Resource data not found using class loader!, Defaulting to no path"); 97 sLogger.info("Fixing test_data env variable (does not end with path separator)"); 111 * Returns the absolute file path to a file located in this plugin. 113 * @param osRelativePath {@link String} path to file contained in plugin. Must 114 * use path separators appropriate to host OS 116 * @return absolute OS path to test file 119 File path = new File(mOsRootDataPath, osRelativePath); local 121 if (!path.exists()) [all...] |
/art/runtime/gc/ |
heap_verification_test.cc | 160 std::string path = v->FirstPathFromRootSet(str); local 161 EXPECT_GT(path.length(), 0u); 164 EXPECT_NE(path.find(oss.str()), std::string::npos); 165 LOG(INFO) << path;
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_bpf.h | 44 char path[XT_BPF_PATH_MAX]; member in union:xt_bpf_info_v1::__anon913
|
xt_cgroup.h | 32 char path[PATH_MAX]; member in struct:xt_cgroup_info_v1
|
/bionic/tests/ |
dlfcn_symlink_support.cpp | 36 // The case when path is not absolute and is equal to source_file_name 48 std::string* path = reinterpret_cast<std::string*>(data); local 49 *path = info->dlpi_name; 76 void remove_dlfcn_test_symlink(const std::string& path) { 77 ASSERT_TRUE(unlink(path.c_str()) == 0) << strerror(errno);
|
ftw_test.cpp | 32 char path[PATH_MAX]; local 34 snprintf(path, sizeof(path), "%s/dir", root); 35 ASSERT_EQ(0, mkdir(path, 0755)) << path; 36 snprintf(path, sizeof(path), "%s/dir/sub", root); 37 ASSERT_EQ(0, mkdir(path, 0555)) << path; 38 snprintf(path, sizeof(path), "%s/unreadable-dir", root) 129 EXPECT_EQ(strstr(path, "unreadable") != nullptr ? FTW_DNR : FTW_D, flag) << path; local 148 std::string path = android::base::StringPrintf("%s\/unreadable-directory", root.dirname); local [all...] |
sys_stat_test.cpp | 73 std::string path; local 76 path = tf.filename; 79 ASSERT_EQ(0, mkfifo(path.c_str(), 0666)); 81 ASSERT_EQ(0, stat(path.c_str(), &sb)); 83 unlink(path.c_str());
|
/bionic/tools/versioner/ |
run_tests.py | 21 def run_test(test_name, path): 22 os.chdir(path) 27 if os.path.exists("expected_fail"): 63 root_dir = os.path.dirname(os.path.realpath(__file__)) 64 test_dir = os.path.join(root_dir, "tests") 79 path = os.path.join(test_dir, test) variable 80 if not os.path.isdir(path) [all...] |
/bootable/recovery/applypatch/ |
freecache.cpp | 50 std::string path = android::base::StringPrintf("/proc/%s/fd/", de->d_name); local 53 std::unique_ptr<DIR, decltype(&closedir)> fdd(opendir(path.c_str()), closedir); 55 printf("error opening %s: %s\n", path.c_str(), strerror(errno)); 59 std::string fd_path = path + fdde->d_name; 92 std::string path = std::string(dirs[i]) + "/" + de->d_name; local 96 if (path == CacheLocation::location().cache_temp_source()) { 101 if (stat(path.c_str(), &st) == 0 && S_ISREG(st.st_mode)) { 102 files.insert(path);
|
/bootable/recovery/otautil/ |
DirUtil.cpp | 33 static DirStatus dir_status(const std::string& path) { 35 if (stat(path.c_str(), &sb) == 0) { 43 // Something went wrong, or something in the path is bad. Can't do anything in this situation. 57 // Allocate a path that we can modify; stick a slash on the end to make things easier. 58 std::string path = input_path; local 61 size_t pos = path.rfind('/'); 66 path.resize(pos + 1); 68 // Make sure that the path ends in a slash. 69 path.push_back('/'); 73 DirStatus ds = dir_status(path); [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
PathTests.java | 5 import android.graphics.Path; 30 Path path = new Path(); 32 paint.getTextPath(text, 0, text.length(), 0, 0, path); 33 path.offset(0, 50); 34 canvas.drawPath(path, paint); 42 final Path path = new Path(); local 49 final Path path = new Path(); local 56 final Path path = new Path(); local 67 final Path path = new Path(); local [all...] |
/development/tools/idegen/src/ |
IntelliJ.java | 93 String path = file.getPath(); local 96 if (path.contains("test-runner")) { 100 return path.toUpperCase().contains("TEST");
|
/device/google/wahoo/thermal/ |
sensors.cpp | 40 const std::string& sensor_name, const std::string& path, 45 path, throttling_threshold, shutdown_threshold, 77 std::string path; local 78 readSensorFile(sensor_name, &sensor_reading, &path); 90 path.c_str(), out->type, out->name.c_str(), out->currentValue,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
import.h | 24 PyAPI_FUNC(PyObject *) PyImport_GetImporter(PyObject *path);
variable
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
import.h | 24 PyAPI_FUNC(PyObject *) PyImport_GetImporter(PyObject *path);
variable
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/msi/ |
msisupport.c | 26 char path[PSIZE];
local 36 path[size] = L'\0';
|
/external/ImageMagick/MagickCore/ |
delegate.h | 31 *path, member in struct:_DelegateInfo
|
magic.h | 28 *path, member in struct:_MagicInfo
|
module.h | 41 *path, member in struct:_ModuleInfo
|
/external/apache-http/src/org/apache/http/cookie/ |
CookiePathComparator.java | 40 * that those with more specific Path attributes precede those with 44 * This comparator assumes that Path attributes of two cookies 45 * path-match a commmon request-URI. Otherwise, the result of the 61 String path = cookie.getPath(); local 62 if (path == null) { 63 path = "/"; 65 if (!path.endsWith("/")) { 66 path = path + '/'; 68 return path; [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
AbsPathChecker.java | 32 * This class runs over a path expression that is assumed to be absolute, and 42 * @param path LocPathIterator that is assumed to be absolute, but needs checking. 43 * @return true if the path is confirmed to be absolute, false if it 46 public boolean checkAbsolute(LocPathIterator path) 49 path.callVisitors(null, this);
|