Searched refs:factor (Results 1 - 10 of 10) sorted by relevance

/packages/apps/Camera/jni/feature_stab/src/dbreg/
H A Ddbstabsmooth.cpp25 static bool vpmotion_multiply(VP_MOTION *in1, double factor, VP_MOTION *out);
237 //! Overloaded smoother function that takes in user-specidied smoothing factor
239 db_StabilizationSmoother::smoothMotion1(VP_MOTION *inmot, VP_MOTION *outmot, VP_MOTION *motLF, VP_MOTION *imotLF, double factor) argument
248 MXX(*motLF) = (VP_PAR) (factor*(double) MXX(*motLF) + (1.0-factor)* (double) MXX(*inmot));
249 MXY(*motLF) = (VP_PAR) (factor*(double) MXY(*motLF) + (1.0-factor)* (double) MXY(*inmot));
250 MXZ(*motLF) = (VP_PAR) (factor*(double) MXZ(*motLF) + (1.0-factor)* (double) MXZ(*inmot));
251 MXW(*motLF) = (VP_PAR) (factor*(doubl
319 vpmotion_multiply(VP_MOTION *in1, double factor, VP_MOTION *out) argument
[all...]
H A Ddbstabsmooth.h80 * Set the smoothing factor for the stab-smoother.
81 * \param factor the factor value to set
83 inline void setSmoothingFactor(float factor) { f_smoothFactor = factor; } argument
90 * Set the zoom factor value.
95 * Set the minimum damping factor value.
96 * \param factor the value to set to
98 inline void setminDampingFactor(float factor) { f_minDampingFactor = factor; } argument
[all...]
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
H A Ddbstabsmooth.cpp25 static bool vpmotion_multiply(VP_MOTION *in1, double factor, VP_MOTION *out);
237 //! Overloaded smoother function that takes in user-specidied smoothing factor
239 db_StabilizationSmoother::smoothMotion1(VP_MOTION *inmot, VP_MOTION *outmot, VP_MOTION *motLF, VP_MOTION *imotLF, double factor) argument
248 MXX(*motLF) = (VP_PAR) (factor*(double) MXX(*motLF) + (1.0-factor)* (double) MXX(*inmot));
249 MXY(*motLF) = (VP_PAR) (factor*(double) MXY(*motLF) + (1.0-factor)* (double) MXY(*inmot));
250 MXZ(*motLF) = (VP_PAR) (factor*(double) MXZ(*motLF) + (1.0-factor)* (double) MXZ(*inmot));
251 MXW(*motLF) = (VP_PAR) (factor*(doubl
319 vpmotion_multiply(VP_MOTION *in1, double factor, VP_MOTION *out) argument
[all...]
H A Ddbstabsmooth.h80 * Set the smoothing factor for the stab-smoother.
81 * \param factor the factor value to set
83 inline void setSmoothingFactor(float factor) { f_smoothFactor = factor; } argument
90 * Set the zoom factor value.
95 * Set the minimum damping factor value.
96 * \param factor the value to set to
98 inline void setminDampingFactor(float factor) { f_minDampingFactor = factor; } argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterShadows.java44 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, float factor); argument
/packages/apps/Dialer/src/com/android/dialer/list/
H A DSwipeHelper.java124 public void setChildSwipedFarEnoughFactor(float factor) { argument
125 mChildSwipedFarEnoughFactor = factor;
128 public void setChildSwipedFastEnoughFactor(float factor) { argument
129 mChildSwipedFastEnoughFactor = factor;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
H A DExportDialog.java191 float factor = originalArea / (float) mCompressedSize;
192 float compressedSize = newArea / factor;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DEdgeEffect.java301 * width of X=0 to X=width, beginning from Y=0 and extending to some factor <
396 float factor = mGlowScaleYFinish != 0 ? 1
401 interp * factor;
/packages/apps/Browser/src/com/android/browser/
H A DNavTabScroller.java516 int factor = (mPullValue <= 0) ? 1 : -1;
525 float rot = -factor * ease(mCubic, oscroll, 0, k * 2, height);
526 int y = factor * (int) ease(mCubic, oscroll, 0, k*20, height);
/packages/apps/Camera2/src/com/android/camera/widget/
H A DFilmstripView.java514 * Apply a scale factor (i.e. {@code postScale}) on top of current scale at
2122 final int factor = DECELERATION_FACTOR;
2124 // S(t) = s + (e - s) * (1 - (1 - t/T) ^ factor)
2128 // V(t) = (e - s) * factor * (-1) * (1 - t/T) ^ (factor - 1) * (-1/T)
2129 // = (e - s) * factor * (1 - t/T) ^ (factor - 1) / T
2130 // Since V(0) = V0, we have e = T / factor * V0 + s
2135 // V(T - P) = V0 * (1 - (T -P) /T) ^ (factor - 1) = 1
2136 // T = P * V0 ^ (1 / (factor
[all...]

Completed in 299 milliseconds