/external/rust/crates/plotters/src/element/ |
D | points.rs | 12 pub trait PointElement<Coord, Size: SizeDesc> { 19 fn make_point(pos: Coord, size: Size, style: ShapeStyle) -> Self; in make_point() argument 27 pub struct Cross<Coord, Size: SizeDesc> { 28 center: Coord, 33 impl<Coord, Size: SizeDesc> Cross<Coord, Size> { 39 pub fn new<T: Into<ShapeStyle>>(coord: Coord, size: Size, style: T) -> Self { in new() argument 48 impl<'a, Coord: 'a, Size: SizeDesc> PointCollection<'a, Coord> for &'a Cross<Coord, Size> { 49 type Point = &'a Coord; 50 type IntoIter = std::iter::Once<&'a Coord>; 51 fn point_iter(self) -> std::iter::Once<&'a Coord> { in point_iter() argument [all …]
|
D | basic_shapes.rs | 10 pub struct Pixel<Coord> { 11 pos: Coord, 15 impl<Coord> Pixel<Coord> { 21 pub fn new<P: Into<Coord>, S: Into<ShapeStyle>>(pos: P, style: S) -> Self { in new() argument 29 impl<'a, Coord> PointCollection<'a, Coord> for &'a Pixel<Coord> { 30 type Point = &'a Coord; 31 type IntoIter = std::iter::Once<&'a Coord>; 37 impl<Coord, DB: DrawingBackend> Drawable<DB> for Pixel<Coord> { 73 pub type Path<Coord> = PathElement<Coord>; 76 pub struct PathElement<Coord> { [all …]
|
D | composable.rs | 36 pub struct EmptyElement<Coord, DB: DrawingBackend> { 37 coord: Coord, 41 impl<Coord, DB: DrawingBackend> EmptyElement<Coord, DB> { 47 pub fn at(coord: Coord) -> Self { in at() 55 impl<Coord, Other, DB: DrawingBackend> Add<Other> for EmptyElement<Coord, DB> 60 type Output = BoxedElement<Coord, DB, Other>; 70 impl<'a, Coord, DB: DrawingBackend> PointCollection<'a, Coord> for &'a EmptyElement<Coord, DB> { 71 type Point = &'a Coord; 72 type IntoIter = Once<&'a Coord>; 78 impl<Coord, DB: DrawingBackend> Drawable<DB> for EmptyElement<Coord, DB> { [all …]
|
D | text.rs | 10 pub struct Text<'a, Coord, T: Borrow<str>> { 12 coord: Coord, 16 impl<'a, Coord, T: Borrow<str>> Text<'a, Coord, T> { 22 pub fn new<S: Into<TextStyle<'a>>>(text: T, points: Coord, style: S) -> Self { in new() argument 31 impl<'b, 'a, Coord: 'a, T: Borrow<str> + 'a> PointCollection<'a, Coord> for &'a Text<'b, Coord, T> { 32 type Point = &'a Coord; 33 type IntoIter = std::iter::Once<&'a Coord>; 39 impl<'a, Coord: 'a, DB: DrawingBackend, T: Borrow<str>> Drawable<DB> for Text<'a, Coord, T> { 55 pub struct MultiLineText<'a, Coord, T: Borrow<str>> { 57 coord: Coord, [all …]
|
D | dynelem.rs | 27 pub struct DynElement<'a, DB, Coord> 30 Coord: Clone, 32 points: Vec<Coord>, 36 impl<'a, 'b: 'a, DB: DrawingBackend, Coord: Clone> PointCollection<'a, Coord> 37 for &'a DynElement<'b, DB, Coord> 39 type Point = &'a Coord; 40 type IntoIter = &'a Vec<Coord>; 46 impl<'a, DB: DrawingBackend, Coord: Clone> Drawable<DB> for DynElement<'a, DB, Coord> { 59 pub trait IntoDynElement<'a, DB: DrawingBackend, Coord: Clone> 64 fn into_dyn(self) -> DynElement<'a, DB, Coord>; in into_dyn() argument [all …]
|
D | image.rs | 63 pub struct BitMapElement<'a, Coord, P: PixelFormat = RGBPixel> { 66 pos: Coord, 70 impl<'a, Coord, P: PixelFormat> BitMapElement<'a, Coord, P> { 76 pub fn new(pos: Coord, size: (u32, u32)) -> Self { in new() argument 93 pub fn with_owned_buffer(pos: Coord, size: (u32, u32), buf: Vec<u8>) -> Option<Self> { in with_owned_buffer() argument 113 pub fn with_mut(pos: Coord, size: (u32, u32), buf: &'a mut [u8]) -> Option<Self> { in with_mut() argument 134 pub fn with_ref(pos: Coord, size: (u32, u32), buf: &'a [u8]) -> Option<Self> { in with_ref() argument 162 pub fn move_to(&mut self, pos: Coord) { in move_to() argument 177 impl<'a, Coord> From<(Coord, DynamicImage)> for BitMapElement<'a, Coord, RGBPixel> { 178 fn from((pos, image): (Coord, DynamicImage)) -> Self { in from() argument [all …]
|
D | mod.rs | 232 pub trait PointCollection<'a, Coord, CM = BackendCoordOnly> { 234 type Point: Borrow<Coord> + 'a;
|
/external/rust/crates/plotters/src/series/ |
D | point_series.rs | 6 pub struct PointSeries<'a, Coord, I: IntoIterator<Item = Coord>, E, Size: SizeDesc + Clone> { 10 make_point: &'a dyn Fn(Coord, Size, ShapeStyle) -> E, 13 impl<'a, Coord, I: IntoIterator<Item = Coord>, E, Size: SizeDesc + Clone> Iterator 14 for PointSeries<'a, Coord, I, E, Size> 24 impl<'a, Coord, I: IntoIterator<Item = Coord>, E, Size: SizeDesc + Clone> 25 PointSeries<'a, Coord, I, E, Size> 27 E: PointElement<Coord, Size>, 42 impl<'a, Coord, I: IntoIterator<Item = Coord>, E, Size: SizeDesc + Clone> 43 PointSeries<'a, Coord, I, E, Size> 48 pub fn of_element<S: Into<ShapeStyle>, F: Fn(Coord, Size, ShapeStyle) -> E>( in of_element() argument
|
D | line_series.rs | 32 pub struct LineSeries<DB: DrawingBackend, Coord> { 34 data: Vec<Coord>, 40 impl<DB: DrawingBackend, Coord: Clone + 'static> Iterator for LineSeries<DB, Coord> { 41 type Item = DynElement<'static, DB, Coord>; 61 impl<DB: DrawingBackend, Coord> LineSeries<DB, Coord> { 67 pub fn new<I: IntoIterator<Item = Coord>, S: Into<ShapeStyle>>(iter: I, style: S) -> Self { in new()
|
/external/skia/src/shaders/ |
D | SkEmptyShader.cpp | 31 skvm::Coord, 32 skvm::Coord, 47 skvm::Coord, in program() argument 48 skvm::Coord, in program()
|
D | SkColorShader.cpp | 68 skvm::Coord device, 69 skvm::Coord local, 104 skvm::Coord device, 105 skvm::Coord local, 189 skvm::Coord /*device*/, in program() argument 190 skvm::Coord /*local*/, in program() 202 skvm::Coord /*device*/, in program() argument 203 skvm::Coord /*local*/, in program()
|
D | SkShaderBase.h | 237 skvm::Coord* local, // inout 409 skvm::Coord device, 422 skvm::Coord device, 423 skvm::Coord local, 471 static skvm::Coord ApplyMatrix(skvm::Builder*, const SkMatrix&, skvm::Coord, skvm::Uniforms*);
|
D | SkTransformShader.cpp | 18 skvm::Coord device, in program() 19 skvm::Coord local, in program() 60 skvm::Coord newLocal = {x, y}; in program()
|
D | SkCoordClampShader.cpp | 41 skvm::Coord device, 42 skvm::Coord local, 86 skvm::Coord device, in program() 87 skvm::Coord local, in program()
|
D | SkLocalMatrixShader.cpp | 105 skvm::Coord device, in program() 106 skvm::Coord local, in program() 174 skvm::Coord device, in program() 175 skvm::Coord local, in program()
|
D | SkTransformShader.h | 27 skvm::Coord device, 28 skvm::Coord local,
|
D | SkColorFilterShader.h | 36 skvm::Coord device, 37 skvm::Coord local,
|
D | SkComposeShader.cpp | 52 skvm::Coord device, 53 skvm::Coord local, 143 skvm::Coord device, in program() 144 skvm::Coord local, in program()
|
D | SkPictureShader.h | 47 skvm::Coord device, 48 skvm::Coord local,
|
D | SkImageShader.h | 82 skvm::Coord device, 83 skvm::Coord local,
|
D | SkLocalMatrixShader.h | 64 skvm::Coord device, 65 skvm::Coord local,
|
/external/oboe/samples/RhythmGame/third_party/glm/gtc/ |
D | functions.inl | 22 tvec2<T, P> const& Coord, argument 27 …tvec2<T, P> const Squared = ((Coord - ExpectedValue) * (Coord - ExpectedValue)) / (static_cast<T>(…
|
/external/skia/src/sksl/codegen/ |
D | SkSLVMCodeGenerator.h | 27 virtual skvm::Color sampleShader(int index, skvm::Coord coord) = 0; 41 skvm::Coord device, 42 skvm::Coord local,
|
/external/skia/src/shaders/gradients/ |
D | SkGradientShaderBase.h | 104 skvm::Coord device, 105 skvm::Coord local, 117 skvm::Coord coord, skvm::I32* mask) const = 0;
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600Intrinsics.td | 25 llvm_v4f32_ty, // Coord 38 llvm_v4i32_ty, // Coord
|