Searched refs:RandomInRange (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/vr/libdvrcommon/tests/ |
D | numeric_test.cpp | 7 using android::dvr::RandomInRange; 17 TYPED_TEST(NumericTest, RandomInRange) { in TYPED_TEST() argument 25 FT value = RandomInRange(kLowRange, kHighRange); in TYPED_TEST() 32 TEST(RandomInRange, TestIntVersion) { in TEST() argument 41 int value = RandomInRange(kLowRange, kHighRange); in TEST() 53 TEST(RandomInRange, TestVectorVersion) { in TEST() argument 60 Eigen::Vector3d result = RandomInRange(lo, hi); in TEST()
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | numeric.h | 106 T RandomInRange(T lo, T hi, 116 T RandomInRange(T lo, T hi, 126 Derived1 RandomInRange( in RandomInRange() function 135 result(row, col) = RandomInRange(lo(row, col), hi(row, col)); in RandomInRange() 144 return RandomInRange(-x, x); in RandomRange()
|