Home
last modified time | relevance | path

Searched refs:Path (Results 1 – 25 of 44) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPathFillTypes.java38 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()
DPathEffects.java35 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()
DClipping.java34 private Path mPath;
46 mPath = new Path(); in SampleView()
83 mPath.addCircle(50, 50, 50, Path.Direction.CCW); in onDraw()
DTextAlign.java37 private Path mPath;
47 private static void makePath(Path p) { in makePath()
78 mPath = new Path(); in SampleView()
DCompass.java81 private Path mPath = new Path();
DRoundRects.java34 private Path mPath;
43 mPath = new Path(); in SampleView()
DShapeDrawable1.java85 Path path = new Path(); in SampleView()
DShadowCardDrag.java25 import android.graphics.Path;
117 private final Path mPath = new Path();
/development/tools/external_crates/crate_health/src/
Drepo_path.rs16 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()
Dlib.rs17 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
Dcrate_type.rs17 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
Dcrate_collection.rs19 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
Dandroid_bp.rs18 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/
DInterpolatorFragment.java20 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__.py19 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()
Dtest_soong.py19 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()))
Dsoong.py19 from pathlib import Path
33 def __init__(self, build_top: Path, out_dir: Path) -> None: argument
/development/tools/ninja_dependency_analysis/
Dcollect_ninja_inputs.py52 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/
Dbuild_ndk_docs.py26 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/
DPathAnimations.java26 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/
Dusbdriver_source.properties3 Extra.Path=usb_driver
/development/samples/VirtualDeviceManager/demos/src/com/example/android/vdmdemo/demos/
DStylusDrawingView.java24 import android.graphics.Path;
36 private final Path mDrawPath = new Path();
/development/tools/cargo_embargo/src/
Dmain.rs56 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/
Dcargo_out.rs27 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/
Dlib.rs93 if let syn::Type::Path(path) = &key_type { in get_map_field()
106 if let syn::Type::Path(path) = &typ { in get_map_type()

12