Home
last modified time | relevance | path

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

/aosp12/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A 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()
322 layerInfo = new LayerInfo[numLayers]; in groupDepthLevelsIntoLayers()
356 ArrayList<LayerInfo> layerInfo = in groupDepthLevelsBehindFocus()
366 layerInfo.add(new LayerInfo(d)); in groupDepthLevelsBehindFocus()
383 layerInfo.add(new LayerInfo(d)); in groupDepthLevelsBehindFocus()
402 ArrayList<LayerInfo> layerInfo = in groupDepthLevelsInFrontOfFocus()
413 layerInfo.add(new LayerInfo(d)); in groupDepthLevelsInFrontOfFocus()
[all …]
H A 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
H A 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()
H A Dlayer_info.rsh5 typedef struct LayerInfo {
H A Dlayer_info_fast.rsh5 typedef struct LayerInfo {
H A Dpixel_format_f32.rsh38 // in LayerInfo below.
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/
H A DLayerInfo.cpp37 bool LayerInfo::sTraceEnabled = false;
39 LayerInfo::LayerInfo(const std::string& name, uid_t ownerUid, in LayerInfo() function in android::scheduler::LayerInfo
76 bool LayerInfo::isFrequent(nsecs_t now) const { in isFrequent()
102 bool LayerInfo::isAnimating(nsecs_t now) const { in isAnimating()
106 bool LayerInfo::hasEnoughDataForHeuristic() const { in hasEnoughDataForHeuristic()
186 std::optional<Fps> LayerInfo::calculateRefreshRateIfPossible( in calculateRefreshRateIfPossible()
221 LayerInfo::LayerVote LayerInfo::getRefreshRateVote(const RefreshRateConfigs& refreshRateConfigs, in getRefreshRateVote()
268 LayerInfo::RefreshRateHistory::HeuristicTraceTagData
269 LayerInfo::RefreshRateHistory::makeHeuristicTraceTagData() const { in makeHeuristicTraceTagData()
278 void LayerInfo::RefreshRateHistory::clear() { in clear()
[all …]
H A DLayerInfo.h47 class LayerInfo {
125 LayerInfo(const std::string& name, uid_t ownerUid, LayerHistory::LayerVoteType defaultVote);
127 LayerInfo(const LayerInfo&) = delete;
128 LayerInfo& operator=(const LayerInfo&) = delete;
H A DLayerHistory.cpp42 bool isLayerActive(const LayerInfo& info, nsecs_t threshold) { in isLayerActive()
61 void trace(const LayerInfo& info, LayerHistory::LayerVoteType type, int fps) { in trace()
80 LayerInfo::setTraceEnabled(mTraceEnabled); in LayerHistory()
90 auto info = std::make_unique<LayerInfo>(layer->getName(), layer->getOwnerUid(), type); in registerLayer()
123 const auto layerProps = LayerInfo::LayerProps{ in record()
H A DLayerHistory.h39 class LayerInfo; variable
81 using LayerPair = std::pair<Layer*, std::unique_ptr<LayerInfo>>;
/aosp12/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
H A DImageBuffersForRenderScriptF32.java11 import com.android.rs.refocus.LayerInfo;
69 public void initializeRenderScript(LayerInfo focalLayer, in initializeRenderScript()
H A DRefocusFilterF32.java6 import com.android.rs.refocus.LayerInfo;
45 LayerInfo focalLayer) { in initializeScriptAndBuffers()
104 protected void setTargetLayer(LayerInfo layerInfo) { in setTargetLayer()
/aosp12/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
H A DImageBuffersForRenderScriptd1new.java11 import com.android.rs.refocus.LayerInfo;
92 public void initializeRenderScript(LayerInfo focalLayer, in initializeRenderScript()
H A DRefocusFilterd1new.java5 import com.android.rs.refocus.LayerInfo;
46 LayerInfo focalLayer) { in initializeScriptAndBuffers()
106 protected void setTargetLayer(LayerInfo layerInfo) { in setTargetLayer()
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DLayerInfoTest.cpp30 using FrameTimeData = LayerInfo::FrameTimeData;
43 LayerInfo layerInfo{"TestLayerInfo", 0, LayerHistory::LayerVoteType::Heuristic};
H A DLayerHistoryTest.cpp46 static constexpr auto PRESENT_TIME_HISTORY_SIZE = LayerInfo::HISTORY_SIZE;
47 static constexpr auto MAX_FREQUENT_LAYER_PERIOD_NS = LayerInfo::kMaxPeriodForFrequentLayerNs;
48 static constexpr auto FREQUENT_LAYER_WINDOW_SIZE = LayerInfo::kFrequentLayerWindowSize;
49 static constexpr auto PRESENT_TIME_HISTORY_DURATION = LayerInfo::HISTORY_DURATION;
51 LayerInfo::RefreshRateHistory::HISTORY_DURATION;
/aosp12/frameworks/native/services/surfaceflinger/
H A DAndroid.bp176 "Scheduler/LayerInfo.cpp",
H A DLayer.h147 using FrameRate = scheduler::LayerInfo::FrameRate;
148 using FrameRateCompatibility = scheduler::LayerInfo::FrameRateCompatibility;