Searched refs:parentIndex (Results 1 – 2 of 2) sorted by relevance
55 public void setParent(SgTransform parent, int parentIndex) { in setParent() argument57 mIndexInParentGroup = parentIndex; in setParent()
5548 for (uint32_t parentIndex = startIndex; ;) { in assignPointerIds() local5549 uint32_t childIndex = parentIndex * 2 + 1; in assignPointerIds()5559 if (heap[parentIndex].distance <= heap[childIndex].distance) { in assignPointerIds()5563 swap(heap[parentIndex], heap[childIndex]); in assignPointerIds()5564 parentIndex = childIndex; in assignPointerIds()5595 for (uint32_t parentIndex = 0; ;) { in assignPointerIds() local5596 uint32_t childIndex = parentIndex * 2 + 1; in assignPointerIds()5606 if (heap[parentIndex].distance <= heap[childIndex].distance) { in assignPointerIds()5610 swap(heap[parentIndex], heap[childIndex]); in assignPointerIds()5611 parentIndex = childIndex; in assignPointerIds()