Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DFrameInfoVisualizer.cpp68 FrameInfoVisualizer::FrameInfoVisualizer(FrameInfoSource& source) : mFrameSource(source) { in FrameInfoVisualizer()
113 FrameInfo& info = mFrameSource.back(); in draw()
126 mFastRects.reset(new float[mFrameSource.capacity() * 4]); in createData()
127 mJankyRects.reset(new float[mFrameSource.capacity() * 4]); in createData()
138 float baseLineWidth = right / mFrameSource.capacity(); in initializeRects()
143 for (int fi = mFrameSource.size() - 1; fi >= 0; fi--) { in initializeRects()
144 if (mFrameSource[fi][FrameInfoIndex::Flags] & FrameInfoFlags::SkippedFrame) { in initializeRects()
151 if (mFrameSource[fi].totalDuration() <= FRAME_THRESHOLD_NS) { in initializeRects()
176 for (size_t fi = 0; fi < mFrameSource.size(); fi++) { in nextBarSegment()
177 if (mFrameSource[fi][FrameInfoIndex::Flags] & FrameInfoFlags::SkippedFrame) { in nextBarSegment()
[all …]
DFrameInfoVisualizer.h63 float duration = mFrameSource[index].duration(start, end) * 0.000001f; in durationMS()
72 FrameInfoSource& mFrameSource; variable