Home
last modified time | relevance | path

Searched refs:parentIndex (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSgTransform.java55 public void setParent(SgTransform parent, int parentIndex) { in setParent() argument
57 mIndexInParentGroup = parentIndex; in setParent()
/frameworks/base/services/input/
DInputReader.cpp5548 for (uint32_t parentIndex = startIndex; ;) { in assignPointerIds() local
5549 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() local
5596 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()