Home
last modified time | relevance | path

Searched refs:Scaling (Results 1 – 25 of 49) sorted by relevance

12

/external/eigen/Eigen/src/Eigen2Support/Geometry/
DScaling.h29 class Scaling
53 Scaling() {} in Scaling() function
55 explicit inline Scaling(const Scalar& s) { m_coeffs.setConstant(s); } in Scaling() function
57 inline Scaling(const Scalar& sx, const Scalar& sy) in Scaling() function
64 inline Scaling(const Scalar& sx, const Scalar& sy, const Scalar& sz) in Scaling() function
72 explicit inline Scaling(const VectorType& coeffs) : m_coeffs(coeffs) {} in Scaling() function
78 inline Scaling operator* (const Scaling& other) const
79 { return Scaling(coeffs().cwise() * other.coeffs()); }
94 friend inline LinearMatrixType operator* (const LinearMatrixType& other, const Scaling& s)
106 inline Scaling inverse() const in inverse()
[all …]
DAll.h49 #define Scaling eigen2_Scaling macro
104 #undef Scaling
DRotationBase.h49 inline RotationMatrixType operator*(const Scaling<Scalar,Dim>& s) const
/external/libgdx/gdx/src/com/badlogic/gdx/utils/viewport/
DScalingViewport.java23 import com.badlogic.gdx.utils.Scaling;
40 private Scaling scaling;
43 public ScalingViewport (Scaling scaling, float worldWidth, float worldHeight) { in ScalingViewport()
47 public ScalingViewport (Scaling scaling, float worldWidth, float worldHeight, Camera camera) { in ScalingViewport()
65 public Scaling getScaling () { in getScaling()
69 public void setScaling (Scaling scaling) { in setScaling()
DFitViewport.java6 import com.badlogic.gdx.utils.Scaling;
15 super(Scaling.fit, worldWidth, worldHeight); in FitViewport()
19 super(Scaling.fit, worldWidth, worldHeight, camera); in FitViewport()
DFillViewport.java6 import com.badlogic.gdx.utils.Scaling;
15 super(Scaling.fill, worldWidth, worldHeight); in FillViewport()
19 super(Scaling.fill, worldWidth, worldHeight, camera); in FillViewport()
DStretchViewport.java6 import com.badlogic.gdx.utils.Scaling;
15 super(Scaling.stretch, worldWidth, worldHeight); in StretchViewport()
19 super(Scaling.stretch, worldWidth, worldHeight, camera); in StretchViewport()
DExtendViewport.java22 import com.badlogic.gdx.utils.Scaling;
64 Vector2 scaled = Scaling.fit.apply(worldWidth, worldHeight, screenWidth, screenHeight); in update()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
DImage.java30 import com.badlogic.gdx.utils.Scaling;
36 private Scaling scaling;
49 this(new NinePatchDrawable(patch), Scaling.stretch, Align.center); in Image()
55 this(new TextureRegionDrawable(region), Scaling.stretch, Align.center); in Image()
65 this(skin.getDrawable(drawableName), Scaling.stretch, Align.center); in Image()
71 this(drawable, Scaling.stretch, Align.center); in Image()
76 public Image (Drawable drawable, Scaling scaling) { in Image()
81 public Image (Drawable drawable, Scaling scaling, int align) { in Image()
156 public void setScaling (Scaling scaling) { in setScaling()
DImageButton.java21 import com.badlogic.gdx.utils.Scaling;
43 image.setScaling(Scaling.fit); in ImageButton()
DImageTextButton.java26 import com.badlogic.gdx.utils.Scaling;
55 image.setScaling(Scaling.fit); in ImageTextButton()
/external/eigen/Eigen/src/Geometry/
DScaling.h115 static inline UniformScaling<float> Scaling(float s) { return UniformScaling<float>(s); } in Scaling() function
117 static inline UniformScaling<double> Scaling(double s) { return UniformScaling<double>(s); } in Scaling() function
120 static inline UniformScaling<std::complex<RealScalar> > Scaling(const std::complex<RealScalar>& s) in Scaling() function
125 static inline DiagonalMatrix<Scalar,2> Scaling(const Scalar& sx, const Scalar& sy) in Scaling() function
129 static inline DiagonalMatrix<Scalar,3> Scaling(const Scalar& sx, const Scalar& sy, const Scalar& sz) in Scaling() function
136 static inline const DiagonalWrapper<const Derived> Scaling(const MatrixBase<Derived>& coeffs) in Scaling() function
/external/eigen/doc/
DTutorialGeometry.dox10 …y a \ref Quaternion "quaternion"), \ref Translation "translations", \ref Scaling "scalings". These…
46 N-D Scaling</td><td>\code
47 Scaling(sx, sy)
48 Scaling(sx, sy, sz)
49 Scaling(s)
50 Scaling(vecN)\endcode</td></tr>
60 Transform<float,3,Affine> t = Translation3f(p) * AngleAxisf(a,axis) * Scaling(s);\endcode</td></tr>
65 Matrix<float,2> t = Rotation2Df(a) * Scaling(s);
66 Matrix<float,3> t = AngleAxisf(a,axis) * Scaling(s);\endcode</td></tr>
74 <strong>Notes on Translation and Scaling</strong>\n Like AngleAxis, these classes were
[all …]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DImageScaleTest.java25 import com.badlogic.gdx.utils.Scaling;
37 image.setScaling(Scaling.fit); in create()
42 image2.setScaling(Scaling.fit); in create()
DStageTest.java41 import com.badlogic.gdx.utils.Scaling;
88 blend.setScaling(Scaling.none); in create()
102 rotate.setScaling(Scaling.none); in create()
113 scale.setScaling(Scaling.none); in create()
163 img.setScaling(Scaling.none); in fillGroup()
DImageTest.java28 import com.badlogic.gdx.utils.Scaling;
49 image.setScaling(Scaling.fill); in create()
DStagePerformanceTest.java32 import com.badlogic.gdx.utils.Scaling;
51 stage = new Stage(new ScalingViewport(Scaling.fit, 24, 12)); in create()
DSimpleStageCullingTest.java36 import com.badlogic.gdx.utils.Scaling;
58 setScaling(Scaling.none); in CullableActor()
DViewportTest1.java32 import com.badlogic.gdx.utils.Scaling;
130 viewports.add(new ScalingViewport(Scaling.none, minWorldWidth, minWorldHeight, camera)); in getViewports()
/external/eigen/test/
Dgeo_transformations.cpp272 t1 = (Matrix3(q1) * Eigen::Scaling(v0)) * Translation3(v0); in transformations()
274 t1 = (q1 * Eigen::Scaling(v0)) * Translation3(v0); in transformations()
283 t1 = Eigen::Scaling(s0) * Translation3(v0); in transformations()
286 t1 = Eigen::Scaling(s0) * t1; in transformations()
291 t1 = t3 * Eigen::Scaling(s0,s0,s0); in transformations()
294 t1 = Eigen::Scaling(s0,s0,s0) * t1; in transformations()
299 t1 = t3 * Eigen::Scaling(s0); in transformations()
302 t1 = Eigen::Scaling(s0) * t1; in transformations()
414 t20 = Translation2(v20) * (Rotation2D<Scalar>(s0) * Eigen::Scaling(s0)); in transformations()
415 t21 = Translation2(v20) * Rotation2D<Scalar>(s0) * Eigen::Scaling(s0); in transformations()
[all …]
/external/eigen/unsupported/test/
Dopenglsupport.cpp201 VERIFY_MATRIX(glScale(vf2), Projective3f(Scaling(vf23)).matrix()); in test_openglsupport()
203 VERIFY_MATRIX(glScale(vd2), Projective3d(Scaling(vd23)).matrix()); in test_openglsupport()
206 VERIFY_MATRIX(glScale(vf3), Projective3f(Scaling(vf3)).matrix()); in test_openglsupport()
208 VERIFY_MATRIX(glScale(vd3), Projective3d(Scaling(vd3)).matrix()); in test_openglsupport()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
DBaseG3dHudTest.java35 import com.badlogic.gdx.utils.Scaling;
69 hud = new Stage(new ScalingViewport(Scaling.fit, PREF_HUDWIDTH, PREF_HUDHEIGHT)); in createHUD()
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
DScaling.java23 public enum Scaling { enum
/external/eigen/test/eigen2/
Deigen2_geometry.cpp31 typedef Scaling<Scalar,2> Scaling2; in geometry()
32 typedef Scaling<Scalar,3> Scaling3; in geometry()
367 Scaling<float,3> sc1f = sc1.template cast<float>(); in geometry()
369 Scaling<double,3> sc1d = sc1.template cast<double>(); in geometry()
/external/eigen/Eigen/
DGeometry44 #include "src/Geometry/Scaling.h"

12