Home
last modified time | relevance | path

Searched refs:FrameInfo (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/tests/Input/src/com/android/test/input/
DViewFrameInfoTest.kt19 import android.graphics.FrameInfo
38 mViewFrameInfo.flags = mViewFrameInfo.flags or FrameInfo.FLAG_WINDOW_VISIBILITY_CHANGED in setUp()
46 assertThat(mViewFrameInfo.flags).isEqualTo(FrameInfo.FLAG_WINDOW_VISIBILITY_CHANGED) in testPopulateFields()
59 val frameInfo = FrameInfo() in testUpdateFrameInfoFromViewFrameInfo()
61 assertThat(frameInfo.frameInfo[FrameInfo.INPUT_EVENT_ID]).isEqualTo(INVALID_INPUT_EVENT_ID) in testUpdateFrameInfoFromViewFrameInfo()
62 assertThat(frameInfo.frameInfo[FrameInfo.FLAGS]).isEqualTo(0) in testUpdateFrameInfoFromViewFrameInfo()
63 assertThat(frameInfo.frameInfo[FrameInfo.DRAW_START]).isEqualTo(0) in testUpdateFrameInfoFromViewFrameInfo()
67 assertThat(frameInfo.frameInfo[FrameInfo.INPUT_EVENT_ID]).isEqualTo(139) in testUpdateFrameInfoFromViewFrameInfo()
68 assertThat(frameInfo.frameInfo[FrameInfo.FLAGS]).isEqualTo( in testUpdateFrameInfoFromViewFrameInfo()
69 FrameInfo.FLAG_WINDOW_VISIBILITY_CHANGED) in testUpdateFrameInfoFromViewFrameInfo()
[all …]
/frameworks/base/core/java/android/view/
DViewFrameInfo.java19 import android.graphics.FrameInfo;
43 public void populateFrameInfo(FrameInfo frameInfo) { in populateFrameInfo()
44 frameInfo.frameInfo[FrameInfo.FLAGS] |= flags; in populateFrameInfo()
45 frameInfo.frameInfo[FrameInfo.DRAW_START] = drawStart; in populateFrameInfo()
46 frameInfo.frameInfo[FrameInfo.INPUT_EVENT_ID] = mInputEventId; in populateFrameInfo()
DDisplayEventReceiver.java20 import android.graphics.FrameInfo;
183 public long vsyncId = FrameInfo.INVALID_VSYNC_ID;
/frameworks/base/libs/hwui/
DJankTracker.h59 FrameInfo* startFrame() { return &mFrames.next(); } in startFrame()
60 void finishFrame(FrameInfo& frame, std::unique_ptr<FrameMetricsReporter>& reporter,
65 void calculateLegacyJank(FrameInfo& frame);
72 RingBuffer<FrameInfo, 120>& frames() { return mFrames; } in frames()
100 RingBuffer<FrameInfo, 120> mFrames;
DFrameInfo.cpp54 void FrameInfo::importUiThreadInfo(int64_t* info) { in importUiThreadInfo()
76 void FrameInfo::setSkippedFrameReason(android::uirenderer::SkippedFrameReason reason) { in setSkippedFrameReason()
DJankTracker.cpp102 void JankTracker::calculateLegacyJank(FrameInfo& frame) REQUIRES(mDataMutex) { in calculateLegacyJank()
170 void JankTracker::finishFrame(FrameInfo& frame, std::unique_ptr<FrameMetricsReporter>& reporter, in finishFrame()
310 FrameInfo& frame = mFrames[i]; in dumpFrames()
DFrameInfoVisualizer.h38 typedef RingBuffer<FrameInfo, 120> FrameInfoSource;
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DFrameReleaseQueue.java37 private LinkedBlockingQueue<FrameInfo> mFrameInfoQueue;
51 private static class FrameInfo { class in FrameReleaseQueue
55 public FrameInfo(int frameNumber, int frameBufferId, int frameDisplayTime) { in FrameInfo() method in FrameReleaseQueue.FrameInfo
81 FrameInfo curFrameInfo = mFrameInfoQueue.peek(); in run()
159 FrameInfo curFrameInfo = new FrameInfo(frameNumber, frameBufferId, frameDisplayTimeMs); in pushFrame()
182 final FrameInfo curFrameInfo = mFrameInfoQueue.take(); in popAndRelease()
/frameworks/av/media/module/codecs/flac/dec/test/
DFlacDecoderTest.cpp35 struct FrameInfo { struct
58 int32_t processFlacDecoder(vector<FrameInfo> Info, int32_t offset, int32_t range, argument
69 void getInfo(string infoFileName, vector<FrameInfo> &Info) { in getInfo()
85 int32_t FLACDecoderTest::processFlacDecoder(vector<FrameInfo> Info, int32_t offset, int32_t range, in processFlacDecoder()
203 vector<FrameInfo> Info; in TEST_P()
232 vector<FrameInfo> Info; in TEST_P()
/frameworks/av/media/module/codecs/m4v_h263/dec/test/
DMpeg4H263DecoderTest.cpp43 struct FrameInfo { struct
83 void processMpeg4H263Decoder(vector<FrameInfo> Info, int32_t offset, int32_t range,
154 void Mpeg4H263DecoderTest::processMpeg4H263Decoder(vector<FrameInfo> Info, int32_t offset, in processMpeg4H263Decoder()
296 void getInfo(string infoFileName, vector<FrameInfo> &Info) { in getInfo()
323 vector<FrameInfo> Info; in TEST_P()
352 vector<FrameInfo> Info; in TEST_P()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.h260 void finishFrame(FrameInfo* frameInfo);
269 FrameInfo* frameInfo;
274 FrameInfo* getFrameInfoFromLast4(uint64_t frameNumber, uint32_t surfaceControlId);
335 FrameInfo* mCurrentFrameInfo = nullptr;
DIRenderPipeline.h72 const SkRect& screenDirty, FrameInfo* currentFrameInfo,
/frameworks/base/libs/hwui/tests/unit/
DJankTrackerTests.cpp40 FrameInfo* info = jankTracker.startFrame(); in TEST()
74 FrameInfo* info = jankTracker.startFrame(); in TEST()
97 FrameInfo* info = jankTracker.startFrame(); in TEST()
122 FrameInfo* info = jankTracker.startFrame(); in TEST()
159 FrameInfo* info = jankTracker.startFrame(); in TEST()
209 FrameInfo* info = jankTracker.startFrame(); in TEST()
/frameworks/base/native/graphics/jni/
Dimagedecoder.cpp492 return reinterpret_cast<AImageDecoderFrameInfo*>(new SkCodec::FrameInfo); in AImageDecoderFrameInfo_create()
495 static SkCodec::FrameInfo* toFrameInfo(AImageDecoderFrameInfo* info) { in toFrameInfo()
496 return reinterpret_cast<SkCodec::FrameInfo*>(info); in toFrameInfo()
499 static const SkCodec::FrameInfo* toFrameInfo(const AImageDecoderFrameInfo* info) { in toFrameInfo()
500 return reinterpret_cast<const SkCodec::FrameInfo*>(info); in toFrameInfo()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.h60 struct FrameInfo { struct
167 int32_t populateInfoVector(std::string info, android::Vector<FrameInfo>* frameInfo,
/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java362 private FrameInfo mFrameInfo = new FrameInfo();
376 public void setFrameInfo(FrameInfo info) { in setFrameInfo()
397 mFrameInfo.setVsync(vsyncTime, vsyncTime, FrameInfo.INVALID_VSYNC_ID, Long.MAX_VALUE, in setVsyncTime()
399 mFrameInfo.addFlags(FrameInfo.FLAG_SURFACE_CANVAS); in setVsyncTime()
485 public int syncAndDrawFrame(@NonNull FrameInfo frameInfo) { in syncAndDrawFrame()
DFrameInfo.java41 public final class FrameInfo { class
/frameworks/av/media/libstagefright/include/media/stagefright/
DVideoRenderQualityTracker.h321 struct FrameInfo { struct
465 std::queue<FrameInfo> mNextExpectedRenderedFrameQueue;
/frameworks/base/libs/hwui/hwui/
DImageDecoder.h77 SkCodec::FrameInfo getCurrentFrameInfo();
DImageDecoder.cpp275 SkCodec::FrameInfo frameInfo; in advanceFrame()
319 SkCodec::FrameInfo ImageDecoder::getCurrentFrameInfo() { in getCurrentFrameInfo()
323 SkCodec::FrameInfo info; in getCurrentFrameInfo()
/frameworks/base/libs/hwui/platform/android/pipeline/skia/
DSkiaOpenGLPipeline.h49 const SkRect& screenDirty, FrameInfo* currentFrameInfo,
DSkiaVulkanPipeline.h49 const SkRect& screenDirty, FrameInfo* currentFrameInfo,
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaCpuPipeline.h53 const SkRect& screenDirty, FrameInfo* currentFrameInfo, in swapBuffers()
/frameworks/base/libs/hwui/platform/host/pipeline/skia/
DSkiaGpuPipeline.h59 const SkRect& screenDirty, FrameInfo* currentFrameInfo, in swapBuffers()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp456 std::ifstream& eleStream, android::Vector<FrameInfo>* Info, int offset, in decodeNFrames()
617 android::Vector<FrameInfo> Info; in TEST_P()
718 android::Vector<FrameInfo> Info; in TEST_P()
814 android::Vector<FrameInfo> Info; in TEST_P()
890 android::Vector<FrameInfo> Info; in TEST_P()
960 android::Vector<FrameInfo> Info; in TEST_P()
1023 android::Vector<FrameInfo> Info; in TEST_P()

12