Home
last modified time | relevance | path

Searched refs:currentAngle (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DIconNormalizer.java378 float currentAngle = (xCoordinates[i] - xCoordinates[last]) / (i - last); in convertToConvexArray() local
382 if ((currentAngle - lastAngle) * direction < 0) { in convertToConvexArray()
385 currentAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()
386 if ((currentAngle - angles[start]) * direction >= 0) { in convertToConvexArray()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp113 const float currentAngle = GeometryUtils::getAngle( in updateTouchPoints() local
115 sumAngle += GeometryUtils::getAngleDiff(prevAngle, currentAngle); in updateTouchPoints()
630 const float currentAngle = getPointAngle(sampledInputXs, sampledInputYs, i); in updateAlignPointProbabilities() local
659 if (currentAngle < ProximityInfoParams::CORNER_ANGLE_THRESHOLD) { in updateAlignPointProbabilities()
676 skipProbability *= (M_PI_F - currentAngle) / M_PI_F * ProximityInfoParams::ANGLE_WEIGHT in updateAlignPointProbabilities()
678 if (currentAngle > ProximityInfoParams::DEEP_CORNER_ANGLE_THRESHOLD) { in updateAlignPointProbabilities()
686 && currentAngle > ProximityInfoParams::CORNER_ANGLE_THRESHOLD) { in updateAlignPointProbabilities()
700 const float speedMultipliedByAngleRate = std::min(speedRate * currentAngle / M_PI_F in updateAlignPointProbabilities()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DSimpleIconFactory.java636 float currentAngle = (xCoordinates[i] - xCoordinates[last]) / (i - last); in convertToConvexArray() local
640 if ((currentAngle - lastAngle) * direction < 0) { in convertToConvexArray()
643 currentAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()
644 if ((currentAngle - angles[start]) * direction >= 0) { in convertToConvexArray()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DEdgeBackGesturePanel.java678 private void setCurrentAngle(float currentAngle) { in setCurrentAngle() argument
679 mCurrentAngle = currentAngle; in setCurrentAngle()