Searched refs:pivot (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DStackView.java922 float pivot = 0.4f;
923 if (r < pivot) {
924 return 0.85f * cubic(r / pivot);
926 return 0.85f * cubic(1 - (r - pivot) / (1 - pivot));
931 float pivot = 0.3f;
932 if (r > pivot) {
933 return (r - pivot) / (1 - pivot);
940 float pivot
[all...]
/frameworks/base/libs/hwui/
H A DSpotShadow.cpp252 float pivot = angle(points[p], center); local
254 while (angle(points[i], center) > pivot) {
257 while (angle(points[j], center) < pivot) {
281 float pivot = points[p].x; local
283 while (points[i].x < pivot) {
286 while (points[j].x > pivot) {
650 inline int getClosestUmbraIndex(const Vector2& pivot, const Vector2* polygon, int polygonLength) { argument
660 float currentLengthSquared = (pivot - polygon[currentIndex]).lengthSquared();

Completed in 1576 milliseconds