/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | PathFillTypes.java | 38 private Path mPath; 45 mPath = new Path(); in SampleView() 46 mPath.addCircle(40, 40, 45, Path.Direction.CCW); in SampleView() 47 mPath.addCircle(80, 80, 45, Path.Direction.CCW); in SampleView() 50 private void showPath(Canvas canvas, int x, int y, Path.FillType ft, in showPath() 70 showPath(canvas, 0, 0, Path.FillType.WINDING, paint); in onDraw() 71 showPath(canvas, 160, 0, Path.FillType.EVEN_ODD, paint); in onDraw() 72 showPath(canvas, 0, 160, Path.FillType.INVERSE_WINDING, paint); in onDraw() 73 showPath(canvas, 160, 160, Path.FillType.INVERSE_EVEN_ODD, paint); in onDraw()
|
D | PathEffects.java | 35 private Path mPath; 100 private static Path makeFollowPath() { in makeFollowPath() 101 Path p = new Path(); in makeFollowPath() 109 private static Path makePathDash() { in makePathDash() 110 Path p = new Path(); in makePathDash()
|
D | Clipping.java | 34 private Path mPath; 46 mPath = new Path(); in SampleView() 83 mPath.addCircle(50, 50, 50, Path.Direction.CCW); in onDraw()
|
D | TextAlign.java | 37 private Path mPath; 47 private static void makePath(Path p) { in makePath() 78 mPath = new Path(); in SampleView()
|
D | Compass.java | 81 private Path mPath = new Path();
|
D | RoundRects.java | 34 private Path mPath; 43 mPath = new Path(); in SampleView()
|
D | ShapeDrawable1.java | 85 Path path = new Path(); in SampleView()
|
D | ShadowCardDrag.java | 25 import android.graphics.Path; 117 private final Path mPath = new Path();
|
/development/tools/external_crates/crate_health/src/ |
D | repo_path.rs | 16 use std::path::{Path, PathBuf}; 38 pub fn root(&self) -> &Path { in root() argument 41 pub fn rel(&self) -> &Path { in rel() argument 47 pub fn join(&self, path: &impl AsRef<Path>) -> RepoPath { in join() 62 assert_eq!(p.root(), Path::new("/foo")); in test_basic() 63 assert_eq!(p.rel(), Path::new("bar")); in test_basic()
|
D | lib.rs | 17 use std::path::{Path, PathBuf}; 91 pub fn ensure_exists_and_empty(dir: &impl AsRef<Path>) -> Result<()> { in ensure_exists_and_empty() 100 pub fn copy_dir(src: &impl AsRef<Path>, dst: &impl AsRef<Path>) -> Result<()> { in copy_dir() argument
|
D | crate_type.rs | 17 path::{Path, PathBuf}, 75 pub fn from<P: Into<PathBuf>>(cargo_toml: &impl AsRef<Path>, root: P) -> Result<Crate> { in from() argument 104 Path::new("out/rust-crate-temporary-build").join(self.staging_dir_name()), in staging_path() 297 fn write_test_manifest(temp_crate_dir: &Path, name: &str, version: &str) -> Result<PathBuf> { in write_test_manifest() argument 298 let cargo_toml: PathBuf = [temp_crate_dir, &Path::new("Cargo.toml")].iter().collect(); in write_test_manifest() 303 let lib_rs: PathBuf = [temp_crate_dir, &Path::new("src/lib.rs")].iter().collect(); in write_test_manifest() 335 a: &impl AsRef<Path>, in diff_android_bp() argument 336 b: &impl AsRef<Path>, in diff_android_bp() argument 337 root: &impl AsRef<Path>, in diff_android_bp() argument
|
D | crate_collection.rs | 19 path::{Path, PathBuf}, 43 pub fn add_from(&mut self, path: &impl AsRef<Path>) -> Result<()> { in add_from() 61 pub fn repo_root(&self) -> &Path { in repo_root() argument
|
D | android_bp.rs | 18 path::Path, 89 pub fn maybe_build_cargo_embargo(repo_root: &impl AsRef<Path>, force_rebuild: bool) -> Result<()> { in maybe_build_cargo_embargo() argument 101 pub fn build_cargo_embargo(repo_root: &impl AsRef<Path>) -> Result<()> { in build_cargo_embargo()
|
/development/samples/browseable/Interpolator/src/com.example.android.interpolator/ |
D | InterpolatorFragment.java | 20 import android.graphics.Path; 68 private Path mPathIn; 72 private Path mPathOut; 112 Path path = mIsOut ? mPathIn : mPathOut; in onCreateView() 181 mPathIn = new Path(); in onCreateView() 186 mPathOut = new Path(); in onCreateView() 205 public ObjectAnimator startAnimation(Interpolator interpolator, long duration, Path path) { in startAnimation() 232 public Path getPathIn() { in getPathIn() 241 public Path getPathOut() { in getPathOut()
|
/development/tools/ndk/ndkabidump/ |
D | __init__.py | 19 from pathlib import Path 34 def __init__(self, src_dir: Path, build_dir: Path) -> None: argument 105 def resolved_path(path: str) -> Path: 107 return Path(path).resolve()
|
D | test_soong.py | 19 from pathlib import Path 33 ANDROID_BUILD_TOP = Path(os.environ["ANDROID_BUILD_TOP"]).resolve() 39 out_dir: Path 43 self.out_dir = Path(stack.enter_context(tempfile.TemporaryDirectory()))
|
D | soong.py | 19 from pathlib import Path 33 def __init__(self, build_top: Path, out_dir: Path) -> None: argument
|
/development/tools/ninja_dependency_analysis/ |
D | collect_ninja_inputs.py | 52 parser.add_argument('-n', '--ninja_binary', type=pathlib.Path, required=True) 53 parser.add_argument('-f', '--ninja_file', type=pathlib.Path, required=True) 55 parser.add_argument('-e', '--exempted_file_list', type=pathlib.Path) 56 parser.add_argument('-o', '--out', type=pathlib.Path) 58 group.add_argument('-r', '--repo_project_list', type=pathlib.Path) 59 group.add_argument('-m', '--repo_manifest', type=pathlib.Path)
|
/development/tools/ndk/ |
D | build_ndk_docs.py | 26 from pathlib import Path 31 THIS_DIR = Path(__file__).resolve().parent 53 product_out = Path(os.environ['ANDROID_PRODUCT_OUT'])
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | PathAnimations.java | 26 import android.graphics.Path; 46 final static Path sTraversalPath = new Path(); 82 sTraversalPath.addCircle(3.5f, 3.5f, 0.5f, Path.Direction.CCW); 136 Path path = mCanvasView.getPath(); in startAnimator() 194 Path mPath = new Path(); 232 public Path getPath() { in getPath()
|
/development/sdk/ |
D | usbdriver_source.properties | 3 Extra.Path=usb_driver
|
/development/samples/VirtualDeviceManager/demos/src/com/example/android/vdmdemo/demos/ |
D | StylusDrawingView.java | 24 import android.graphics.Path; 36 private final Path mDrawPath = new Path();
|
/development/tools/cargo_embargo/src/ |
D | main.rs | 56 use std::path::Path; 193 config_filename: &Path, in dump_crates() argument 194 crates_filename: &Path, in dump_crates() argument 195 intermediates_dir: &Path, in dump_crates() argument 209 fn autoconfig(args: &Args, config_filename: &Path, intermediates_dir: &Path) -> Result<()> { in autoconfig() argument 284 fn make_all_crates(args: &Args, cfg: &Config, intermediates_dir: &Path) -> Result<Vec<Vec<Crate>>> { in make_all_crates() 288 fn make_crates(args: &Args, cfg: &VariantConfig, intermediates_dir: &Path) -> Result<Vec<Crate>> { in make_crates() 289 if !Path::new("Cargo.toml").try_exists().context("when checking Cargo.toml")? { in make_crates() 330 fn run_embargo(args: &Args, config_filename: &Path, intermediates_dir: &Path) -> Result<()> { in run_embargo() argument 467 fn generate_cargo_out(cfg: &VariantConfig, intermediates_dir: &Path) -> Result<CargoOutput> { in generate_cargo_out() [all …]
|
/development/tools/cargo_embargo/src/cargo/ |
D | cargo_out.rs | 27 use std::path::Path; 51 base_directory: impl AsRef<Path>, in parse_cargo_out_str() argument 343 (out.package_dir, out.main_src) = split_src_path(Path::new(arg))?; in from_rustc_invocation() 405 .find(|p| Path::new(&p.manifest_path).canonicalize().unwrap() == manifest_path) in from_rustc_invocation() 429 fn split_src_path(src_path: &Path) -> Result<(PathBuf, PathBuf)> { in split_src_path() 449 fn find_cargo_toml(src_path: &Path) -> Result<PathBuf> { in find_cargo_toml()
|
/development/tools/external_crates/crate_health_proc_macros/src/ |
D | lib.rs | 93 if let syn::Type::Path(path) = &key_type { in get_map_field() 106 if let syn::Type::Path(path) = &typ { in get_map_type()
|