/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | BlurStack.java | 69 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 …]
|
D | LayerInfo.java | 7 public class LayerInfo { class 11 LayerInfo(int depth) { in LayerInfo() method in LayerInfo 16 LayerInfo(int front, int back) { in LayerInfo() method in LayerInfo
|
D | RefocusFilter.java | 102 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()
|
D | layer_info.rsh | 5 typedef struct LayerInfo {
|
D | layer_info_fast.rsh | 5 typedef struct LayerInfo {
|
D | pixel_format_f32.rsh | 38 // in LayerInfo below.
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | LayerInfo.cpp | 41 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 …]
|
D | LayerInfo.h | 52 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;
|
D | LayerHistory.h | 41 class LayerInfo; variable 107 using LayerPair = std::pair<Layer*, std::unique_ptr<LayerInfo>>;
|
D | LayerHistory.cpp | 43 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/ |
D | TransactionTraceTestSuite.cpp | 96 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/ |
D | LayerInfoTest.cpp | 40 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()
|
D | LayerSnapshotTest.cpp | 822 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 …]
|
D | LayerHistoryIntegrationTest.cpp | 45 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;
|
D | FrameRateSelectionStrategyTest.cpp | 42 using FrameRateSelectionStrategy = scheduler::LayerInfo::FrameRateSelectionStrategy;
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerSnapshot.h | 89 scheduler::LayerInfo::FrameRate frameRate; 90 scheduler::LayerInfo::FrameRate inheritedFrameRate; 91 scheduler::LayerInfo::FrameRateSelectionStrategy frameRateSelectionStrategy;
|
D | RequestedLayerState.h | 123 scheduler::LayerInfo::FrameRate requestedFrameRate;
|
D | LayerSnapshotBuilder.cpp | 700 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()
|
D | RequestedLayerState.cpp | 128 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/ |
D | ImageBuffersForRenderScriptF32.java | 11 import com.android.rs.refocus.LayerInfo; 69 public void initializeRenderScript(LayerInfo focalLayer, in initializeRenderScript()
|
D | RefocusFilterF32.java | 6 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/ |
D | ImageBuffersForRenderScriptd1new.java | 11 import com.android.rs.refocus.LayerInfo; 92 public void initializeRenderScript(LayerInfo focalLayer, in initializeRenderScript()
|
D | RefocusFilterd1new.java | 5 import com.android.rs.refocus.LayerInfo; 46 LayerInfo focalLayer) { in initializeScriptAndBuffers() 106 protected void setTargetLayer(LayerInfo layerInfo) { in setTargetLayer()
|
/frameworks/native/services/surfaceflinger/ |
D | Android.bp | 204 "Scheduler/LayerInfo.cpp",
|
D | Layer.h | 112 using FrameRate = scheduler::LayerInfo::FrameRate; 114 using FrameRateSelectionStrategy = scheduler::LayerInfo::FrameRateSelectionStrategy;
|