/aosp12/frameworks/native/services/surfaceflinger/Scheduler/ |
H A D | LayerInfo.h | 71 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 D | LayerHistory.cpp | 192 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 D | TimeStatsHelper.h | 62 enum class FrameRateCompatibility { enum 66 } frameRateCompatibility = FrameRateCompatibility::Undefined; 75 static std::string toString(FrameRateCompatibility);
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | SetFrameRateTest.cpp | 53 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 D | LayerHistoryTest.cpp | 307 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 D | TimeStatsTest.cpp | 382 .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 D | TimeStatsHelper.cpp | 94 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 D | BufferLayer.cpp | 347 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 D | Layer.cpp | 1130 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 D | Layer.h | 148 using FrameRateCompatibility = scheduler::LayerInfo::FrameRateCompatibility; variable 335 static std::string frameRateCompatibilityString(FrameRateCompatibility compatibility);
|
H A D | RefreshRateOverlay.cpp | 202 mLayer->setFrameRate(Layer::FrameRate(Fps(0.0f), Layer::FrameRateCompatibility::NoVote)); in createLayer()
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | Surface.java | 201 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 D | SurfaceControl.java | 3398 @Surface.FrameRateCompatibility int compatibility) { in setFrameRate() 3437 @Surface.FrameRateCompatibility int compatibility, in setFrameRate()
|
/aosp12/frameworks/native/services/surfaceflinger/TimeStats/timestatsatomsproto/ |
H A D | timestats_atoms.proto | 264 enum FrameRateCompatibility { enum 272 optional FrameRateCompatibility frame_rate_compatibility = 2;
|
/aosp12/frameworks/native/services/surfaceflinger/TimeStats/ |
H A D | TimeStats.cpp | 79 SurfaceflingerStatsLayerInfo::SetFrameRateVote::FrameRateCompatibility; in frameRateVoteToProto()
|
/aosp12/frameworks/proto_logging/stats/ |
H A D | atoms.proto | 11954 enum FrameRateCompatibility { enum 11962 optional FrameRateCompatibility frame_rate_compatibility = 2;
|