/external/eigen/unsupported/test/ |
splines.cpp | 17 // force the compilation of all spline functions... 18 template class Spline<double, 2, Dynamic>; 19 template class Spline<double, 3, Dynamic>; 21 template class Spline<double, 2, 2>; 22 template class Spline<double, 2, 3>; 23 template class Spline<double, 2, 4>; 24 template class Spline<double, 2, 5>; 26 template class Spline<float, 2, Dynamic>; 27 template class Spline<float, 3, Dynamic>; 29 template class Spline<float, 3, 2> 99 Spline3d spline = spline3d(); local 136 Spline3d spline = spline3d(); local 163 Spline2d spline = closed_spline2d(); local 214 const Spline2d spline = SplineFitting<Spline2d>::Interpolate(points,3); local 226 const Spline2d spline = SplineFitting<Spline2d>::Interpolate(points,3,chord_lengths); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterCurves.java | 21 import com.android.gallery3d.filtershow.imageshow.Spline; 45 Spline spline = mParameters.getSpline(curveIndex); local 46 if (spline == null) { 49 float[] curve = spline.getAppliedCurve(); 57 if (!mParameters.getSpline(Spline.RGB).isOriginal()) { 59 populateArray(rgbGradient, Spline.RGB); 65 if (!mParameters.getSpline(Spline.RED).isOriginal()) { 67 populateArray(redGradient, Spline.RED); 70 if (!mParameters.getSpline(Spline.GREEN).isOriginal()) 94 Spline spline = new Spline(); local [all...] |
FilterCurvesRepresentation.java | 9 import com.android.gallery3d.filtershow.imageshow.Spline; 21 private Spline[] mSplines = new Spline[MAX_SPLINE_NUMBER]; 55 Spline[] spline = new Spline[MAX_SPLINE_NUMBER]; local 56 for (int i = 0; i < spline.length; i++) { 57 Spline sp = representation.mSplines[i]; 59 spline[i] = new Spline(sp) 99 Spline spline = new Spline(); local 144 Spline[] spline = new Spline[MAX_SPLINE_NUMBER]; local [all...] |
FilterChanSatRepresentation.java | 28 import com.android.gallery3d.filtershow.imageshow.Spline;
|
/external/eigen/unsupported/Eigen/src/Splines/ |
SplineFwd.h | 17 template <typename Scalar, int Dim, int Degree = Dynamic> class Spline; 23 * \brief Compile-time attributes of the Spline class for Dynamic degree. 26 struct SplineTraits< Spline<_Scalar, _Dim, _Degree>, Dynamic > 28 typedef _Scalar Scalar; /*!< The spline curve's scalar type. */ 29 enum { Dimension = _Dim /*!< The spline curve's dimension. */ }; 30 enum { Degree = _Degree /*!< The spline curve's degree. */ }; 32 enum { OrderAtCompileTime = _Degree==Dynamic ? Dynamic : _Degree+1 /*!< The spline curve's order at compile-time. */ }; 33 enum { NumOfDerivativesAtCompileTime = OrderAtCompileTime /*!< The number of derivatives defined for the current spline. */ }; 41 /** \brief The data type used to store the spline's derivative values. */ 44 /** \brief The point type the spline is representing. * [all...] |
Spline.h | 19 * \class Spline 20 * \brief A class representing multi-dimensional spline curves. 23 * point of the B-spline is associated with a basis function 35 class Spline 38 typedef _Scalar Scalar; /*!< The spline curve's scalar type. */ 39 enum { Dimension = _Dim /*!< The spline curve's dimension. */ }; 40 enum { Degree = _Degree /*!< The spline curve's degree. */ }; 42 /** \brief The point type the spline is representing. */ 43 typedef typename SplineTraits<Spline>::PointType PointType; 46 typedef typename SplineTraits<Spline>::KnotVectorType KnotVectorType [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageCurves.java | 54 private int mCurrentCurveIndex = Spline.RGB; 156 private Spline getSpline(int index) { 193 if (mCurrentCurveIndex == Spline.RGB || mCurrentCurveIndex == Spline.RED) { 196 if (mCurrentCurveIndex == Spline.RGB || mCurrentCurveIndex == Spline.GREEN) { 199 if (mCurrentCurveIndex == Spline.RGB || mCurrentCurveIndex == Spline.BLUE) { 203 if (mCurrentCurveIndex == Spline.RGB) { 205 Spline spline = getSpline(i) local 223 Spline spline = getSpline(mCurrentCurveIndex); local 299 Spline spline = getSpline(mCurrentCurveIndex); local [all...] |
Spline.java | 29 public class Spline { 39 private static final String LOGTAG = "Spline"; 44 public Spline() { 48 public Spline(Spline spline) { 50 for (int i = 0; i < spline.mPoints.size(); i++) { 51 ControlPoint p = spline.mPoints.elementAt(i); 54 if (spline.mCurrentControlPoint == p) { 76 case Spline.RED 434 Spline spline = new Spline(); local [all...] |
/frameworks/base/core/java/android/util/ |
Spline.java | 20 * Performs spline interpolation given a set of control points. 23 public abstract class Spline { 27 * Clamps X to the domain of the spline. 35 * Creates an appropriate spline based on the properties of the control points. 37 * If the control points are monotonic then the resulting spline will preserve that and 40 public static Spline createSpline(float[] x, float[] y) { 54 * Creates a monotone cubic spline from a given set of control points. 56 * The spline is guaranteed to pass through each control point exactly. 60 * This function uses the Fritsch-Carlson method for computing the spline parameters. 71 public static Spline createMonotoneCubicSpline(float[] x, float[] y) [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
DisplayPowerController.java | 42 import android.util.Spline; 336 Spline screenAutoBrightnessSpline = createAutoBrightnessSpline(lux, screenBrightness); 1198 Spline spline = Spline.createSpline(x, y); local [all...] |
AutomaticBrightnessController.java | 38 import android.util.Spline; 86 // The auto-brightness spline adjustment. 88 private final Spline mScreenAutoBrightnessSpline; 189 SensorManager sensorManager, Spline autoBrightnessSpline, int lightSensorWarmUpTime,
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
FilterShowActivity.java | 107 import com.android.gallery3d.filtershow.imageshow.Spline; 543 Spline.setCurveHandle(curveHandle, curveHandleSize); 544 Spline.setCurveWidth((int) getPixelsFromDip(3)); [all...] |
/frameworks/base/ |
compiled-classes-phone | [all...] |