Searched refs:mLayerHistory (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerHistoryTest.cpp | 26 std::unique_ptr<LayerHistory> mLayerHistory; member in android::scheduler::LayerHistoryTest 34 mLayerHistory->setVisibility(testLayer, true); in forceRelevancy() 36 mLayerHistory->insert(testLayer, 0, false /*isHDR*/); in forceRelevancy() 42 mLayerHistory = std::make_unique<LayerHistory>(); in LayerHistoryTest() 49 mLayerHistory->createLayer("TestLayer", MIN_REFRESH_RATE, MAX_REFRESH_RATE); in TEST_F() 50 mLayerHistory->setVisibility(testLayer, true); in TEST_F() 52 EXPECT_FLOAT_EQ(0.f, mLayerHistory->getDesiredRefreshRateAndHDR().first); in TEST_F() 53 mLayerHistory->insert(testLayer, 0, false /*isHDR*/); in TEST_F() 60 EXPECT_FLOAT_EQ(MAX_REFRESH_RATE, mLayerHistory->getDesiredRefreshRateAndHDR().first); in TEST_F() 61 mLayerHistory->insert(testLayer, 0, false /*isHDR*/); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | LayerHistory.h | 43 LayerHandle(LayerHistory& lh, int64_t id) : mId(id), mLayerHistory(lh) {} in LayerHandle() 44 ~LayerHandle() { mLayerHistory.destroyLayer(mId); } in ~LayerHandle() 49 LayerHistory& mLayerHistory;
|
D | Scheduler.cpp | 342 return mLayerHistory.createLayer(name, defaultFps, performanceFps); in registerLayer() 348 mLayerHistory.insert(layerHandle, presentTime, isHDR); in addLayerPresentTimeAndHDR() 353 mLayerHistory.setVisibility(layerHandle, visible); in setLayerVisibility() 361 auto [refreshRate, isHDR] = mLayerHistory.getDesiredRefreshRateAndHDR(); in updateFpsBasedOnContent() 419 mLayerHistory.clearHistory(); in notifyTouchEvent() 434 mLayerHistory.clearHistory(); in setDisplayPowerState()
|
D | Scheduler.h | 265 scheduler::LayerHistory mLayerHistory; variable
|