Searched refs:totalLen (Results 1 – 3 of 3) sorted by relevance
388 float totalLen = computeTotalLength(points); in computeStraightness() local391 return (float) Math.hypot(dx, dy) / totalLen; in computeStraightness()394 static float computeStraightness(float[] points, float totalLen) { in computeStraightness() argument397 return (float) Math.hypot(dx, dy) / totalLen; in computeStraightness()
1494 final int totalLen = elements.size(); in listEllipsize() local1495 if (totalLen == 0) { in listEllipsize()1510 final int[] endIndexes = new int[totalLen]; in listEllipsize()1511 for (int i = 0; i < totalLen; i++) { in listEllipsize()1513 if (i != totalLen - 1) { // Insert a separator, except at the very end. in listEllipsize()1519 for (int i = totalLen - 1; i >= 0; i--) { in listEllipsize()1523 final int remainingElements = totalLen - i - 1; in listEllipsize()
826 size_t totalLen = strlen(section) + strlen(tag) + 2; in CameraMetadata_getAllVendorKeys() local827 std::vector<char> fullName(totalLen, 0); in CameraMetadata_getAllVendorKeys()828 snprintf(&fullName[0], totalLen, "%s.%s", section, tag); in CameraMetadata_getAllVendorKeys()