Searched refs:isApproxEqual (Results 1 – 12 of 12) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FrameRateOverrideMappingsTest.cpp | 48 ASSERT_TRUE(isApproxEqual(30.0_Hz, in TEST_F() 51 ASSERT_TRUE(isApproxEqual(60.0_Hz, in TEST_F() 71 ASSERT_TRUE(isApproxEqual(30.0_Hz, in TEST_F() 74 ASSERT_TRUE(isApproxEqual(90.0_Hz, in TEST_F() 89 ASSERT_TRUE(isApproxEqual(60.0_Hz, in TEST_F() 92 ASSERT_TRUE(isApproxEqual(120.0_Hz, in TEST_F() 152 ASSERT_TRUE(isApproxEqual(60.0_Hz, in TEST_F() 155 ASSERT_TRUE(isApproxEqual(30.0_Hz, in TEST_F() 158 ASSERT_TRUE(isApproxEqual(120.0_Hz, in TEST_F() 161 ASSERT_TRUE(isApproxEqual(30.0_Hz, in TEST_F() [all …]
|
D | SchedulerTest.cpp | 218 return isApproxEqual(arg.front().mode.fps, 120_Hz);
|
D | RefreshRateSelectorTest.cpp | 3078 return isApproxEqual(fps, expected.fps); in TEST_P()
|
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/ |
D | Fps.h | 112 inline bool isApproxEqual(Fps lhs, Fps rhs) { in isApproxEqual() function 119 return isStrictlyLess(lhs, rhs) && !isApproxEqual(lhs, rhs); in isApproxLess() 125 return isApproxEqual(lhs, rhs); 133 return !isApproxEqual(lhs, rhs); 149 return isApproxEqual(lhs.min, rhs.min) && isApproxEqual(lhs.max, rhs.max); 190 bool operator()(Fps lhs, Fps rhs) const { return isApproxEqual(lhs, rhs); } in operator()
|
D | FrameRateMode.h | 32 return isApproxEqual(fps, other.fps) && modePtr == other.modePtr;
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateSelector.h | 101 return isApproxEqual(primaryRanges.physical.min, primaryRanges.physical.max); in primaryRangeIsSingleRate() 189 isApproxEqual(desiredRefreshRate, other.desiredRefreshRate) && 253 isApproxEqual(pacesetterFps, other.pacesetterFps); 574 isApproxEqual(pacesetterFps, other.pacesetterFps); in matches()
|
D | RefreshRateStats.h | 68 if (isApproxEqual(mCurrentRefreshRate, currRefreshRate)) { in setRefreshRate()
|
D | FrameRateOverrideMappings.cpp | 127 return lhs.first == rhs.first && isApproxEqual(lhs.second, rhs.second); in updateFrameRateOverridesByContent()
|
D | LayerInfo.h | 103 return isApproxEqual(rate, other.rate) && type == other.type &&
|
D | RefreshRateSelector.cpp | 81 isApproxEqual), in constructKnownFrameRates() 1587 return isApproxEqual(bigger, Fps::fromValue(smaller.getValue() * multiplier / kCoef)) || in isFractionalPairOrMultiple() 1588 isApproxEqual(bigger, Fps::fromValue(smaller.getValue() * multiplier * kCoef)); in isFractionalPairOrMultiple()
|
D | LayerInfo.cpp | 570 if (!isApproxEqual(vote.rate, 0_Hz)) { in isValuelessType()
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.h | 127 return (!lhs && !rhs) || (lhs && rhs && isApproxEqual(*lhs, *rhs)); in isOptApproxEqual() 131 return isApproxEqual(refreshRate, o.refreshRate) &&
|