Home
last modified time | relevance | path

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

/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DCustomControlView.java41 private List<Long> mFrameTimes = new ArrayList<>(); field in CustomControlView
103 synchronized (mFrameTimes) { in reportFrame()
104 mFrameTimes.add(time); in reportFrame()
112 synchronized (mFrameTimes) { in resetFrameTimes()
113 mFrameTimes.clear(); in resetFrameTimes()
121 synchronized (mFrameTimes) { in getFps()
122 if (mFrameTimes.size() < 2) { in getFps()
125 return 1000.0 * mFrameTimes.size() / in getFps()
126 (mFrameTimes.get(mFrameTimes.size() - 1) - mFrameTimes.get(0)); in getFps()
DCustomOpenGLView.java34 private final List<Long> mFrameTimes; field in CustomOpenGLView
50 mFrameTimes = new ArrayList<Long>(); in CustomOpenGLView()
86 mFrameTimes.add(System.currentTimeMillis()); in CustomOpenGLView()
116 mFrameTimes.clear(); in resetFrameTimes()
125 if (mFrameTimes.size() < 2) { in getFps()
128 return 1000.0 * mFrameTimes.size() / in getFps()
129 (mFrameTimes.get(mFrameTimes.size() - 1) - mFrameTimes.get(0)); in getFps()
DCustomSurfaceView.java43 private List<Long> mFrameTimes; field in CustomSurfaceView
63 mFrameTimes = new ArrayList<Long>(); in CustomSurfaceView()
77 mFrameTimes.clear(); in resetFrameTimes()
86 if (mFrameTimes.size() < 2) { in getFps()
89 return 1000.0 * mFrameTimes.size() / in getFps()
90 (mFrameTimes.get(mFrameTimes.size() - 1) - mFrameTimes.get(0)); in getFps()
129 mFrameTimes.add(System.currentTimeMillis()); in invalidateSurface()
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.cpp63 mFrameTimes.push_back(frameTime); in setLastPresentTime()
64 if (mFrameTimes.size() > HISTORY_SIZE) { in setLastPresentTime()
65 mFrameTimes.pop_front(); in setLastPresentTime()
81 if (mFrameTimes.size() < kFrequentLayerWindowSize) { in isFrequent()
89 auto it = mFrameTimes.begin(); in getFps()
90 for (; it != mFrameTimes.end(); ++it) { in getFps()
96 const auto numFrames = std::distance(it, mFrameTimes.end()); in getFps()
102 const auto totalTime = mFrameTimes.back().queueTime - it->queueTime; in getFps()
112 if (mFrameTimes.size() < 2) { in hasEnoughDataForHeuristic()
113 ALOGV("fewer than 2 frames recorded: %zu", mFrameTimes.size()); in hasEnoughDataForHeuristic()
[all …]
DLayerInfo.h196 mFrameTimes.clear(); in clearHistory()
286 std::deque<FrameTimeData> mFrameTimes; variable
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedStateListDrawable.java683 private int[] mFrameTimes; field in AnimatedStateListDrawable.FrameInterpolator
695 if (mFrameTimes == null || mFrameTimes.length < N) { in updateFrames()
696 mFrameTimes = new int[N]; in updateFrames()
699 final int[] frameTimes = mFrameTimes; in updateFrames()
719 final int[] frameTimes = mFrameTimes; in getInterpolation()
/frameworks/av/media/libstagefright/
DCameraSource.cpp905 frameTime = *mFrameTimes.begin(); in read()
906 mFrameTimes.erase(mFrameTimes.begin()); in read()
1070 mFrameTimes.push_back(timeUs); in processBufferQueueFrame()
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerInfoTest.cpp35 layerInfo.mFrameTimes = frameTimes; in setFrameTimes()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCameraSource.h206 List<int64_t> mFrameTimes; variable
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt16596 Landroid/graphics/drawable/AnimatedStateListDrawable$FrameInterpolator;->mFrameTimes:[I