Lines Matching refs:widths
1942 * Return the advance widths for the characters in the string.
1947 * @param widths array to receive the advance widths of the characters.
1949 * @return the actual number of widths returned.
1952 float[] widths) {
1957 || count > widths.length) {
1966 mBidiFlags, widths, 0);
1973 mBidiFlags, widths, 0);
1976 widths[i] *= mInvCompatScaling;
1982 * Return the advance widths for the characters in the string.
1987 * @param widths array to receive the advance widths of the characters.
1989 * @return the actual number of widths returned.
1992 float[] widths) {
1999 if (end - start > widths.length) {
2007 return getTextWidths((String) text, start, end, widths);
2011 return getTextWidths(text.toString(), start, end, widths);
2015 widths, this);
2020 int result = getTextWidths(buf, 0, end - start, widths);
2026 * Return the advance widths for the characters in the string.
2031 * @param widths array to receive the advance widths of the characters.
2035 public int getTextWidths(String text, int start, int end, float[] widths) {
2042 if (end - start > widths.length) {
2051 mBidiFlags, widths, 0);
2058 mBidiFlags, widths, 0);
2061 widths[i] *= mInvCompatScaling;
2067 * Return the advance widths for the characters in the string.
2070 * @param widths array to receive the advance widths of the characters.
2074 public int getTextWidths(String text, float[] widths) {
2075 return getTextWidths(text, 0, text.length(), widths);
2189 * logical character in the cluster, and 0 for the widths of all