Home
last modified time | relevance | path

Searched refs:seamlessness (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.h73 Seamlessness seamlessness = Seamlessness::Default; member
100 Seamlessness seamlessness = Seamlessness::Default; member
104 seamlessness == other.seamlessness;
110 Seamlessness seamlessness = Seamlessness::OnlySeamless)
111 : rate(rate), type(type), seamlessness(getSeamlessness(rate, seamlessness)) {} in rate()
120 Seamlessness seamlessness = Seamlessness::OnlySeamless,
122 : vote(FrameRateVote(rate, type, seamlessness)), category(category) {} in vote()
157 static Seamlessness getSeamlessness(Fps rate, Seamlessness seamlessness) { in getSeamlessness()
163 return seamlessness; in getSeamlessness()
DRefreshRateSelector.h175 Seamlessness seamlessness = Seamlessness::Default; member
190 seamlessness == other.seamlessness && weight == other.weight &&
DRefreshRateSelector.cpp65 ftl::enum_string(layer.seamlessness).c_str(), in formatLayerInfo()
422 const float seamlessness = isSeamlessSwitch ? 1.0f : kSeamedSwitchPenalty; in calculateLayerScoreLocked() local
466 return 1.0f * seamlessness; in calculateLayerScoreLocked()
473 return calculateNonExactMatchingLayerScoreLocked(layer, refreshRate) * seamlessness * in calculateLayerScoreLocked()
582 if (layer.seamlessness == Seamlessness::SeamedAndSeamless && layer.focused) { in getRankedFrameRatesLocked()
686 if (layer.seamlessness == Seamlessness::OnlySeamless && !isSeamlessSwitch) { in getRankedFrameRatesLocked()
693 if (layer.seamlessness == Seamlessness::SeamedAndSeamless && !isSeamlessSwitch && in getRankedFrameRatesLocked()
716 if (layer.seamlessness == Seamlessness::Default && !isInPolicyForDefault) { in getRankedFrameRatesLocked()
DLayerHistory.cpp228 vote.seamlessness, vote.category, vote.categorySmoothSwitchOnly, in summarize()
321 frameRate.vote.seamlessness, frameRate.category}); in partitionLayers()
349 frameRate.vote.seamlessness, frameRate.category}); in partitionLayers()
DLayerInfo.cpp331 votes.push_back({mLayerVote.type, mLayerVote.fps, mLayerVote.seamlessness, in getRefreshRateVote()
603 << " seamlessness=" << ftl::enum_string(rate.vote.seamlessness) << '}'; in operator <<()
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerInfoTest.cpp209 ASSERT_EQ(actualVotes[0].seamlessness, vote.seamlessness); in TEST_F()
228 ASSERT_EQ(actualVotes[1].seamlessness, vote.seamlessness); in TEST_F()
DTimeStatsTest.cpp387 .seamlessness = TimeStats::SetFrameRateVote::Seamlessness::ShouldBeSeamless, in TEST_F()
393 .seamlessness = TimeStats::SetFrameRateVote::Seamlessness::NotRequired, in TEST_F()
433 .seamlessness = TimeStats::SetFrameRateVote::Seamlessness::NotRequired, in TEST_F()
438 .seamlessness = TimeStats::SetFrameRateVote::Seamlessness::ShouldBeSeamless, in TEST_F()
1243 .seamlessness = TimeStats::SetFrameRateVote::Seamlessness::NotRequired, in TEST_F()
1315 EXPECT_EQ((int)atom.set_frame_rate_vote().seamlessness(), (int)frameRate60.seamlessness); in TEST_F()
DRefreshRateSelectorTest.cpp2675 layer.seamlessness = Seamlessness::SeamedAndSeamless; in TEST_P()
2694 layer.seamlessness = Seamlessness::SeamedAndSeamless; in TEST_P()
2713 layer.seamlessness = Seamlessness::OnlySeamless; in TEST_P()
2734 layer.seamlessness = Seamlessness::OnlySeamless; in TEST_P()
2757 layer.seamlessness = Seamlessness::Default; in TEST_P()
2779 layers[0].seamlessness = Seamlessness::OnlySeamless; in TEST_P()
2785 layers[1].seamlessness = Seamlessness::SeamedAndSeamless; in TEST_P()
2810 layers[0].seamlessness = Seamlessness::Default; in TEST_P()
2817 layers[1].seamlessness = Seamlessness::SeamedAndSeamless; in TEST_P()
2840 layers[0].seamlessness = Seamlessness::Default; in TEST_P()
[all …]
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/
DTimeStatsHelper.h81 } seamlessness = Seamlessness::Undefined; member
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
DTimeStatsHelper.cpp100 StringAppendF(&result, "seamlessness = %s\n", ftl::enum_string(seamlessness).c_str()); in toString()
/frameworks/native/services/surfaceflinger/
DLayer.cpp119 const auto seamlessness = [frameRate] { in frameRateToSetFrameRateVotePayload() local
120 switch (frameRate.vote.seamlessness) { in frameRateToSetFrameRateVotePayload()
132 .seamlessness = seamlessness}; in frameRateToSetFrameRateVotePayload()
1622 ftl::enum_string(frameRate.vote.seamlessness).c_str()); in miniDumpLegacy()
1661 ftl::enum_string(frameRate.vote.seamlessness).c_str()); in miniDump()
1665 ftl::enum_string(frameRate.vote.seamlessness).c_str()); in miniDump()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsatomsproto/
Dtimestats_atoms.proto281 optional Seamlessness seamlessness = 3; field
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp89 proto.set_seamlessness(static_cast<SeamlessnessEnum>(setFrameRateVote.seamlessness)); in frameRateVoteToProto()
/frameworks/proto_logging/stats/
Datoms.proto14299 optional Seamlessness seamlessness = 3; field