Home
last modified time | relevance | path

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

/packages/apps/Camera/jni/feature_stab/src/dbreg/
Ddbstabsmooth.cpp25 static bool vpmotion_multiply(VP_MOTION *in1, double factor, VP_MOTION *out);
239 …othMotion1(VP_MOTION *inmot, VP_MOTION *outmot, VP_MOTION *motLF, VP_MOTION *imotLF, double factor) in smoothMotion1() argument
248 … MXX(*motLF) = (VP_PAR) (factor*(double) MXX(*motLF) + (1.0-factor)* (double) MXX(*inmot)); in smoothMotion1()
249 … MXY(*motLF) = (VP_PAR) (factor*(double) MXY(*motLF) + (1.0-factor)* (double) MXY(*inmot)); in smoothMotion1()
250 … MXZ(*motLF) = (VP_PAR) (factor*(double) MXZ(*motLF) + (1.0-factor)* (double) MXZ(*inmot)); in smoothMotion1()
251 … MXW(*motLF) = (VP_PAR) (factor*(double) MXW(*motLF) + (1.0-factor)* (double) MXW(*inmot)); in smoothMotion1()
253 … MYX(*motLF) = (VP_PAR) (factor*(double) MYX(*motLF) + (1.0-factor)* (double) MYX(*inmot)); in smoothMotion1()
254 … MYY(*motLF) = (VP_PAR) (factor*(double) MYY(*motLF) + (1.0-factor)* (double) MYY(*inmot)); in smoothMotion1()
255 … MYZ(*motLF) = (VP_PAR) (factor*(double) MYZ(*motLF) + (1.0-factor)* (double) MYZ(*inmot)); in smoothMotion1()
256 … MYW(*motLF) = (VP_PAR) (factor*(double) MYW(*motLF) + (1.0-factor)* (double) MYW(*inmot)); in smoothMotion1()
[all …]
Ddbstabsmooth.h83 inline void setSmoothingFactor(float factor) { f_smoothFactor = factor; } in setSmoothingFactor() argument
98 inline void setminDampingFactor(float factor) { f_minDampingFactor = factor; } in setminDampingFactor() argument
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Ddbstabsmooth.cpp25 static bool vpmotion_multiply(VP_MOTION *in1, double factor, VP_MOTION *out);
239 …othMotion1(VP_MOTION *inmot, VP_MOTION *outmot, VP_MOTION *motLF, VP_MOTION *imotLF, double factor) in smoothMotion1() argument
248 … MXX(*motLF) = (VP_PAR) (factor*(double) MXX(*motLF) + (1.0-factor)* (double) MXX(*inmot)); in smoothMotion1()
249 … MXY(*motLF) = (VP_PAR) (factor*(double) MXY(*motLF) + (1.0-factor)* (double) MXY(*inmot)); in smoothMotion1()
250 … MXZ(*motLF) = (VP_PAR) (factor*(double) MXZ(*motLF) + (1.0-factor)* (double) MXZ(*inmot)); in smoothMotion1()
251 … MXW(*motLF) = (VP_PAR) (factor*(double) MXW(*motLF) + (1.0-factor)* (double) MXW(*inmot)); in smoothMotion1()
253 … MYX(*motLF) = (VP_PAR) (factor*(double) MYX(*motLF) + (1.0-factor)* (double) MYX(*inmot)); in smoothMotion1()
254 … MYY(*motLF) = (VP_PAR) (factor*(double) MYY(*motLF) + (1.0-factor)* (double) MYY(*inmot)); in smoothMotion1()
255 … MYZ(*motLF) = (VP_PAR) (factor*(double) MYZ(*motLF) + (1.0-factor)* (double) MYZ(*inmot)); in smoothMotion1()
256 … MYW(*motLF) = (VP_PAR) (factor*(double) MYW(*motLF) + (1.0-factor)* (double) MYW(*inmot)); in smoothMotion1()
[all …]
Ddbstabsmooth.h83 inline void setSmoothingFactor(float factor) { f_smoothFactor = factor; } in setSmoothingFactor() argument
98 inline void setminDampingFactor(float factor) { f_minDampingFactor = factor; } in setminDampingFactor() argument
/packages/inputmethods/PinyinIME/jni/share/
Dngram.cpp221 double factor = static_cast<double>(kSysDictTotalFreq) / ( in set_total_freq_none_sys() local
224 log(factor) * kLogValueAmplifier); in set_total_freq_none_sys()
Duserdict.cpp92 int factor = 80 - (delta << 4); in translate_score() local
95 return (LmaScoreType)(log((double)factor * (double)ori_freq / tf) in translate_score()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DEdgeEffect.java393 float factor = mGlowScaleYFinish != 0 ? 1 in update() local
398 interp * factor; in update()
/packages/apps/Browser/src/com/android/browser/
DNavTabScroller.java516 int factor = (mPullValue <= 0) ? 1 : -1; in onPull() local
525 float rot = -factor * ease(mCubic, oscroll, 0, k * 2, height); in onPull()
526 int y = factor * (int) ease(mCubic, oscroll, 0, k*20, height); in onPull()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DGLStub.java545 float factor, in glPolygonOffset() argument
550 int factor, in glPolygonOffsetx() argument
/packages/inputmethods/LatinIME/native/jni/src/
Dcorrection.cpp799 const float factor = max((x < R1) in calculateFinalProbability() local
810 multiplyRate((int)(factor * 100), &finalFreq); in calculateFinalProbability()