Searched refs:denominator (Results 1 – 11 of 11) sorted by relevance
28 private final long denominator; field in Rational31 Rational(long nominator, long denominator) { in Rational() argument33 this.denominator = denominator; in Rational()43 return denominator; in getDenominator()56 return numerator == data.numerator && denominator == data.denominator; in equals()63 return Objects.hash(numerator, denominator); in hashCode()68 return numerator + "/" + denominator; in toString()
293 int denominator = Math.min(width.intValue(), height.intValue()) / gcd.intValue(); in reduce() local294 return new Size(numerator, denominator); in reduce()336 int denominator = Math.min(width.intValue(), height.intValue()) / gcd.intValue(); in aspectRatioDenominator() local337 return denominator; in aspectRatioDenominator()350 int denominator = height; in getAspectRatio() local353 denominator = width; in getAspectRatio()355 return new Rational(numerator, denominator); in getAspectRatio()
526 int denominator = ResolutionUtil.aspectRatioDenominator(approximateSize); in getSizeSummaryString() local528 R.string.setting_summary_aspect_ratio_and_megapixels, numerator, denominator, in getSizeSummaryString()
35 public Rational(long numerator, long denominator) { in Rational() argument37 mDenominator = denominator; in Rational()
34 public Rational(long nominator, long denominator) { in Rational() argument36 mDenominator = denominator; in Rational()
188 private Rational ratio(Long numerator, Long denominator) {189 if (numerator != null && denominator != null) {190 return new Rational(numerator, denominator);
73 String denominator = getContext().getString(R.string.units_ratio_denominator, quantity, in getAbbreviationByUnit() local76 return getContext().getString(R.string.units_ratio, mKWh, denominator); in getAbbreviationByUnit()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...