Searched refs:pivot (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | NameMangler.h | 83 size_t pivot = out_name->find('$'); in Unmangle() local 84 if (pivot == std::string::npos) { in Unmangle() 88 out_package->assign(out_name->data(), pivot); in Unmangle() 89 out_name->assign(out_name->data() + pivot + 1, in Unmangle() 90 out_name->size() - (pivot + 1)); in Unmangle()
|
/frameworks/base/core/java/android/widget/ |
D | StackView.java | 921 float pivot = 0.4f; 922 if (r < pivot) { 923 return 0.85f * cubic(r / pivot); 925 return 0.85f * cubic(1 - (r - pivot) / (1 - pivot)); 930 float pivot = 0.3f; 931 if (r > pivot) { 932 return (r - pivot) / (1 - pivot); 939 float pivot = 0.2f; 940 if (r < pivot) { 943 return (r - pivot) / (1 - pivot);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/ |
D | SpotShadow.java | 300 float pivot = angle(points[p * 2], points[p * 2 + 1], ctr); in quicksortCircle() local 302 while (angle(points[i * 2 + 0], points[i * 2 + 1], ctr) < pivot) { in quicksortCircle() 305 while (angle(points[j * 2 + 0], points[j * 2 + 1], ctr) > pivot) { in quicksortCircle() 333 float pivot = points[p * 2]; in quicksortX() local 335 while (points[i * 2 + 0] < pivot) { in quicksortX() 338 while (points[j * 2 + 0] > pivot) { in quicksortX()
|
/frameworks/base/libs/hwui/ |
D | SpotShadow.cpp | 258 float pivot = angle(points[p], center); in quicksortCirc() local 260 while (angle(points[i], center) > pivot) { in quicksortCirc() 263 while (angle(points[j], center) < pivot) { in quicksortCirc() 612 inline int getClosestUmbraIndex(const Vector2& pivot, const Vector2* polygon, int polygonLength) { in getClosestUmbraIndex() argument 622 float currentLengthSquared = (pivot - polygon[currentIndex]).lengthSquared(); in getClosestUmbraIndex()
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | remote_method_tests.cpp | 47 const char pivot = std::isupper(c) ? 'A' : 'a'; in Rot13() local 48 return (c - pivot + 13) % 26 + pivot; in Rot13()
|