Home
last modified time | relevance | path

Searched refs:sep_ix (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/util/
DSize.java126 int sep_ix = string.indexOf('*'); in parseSize() local
127 if (sep_ix < 0) { in parseSize()
128 sep_ix = string.indexOf('x'); in parseSize()
130 if (sep_ix < 0) { in parseSize()
134 return new Size(Integer.parseInt(string.substring(0, sep_ix)), in parseSize()
135 Integer.parseInt(string.substring(sep_ix + 1))); in parseSize()
DSizeF.java137 int sep_ix = string.indexOf('*'); in parseSizeF() local
138 if (sep_ix < 0) { in parseSizeF()
139 sep_ix = string.indexOf('x'); in parseSizeF()
141 if (sep_ix < 0) { in parseSizeF()
145 return new SizeF(Float.parseFloat(string.substring(0, sep_ix)), in parseSizeF()
146 Float.parseFloat(string.substring(sep_ix + 1))); in parseSizeF()
DRational.java588 int sep_ix = string.indexOf(':'); in parseRational() local
589 if (sep_ix < 0) { in parseRational()
590 sep_ix = string.indexOf('/'); in parseRational()
592 if (sep_ix < 0) { in parseRational()
596 return new Rational(Integer.parseInt(string.substring(0, sep_ix)), in parseRational()
597 Integer.parseInt(string.substring(sep_ix + 1))); in parseRational()