Searched refs:exp (Results 1 - 25 of 101) sorted by last modified time

12345

/frameworks/support/dynamic-animation/src/android/support/animation/
H A DFlingAnimation.java217 mMassState.mVelocity = (float) (velocity * Math.exp((deltaT / 1000f) * mFriction));
219 + velocity / mFriction * Math.exp(mFriction * deltaT / 1000f));
/frameworks/support/frameworks/support/samples/SupportAnimationDemos/src/com/example/android/support/animation/
H A DMainActivity.java127 mDampingRatio = (float) Math.exp((i - 90) / 10.0);
151 float stiffness = (float) Math.exp(i / 10d);
H A DSpringActivity.java112 mDampingRatio = (float) Math.exp((i - 90) / 10.0);
136 float stiffness = (float) Math.exp(i / 10d);
/frameworks/support/samples/SupportAnimationDemos/src/com/example/android/support/animation/
H A DMainActivity.java127 mDampingRatio = (float) Math.exp((i - 90) / 10.0);
151 float stiffness = (float) Math.exp(i / 10d);
H A DSpringActivity.java112 mDampingRatio = (float) Math.exp((i - 90) / 10.0);
136 float stiffness = (float) Math.exp(i / 10d);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A Dvignette.rsh41 sloped_neg_range = exp(neg_range * desired_slope);
53 const float lumen = opp_shade + shade / ( 1.0f + sloped_neg_range * exp(sloped_dist_ratio) );
H A Dvignette_approx.rsh41 sloped_neg_range = exp(neg_range * desired_slope);
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DCameraView.java222 long exp = (long) (mExposureDown * scaleFactor);
223 exp = Math.min(mCameraOps.getExpMax(), exp);
224 mCameraOps.setExposure(Math.max(mCameraOps.getExpMin(), exp));
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
H A Dvignette_approx_f.rsh41 sloped_neg_range = exp(neg_range * desired_slope);
H A Dvignette_f.rsh41 sloped_neg_range = exp(neg_range * desired_slope);
52 const float lumen = opp_shade + shade / ( 1.0f + sloped_neg_range * exp(sloped_dist_ratio) );
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A DMaterial.java110 float s = (float) (1 / (1 + Math.exp((f - .5) * 5)));
H A Dbugdroid.rs26 return (float) (1 / (1 + exp(f / 2)));
/frameworks/rs/driver/runtime/
H A Drs_cl.c453 float __attribute__((overloadable)) exp(float v) { function
456 FN_FUNC_FN(exp)
1926 HN_FUNC_HN(exp); variable
/frameworks/rs/script_api/include/
H A Drs_math.rsh1427 * exp: e raised to a number
1434 exp(float v);
1437 exp(float2 v);
1440 exp(float3 v);
1443 exp(float4 v);
1447 exp(half v);
1452 exp(half2 v);
1457 exp(half3 v);
1462 exp(half4 v);
4457 * Fast approximate exp
[all...]
/frameworks/rs/script_api/
H A Drs_math.spec743 function: exp
757 function: exp
2233 Fast approximate exp.
2238 See also @exp().
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DCameraView.java223 long exp = (long) (mExposureDown * scaleFactor);
224 exp = Math.min(mCameraOps.getExpMax(), exp);
225 mCameraOps.setExposure(Math.max(mCameraOps.getExpMin(), exp));
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A Dvignette.rsh41 sloped_neg_range = exp(neg_range * desired_slope);
53 const float lumen = opp_shade + shade / ( 1.0f + sloped_neg_range * exp(sloped_dist_ratio) );
H A Dvignette_approx.rsh41 sloped_neg_range = exp(neg_range * desired_slope);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A Dvignette.rsh41 sloped_neg_range = exp(neg_range * desired_slope);
53 const float lumen = opp_shade + shade / ( 1.0f + sloped_neg_range * exp(sloped_dist_ratio) );
H A Dvignette_approx.rsh41 sloped_neg_range = exp(neg_range * desired_slope);
/frameworks/native/libs/math/include/math/
H A DTMatHelpers.h36 # define LIKELY( exp ) (__builtin_expect( !!(exp), true ))
37 # define UNLIKELY( exp ) (__builtin_expect( !!(exp), false ))
39 # define LIKELY( exp ) (__builtin_expect( !!(exp), 1 ))
40 # define UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 ))
H A DTQuatHelpers.h225 QUATERNION<T> PURE exp(const QUATERNION<T>& q) { function in class:android::details::TQuatFunctions
227 return std::exp(q.w)*QUATERNION<T>((sin(nq)/nq)*q.xyz, cos(nq));
238 // could also be computed as: exp(a*log(q));
H A Dhalf.h27 # define LIKELY( exp ) (__builtin_expect( !!(exp), true ))
28 # define UNLIKELY( exp ) (__builtin_expect( !!(exp), false ))
30 # define LIKELY( exp ) (__builtin_expect( !!(exp), 1 ))
31 # define UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 ))
/frameworks/native/libs/math/tests/
H A Dquat_test.cpp249 EXPECT_EQ(qr, log(exp(qr)));
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dstochastic_linear_ranker.h189 return exp(-1 * kernel_param_ * (w_square + s_square - 2 * dot));

Completed in 434 milliseconds

12345