Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp253 size_t heapSize = mCaptureHeap->getSize(); in processNewCapture() local
254 if (jpegSize > heapSize) { in processNewCapture()
257 __FUNCTION__, jpegSize, heapSize); in processNewCapture()
258 jpegSize = heapSize; in processNewCapture()
/frameworks/native/services/inputflinger/
DInputReader.cpp5789 uint32_t heapSize = 0; in assignPointerIds() local
5805 heap[heapSize].currentPointerIndex = currentPointerIndex; in assignPointerIds()
5806 heap[heapSize].lastPointerIndex = lastPointerIndex; in assignPointerIds()
5807 heap[heapSize].distance = distance; in assignPointerIds()
5808 heapSize += 1; in assignPointerIds()
5814 for (uint32_t startIndex = heapSize / 2; startIndex != 0; ) { in assignPointerIds()
5818 if (childIndex >= heapSize) { in assignPointerIds()
5822 if (childIndex + 1 < heapSize in assignPointerIds()
5837 ALOGD("assignPointerIds - initial distance min-heap: size=%d", heapSize); in assignPointerIds()
5838 for (size_t i = 0; i < heapSize; i++) { in assignPointerIds()
[all …]