Home
last modified time | relevance | path

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

/frameworks/base/services/input/
DInputReader.cpp5291 uint32_t heapSize = 0; in assignPointerIds() local
5307 heap[heapSize].currentPointerIndex = currentPointerIndex; in assignPointerIds()
5308 heap[heapSize].lastPointerIndex = lastPointerIndex; in assignPointerIds()
5309 heap[heapSize].distance = distance; in assignPointerIds()
5310 heapSize += 1; in assignPointerIds()
5316 for (uint32_t startIndex = heapSize / 2; startIndex != 0; ) { in assignPointerIds()
5320 if (childIndex >= heapSize) { in assignPointerIds()
5324 if (childIndex + 1 < heapSize in assignPointerIds()
5339 LOGD("assignPointerIds - initial distance min-heap: size=%d", heapSize); in assignPointerIds()
5340 for (size_t i = 0; i < heapSize; i++) { in assignPointerIds()
[all …]