Home
last modified time | relevance | path

Searched refs:theta (Results 1 – 25 of 28) 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.java187 float theta = (float) atan(tanTheta); in addDownPointingRoundedTriangleToPath() local
190 float roundedPointCenterY = (float) (height - (radius / sin(theta))); in addDownPointingRoundedTriangleToPath()
194 float lineRoundPointIntersectFromCenter = (float) (p * sin(theta)); in addDownPointingRoundedTriangleToPath()
195 float lineRoundPointIntersectFromTop = (float) (height - (p * cos(theta))); in addDownPointingRoundedTriangleToPath()
198 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/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.cpp709 float theta = 0.0f; in updateAlignPointProbabilities() local
715 theta = getDirection(sampledInputXs, sampledInputYs, i + 1, i); in updateAlignPointProbabilities()
727 theta = getDirection(sampledInputXs, sampledInputYs, i, i - 1); in updateAlignPointProbabilities()
730 sigmaY, theta); in updateAlignPointProbabilities()
/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/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/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/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/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/src/
DConfigManager.cpp27 static float normalizeToPlusMinus180degrees(float theta) { in normalizeToPlusMinus180degrees() argument
28 const float wraps = floor((theta + 180.0f) / 360.0f); in normalizeToPlusMinus180degrees()
29 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.java1193 float theta = (float) Math.atan(slope); in determineScrollingStart() local
1199 if (theta > MAX_SWIPE_ANGLE) { in determineScrollingStart()
1202 } else if (theta > START_DAMPING_TOUCH_SLOP_ANGLE) { in determineScrollingStart()
1207 theta -= START_DAMPING_TOUCH_SLOP_ANGLE; in determineScrollingStart()
1209 Math.sqrt((theta / (MAX_SWIPE_ANGLE - START_DAMPING_TOUCH_SLOP_ANGLE))); in determineScrollingStart()
/packages/apps/TV/libs/m2/
Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Dnb_wordlist.combined.gz
Den_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 ...
Dcs_wordlist.combined.gz
Dpl_wordlist.combined.gz

12