/cts/tests/tests/graphics/src/android/graphics/cts/ |
EmbossMaskFilterTest.java | 25 import android.graphics.Path; 49 Path path = new Path(); local 50 path.moveTo(START_X, CENTER_Y); 51 path.lineTo(END_X, CENTER_Y); 57 c.drawPath(path, paint);
|
/frameworks/base/core/java/android/transition/ |
TranslationAnimationCreator.java | 24 import android.graphics.Path; 70 Path path = new Path(); local 71 path.moveTo(startX, startY); 72 path.lineTo(endX, endY); 74 path);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
PathInterpolatorBuilder.java | 17 import android.graphics.Path; 23 // This governs how accurate the approximation of the Path is. 30 public PathInterpolatorBuilder(Path path) { 31 initPath(path); 44 Path path = new Path(); local 45 path.moveTo(0, 0); 46 path.quadTo(controlX, controlY, 1f, 1f) 51 Path path = new Path(); local [all...] |
/frameworks/support/compat/gingerbread/android/support/v4/view/animation/ |
PathInterpolatorGingerbread.java | 19 import android.graphics.Path; 24 * A path interpolator implementation compatible with API 9+. 29 * Governs the accuracy of the approximation of the {@link Path}. 36 public PathInterpolatorGingerbread(Path path) { 37 final PathMeasure pathMeasure = new PathMeasure(path, false /* forceClosed */); 98 private static Path createQuad(float controlX, float controlY) { 99 final Path path = new Path(); local 107 final Path path = new Path(); local [all...] |
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/ |
TranslationAnimationCreator.java | 10 import android.graphics.Path; 62 Path path = new Path(); local 63 path.moveTo(startX, startY); 64 path.lineTo(endX, endY); 66 path);
|
/packages/apps/PhoneCommon/src/com/android/phone/common/compat/ |
PathInterpolatorCompat.java | 19 import android.graphics.Path; 36 * Governs the accuracy of the approximation of the {@link Path}. 43 public PathInterpolatorBase(Path path) { 44 final PathMeasure pathMeasure = new PathMeasure(path, false /* forceClosed */); 105 private static Path createQuad(float controlX, float controlY) { 106 final Path path = new Path(); local 107 path.moveTo(0.0f, 0.0f) 114 final Path path = new Path(); local [all...] |
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
TranslationAnimationCreator.java | 7 import android.graphics.Path; 52 Path path = new Path(); local 53 path.moveTo(startX, 0); 54 path.lineTo(endX, 0); 56 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());
|
/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...] |
/bionic/libc/bionic/ |
tmpfile.cpp | 60 char* path = NULL; local 61 if (asprintf(&path, "%s/tmp.XXXXXXXXXX", tmp_dir) == -1) { 68 fd = mkstemp(path); 70 free(path); 75 unlink(path); 76 free(path);
|
/bionic/tests/ |
ftw_test.cpp | 30 char path[PATH_MAX]; local 32 snprintf(path, sizeof(path), "%s/dir", root); 33 ASSERT_EQ(0, mkdir(path, 0755)) << path; 34 snprintf(path, sizeof(path), "%s/dir/sub", root); 35 ASSERT_EQ(0, mkdir(path, 0555)) << path; 36 snprintf(path, sizeof(path), "%s/unreadable-dir", root) [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());
|
/bootable/recovery/applypatch/ |
freecache.cpp | 49 std::string path = android::base::StringPrintf("/proc/%s/fd/", de->d_name); local 52 std::unique_ptr<DIR, decltype(&closedir)> fdd(opendir(path.c_str()), closedir); 54 printf("error opening %s: %s\n", path.c_str(), strerror(errno)); 58 std::string fd_path = path + fdde->d_name; 91 std::string path = std::string(dirs[i]) + "/" + de->d_name; local 96 if (path == CACHE_TEMP_SOURCE) { 101 if (stat(path.c_str(), &st) == 0 && S_ISREG(st.st_mode)) { 102 files.insert(path);
|
/build/core/ |
pathmap.mk | 24 # have the correct header files added to their include path automatically. 56 # Returns the path to the requested module's include directory, 62 define include-path-for 68 # so make it easy for them to find the correct path.
|
/build/tools/ |
adbs | 18 import os.path namespace 23 sys.path.insert(0, os.path.dirname(__file__) + "/../../development/scripts")
|
generate-notice-files.py | 28 import os.path namespace 172 input_dir = os.path.normpath(args[3]) 177 filename = os.path.join(root, file)
|
/cts/apps/CameraITS/tests/inprog/ |
test_3a_remote.py | 18 import os.path namespace 28 NAME = os.path.basename(__file__).split(".")[0]
|
test_black_level.py | 19 import os.path namespace 35 NAME = os.path.basename(__file__).split(".")[0]
|
test_burst_sameness_fullres_auto.py | 19 import os.path namespace 33 NAME = os.path.basename(__file__).split(".")[0]
|
test_param_black_level_lock.py | 19 import os.path namespace 30 NAME = os.path.basename(__file__).split(".")[0]
|
/cts/apps/CameraITS/tests/scene0/ |
test_gyro_bias.py | 22 import os.path namespace 30 NAME = os.path.basename(__file__).split(".")[0]
|
test_jitter.py | 19 import os.path namespace 27 NAME = os.path.basename(__file__).split(".")[0]
|
/cts/apps/CameraITS/tests/scene1/ |
test_black_white.py | 20 import os.path namespace 27 NAME = os.path.basename(__file__).split(".")[0]
|
test_dng_noise_model.py | 19 import os.path namespace 27 NAME = os.path.basename(__file__).split(".")[0]
|