/external/chromium_org/third_party/flot/ |
jquery.flot.symbol.min.js | 10 symbol: "square" // or "diamond", "triangle", "cross" 14 */(function(e){function t(e,t,n){var r={square:function(e,t,n,r,i){var s=r*Math.sqrt(Math.PI)/2;e.rect(t-s,n-s,s+s,s+s)},diamond:function(e,t,n,r (…) method
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
AnimatableColor.cpp | 39 double square(double x) function in namespace:__anon14906 89 return sqrt(square(m_red - other.m_red) 90 + square(m_green - other.m_green) 91 + square(m_blue - other.m_blue) 92 + square(m_alpha - other.m_alpha));
|
/external/chromium_org/ppapi/examples/2d/ |
paint_manager_example.cc | 17 // Number of pixels to each side of the center of the square that we draw. 20 // We identify our square by the center point. This computes the rect for the 21 // square given that point. 55 // Update the square on a mouse down. 64 // Update the square on a drag. 112 // Paint the square black. Because we're lazy, we do this outside of the 114 pp::Rect square = SquareForPoint(last_x_, last_y_); local 116 square.x() - paint_bounds.x(), 117 square.y() - paint_bounds.y(), 118 square.width() [all...] |
/external/eigen/Eigen/src/plugins/ |
ArrayCwiseUnaryOps.h | 21 * \sa abs(), square() 55 /** \returns an expression of the coefficient-wise square root of *this. 60 * \sa pow(), square() 163 /** \returns an expression of the coefficient-wise square of *this. 171 square() const function 181 * \sa square(), pow()
|
/external/eigen/test/ |
dontalign.cpp | 31 SquareMatrixType square = SquareMatrixType::Random(rows,rows); local 34 VERIFY_IS_APPROX(v, square * square.colPivHouseholderQr().solve(v)); 35 square = square.inverse().eval(); 36 a = square * a; 37 square = square*square; 38 v = square * v [all...] |
adjoint.cpp | 18 static void run(const Vec& v1, const Vec& v2, Vec& v3, const Mat& square, Scalar s1, Scalar s2) { 23 VERIFY(test_isApproxWithRef(v1.dot(square * v2), (square.adjoint() * v1).dot(v2), 0)); 29 static void run(const Vec& v1, const Vec& v2, Vec& v3, const Mat& square, Scalar s1, Scalar s2) { 47 ref = NumTraits<Scalar>::IsInteger ? 0 : (std::max)((std::max)(v1.norm(),v2.norm()),(std::max)((square * v2).norm(),(square.adjoint() * v1).norm())); 48 VERIFY(internal::isMuchSmallerThan(abs(v1.dot(square * v2) - (square.adjoint() * v1).dot(v2)), ref, test_precision<Scalar>())); 74 square = SquareMatrixType::Random(rows, rows); local 95 adjoint_specific<NumTraits<Scalar>::IsInteger>::run(v1, v2, v3, square, s1, s2) [all...] |
integer_types.cpp | 73 square = SquareMatrixType::Random(rows, rows); local 131 VERIFY_IS_APPROX(square * (m1 + m2), square * m1 + square * m2); 132 VERIFY_IS_APPROX((m1 + m2).transpose() * square, m1.transpose() * square + m2.transpose() * square);
|
product.h | 44 square = RowSquareMatrixType::Random(rows, rows), local 68 VERIFY_IS_APPROX(square*(m1 + m2), square*m1+square*m2); 69 VERIFY_IS_APPROX(square*(m1 - m2), square*m1-square*m2); 72 VERIFY_IS_APPROX(s1*(square*m1), (s1*square)*m1); 73 VERIFY_IS_APPROX(s1*(square*m1), square*(m1*s1)) [all...] |
basicstuff.cpp | 30 square = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>::Random(rows, rows); local 73 square.col(r) = square.row(r).eval(); 76 rv = square.row(r); 77 cv = square.col(r);
|
product_extra.cpp | 29 square = MatrixType::Random(rows, rows), local 42 VERIFY_IS_APPROX(m3.noalias() = m1.adjoint() * square.adjoint(), m1.adjoint().eval() * square.adjoint().eval());
|
/external/eigen/test/eigen2/ |
eigen2_miscmatrices.cpp | 31 square = v1.asDiagonal(); local 32 if(r==r2) VERIFY_IS_APPROX(square(r,r2), v1[r]); 33 else VERIFY_IS_MUCH_SMALLER_THAN(square(r,r2), static_cast<Scalar>(1)); 34 square = MatrixType::Zero(rows, rows); 35 square.diagonal() = VectorType::Ones(rows); 36 VERIFY_IS_APPROX(square, MatrixType::Identity(rows, rows));
|
eigen2_basicstuff.cpp | 28 square = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>::Random(rows, rows); local 71 square.col(r) = square.row(r).eval(); 74 rv = square.row(r); 75 cv = square.col(r);
|
eigen2_nomalloc.cpp | 39 square = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> local
|
eigen2_adjoint.cpp | 34 square = SquareMatrixType::Random(rows, rows); local 64 VERIFY(ei_isApprox(v1.eigen2_dot(square * v2), (square.adjoint() * v1).eigen2_dot(v2), largerEps));
|
eigen2_cwiseop.cpp | 39 square = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>::Random(rows, rows); local 80 VERIFY_IS_APPROX(m1.cwise().pow(2), m1.cwise().square()); 101 VERIFY_IS_APPROX(m3.cwise().square(), m1.cwise().abs()); 102 VERIFY_IS_APPROX(m1.cwise().square().cwise().sqrt(), m1.cwise().abs()); 105 VERIFY_IS_APPROX(m1.cwise().pow(2), m1.cwise().square()); 112 VERIFY_IS_APPROX(mones, m1.cwise().sin().cwise().square() + m1.cwise().cos().cwise().square());
|
eigen2_triangular.cpp | 33 square = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> local
|
product.h | 47 square = RowSquareMatrixType::Random(rows, rows), local 73 VERIFY_IS_APPROX(square*(m1 + m2), square*m1+square*m2); 74 VERIFY_IS_APPROX(square*(m1 - m2), square*m1-square*m2); 77 VERIFY_IS_APPROX(s1*(square*m1), (s1*square)*m1); 78 VERIFY_IS_APPROX(s1*(square*m1), square*(m1*s1)) [all...] |
eigen2_submatrices.cpp | 58 square = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> local 74 VERIFY_IS_APPROX(square.row(r1).eigen2_dot(m1.col(c1)), (square.lazy() * m1.conjugate())(r1,c1));
|
/external/chromium_org/ppapi/examples/input/ |
pointer_event_input.cc | 17 // Number of pixels to each side of the center of the square that we draw. 20 // We identify our square by the center point. This computes the rect for the 21 // square given that point. 55 // Update the square on a mouse down. 64 // Update the square on a drag. 74 // Update the square on a touch down. 130 // Paint the square black. Because we're lazy, we do this outside of the 132 pp::Rect square = SquareForPoint(last_x_, last_y_); local 134 square.x() - paint_bounds.x(), 135 square.y() - paint_bounds.y() [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
vp9_context_tree.c | 13 static const BLOCK_SIZE square[] = { variable 85 // This function sets up a tree of contexts such that at each square 116 tree->block_size = square[0]; 129 tree->block_size = square[square_index];
|
/developers/build/prebuilts/gradle/BasicTransition/Application/src/main/java/com/example/android/basictransition/ |
BasicTransitionFragment.java | 109 View square = mSceneRoot.findViewById(R.id.transition_square); local 110 ViewGroup.LayoutParams params = square.getLayoutParams(); 114 square.setLayoutParams(params);
|
/developers/samples/android/ui/transition/BasicTransition/Application/src/main/java/com/example/android/basictransition/ |
BasicTransitionFragment.java | 109 View square = mSceneRoot.findViewById(R.id.transition_square); local 110 ViewGroup.LayoutParams params = square.getLayoutParams(); 114 square.setLayoutParams(params);
|
/development/samples/browseable/BasicTransition/src/com.example.android.basictransition/ |
BasicTransitionFragment.java | 109 View square = mSceneRoot.findViewById(R.id.transition_square); local 110 ViewGroup.LayoutParams params = square.getLayoutParams(); 114 square.setLayoutParams(params);
|
/external/eigen/Eigen/src/Eigen2Support/ |
CwiseOperators.h | 135 /** \deprecated ArrayBase::square() */ 138 Cwise<ExpressionType>::square() const function in class:Eigen::Cwise
|
/external/chromium_org/v8/test/mjsunit/ |
keyed-call-generic.js | 49 Number.prototype.square = function() { return this * this; } 50 Number.prototype.power4 = function() { return this.square().square(); } 69 testOne(2, 'square', 4);
|