Searched defs:splitIndex (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/skia/src/core/
H A DSkRTree.cpp157 int splitIndex = this->distributeChildren(toDivide); local
160 root->fNumChildren = splitIndex;
161 newSibling->fNumChildren = fMaxChildren + 1 - splitIndex;
162 for (int i = 0; i < splitIndex; ++i) {
165 for (int i = splitIndex; i < fMaxChildren + 1; ++i) {
166 *newSibling->child(i - splitIndex) = toDivide[i];
/external/skia/src/core/
H A DSkRTree.cpp150 int splitIndex = this->distributeChildren(toDivide); local
153 root->fNumChildren = splitIndex;
154 newSibling->fNumChildren = fMaxChildren + 1 - splitIndex;
155 for (int i = 0; i < splitIndex; ++i) {
158 for (int i = splitIndex; i < fMaxChildren + 1; ++i) {
159 *newSibling->child(i - splitIndex) = toDivide[i];

Completed in 112 milliseconds