Searched refs:denominator (Results 1 – 12 of 12) 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()
295 int denominator = Math.min(width.intValue(), height.intValue()) / gcd.intValue(); in reduce() local296 return new Size(numerator, denominator); in reduce()338 int denominator = Math.min(width.intValue(), height.intValue()) / gcd.intValue(); in aspectRatioDenominator() local339 return denominator; in aspectRatioDenominator()352 int denominator = height; in getAspectRatio() local355 denominator = width; in getAspectRatio()357 return new Rational(numerator, denominator); in getAspectRatio()
516 int denominator = ResolutionUtil.aspectRatioDenominator(approximateSize); in getSizeSummaryString() local518 R.string.setting_summary_aspect_ratio_and_megapixels, numerator, denominator, in getSizeSummaryString()
34 public Rational(long nominator, long denominator) { in Rational() argument36 mDenominator = denominator; in Rational()
35 public Rational(long numerator, long denominator) { in Rational() argument37 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()
414 float denominator = 1 / (scale - 1); in getFullScreenScaleAndPivot() local416 float y = (scale * taskView.bottom - fullHeight) * denominator; in getFullScreenScaleAndPivot()417 float x = (scale * taskView.right - fullWidth) * denominator; in getFullScreenScaleAndPivot()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...