Lines Matching refs:GetUnit
65 if (!bLockAutoCalculation && (GetUnit() == FUNIT_CUSTOM)) in SetRefValue()
75 if ((bPercent && GetUnit() == FUNIT_CUSTOM) || in ShowPercent()
76 (!bPercent && GetUnit() != FUNIT_CUSTOM)) in ShowPercent()
87 eOldUnit = GetUnit(); in ShowPercent()
120 nOldValue = Convert(GetValue(), GetUnit(), eOldUnit); in ShowPercent()
152 if (GetUnit() != FUNIT_CUSTOM || eInUnit == FUNIT_CUSTOM) in SetPrcntValue()
153 MetricFormatter::SetValue(Convert(nNewValue, eInUnit, GetUnit())); in SetPrcntValue()
179 if (GetUnit() != FUNIT_CUSTOM || eInUnit == FUNIT_CUSTOM) in SetUserValue()
180 MetricField::SetUserValue(Convert(nNewValue, eInUnit, GetUnit()),FUNIT_NONE); in SetUserValue()
207 if (GetUnit() == FUNIT_CUSTOM) in SetBaseValue()
219 return Convert(MetricField::GetValue(), GetUnit(), eOutUnit); in GetValue()
228 if (GetUnit() != FUNIT_CUSTOM) in SetMin()
247 if (GetUnit() != FUNIT_CUSTOM) in SetMax()
263 if (GetUnit() != FUNIT_CUSTOM) in NormalizePercent()
277 if (GetUnit() != FUNIT_CUSTOM) in DenormalizePercent()
294 if (GetUnit() == FUNIT_CUSTOM) in IsValueModified()
321 if (GetUnit() != FUNIT_CUSTOM) in GetRealValue()
324 return Convert(GetValue(), GetUnit(), eOutUnit); in GetRealValue()
334 (eInUnit == FUNIT_NONE && eOutUnit == GetUnit()) || in Convert()
335 (eOutUnit == FUNIT_NONE && eInUnit == GetUnit())) in Convert()