/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
H A D | AllAppsPagedView.java | 62 float theta = (float) Math.atan(slope); 68 if (theta > MAX_SWIPE_ANGLE) { 70 } else if (theta > START_DAMPING_TOUCH_SLOP_ANGLE) { 71 theta -= START_DAMPING_TOUCH_SLOP_ANGLE; 73 Math.sqrt((theta / (MAX_SWIPE_ANGLE - START_DAMPING_TOUCH_SLOP_ANGLE)));
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
H A D | normal_distribution_2d.h | 33 const float theta) 35 mSinTheta(sinf(theta)), mCosTheta(cosf(theta)) {} 32 NormalDistribution2D(const float uX, const float sigmaX, const float uY, const float sigmaY, const float theta) argument
|
H A D | proximity_info_state_utils.cpp | 713 float theta = 0.0f; local 719 theta = getDirection(sampledInputXs, sampledInputYs, i + 1, i); 731 theta = getDirection(sampledInputXs, sampledInputYs, i, i - 1); 734 sigmaY, theta);
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
H A D | FlingToDeleteHelper.java | 115 float theta = MAX_FLING_DEGREES + 1; 119 theta = getAngleBetweenVectors(vel, upVec); 124 theta = getAngleBetweenVectors(vel, leftVec); 126 if (theta <= Math.toRadians(MAX_FLING_DEGREES)) {
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
H A D | ClippedFolderIconLayoutRule.java | 118 double theta = theta0 + index * (2 * Math.PI / curNumItems) * direction; 125 result[0] = mAvailableSpace / 2 + (float) (radius * Math.cos(theta) / 2) - halfIconSize; 126 result[1] = mAvailableSpace / 2 + (float) (- radius * Math.sin(theta) / 2) - halfIconSize;
|
/packages/apps/Camera2/jni/ |
H A D | tinyplanet.cc | 111 float theta = angle+atan2(yf, xf); local 112 if (theta>PI_F) theta-=2*PI_F; 116 // (theta stays the same) 119 float px = (theta / (2 * PI_F)) * input_width;
|
/packages/apps/Gallery2/jni/filters/ |
H A D | tinyplanet.cc | 110 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/services/Car/evs/app/ |
H A D | ConfigManager.cpp | 28 static float normalizeToPlusMinus180degrees(float theta) { argument 29 const float wraps = floor((theta+180.0f) / 360.0f); 30 return theta - wraps*360.0f;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | MosaicTypes.h | 136 double theta; member in struct:__anon11
|
H A D | Blend.cpp | 1055 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/LegacyCamera/jni/feature_stab/db_vlvm/ |
H A D | db_utilities_poly.cpp | 31 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 D | db_utilities_camera.h | 259 [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 D | DragController.java | 634 float theta = (float) Math.acos(((vel.x * upVec.x) + (vel.y * upVec.y)) / 636 if (theta <= Math.toRadians(MAX_FLING_DEGREES)) {
|
H A D | Workspace.java | 704 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)));
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | CharEscapers.java | 296 .addEscape('\u03B8', "θ")
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | Workspace.java | 988 float theta = (float) Math.atan(slope); 994 if (theta > MAX_SWIPE_ANGLE) { 997 } else if (theta > START_DAMPING_TOUCH_SLOP_ANGLE) { 1002 theta -= START_DAMPING_TOUCH_SLOP_ANGLE; 1004 Math.sqrt((theta / (MAX_SWIPE_ANGLE - START_DAMPING_TOUCH_SLOP_ANGLE)));
|