Searched refs:pivot (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | NameMangler.h | 82 size_t pivot = out_name->find('$'); in Unmangle() local 83 if (pivot == std::string::npos) { in Unmangle() 87 out_package->assign(out_name->data(), pivot); in Unmangle() 88 std::string new_name = out_name->substr(pivot + 1); in Unmangle()
|
/frameworks/base/core/java/android/widget/ |
D | StackView.java | 922 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 = 0.2f; 941 if (r < pivot) { 944 return (r - pivot) / (1 - pivot);
|
/frameworks/layoutlib/bridge/src/android/view/math/ |
D | Math3DHelper.java | 308 float pivot = angle(points[p * 2], points[p * 2 + 1], ctr); in quicksortCirc() local 310 while (angle(points[i * 2], points[i * 2 + 1], ctr) < pivot) { in quicksortCirc() 313 while (angle(points[j * 2], points[j * 2 + 1], ctr) > pivot) { in quicksortCirc() 334 float pivot = points[p * 2]; in quicksortX() local 336 while (points[i * 2] < pivot) { in quicksortX() 339 while (points[j * 2] > pivot) { in quicksortX()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | CommandLineOptions.cpp | 83 const auto pivot = std::partition(options_.begin(), options_.end(), [](const Option& opt) { in Parse() local 87 std::transform(options_.begin(), pivot, std::inserter(mandatory_opts, mandatory_opts.end()), in Parse()
|
/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()
|