Home
last modified time | relevance | path

Searched refs:distance2 (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.cpp593 const auto distance2 = std::abs(frameRate - *std::prev(lowerBound)); in findClosestKnownFrameRate() local
594 return distance1 < distance2 ? *lowerBound : *std::prev(lowerBound); in findClosestKnownFrameRate()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp302 inline float distance2(float x, float y, float z) { in distance2() function
307 return sqrtf(distance2(x, y, z)); in distance()
/frameworks/native/libs/math/include/math/
DTVecHelpers.h434 friend inline constexpr T PURE distance2(const VECTOR<T>& lv, const VECTOR<RT>& rv) { in distance2() function