Searched refs:numerator (Results 1 – 9 of 9) sorted by relevance
27 private final long numerator; field in Rational32 numerator = nominator; in Rational()38 return numerator; in getNumerator()56 return numerator == data.numerator && denominator == data.denominator; in equals()63 return Objects.hash(numerator, denominator); in hashCode()68 return numerator + "/" + denominator; in toString()
294 int numerator = Math.max(width.intValue(), height.intValue()) / gcd.intValue(); in reduce() local296 return new Size(numerator, denominator); in reduce()351 int numerator = width; in getAspectRatio() local354 numerator = height; in getAspectRatio()357 return new Rational(numerator, denominator); in getAspectRatio()
515 int numerator = ResolutionUtil.aspectRatioNumerator(approximateSize); in getSizeSummaryString() local518 R.string.setting_summary_aspect_ratio_and_megapixels, numerator, denominator, in getSizeSummaryString()
35 public Rational(long numerator, long denominator) { in Rational() argument36 mNumerator = numerator; in Rational()
188 private Rational ratio(Long numerator, Long denominator) {189 if (numerator != null && denominator != null) {190 return new Rational(numerator, denominator);
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...