/frameworks/base/core/java/android/animation/ |
PathKeyframes.java | 18 import android.graphics.Path; 24 * PathKeyframes relies on approximating the Path as a series of line segments. 49 public PathKeyframes(Path path) { 50 this(path, 0.5f); 53 public PathKeyframes(Path path, float error) { 54 if (path == null || path.isEmpty()) { 55 throw new IllegalArgumentException("The path must not be null or empty") [all...] |
/frameworks/base/packages/Keyguard/scripts/ |
new_merge.py | 14 def executable(path): 15 return os.path.isfile(path) and os.access(path, os.X_OK) 17 path, file = os.path.split(program) 18 if path and executable(program): 21 for path in os.environ["PATH"].split(os.pathsep): 22 exe = os.path.join(path, program [all...] |
/frameworks/native/libs/input/ |
InputDevice.cpp | 43 static void appendInputDeviceConfigurationFileRelativePath(String8& path, 45 path.append(CONFIGURATION_FILE_DIR[type]); 51 path.append(&ch, 1); 53 path.append(CONFIGURATION_FILE_EXTENSION[type]); 89 String8 path; local 90 path.setTo(getenv("ANDROID_ROOT")); 91 path.append("/usr/"); 92 appendInputDeviceConfigurationFileRelativePath(path, name, type); 94 ALOGD("Probing for system provided input device configuration file: path='%s'", path.string()) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
SecureAlbum.java | 42 private ArrayList<Path> mAllItems = new ArrayList<Path>(); 45 private ArrayList<Path> mExistingItems = new ArrayList<Path>(); 56 public SecureAlbum(Path path, GalleryApp application, MediaItem unlock) { 57 super(path, nextVersionNumber()); 67 Path pathBase; 77 Path path = pathBase.getChild(id) local 177 Path path = mAllItems.get(i); local [all...] |
/prebuilts/ndk/ |
gen-blueprints.py | 20 def local_path(path): 21 return os.path.normpath(os.path.join(os.path.dirname(__file__), path)) 24 def find(path, names): 26 for root, _, files in os.walk(path): 29 abspath = os.path.abspath(os.path.join(root, file_name)) 30 rel_to_root = abspath.replace(os.path.abspath(path), '' [all...] |
/external/v8/build/ |
get_syzygy_binaries.py | 24 _LOGGER = logging.getLogger(os.path.basename(__file__)) 26 # The relative path where official builds are archived in their GS bucket. 43 # (basename, logging name, relative installation path, extraction filter) 55 path = os.path.join(output_dir, _STATE) 56 if not os.path.exists(path): 59 with open(path, 'rb') as f: 60 _LOGGER.debug('Reading state file: %s', path) 70 path = os.path.join(output_dir, _STATE [all...] |
/cts/common/util/src/com/android/compatibility/common/util/ |
ITestResult.java | 77 * @return the path of the bug report generated of the failure. 82 * @param path the path of the bug report generated of the failure. 84 void setBugReport(String path); 87 * @return the path of the log file generated of the failure. 92 * @param path the path of the log file generated of the failure. 94 void setLog(String path); 97 * @return the path of the screenshot file generated of the failure. 102 * @param path the path of the screenshot file generated of the failure [all...] |
/development/samples/training/multiscreen/newsreader/ |
_index.html | 7 app, be sure to add the <code>libs/android-support-v4.jar</code> file to the project build path. In 8 Eclipse, right-click the JAR file in the Package Explorer and select <b>Build Path > Add to Build 9 Path</b>.</p>
|
/development/testrunner/test_defs/ |
host_test.py | 38 _JUNIT_BUILD_PATH = os.path.join("external", "junit") 39 _HOSTTESTLIB_BUILD_PATH = os.path.join("development", "tools", "hosttestlib") 74 Results will be displayed on stdout. Assumes 'java' is on system path. 79 host_lib_path: path to directory that contains host library files 80 test_data_path: path to directory that contains test data files 94 path = os.path.join(options.host_lib_path, lib) 96 if not os.path.exists(path): 97 raise errors.AbortError(msg="Could not find jar %s" % path) [all...] |
/external/autotest/client/bin/ |
base_sysinfo.py | 45 path = os.path.join(logdir, self.logf) 46 if os.path.exists(path): 47 return utils.read_one_line(path) 54 def __init__(self, path, logf=None, log_in_keyval=False): 56 logf = os.path.basename(path) 58 self.path = path [all...] |
/external/autotest/client/deps/libnet/ |
libnet.py | 9 srcdir = os.path.join(topdir, 'src') 10 if not os.path.exists(tarball): 22 tarball = os.path.join(pwd, 'libnet.tar.gz')
|
/external/autotest/client/deps/pgsql/ |
pgsql.py | 9 srcdir = os.path.join(topdir, 'src') 10 if not os.path.exists(tarball): 21 tarball = os.path.join(pwd, 'postgresql-8.3.1.tar.bz2')
|
/external/autotest/client/site_tests/platform_RootPartitionsNotMounted/ |
platform_RootPartitionsNotMounted.py | 39 entries with a source path under /dev/. 56 """Gets the executable path of a given process ID. 62 The executable path of the given process ID or None on error. 73 and filters out those processes with a executable path that is 83 for path in os.listdir('/proc'): 84 if not path.isdigit(): continue 85 process_exe = self.get_process_executable(path) 87 processes.append(path) 94 for path in [self._CGPT_PATH, self._ROOTDEV_PATH]: 95 if not os.path.isfile(path) [all...] |
/external/autotest/client/tests/qemu_iotests/ |
qemu_iotests.py | 17 # Prepending the path at the beginning of $PATH will make the 19 os.environ['PATH'] = qemu_path + ":" + os.environ['PATH'] 32 @param tarball: Relative path to the testsuite tarball. 65 @param qemu_path: Optional qemu install path. 71 test_dir = os.path.join(self.srcdir, "scratch") 72 if not os.path.exists(test_dir): 87 src = os.path.join(self.srcdir, failed_name) 88 dest = os.path.join(self.resultsdir, failed_name [all...] |
/external/autotest/site_utils/admin/ |
prod_manifest.xml | 12 <project path="autotest" 15 <project remote="cros-internal" path="autotest/site_utils/autotest_tools" 17 <project remote="cros-internal" path="autotest/site_utils/autotest_private"
|
/external/autotest/tko/parsers/test/ |
new_scenario.py | 21 from os import path namespace 48 results_dirpath = path.normpath(args[0]) 49 if not path.exists(results_dirpath) or not path.isdir(results_dirpath): 54 scenarios_dirpath = path.normpath(args[1]) 55 if not path.exists(scenarios_dirpath) or not path.isdir(scenarios_dirpath): 60 results_dirname = path.basename(results_dirpath) 65 scenario_package_dirpath = path.join( 67 if path.exists(scenario_package_dirpath) [all...] |
/external/autotest/utils/ |
tko_publish.py | 19 USAGE="""tko-publish [options] <resultsdir> <rsync-destination-path> 22 <resultsdir> A path to the directory having the job results 25 <rsync-destination-path> A valid rsync destination path where to upload the 32 def get_job_dirs(path): 36 for dir in os.listdir(path): 41 dir = os.path.join(options.resultsdir, dir) 42 if (os.path.isdir(dir) 43 and not os.path.exists(os.path.join(dir, PUBLISH_FLAGFILE))) [all...] |
/external/chromium-trace/catapult/devil/devil/utils/ |
file_utils.py | 16 if not os.path.exists(os.path.dirname(dest_file)): 17 os.makedirs(os.path.dirname(dest_file))
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/appstats/protorpc_appstats/ |
main.py | 28 # This regular expression is used to extract the full path of 32 # this main module is that the last element of the service path 40 """Parse the service path from PATH_INFO in the environment. 42 The appstats service may be placed at any URL path within a webapp 43 application. It isn't possible to know what the actual path is 48 path. 50 The appstats service is always expected to be <path>/service. The 51 RegistryService is mapped to <path>/service/protorpc. 58 appstats_service_path: The full path of the appstats service. If the 59 full path cannot be determined this will be '.*/service' [all...] |
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/benchmark/ |
index.js | 4 path = require('path'), 7 var testHtml = fs.readFileSync(path.join(__dirname, './spec.html')).toString(),
|
/external/chromium-trace/catapult/trace_processor/experimental/bin/ |
visualize_traces | 33 path_to_base = os.path.join( 34 os.path.dirname(__file__), '..') 35 sys.path.append(path_to_base)
|
/external/clang/cmake/caches/ |
README.txt | 12 -C <path to llvm>/tools/clang/cmake/caches/Apple-stage1.cmake 14 [-DCMAKE_INSTALL_PREFIX=<install path>] 15 <path to llvm>
|
/external/clang/test/Modules/ |
objc_redef.m | 9 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_left %S/Inputs/module.map 10 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=weird_objc %S/Inputs/module.map 11 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify
|
redecl-namespaces.mm | 11 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c++ -fmodules-cache-path=%t -emit-module -fmodule-name=redecl_namespaces_left %S/Inputs/module.map 12 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c++ -fmodules-cache-path=%t -emit-module -fmodule-name=redecl_namespaces_right %S/Inputs/module.map 13 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs -w %s -verify
|
redeclarations.m | 8 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_left %S/Inputs/module.map 9 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_right %S/Inputs/module.map 10 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify
|