Searched refs:degree (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/android/view/
H A DVelocityTracker.java290 * Polynomial degree, or zero if only position information is available.
292 public int degree; field in class:VelocityTracker.Estimator
320 * @return The X coefficient, or 0 if the index is greater than the degree.
323 return index <= degree ? xCoeff[index] : 0;
329 * @return The Y coefficient, or 0 if the index is greater than the degree.
332 return index <= degree ? yCoeff[index] : 0;
338 for (int i = 0; i <= degree; i++) {
/frameworks/base/libs/androidfw/
H A DVelocityTracker.cpp255 "estimator (degree=%d, xCoeff=%s, yCoeff=%s, confidence=%f)",
257 int(estimator.degree),
258 vectorToString(estimator.xCoeff, estimator.degree + 1).string(),
259 vectorToString(estimator.yCoeff, estimator.degree + 1).string(),
338 if (getEstimator(id, &estimator) && estimator.degree >= 1) {
359 uint32_t degree, Weighting weighting) :
360 mDegree(degree), mWeighting(weighting) {
393 * Solves a linear least squares problem to obtain a N degree polynomial that fits
594 uint32_t degree = mDegree;
595 if (degree >
358 LeastSquaresVelocityTrackerStrategy( uint32_t degree, Weighting weighting) argument
696 IntegratingVelocityTrackerStrategy(uint32_t degree) argument
[all...]
/frameworks/base/include/androidfw/
H A DVelocityTracker.h46 // Polynomial degree (number of coefficients), or zero if no information is
48 uint32_t degree; member in struct:android::VelocityTracker::Estimator
55 degree = 0;
157 LeastSquaresVelocityTrackerStrategy(uint32_t degree, Weighting weighting = WEIGHTING_NONE);
200 IntegratingVelocityTrackerStrategy(uint32_t degree);
213 uint32_t degree; member in struct:android::IntegratingVelocityTrackerStrategy::State
/frameworks/base/core/jni/
H A Dandroid_view_VelocityTracker.cpp38 jfieldID degree; member in struct:android::__anon1005
209 env->SetIntField(outEstimatorObj, gEstimatorClassInfo.degree, estimator.degree);
265 GET_FIELD_ID(gEstimatorClassInfo.degree, clazz,
266 "degree", "I");
/frameworks/base/media/java/android/media/
H A DMediaScanner.java888 int degree;
891 degree = 90;
894 degree = 180;
897 degree = 270;
900 degree = 0;
903 values.put(Images.Media.ORIENTATION, degree);

Completed in 609 milliseconds