Searched refs:theta (Results 1 - 15 of 15) sorted by relevance

/packages/apps/Gallery2/jni/filters/
H A Dtinyplanet.cc110 float theta = angle+atan2(yf, xf); local
111 if (theta>PI_F) theta-=2*PI_F;
115 // (theta stays the same)
118 float px = (theta / (2 * PI_F)) * input_width;
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h136 double theta; member in struct:__anon4
H A DBlend.cpp1075 if (m_wb.theta == 0.0)
1084 double deltaTheta = m_wb.theta * alpha;
1094 double deltaTheta = m_wb.theta * alpha;
1112 if (m_wb.theta == 0.0)
1124 double alpha = deltaTheta / m_wb.theta;
1134 double alpha = deltaTheta / m_wb.theta;
1261 // and so we set the theta to 0 and return.
1264 m_wb.theta = 0.0;
1285 m_wb.theta = lastTheta = arcLength = 0.0;
1306 m_wb.theta
[all...]
/packages/apps/Gallery2/jni_mosaic/feature_mos/src/mosaic/
H A DMosaicTypes.h136 double theta; member in struct:__anon11
H A DBlend.cpp1075 if (m_wb.theta == 0.0)
1084 double deltaTheta = m_wb.theta * alpha;
1094 double deltaTheta = m_wb.theta * alpha;
1112 if (m_wb.theta == 0.0)
1124 double alpha = deltaTheta / m_wb.theta;
1134 double alpha = deltaTheta / m_wb.theta;
1261 // and so we set the theta to 0 and return.
1264 m_wb.theta = 0.0;
1285 m_wb.theta = lastTheta = arcLength = 0.0;
1306 m_wb.theta
[all...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DMosaicTypes.h136 double theta; member in struct:__anon18
H A DBlend.cpp1055 if (m_wb.theta == 0.0)
1064 double deltaTheta = m_wb.theta * alpha;
1074 double deltaTheta = m_wb.theta * alpha;
1092 if (m_wb.theta == 0.0)
1104 double alpha = deltaTheta / m_wb.theta;
1114 double alpha = deltaTheta / m_wb.theta;
1241 // and so we set the theta to 0 and return.
1244 m_wb.theta = 0.0;
1265 m_wb.theta = lastTheta = arcLength = 0.0;
1286 m_wb.theta
[all...]
/packages/apps/Camera/jni/feature_stab/db_vlvm/
H A Ddb_utilities_poly.cpp31 double r2_min_q3,theta,bp_through3,theta_through3; local
56 theta=acos(db_maxd(-1.0,db_mind(1.0,r/(q*srq))));
58 theta_through3=theta/3.0;
H A Ddb_utilities_camera.h259 [s 0][ cos(theta) sin(theta)]
260 [0 s][-sin(theta) cos(theta)]
274 [s 0][ cos(theta) sin(theta)]
275 [0 s][-sin(theta) cos(theta)]
278 inline void db_MultiplyRotationOntoImageHomography(double H[9],double theta) argument
283 c=cos(theta);
[all...]
/packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/
H A Ddb_utilities_poly.cpp31 double r2_min_q3,theta,bp_through3,theta_through3; local
56 theta=acos(db_maxd(-1.0,db_mind(1.0,r/(q*srq))));
58 theta_through3=theta/3.0;
H A Ddb_utilities_camera.h259 [s 0][ cos(theta) sin(theta)]
260 [0 s][-sin(theta) cos(theta)]
274 [s 0][ cos(theta) sin(theta)]
275 [0 s][-sin(theta) cos(theta)]
278 inline void db_MultiplyRotationOntoImageHomography(double H[9],double theta) argument
283 c=cos(theta);
[all...]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_utilities_poly.cpp31 double r2_min_q3,theta,bp_through3,theta_through3; local
56 theta=acos(db_maxd(-1.0,db_mind(1.0,r/(q*srq))));
58 theta_through3=theta/3.0;
H A Ddb_utilities_camera.h259 [s 0][ cos(theta) sin(theta)]
260 [0 s][-sin(theta) cos(theta)]
274 [s 0][ cos(theta) sin(theta)]
275 [0 s][-sin(theta) cos(theta)]
278 inline void db_MultiplyRotationOntoImageHomography(double H[9],double theta) argument
283 c=cos(theta);
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragController.java634 float theta = (float) Math.acos(((vel.x * upVec.x) + (vel.y * upVec.y)) /
636 if (theta <= Math.toRadians(MAX_FLING_DEGREES)) {
H A DWorkspace.java704 float theta = (float) Math.atan(slope);
710 if (theta > MAX_SWIPE_ANGLE) {
713 } else if (theta > START_DAMPING_TOUCH_SLOP_ANGLE) {
718 theta -= START_DAMPING_TOUCH_SLOP_ANGLE;
720 Math.sqrt((theta / (MAX_SWIPE_ANGLE - START_DAMPING_TOUCH_SLOP_ANGLE)));

Completed in 1992 milliseconds