Home
last modified time | relevance | path

Searched refs:LayerInfo (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DBlurStack.java69 private LayerInfo[] layerInfo;
96 public LayerInfo getLayerInfo(int layer) { in getLayerInfo()
272 layerInfo = new LayerInfo[numLayers]; in generateOneLayerForEachDepth()
277 layerInfo[layer] = new LayerInfo(depth); in generateOneLayerForEachDepth()
282 layerInfo[layer] = new LayerInfo(frontFocalDepth, backFocalDepth); in generateOneLayerForEachDepth()
287 layerInfo[layer] = new LayerInfo(depth); in generateOneLayerForEachDepth()
309 ArrayList<LayerInfo> layerInfoBehindFocus = in groupDepthLevelsIntoLayers()
315 ArrayList<LayerInfo> layerInfoInFrontOfFocus = in groupDepthLevelsIntoLayers()
322 layerInfo = new LayerInfo[numLayers]; in groupDepthLevelsIntoLayers()
334 layerInfo[n] = new LayerInfo(frontFocalDepth, backFocalDepth); in groupDepthLevelsIntoLayers()
[all …]
DLayerInfo.java7 public class LayerInfo { class
11 LayerInfo(int depth) { in LayerInfo() method in LayerInfo
16 LayerInfo(int front, int back) { in LayerInfo() method in LayerInfo
DRefocusFilter.java102 LayerInfo layerInfo = blurStack.getLayerInfo(targetLayer); in processLayersFromBackToFocus()
145 LayerInfo layerInfo = blurStack.getLayerInfo(targetLayer); in processLayersFromFrontToFocus()
193 LayerInfo focalLayer); in initializeScriptAndBuffers()
199 protected abstract void setTargetLayer(LayerInfo layerInfo); in setTargetLayer()
Dlayer_info.rsh5 typedef struct LayerInfo {
Dlayer_info_fast.rsh5 typedef struct LayerInfo {
Dpixel_format_f32.rsh38 // in LayerInfo below.
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.cpp41 bool LayerInfo::sTraceEnabled = false;
43 LayerInfo::LayerInfo(const std::string& name, uid_t ownerUid, in LayerInfo() function in android::scheduler::LayerInfo
54 void LayerInfo::setLastPresentTime(nsecs_t lastPresentTime, nsecs_t now, LayerUpdateType updateType, in setLastPresentTime()
83 void LayerInfo::setProperties(const android::scheduler::LayerProps& properties) { in setProperties()
87 bool LayerInfo::isFrameTimeValid(const FrameTimeData& frameTime) const { in isFrameTimeValid()
93 LayerInfo::Frequent LayerInfo::isFrequent(nsecs_t now) const { in isFrequent()
158 Fps LayerInfo::getFps(nsecs_t now) const { in getFps()
177 bool LayerInfo::isAnimating(nsecs_t now) const { in isAnimating()
181 bool LayerInfo::hasEnoughDataForHeuristic() const { in hasEnoughDataForHeuristic()
203 std::optional<nsecs_t> LayerInfo::calculateAverageFrameTime() const { in calculateAverageFrameTime()
[all …]
DLayerInfo.h52 class LayerInfo {
81 using RefreshRateVotes = ftl::SmallVector<LayerInfo::LayerVote, 2>;
173 LayerInfo(const std::string& name, uid_t ownerUid, LayerHistory::LayerVoteType defaultVote);
175 LayerInfo(const LayerInfo&) = delete;
176 LayerInfo& operator=(const LayerInfo&) = delete;
373 LayerInfo::FrameRate setFrameRateVote;
DLayerHistory.h41 class LayerInfo; variable
107 using LayerPair = std::pair<Layer*, std::unique_ptr<LayerInfo>>;
DLayerHistory.cpp43 bool isLayerActive(const LayerInfo& info, nsecs_t threshold, bool isVrrDevice) { in isLayerActive()
73 void trace(const LayerInfo& info, LayerHistory::LayerVoteType type, int fps) { in trace()
107 LayerInfo::setTraceEnabled(mTraceEnabled); in LayerHistory()
118 auto info = std::make_unique<LayerInfo>(layer->getName(), layer->getOwnerUid(), type); in registerLayer()
209 for (LayerInfo::LayerVote vote : votes) { in summarize()
/frameworks/native/services/surfaceflinger/tests/tracing/
DTransactionTraceTestSuite.cpp96 struct LayerInfo { struct
109 bool operator==(const LayerInfo& lh, const LayerInfo& rh) { in operator ==()
116 bool compareById(const LayerInfo& a, const LayerInfo& b) { in compareById()
120 inline void PrintTo(const LayerInfo& info, ::std::ostream* os) { in PrintTo()
132 bool operator()(LayerInfo const& m) const { return m.id == id; } in operator ()()
135 static LayerInfo getLayerInfoFromProto(perfetto::protos::LayerProto& proto) { in getLayerInfoFromProto()
159 static std::vector<LayerInfo> getLayerInfosFromProto(perfetto::protos::LayersSnapshotProto& entry) { in getLayerInfosFromProto()
161 std::vector<LayerInfo> layers; in getLayerInfosFromProto()
166 LayerInfo layerInfo = getLayerInfoFromProto(layer); in getLayerInfosFromProto()
202 std::vector<LayerInfo> expectedLayers = getLayerInfosFromProto(expectedLastEntry); in TEST_P()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerInfoTest.cpp40 using FrameTimeData = LayerInfo::FrameTimeData;
58 LayerInfo layerInfo{"TestLayerInfo", 0, LayerHistory::LayerVoteType::Heuristic};
200 LayerInfo::LayerVote vote = {.type = LayerHistory::LayerVoteType::ExplicitDefault, in TEST_F()
214 LayerInfo::LayerVote vote = {.type = LayerHistory::LayerVoteType::ExplicitDefault, in TEST_F()
234 LayerInfo::LayerVote vote = {.type = LayerHistory::LayerVoteType::ExplicitDefault, in TEST_F()
247 LayerInfo::LayerVote vote = {.type = LayerHistory::LayerVoteType::ExplicitDefault, in TEST_F()
260 LayerInfo::LayerVote vote = { in TEST_F()
DLayerSnapshotTest.cpp822 scheduler::LayerInfo::FrameRateSelectionStrategy::OverrideChildren); in TEST_F()
827 scheduler::LayerInfo::FrameRateSelectionStrategy::OverrideChildren); in TEST_F()
832 scheduler::LayerInfo::FrameRateSelectionStrategy::OverrideChildren); in TEST_F()
837 scheduler::LayerInfo::FrameRateSelectionStrategy::OverrideChildren); in TEST_F()
864 scheduler::LayerInfo::FrameRateSelectionStrategy::Propagate); in TEST_F()
869 scheduler::LayerInfo::FrameRateSelectionStrategy::Propagate); in TEST_F()
876 scheduler::LayerInfo::FrameRateSelectionStrategy::Propagate); in TEST_F()
881 scheduler::LayerInfo::FrameRateSelectionStrategy::Propagate); in TEST_F()
912 scheduler::LayerInfo::FrameRateSelectionStrategy::OverrideChildren); in TEST_F()
917 scheduler::LayerInfo::FrameRateSelectionStrategy::OverrideChildren); in TEST_F()
[all …]
DLayerHistoryIntegrationTest.cpp45 static constexpr auto PRESENT_TIME_HISTORY_SIZE = LayerInfo::HISTORY_SIZE;
46 static constexpr auto MAX_FREQUENT_LAYER_PERIOD_NS = LayerInfo::kMaxPeriodForFrequentLayerNs;
47 static constexpr auto FREQUENT_LAYER_WINDOW_SIZE = LayerInfo::kFrequentLayerWindowSize;
48 static constexpr auto PRESENT_TIME_HISTORY_DURATION = LayerInfo::HISTORY_DURATION;
DFrameRateSelectionStrategyTest.cpp42 using FrameRateSelectionStrategy = scheduler::LayerInfo::FrameRateSelectionStrategy;
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshot.h89 scheduler::LayerInfo::FrameRate frameRate;
90 scheduler::LayerInfo::FrameRate inheritedFrameRate;
91 scheduler::LayerInfo::FrameRateSelectionStrategy frameRateSelectionStrategy;
DRequestedLayerState.h123 scheduler::LayerInfo::FrameRate requestedFrameRate;
DLayerSnapshotBuilder.cpp700 snapshot.frameRate = scheduler::LayerInfo::FrameRate(Fps(), FrameRateCompatibility::NoVote); in updateFrameRateFromChildSnapshot()
837 scheduler::LayerInfo::FrameRateSelectionStrategy::OverrideChildren; in updateSnapshot()
839 scheduler::LayerInfo::FrameRateSelectionStrategy::Self; in updateSnapshot()
854 scheduler::LayerInfo::FrameRateSelectionStrategy::OverrideChildren) { in updateSnapshot()
856 scheduler::LayerInfo::FrameRateSelectionStrategy::OverrideChildren; in updateSnapshot()
858 const auto strategy = scheduler::LayerInfo::convertFrameRateSelectionStrategy( in updateSnapshot()
DRequestedLayerState.cpp128 static_cast<int8_t>(scheduler::LayerInfo::FrameRateSelectionStrategy::Propagate); in RequestedLayerState()
412 std::ostream& operator<<(std::ostream& out, const scheduler::LayerInfo::FrameRate& obj) { in operator <<()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
DImageBuffersForRenderScriptF32.java11 import com.android.rs.refocus.LayerInfo;
69 public void initializeRenderScript(LayerInfo focalLayer, in initializeRenderScript()
DRefocusFilterF32.java6 import com.android.rs.refocus.LayerInfo;
45 LayerInfo focalLayer) { in initializeScriptAndBuffers()
104 protected void setTargetLayer(LayerInfo layerInfo) { in setTargetLayer()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
DImageBuffersForRenderScriptd1new.java11 import com.android.rs.refocus.LayerInfo;
92 public void initializeRenderScript(LayerInfo focalLayer, in initializeRenderScript()
DRefocusFilterd1new.java5 import com.android.rs.refocus.LayerInfo;
46 LayerInfo focalLayer) { in initializeScriptAndBuffers()
106 protected void setTargetLayer(LayerInfo layerInfo) { in setTargetLayer()
/frameworks/native/services/surfaceflinger/
DAndroid.bp204 "Scheduler/LayerInfo.cpp",
DLayer.h112 using FrameRate = scheduler::LayerInfo::FrameRate;
114 using FrameRateSelectionStrategy = scheduler::LayerInfo::FrameRateSelectionStrategy;

12