Home
last modified time | relevance | path

Searched refs:theta (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/workprofile/
DPersonalWorkPagedView.java65 float theta = (float) Math.atan(slope); in determineScrollingStart() local
71 if (theta > MAX_SWIPE_ANGLE) { in determineScrollingStart()
73 } else if (theta > START_DAMPING_TOUCH_SLOP_ANGLE) { in determineScrollingStart()
74 theta -= START_DAMPING_TOUCH_SLOP_ANGLE; in determineScrollingStart()
76 Math.sqrt((theta / (MAX_SWIPE_ANGLE - START_DAMPING_TOUCH_SLOP_ANGLE))); in determineScrollingStart()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DRoundedArrowDrawable.java112 float theta = (float) atan(tanTheta); in addDownPointingRoundedTriangleToPath() local
115 float roundedPointCenterY = (float) (height - (radius / sin(theta))); in addDownPointingRoundedTriangleToPath()
119 float lineRoundPointIntersectFromCenter = (float) (p * sin(theta)); in addDownPointingRoundedTriangleToPath()
120 float lineRoundPointIntersectFromTop = (float) (height - (p * cos(theta))); in addDownPointingRoundedTriangleToPath()
123 float thetaDeg = (float) toDegrees(theta); in addDownPointingRoundedTriangleToPath()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFlingToDeleteHelper.java91 float theta = MAX_FLING_DEGREES + 1; in isFlingingToDelete() local
96 theta = getAngleBetweenVectors(vel, upVec); in isFlingingToDelete()
101 theta = getAngleBetweenVectors(vel, leftVec); in isFlingingToDelete()
103 if (theta <= Math.toRadians(MAX_FLING_DEGREES)) { in isFlingingToDelete()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DBlend.cpp1055 if (m_wb.theta == 0.0) in MosaicToFrame()
1064 double deltaTheta = m_wb.theta * alpha; in MosaicToFrame()
1074 double deltaTheta = m_wb.theta * alpha; in MosaicToFrame()
1092 if (m_wb.theta == 0.0) in FrameToMosaic()
1104 double alpha = deltaTheta / m_wb.theta; in FrameToMosaic()
1114 double alpha = deltaTheta / m_wb.theta; in FrameToMosaic()
1244 m_wb.theta = 0.0; in ComputeBlendParameters()
1265 m_wb.theta = lastTheta = arcLength = 0.0; in ComputeBlendParameters()
1286 m_wb.theta += thisTheta - lastTheta; in ComputeBlendParameters()
1298 if (is360) m_wb.theta = asin(last->trs[1][0]); in ComputeBlendParameters()
[all …]
DMosaicTypes.h136 double theta; member
/packages/apps/Gallery2/jni/filters/
Dtinyplanet.cc110 float theta = angle+atan2(yf, xf); in StereographicProjection() local
111 if (theta>PI_F) theta-=2*PI_F; in StereographicProjection()
118 float px = (theta / (2 * PI_F)) * input_width; in StereographicProjection()
/packages/apps/Camera2/jni/
Dtinyplanet.cc111 float theta = angle+atan2(yf, xf); in StereographicProjection() local
112 if (theta>PI_F) theta-=2*PI_F; in StereographicProjection()
119 float px = (theta / (2 * PI_F)) * input_width; in StereographicProjection()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dnormal_distribution_2d.h33 const float theta) in NormalDistribution2D() argument
35 mSinTheta(sinf(theta)), mCosTheta(cosf(theta)) {} in NormalDistribution2D()
Dproximity_info_state_utils.cpp713 float theta = 0.0f; in updateAlignPointProbabilities() local
719 theta = getDirection(sampledInputXs, sampledInputYs, i + 1, i); in updateAlignPointProbabilities()
731 theta = getDirection(sampledInputXs, sampledInputYs, i, i - 1); in updateAlignPointProbabilities()
734 sigmaY, theta); in updateAlignPointProbabilities()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DClippedFolderIconLayoutRule.java118 double theta = theta0 + index * (2 * Math.PI / curNumItems) * direction; in getPosition() local
125 result[0] = mAvailableSpace / 2 + (float) (radius * Math.cos(theta) / 2) - halfIconSize; in getPosition()
126 result[1] = mAvailableSpace / 2 + (float) (- radius * Math.sin(theta) / 2) - halfIconSize; in getPosition()
/packages/services/Car/cpp/evs/support_library/
DConfigManager.cpp32 static float normalizeToPlusMinus180degrees(float theta) { in normalizeToPlusMinus180degrees() argument
33 const float wraps = floor((theta+180.0f) / 360.0f); in normalizeToPlusMinus180degrees()
34 return theta - wraps*360.0f; in normalizeToPlusMinus180degrees()
/packages/services/Car/cpp/evs/apps/default/
DConfigManager.cpp28 static float normalizeToPlusMinus180degrees(float theta) { in normalizeToPlusMinus180degrees() argument
29 const float wraps = floor((theta+180.0f) / 360.0f); in normalizeToPlusMinus180degrees()
30 return theta - wraps*360.0f; in normalizeToPlusMinus180degrees()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_poly.cpp31 double r2_min_q3,theta,bp_through3,theta_through3; in db_SolveCubic() local
56 theta=acos(db_maxd(-1.0,db_mind(1.0,r/(q*srq)))); in db_SolveCubic()
58 theta_through3=theta/3.0; in db_SolveCubic()
Ddb_utilities_camera.h278 inline void db_MultiplyRotationOntoImageHomography(double H[9],double theta) in db_MultiplyRotationOntoImageHomography() argument
283 c=cos(theta); in db_MultiplyRotationOntoImageHomography()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java908 float theta = (float) Math.atan(slope); in determineScrollingStart() local
914 if (theta > MAX_SWIPE_ANGLE) { in determineScrollingStart()
917 } else if (theta > START_DAMPING_TOUCH_SLOP_ANGLE) { in determineScrollingStart()
922 theta -= START_DAMPING_TOUCH_SLOP_ANGLE; in determineScrollingStart()
924 Math.sqrt((theta / (MAX_SWIPE_ANGLE - START_DAMPING_TOUCH_SLOP_ANGLE))); in determineScrollingStart()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dnb_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Dfi_wordlist.combined.gz
Dde_wordlist.combined.gz

12