Home
last modified time | relevance | path

Searched refs:FrameRateCompatibility (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.h71 enum class FrameRateCompatibility { enum
89 FrameRateCompatibility type;
94 type(FrameRateCompatibility::Default), in FrameRate()
96 FrameRate(Fps rate, FrameRateCompatibility type,
109 static FrameRateCompatibility convertCompatibility(int8_t compatibility);
DLayerHistory.cpp192 case Layer::FrameRateCompatibility::Default: in partitionLayers()
194 case Layer::FrameRateCompatibility::ExactOrMultiple: in partitionLayers()
196 case Layer::FrameRateCompatibility::NoVote: in partitionLayers()
198 case Layer::FrameRateCompatibility::Exact: in partitionLayers()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/
DTimeStatsHelper.h62 enum class FrameRateCompatibility { enum
66 } frameRateCompatibility = FrameRateCompatibility::Undefined;
75 static std::string toString(FrameRateCompatibility);
/frameworks/native/services/surfaceflinger/tests/unittests/
DSetFrameRateTest.cpp53 using FrameRateCompatibility = Layer::FrameRateCompatibility; typedef
111 const FrameRate FRAME_RATE_VOTE1 = FrameRate(Fps(67.f), FrameRateCompatibility::Default);
113 FrameRate(Fps(14.f), FrameRateCompatibility::ExactOrMultiple);
114 const FrameRate FRAME_RATE_VOTE3 = FrameRate(Fps(99.f), FrameRateCompatibility::NoVote);
115 const FrameRate FRAME_RATE_TREE = FrameRate(Fps(0.f), FrameRateCompatibility::NoVote);
116 const FrameRate FRAME_RATE_NO_VOTE = FrameRate(Fps(0.f), FrameRateCompatibility::Default);
DLayerHistoryTest.cpp299 Return(Layer::FrameRate(Fps(73.4f), Layer::FrameRateCompatibility::Default))); in TEST_F()
331 Layer::FrameRate(Fps(73.4f), Layer::FrameRateCompatibility::ExactOrMultiple))); in TEST_F()
578 Layer::FrameRate(Fps(60.0f), Layer::FrameRateCompatibility::ExactOrMultiple))); in TEST_F()
583 Layer::FrameRate(Fps(90.0f), Layer::FrameRateCompatibility::ExactOrMultiple))); in TEST_F()
DTimeStatsTest.cpp382 .frameRateCompatibility = TimeStats::SetFrameRateVote::FrameRateCompatibility::Default, in TEST_F()
388 TimeStats::SetFrameRateVote::FrameRateCompatibility::ExactOrMultiple, in TEST_F()
428 TimeStats::SetFrameRateVote::FrameRateCompatibility::ExactOrMultiple, in TEST_F()
433 .frameRateCompatibility = TimeStats::SetFrameRateVote::FrameRateCompatibility::Default, in TEST_F()
1184 TimeStats::SetFrameRateVote::FrameRateCompatibility::ExactOrMultiple, in TEST_F()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
DTimeStatsHelper.cpp94 std::string TimeStatsHelper::SetFrameRateVote::toString(FrameRateCompatibility compatibility) { in toString()
96 case FrameRateCompatibility::Undefined: in toString()
98 case FrameRateCompatibility::Default: in toString()
100 case FrameRateCompatibility::ExactOrMultiple: in toString()
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp345 using FrameRateCompatibility = TimeStats::SetFrameRateVote::FrameRateCompatibility; in frameRateToSetFrameRateVotePayload() typedef
349 case Layer::FrameRateCompatibility::Default: in frameRateToSetFrameRateVotePayload()
350 return FrameRateCompatibility::Default; in frameRateToSetFrameRateVotePayload()
351 case Layer::FrameRateCompatibility::ExactOrMultiple: in frameRateToSetFrameRateVotePayload()
352 return FrameRateCompatibility::ExactOrMultiple; in frameRateToSetFrameRateVotePayload()
354 return FrameRateCompatibility::Undefined; in frameRateToSetFrameRateVotePayload()
DLayer.cpp1124 mDrawingState.frameRate.type == FrameRateCompatibility::NoVote) { in propagateFrameRateForLayerTree()
1142 if (!frameRate.rate.isValid() && frameRate.type != FrameRateCompatibility::NoVote && in propagateFrameRateForLayerTree()
1145 setFrameRateForLayerTree(FrameRate(Fps(0.0f), FrameRateCompatibility::NoVote)); in propagateFrameRateForLayerTree()
1152 frameRate.rate.isValid() && frameRate.type == FrameRateCompatibility::Default; in propagateFrameRateForLayerTree()
1153 const auto layerVotedWithNoVote = frameRate.type == FrameRateCompatibility::NoVote; in propagateFrameRateForLayerTree()
1155 frameRate.rate.isValid() && frameRate.type == FrameRateCompatibility::Exact; in propagateFrameRateForLayerTree()
1430 std::string Layer::frameRateCompatibilityString(Layer::FrameRateCompatibility compatibility) { in frameRateCompatibilityString()
1432 case FrameRateCompatibility::Default: in frameRateCompatibilityString()
1434 case FrameRateCompatibility::ExactOrMultiple: in frameRateCompatibilityString()
1436 case FrameRateCompatibility::NoVote: in frameRateCompatibilityString()
[all …]
DLayer.h147 using FrameRateCompatibility = scheduler::LayerInfo::FrameRateCompatibility; variable
325 static std::string frameRateCompatibilityString(FrameRateCompatibility compatibility);
DRefreshRateOverlay.cpp199 mLayer->setFrameRate(Layer::FrameRate(Fps(0.0f), Layer::FrameRateCompatibility::NoVote)); in createLayer()
/frameworks/base/core/java/android/view/
DSurface.java199 public @interface FrameRateCompatibility {} annotation in Surface
956 @FrameRateCompatibility int compatibility, in setFrameRate()
977 @FloatRange(from = 0.0) float frameRate, @FrameRateCompatibility int compatibility) { in setFrameRate()
DSurfaceControl.java3292 @Surface.FrameRateCompatibility int compatibility) { in setFrameRate()
3331 @Surface.FrameRateCompatibility int compatibility, in setFrameRate()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsatomsproto/
Dtimestats_atoms.proto264 enum FrameRateCompatibility { enum
272 optional FrameRateCompatibility frame_rate_compatibility = 2;
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp79 SurfaceflingerStatsLayerInfo::SetFrameRateVote::FrameRateCompatibility; in frameRateVoteToProto()
/frameworks/proto_logging/stats/
Datoms.proto11684 enum FrameRateCompatibility { enum
11692 optional FrameRateCompatibility frame_rate_compatibility = 2;