Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStreamingTextView.java168 int totalLen = length(); in startStreamAnimation() local
169 int animLen = totalLen - pos; in startStreamAnimation()
176 mStreamingAnimation.setIntValues(pos, totalLen); in startStreamAnimation()
/frameworks/base/core/java/android/gesture/
DGestureUtils.java388 float totalLen = computeTotalLength(points); in computeStraightness() local
391 return (float) Math.hypot(dx, dy) / totalLen; in computeStraightness()
394 static float computeStraightness(float[] points, float totalLen) { in computeStraightness() argument
397 return (float) Math.hypot(dx, dy) / totalLen; in computeStraightness()
/frameworks/base/core/java/android/text/
DTextUtils.java1341 final int totalLen = elements.size(); in listEllipsize() local
1342 if (totalLen == 0) { in listEllipsize()
1357 final int[] endIndexes = new int[totalLen]; in listEllipsize()
1358 for (int i = 0; i < totalLen; i++) { in listEllipsize()
1360 if (i != totalLen - 1) { // Insert a separator, except at the very end. in listEllipsize()
1366 for (int i = totalLen - 1; i >= 0; i--) { in listEllipsize()
1370 final int remainingElements = totalLen - i - 1; in listEllipsize()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp761 size_t totalLen = strlen(section) + strlen(tag) + 2; in CameraMetadata_getAllVendorKeys() local
762 std::vector<char> fullName(totalLen, 0); in CameraMetadata_getAllVendorKeys()
763 snprintf(&fullName[0], totalLen, "%s.%s", section, tag); in CameraMetadata_getAllVendorKeys()