/external/libchrome/ui/gfx/geometry/ |
D | scroll_offset.h | 23 ScrollOffset() : x_(0), y_(0) {} in ScrollOffset() 24 ScrollOffset(float x, float y) : x_(x), y_(y) {} in ScrollOffset() 25 explicit ScrollOffset(const Vector2dF& v) : x_(v.x()), y_(v.y()) {} in ScrollOffset() 26 explicit ScrollOffset(const Vector2d& v) : x_(v.x()), y_(v.y()) {} in ScrollOffset() 31 float y() const { return y_; } in y() 32 void set_y(float y) { y_ = y; } in set_y() 36 return x_ == 0 && y_ == 0; in IsZero() 42 y_ += other.y_; in Add() 49 y_ -= other.y_; in Subtract() 53 return Vector2dF(x_ - v.x(), y_ - v.y()); in DeltaFrom() [all …]
|
D | vector2d.h | 25 constexpr Vector2d() : x_(0), y_(0) {} in Vector2d() 26 constexpr Vector2d(int x, int y) : x_(x), y_(y) {} in Vector2d() 31 constexpr int y() const { return y_; } in y() 32 void set_y(int y) { y_ = y; } in set_y() 43 return x_ == other.x_ && y_ == other.y_; 50 y_ = y_ <= other.y_ ? y_ : other.y_; in SetToMin() 55 y_ = y_ >= other.y_ ? y_ : other.y_; in SetToMax() 73 int y_; variable
|
D | vector2d_f.h | 22 constexpr Vector2dF() : x_(0), y_(0) {} in Vector2dF() 23 constexpr Vector2dF(float x, float y) : x_(x), y_(y) {} in Vector2dF() 28 constexpr float y() const { return y_; } in y() 29 void set_y(float y) { y_ = y; } in set_y() 44 y_ = y_ <= other.y_ ? y_ : other.y_; in SetToMin() 49 y_ = y_ >= other.y_ ? y_ : other.y_; in SetToMax() 67 float y_; variable
|
D | vector2d.cc | 15 return x_ == 0 && y_ == 0; in IsZero() 20 y_ = base::ClampAdd(other.y_, y_); in Add() 25 y_ = base::ClampSub(y_, other.y_); in Subtract() 29 return static_cast<int64_t>(x_) * x_ + static_cast<int64_t>(y_) * y_; in LengthSquared() 37 return base::StringPrintf("[%d %d]", x_, y_); in ToString()
|
D | point_f.cc | 13 y_ = y_ <= other.y_ ? y_ : other.y_; in SetToMin() 18 y_ = y_ >= other.y_ ? y_ : other.y_; in SetToMax()
|
D | point.h | 29 constexpr Point() : x_(0), y_(0) {} in Point() 30 constexpr Point(int x, int y) : x_(x), y_(y) {} in Point() 49 constexpr int y() const { return y_; } in y() 51 void set_y(int y) { y_ = y; } in set_y() 55 y_ = y; in SetPoint() 60 y_ = base::ClampAdd(y_, delta_y); in Offset() 65 y_ = base::ClampAdd(y_, vector.y()); 70 y_ = base::ClampSub(y_, vector.y()); 76 bool IsOrigin() const { return x_ == 0 && y_ == 0; } in IsOrigin() 78 Vector2d OffsetFromOrigin() const { return Vector2d(x_, y_); } in OffsetFromOrigin() [all …]
|
D | point.cc | 26 y_ = points.y; in Point() 29 Point::Point(const POINT& point) : x_(point.x), y_(point.y) { in Point() 34 y_ = point.y; in operator =() 38 Point::Point(const CGPoint& point) : x_(point.x), y_(point.y) { 57 y_ = y_ <= other.y_ ? y_ : other.y_; in SetToMin() 62 y_ = y_ >= other.y_ ? y_ : other.y_; in SetToMax()
|
D | point_f.h | 21 constexpr PointF() : x_(0.f), y_(0.f) {} in PointF() 22 constexpr PointF(float x, float y) : x_(x), y_(y) {} in PointF() 28 constexpr float y() const { return y_; } in y() 30 void set_y(float y) { y_ = y; } in set_y() 34 y_ = y; in SetPoint() 39 y_ += delta_y; in Offset() 44 y_ += vector.y(); 49 y_ -= vector.y(); 55 bool IsOrigin() const { return x_ == 0 && y_ == 0; } in IsOrigin() 57 Vector2dF OffsetFromOrigin() const { return Vector2dF(x_, y_); } in OffsetFromOrigin() [all …]
|
D | vector2d_f.cc | 14 return base::StringPrintf("[%f %f]", x_, y_); in ToString() 18 return x_ == 0 && y_ == 0; in IsZero() 23 y_ += other.y_; in Add() 28 y_ -= other.y_; in Subtract() 32 return static_cast<double>(x_) * x_ + static_cast<double>(y_) * y_; in LengthSquared() 41 y_ *= y_scale; in Scale()
|
/external/ImageMagick/Magick++/lib/ |
D | Pixels.cpp | 37 Magick::Quantum* Magick::Pixels::get(const ssize_t x_,const ssize_t y_, in get() argument 41 _y=y_; in get() 46 Quantum* pixels=GetCacheViewAuthenticPixels(_view,x_,y_,columns_,rows_, in get() 54 const ssize_t y_,const size_t columns_,const size_t rows_) in getConst() argument 57 _y=y_; in getConst() 62 const Quantum* pixels=GetCacheViewVirtualPixels(_view,x_,y_,columns_,rows_, in getConst() 76 Magick::Quantum* Magick::Pixels::set(const ssize_t x_,const ssize_t y_, in set() argument 80 _y=y_; in set() 85 Quantum* pixels=QueueCacheViewAuthenticPixels(_view,x_,y_,columns_,rows_, in set() 114 const ::ssize_t y_,const size_t width_,const size_t height_,std::string map_, in PixelData() [all …]
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | rect_chromium.h | 20 y_(other.y_), in RectChromium() 24 x_(x), y_(y), width_(width), height_(height) { in RectChromium() 32 y_ = other.y_; 41 int y() const { return y_; } in y() 42 void set_y(int y) { y_ = y; } in set_y() 66 int y_ = 0; variable
|
D | rect_blink.h | 20 x_(x), y_(y), width_(width), height_(height) { in RectBlink() 22 DCHECK_GE(y_, 0); in RectBlink() 34 int y() const { return y_; } in y() 37 y_ = y; in setY() 62 int y_ = 0; variable
|
D | shared_rect.h | 19 : x_(x), y_(y), width_(width), height_(height) {} in SharedRect() 24 int y() const { return y_; } in y() 25 void set_y(int y) { y_ = y; } in set_y() 35 int y_ = 0; variable
|
/external/v4l2_codec2/vda/ |
D | rect.h | 28 Rect() : x_(0), y_(0), size_(0, 0) {} in Rect() 29 Rect(int width, int height) : x_(0), y_(0), size_(width, height) {} in Rect() 31 : x_(x), y_(y), size_(width, height) {} in Rect() 32 explicit Rect(const Size& size) : x_(0), y_(0), size_(size) {} in Rect() 37 int y() const { return y_; } in y() 38 void set_y(int y) { y_ = y; } in set_y() 73 x_, y_, size().ToString().c_str()); in ToString() 78 int y_; variable
|
/external/ImageMagick/Magick++/lib/Magick++/ |
D | Drawable.h | 54 Coordinate(double x_,double y_) in Coordinate() argument 56 _y(y_) {} in Coordinate() 63 void y(double y_) { _y=y_; } in y() argument 305 DrawableAlpha(double x_, double y_,PaintMethod paintMethod_) in DrawableAlpha() argument 307 _y(y_), in DrawableAlpha() 330 void y(double y_) in y() argument 332 _y=y_; in y() 671 DrawableColor ( double x_, double y_, in DrawableColor() argument 674 _y(y_), in DrawableColor() 695 void y( double y_ ) in y() argument [all …]
|
D | Image.h | 703 void chromaBluePrimary(const double x_,const double y_,const double z_); 704 void chromaBluePrimary(double *x_,double *y_,double *z_) const; 707 void chromaGreenPrimary(const double x_,const double y_,const double z_); 708 void chromaGreenPrimary(double *x_,double *y_,double *z_) const; 711 void chromaRedPrimary(const double x_,const double y_,const double z_); 712 void chromaRedPrimary(double *x_,double *y_,double *z_) const; 715 void chromaWhitePoint(const double x_,const double y_,const double z_); 716 void chromaWhitePoint(double *x_,double *y_,double *z_) const; 889 const ::ssize_t y_,const size_t columns_,const size_t rows_, 904 void floodFillAlpha(const ::ssize_t x_,const ::ssize_t y_, [all …]
|
D | Pixels.h | 31 Quantum *get(const ::ssize_t x_,const ::ssize_t y_, 36 const Quantum *getConst(const ::ssize_t x_,const ::ssize_t y_, 48 Quantum *set(const ::ssize_t x_,const ::ssize_t y_,const size_t columns_, 89 PixelData(Magick::Image &image_,const ::ssize_t x_,const ::ssize_t y_, 111 void init(Magick::Image &image_,const ::ssize_t x_,const ::ssize_t y_,
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/ |
D | absolute_value_test.py | 40 y_ = y.eval() 42 self.assertAllClose(y_, bijector.forward(x).eval()) 43 self.assertAllClose((-y_, y_), sess.run(bijector.inverse(y))) 50 self.assertAllClose(y_, bijector.forward(x).eval()) 51 self.assertAllClose((-y_, y_), sess.run(bijector.inverse(y)))
|
D | matrix_inverse_tril_test.py | 58 y_, x_back_, fldj_, ildj_ = self.evaluate([y, x_back, fldj, ildj]) 60 self.assertAllClose(x_inv_, y_, atol=0., rtol=1e-5) 76 y_, x_back_, fldj_, ildj_ = self.evaluate([y, x_back, fldj, ildj]) 78 self.assertAllClose(x_inv_, y_, atol=0., rtol=1e-5) 94 y_, x_back_, fldj_, ildj_ = self.evaluate([y, x_back, fldj, ildj]) 96 self.assertAllClose(x_inv_, y_, atol=0., rtol=1e-5) 118 y_, x_back_, fldj_, ildj_ = self.evaluate([y, x_back, fldj, ildj]) 120 self.assertAllClose(x_inv_, y_, atol=0., rtol=1e-5)
|
D | fill_triangular_test.py | 42 y_ = self.evaluate(b.forward(x)) 43 self.assertAllClose(y, y_) 62 y_ = b.forward(x) 63 self.assertAllEqual(y_.shape.as_list(), y_shape.as_list()) 64 x_ = b.inverse(y_)
|
D | reshape_test.py | 60 y_, 69 self.assertAllClose(expected_y, y_, rtol=1e-6, atol=0) 111 y_, 120 self.assertAllClose(expected_y, y_, rtol=1e-6, atol=0) 219 y_, 224 self.assertAllClose(expected_y, y_, rtol=1e-6, atol=0) 237 y_, 242 self.assertAllClose(expected_y, y_, rtol=1e-6, atol=0) 253 y_, 258 self.assertAllClose(expected_y, y_, rtol=1e-6, atol=0)
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | desktop_geometry.h | 22 DesktopVector() : x_(0), y_(0) {} in DesktopVector() 23 DesktopVector(int32_t x, int32_t y) : x_(x), y_(y) {} in DesktopVector() 26 int32_t y() const { return y_; } in y() 27 bool is_zero() const { return x_ == 0 && y_ == 0; } in is_zero() 30 return x_ == other.x_ && y_ == other.y_; in equals() 35 y_ = y; in set() 47 int32_t y_; variable
|
/external/tensorflow/tensorflow/examples/tutorials/mnist/ |
D | mnist_softmax_xla.py | 45 y_ = tf.placeholder(tf.int64, [None]) 56 cross_entropy = tf.losses.sparse_softmax_cross_entropy(labels=y_, logits=y) 79 y_: batch_ys}, 86 sess.run(train_step, feed_dict={x: batch_xs, y_: batch_ys}) 89 correct_prediction = tf.equal(tf.argmax(y, 1), y_) 93 y_: mnist.test.labels}))
|
/external/pdfium/third_party/agg23/ |
D | agg_vertex_sequence.h | 78 vertex_dist(float x_, float y_) : in vertex_dist() 80 y(y_), in vertex_dist() 93 vertex_dist_cmd(float x_, float y_, unsigned cmd_) : in vertex_dist_cmd() 94 vertex_dist(x_, y_), in vertex_dist_cmd()
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | geom.h | 260 : x_(x), y_(y), size_(size) {} in BoundingSquare() 263 : x_(box.left_), y_(box.top_), size_(box.GetWidth()) { in BoundingSquare() 272 return BoundingBox(x_, y_, x_ + size_, y_ + size_); in ToBoundingBox() 281 y_ += shift_amount.y; in Shift() 288 y_ -= position_diff; in Scale() 293 float y_; variable 298 stream << "[" << square.x_ << "," << square.y_ << " " << square.size_ << "]";
|