Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/surfaceflinger/Scheduler/
H A 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);
H A 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()
/aosp12/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/
H A DTimeStatsHelper.h62 enum class FrameRateCompatibility { enum
66 } frameRateCompatibility = FrameRateCompatibility::Undefined;
75 static std::string toString(FrameRateCompatibility);
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A 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);
H A DLayerHistoryTest.cpp307 Return(Layer::FrameRate(Fps(73.4f), Layer::FrameRateCompatibility::Default))); in TEST_F()
339 Layer::FrameRate(Fps(73.4f), Layer::FrameRateCompatibility::ExactOrMultiple))); in TEST_F()
586 Layer::FrameRate(Fps(60.0f), Layer::FrameRateCompatibility::ExactOrMultiple))); in TEST_F()
591 Layer::FrameRate(Fps(90.0f), Layer::FrameRateCompatibility::ExactOrMultiple))); in TEST_F()
H A 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()
/aosp12/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
H A 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()
/aosp12/frameworks/native/services/surfaceflinger/
H A DBufferLayer.cpp347 using FrameRateCompatibility = TimeStats::SetFrameRateVote::FrameRateCompatibility; in frameRateToSetFrameRateVotePayload() typedef
351 case Layer::FrameRateCompatibility::Default: in frameRateToSetFrameRateVotePayload()
352 return FrameRateCompatibility::Default; in frameRateToSetFrameRateVotePayload()
353 case Layer::FrameRateCompatibility::ExactOrMultiple: in frameRateToSetFrameRateVotePayload()
354 return FrameRateCompatibility::ExactOrMultiple; in frameRateToSetFrameRateVotePayload()
356 return FrameRateCompatibility::Undefined; in frameRateToSetFrameRateVotePayload()
H A DLayer.cpp1130 mDrawingState.frameRate.type == FrameRateCompatibility::NoVote) { in propagateFrameRateForLayerTree()
1148 if (!frameRate.rate.isValid() && frameRate.type != FrameRateCompatibility::NoVote && in propagateFrameRateForLayerTree()
1159 const auto layerVotedWithNoVote = frameRate.type == FrameRateCompatibility::NoVote; in propagateFrameRateForLayerTree()
1438 case FrameRateCompatibility::Default: in frameRateCompatibilityString()
1440 case FrameRateCompatibility::ExactOrMultiple: in frameRateCompatibilityString()
1442 case FrameRateCompatibility::NoVote: in frameRateCompatibilityString()
1444 case FrameRateCompatibility::Exact: in frameRateCompatibilityString()
2624 return FrameRateCompatibility::Default; in convertCompatibility()
2626 return FrameRateCompatibility::ExactOrMultiple; in convertCompatibility()
2628 return FrameRateCompatibility::Exact; in convertCompatibility()
[all …]
H A DLayer.h148 using FrameRateCompatibility = scheduler::LayerInfo::FrameRateCompatibility; variable
335 static std::string frameRateCompatibilityString(FrameRateCompatibility compatibility);
H A DRefreshRateOverlay.cpp202 mLayer->setFrameRate(Layer::FrameRate(Fps(0.0f), Layer::FrameRateCompatibility::NoVote)); in createLayer()
/aosp12/frameworks/base/core/java/android/view/
H A DSurface.java201 public @interface FrameRateCompatibility {} annotation in Surface
975 @FrameRateCompatibility int compatibility, in setFrameRate()
996 @FloatRange(from = 0.0) float frameRate, @FrameRateCompatibility int compatibility) { in setFrameRate()
H A DSurfaceControl.java3398 @Surface.FrameRateCompatibility int compatibility) { in setFrameRate()
3437 @Surface.FrameRateCompatibility int compatibility, in setFrameRate()
/aosp12/frameworks/native/services/surfaceflinger/TimeStats/timestatsatomsproto/
H A Dtimestats_atoms.proto264 enum FrameRateCompatibility { enum
272 optional FrameRateCompatibility frame_rate_compatibility = 2;
/aosp12/frameworks/native/services/surfaceflinger/TimeStats/
H A DTimeStats.cpp79 SurfaceflingerStatsLayerInfo::SetFrameRateVote::FrameRateCompatibility; in frameRateVoteToProto()
/aosp12/frameworks/proto_logging/stats/
H A Datoms.proto11954 enum FrameRateCompatibility { enum
11962 optional FrameRateCompatibility frame_rate_compatibility = 2;