Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.h66 Seamlessness seamlessness = Seamlessness::Default; member
90 Seamlessness seamlessness; member
95 seamlessness(Seamlessness::Default) {} in FrameRate()
97 Seamlessness seamlessness = Seamlessness::OnlySeamless)
98 : rate(rate), type(type), seamlessness(getSeamlessness(rate, seamlessness)) {} in rate()
102 seamlessness == other.seamlessness;
113 static Seamlessness getSeamlessness(Fps rate, Seamlessness seamlessness) { in getSeamlessness()
119 return seamlessness; in getSeamlessness()
DSeamlessness.h37 inline std::string toString(Seamlessness seamlessness) { in toString() argument
38 switch (seamlessness) { in toString()
DRefreshRateConfigs.cpp39 toString(layer.seamlessness).c_str(), in formatLayerInfo()
145 const float seamlessness = isSeamlessSwitch ? 1.0f : kSeamedSwitchPenalty; in calculateLayerScoreLocked() local
179 return 1.0f * seamlessness; in calculateLayerScoreLocked()
197 return (1.0f / iter) * seamlessness; in calculateLayerScoreLocked()
313 if (layer.seamlessness == Seamlessness::SeamedAndSeamless && layer.focused) { in getBestRefreshRateLocked()
377 if (layer.seamlessness == Seamlessness::OnlySeamless && !isSeamlessSwitch) { in getBestRefreshRateLocked()
385 if (layer.seamlessness == Seamlessness::SeamedAndSeamless && !isSeamlessSwitch && in getBestRefreshRateLocked()
404 if (layer.seamlessness == Seamlessness::Default && !isInPolicyForDefault) { in getBestRefreshRateLocked()
DRefreshRateConfigs.h230 Seamlessness seamlessness = Seamlessness::Default; member
240 seamlessness == other.seamlessness && weight == other.weight &&
DLayerHistory.cpp169 vote.seamlessness, weight, layerFocused}); in summarize()
205 info->setLayerVote({type, frameRate.rate, frameRate.seamlessness}); in partitionLayers()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
DTimeStatsHelper.cpp105 std::string TimeStatsHelper::SetFrameRateVote::toString(Seamlessness seamlessness) { in toString() argument
106 switch (seamlessness) { in toString()
121 StringAppendF(&result, "seamlessness = %s\n", toString(seamlessness).c_str()); in toString()
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp358 const auto seamlessness = [frameRate] { in frameRateToSetFrameRateVotePayload() local
359 switch (frameRate.seamlessness) { in frameRateToSetFrameRateVotePayload()
371 .seamlessness = seamlessness}; in frameRateToSetFrameRateVotePayload()
DLayer.cpp1482 toString(frameRate.seamlessness).c_str()); in miniDump()
2569 << " seamlessness=" << toString(rate.seamlessness) << "}"; in operator <<()
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateConfigsTest.cpp1375 layer.seamlessness = Seamlessness::SeamedAndSeamless; in TEST_F()
1397 layer.seamlessness = Seamlessness::SeamedAndSeamless; in TEST_F()
1419 layer.seamlessness = Seamlessness::OnlySeamless; in TEST_F()
1443 layer.seamlessness = Seamlessness::OnlySeamless; in TEST_F()
1469 layer.seamlessness = Seamlessness::Default; in TEST_F()
1494 layers[0].seamlessness = Seamlessness::OnlySeamless; in TEST_F()
1500 layers[1].seamlessness = Seamlessness::SeamedAndSeamless; in TEST_F()
1528 layers[0].seamlessness = Seamlessness::Default; in TEST_F()
1535 layers[1].seamlessness = Seamlessness::SeamedAndSeamless; in TEST_F()
1561 layers[0].seamlessness = Seamlessness::Default; in TEST_F()
[all …]
DTimeStatsTest.cpp383 .seamlessness = TimeStats::SetFrameRateVote::Seamlessness::ShouldBeSeamless, in TEST_F()
389 .seamlessness = TimeStats::SetFrameRateVote::Seamlessness::NotRequired, in TEST_F()
429 .seamlessness = TimeStats::SetFrameRateVote::Seamlessness::NotRequired, in TEST_F()
434 .seamlessness = TimeStats::SetFrameRateVote::Seamlessness::ShouldBeSeamless, in TEST_F()
1185 .seamlessness = TimeStats::SetFrameRateVote::Seamlessness::NotRequired, in TEST_F()
1258 EXPECT_EQ((int)atom.set_frame_rate_vote().seamlessness(), (int)frameRate60.seamlessness); in TEST_F()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/
DTimeStatsHelper.h73 } seamlessness = Seamlessness::Undefined; member
/frameworks/native/services/surfaceflinger/TimeStats/timestatsatomsproto/
Dtimestats_atoms.proto280 optional Seamlessness seamlessness = 3; field
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp86 proto.set_seamlessness(static_cast<SeamlessnessEnum>(setFrameRateVote.seamlessness)); in frameRateVoteToProto()
/frameworks/proto_logging/stats/
Datoms.proto11700 optional Seamlessness seamlessness = 3; field