Searched refs:mDomainA (Results 1 – 1 of 1) sorted by relevance
23 private final float mDomainA; field in LinearScale31 mDomainA = domainA; in LinearScale()37 float scale = (mRangeB - mRangeA) / (mDomainB - mDomainA); in LinearScale()45 if (mDomainA > mDomainB) { in clamp()46 return Math.max(mDomainB, Math.min(mDomainA, domainValue)); in clamp()49 return Math.max(mDomainA, Math.min(mDomainB, domainValue)); in clamp()56 if (mDomainA > mDomainB) { in isInDomain()57 return domainValue <= mDomainA && domainValue >= mDomainB; in isInDomain()59 return domainValue >= mDomainA && domainValue <= mDomainB; in isInDomain()66 return mRangeA + (domainValue - mDomainA) * mScale; in scale()[all …]