/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | LayerStateTest.cpp | 99 void verifyUniqueDifferingFields(const LayerState& lhs, const LayerState& rhs) { in verifyUniqueDifferingFields() 106 void verifyNonUniqueDifferingFields(const LayerState& lhs, const LayerState& rhs, in verifyNonUniqueDifferingFields() 116 std::unique_ptr<LayerState> mLayerState; 127 mLayerState = std::make_unique<LayerState>(&mOutputLayer); in TEST_F() 136 mLayerState = std::make_unique<LayerState>(&mOutputLayer); in TEST_F() 152 mLayerState = std::make_unique<LayerState>(&mOutputLayer); in TEST_F() 161 mLayerState = std::make_unique<LayerState>(&mOutputLayer); in TEST_F() 177 mLayerState = std::make_unique<LayerState>(&mOutputLayer); in TEST_F() 182 auto otherLayerState = std::make_unique<LayerState>(&newOutputLayer); in TEST_F() 197 mLayerState = std::make_unique<LayerState>(&mOutputLayer); in TEST_F() [all …]
|
D | PredictorTest.cpp | 84 LayerState layerStateOne(&outputLayerOne); in TEST_F() 92 LayerState layerStateTwo(&outputLayerTwo); in TEST_F() 100 LayerState layerStateThree(&outputLayerThree); in TEST_F() 116 LayerState layerStateOne(&outputLayerOne); in TEST_F() 125 LayerState layerStateTwo(&outputLayerTwo); in TEST_F() 144 LayerState layerStateOne(&outputLayerOne); in TEST_F() 154 LayerState layerStateTwo(&outputLayerTwo); in TEST_F() 178 LayerState layerStateOne(&outputLayerOne); in TEST_F() 188 LayerState layerStateTwo(&outputLayerTwo); in TEST_F() 215 LayerState layerStateOne(&outputLayerOne); in TEST_F() [all …]
|
D | FlattenerTest.cpp | 37 using impl::planner::LayerState; 72 void initializeOverrideBuffer(const std::vector<const LayerState*>& layers); 73 void initializeFlattener(const std::vector<const LayerState*>& layers); 74 void expectAllLayersFlattened(const std::vector<const LayerState*>& layers); 91 std::unique_ptr<LayerState> layerState; 140 testLayer->layerState = std::make_unique<LayerState>(&testLayer->outputLayer); in SetUp() 152 void FlattenerTest::initializeOverrideBuffer(const std::vector<const LayerState*>& layers) { in initializeOverrideBuffer() 158 void FlattenerTest::initializeFlattener(const std::vector<const LayerState*>& layers) { in initializeFlattener() 172 void FlattenerTest::expectAllLayersFlattened(const std::vector<const LayerState*>& layers) { in expectAllLayersFlattened() 203 const std::vector<const LayerState*> layers = { in TEST_F() [all …]
|
D | CachedSetTest.cpp | 42 using impl::planner::LayerState; 90 std::unique_ptr<LayerState> layerState; 123 testLayer->layerState = std::make_unique<LayerState>(&testLayer->outputLayer); in SetUp() 152 void expectEqual(const CachedSet& cachedSet, const LayerState& layerState, in expectEqual() 179 LayerState& layerState = *mTestLayers[0]->layerState.get(); in TEST_F() 228 LayerState& layerState = *mTestLayers[0]->layerState.get(); in TEST_F()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
D | LayerState.cpp | 28 LayerState::LayerState(compositionengine::OutputLayer* layer) in LayerState() function in android::compositionengine::impl::planner::LayerState 45 ftl::Flags<LayerStateField> LayerState::update(compositionengine::OutputLayer* layer) { in update() 68 size_t LayerState::getHash() const { in getHash() 84 bool LayerState::isSourceCropSizeEqual(const LayerState& other) const { in isSourceCropSizeEqual() 89 ftl::Flags<LayerStateField> LayerState::getDifferingFields(const LayerState& other) const { in getDifferingFields() 104 void LayerState::dump(std::string& result) const { in dump() 118 std::optional<std::string> LayerState::compare(const LayerState& other) const { in compare() 164 bool operator==(const LayerState& lhs, const LayerState& rhs) { in operator ==() 178 NonBufferHash getNonBufferHash(const std::vector<const LayerState*>& layers) { in getNonBufferHash()
|
D | Flattener.cpp | 38 bool isSameStack(const std::vector<const LayerState*>& incomingLayers, in isSameStack() 40 std::vector<const LayerState*> existingLayers; in isSameStack() 78 NonBufferHash Flattener::flattenLayers(const std::vector<const LayerState*>& layers, in flattenLayers() 215 size_t Flattener::calculateDisplayCost(const std::vector<const LayerState*>& layers) const { in calculateDisplayCost() 220 for (const LayerState* layer : layers) { in calculateDisplayCost() 273 bool Flattener::mergeWithCachedSets(const std::vector<const LayerState*>& layers, time_point now) { in mergeWithCachedSets() 279 for (const LayerState* layer : layers) { in mergeWithCachedSets() 289 for (const LayerState* layer : layers) { in mergeWithCachedSets()
|
D | Planner.cpp | 99 LayerState& state = layerEntry->second; in plan() 114 LayerState state(layer); in plan() 130 LayerState* state = &mPreviousLayers.at(id); in plan() 144 mPredictor.getPredictedPlan(layersWereFlattened ? std::vector<const LayerState*>() in plan()
|
D | Predictor.cpp | 27 const std::vector<const LayerState*>& other) const { in getApproximateMatch() 173 const std::vector<const LayerState*>& layers, NonBufferHash hash) const { in getPredictedPlan() 202 const std::vector<const LayerState*>& layers, bool hasSkippedLayers, in recordResult() 335 const std::vector<const LayerState*>& layers) const { in getApproximateMatch() 395 const std::vector<const LayerState*>& layers, Plan result) { in recordPredictedResult() 440 bool Predictor::findSimilarPrediction(const std::vector<const LayerState*>& layers, Plan result) { in findSimilarPrediction()
|
D | CachedSet.cpp | 58 CachedSet::Layer::Layer(const LayerState* state, std::chrono::steady_clock::time_point lastUpdate) in Layer() 61 CachedSet::CachedSet(const LayerState* layer, std::chrono::steady_clock::time_point lastUpdate) in CachedSet() 74 void CachedSet::addLayer(const LayerState* layer, in addLayer()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/ |
D | Predictor.h | 27 LayerStack(const std::vector<const LayerState*>& layers) : mLayers(copyLayers(layers)) {} in LayerStack() 52 const std::vector<const LayerState*>& other) const; 79 for (const LayerState& layer : mLayers) { in dump() 87 for (const LayerState& layer : mLayers) { 95 std::vector<const LayerState> copyLayers(const std::vector<const LayerState*>& layers) { in copyLayers() 96 std::vector<const LayerState> copiedLayers; in copyLayers() 99 [](const LayerState* layerState) { return *layerState; }); in copyLayers() 103 std::vector<const LayerState> mLayers; 171 Prediction(const std::vector<const LayerState*>& layers, Plan plan) 242 std::optional<PredictedPlan> getPredictedPlan(const std::vector<const LayerState*>& layers, [all …]
|
D | CachedSet.h | 33 class LayerState; variable 39 Layer(const LayerState*, std::chrono::steady_clock::time_point lastUpdate); 41 const LayerState* getState() const { return mState; } in getState() 54 const LayerState* mState; 59 CachedSet(const LayerState*, std::chrono::steady_clock::time_point lastUpdate); 62 void addLayer(const LayerState*, std::chrono::steady_clock::time_point lastUpdate); 159 const LayerState* mHolePunchLayer = nullptr; 160 const LayerState* mBlurLayer = nullptr;
|
D | LayerState.h | 216 class LayerState { 218 LayerState(compositionengine::OutputLayer* layer); 230 ftl::Flags<LayerStateField> getDifferingFields(const LayerState& other) const; 231 bool isSourceCropSizeEqual(const LayerState& other) const; 271 std::optional<std::string> compare(const LayerState& other) const; 274 friend bool operator==(const LayerState& lhs, const LayerState& rhs); 275 friend bool operator!=(const LayerState& lhs, const LayerState& rhs) { return !(lhs == rhs); } 515 const_cast<const LayerState*>(this)->getNonUniqueFields(); 534 NonBufferHash getNonBufferHash(const std::vector<const LayerState*>&);
|
D | Planner.h | 78 std::unordered_map<LayerId, LayerState> mPreviousLayers; 80 std::vector<const LayerState*> mCurrentLayers;
|
D | Flattener.h | 36 class LayerState; variable 104 NonBufferHash flattenLayers(const std::vector<const LayerState*>& layers, NonBufferHash, 120 size_t calculateDisplayCost(const std::vector<const LayerState*>& layers) const; 126 bool mergeWithCachedSets(const std::vector<const LayerState*>& layers,
|
/frameworks/native/services/surfaceflinger/Tracing/ |
D | TransactionProtoParser.h | 51 perfetto::protos::LayerState toProto(const ResolvedComposerState&); 55 void mergeFromProto(const perfetto::protos::LayerState&, TracingLayerState& outState); 64 void fromProto(const perfetto::protos::LayerState&, ResolvedComposerState& out);
|
D | TransactionProtoParser.cpp | 87 perfetto::protos::LayerState layerProto = toProto(state); in toProto() 94 perfetto::protos::LayerState TransactionProtoParser::toProto( in toProto() 96 perfetto::protos::LayerState proto; in toProto() 342 void TransactionProtoParser::mergeFromProto(const perfetto::protos::LayerState& proto, in mergeFromProto() 367 void TransactionProtoParser::fromProto(const perfetto::protos::LayerState& proto, in fromProto()
|
D | TransactionTracing.cpp | 384 for (const perfetto::protos::LayerState& layerState : transaction.layer_changes()) { in updateStartingStateLocked()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AdaptiveIconDrawable.java | 132 LayerState mLayerState; 151 this((LayerState) null, null); in AdaptiveIconDrawable() 158 AdaptiveIconDrawable(@Nullable LayerState state, @Nullable Resources res) { in AdaptiveIconDrawable() 184 LayerState createConstantState(@Nullable LayerState state, @Nullable Resources res) { in createConstantState() 185 return new LayerState(state, this, res); in createConstantState() 208 this((LayerState)null, null); in AdaptiveIconDrawable() 237 final LayerState state = mLayerState; in inflate() 445 final LayerState state = mLayerState; in applyTheme() 482 final LayerState state = mLayerState; in getSourceDrawableResId() 492 final LayerState state = mLayerState; in inflateLayers() [all …]
|
D | TransitionDrawable.java | 105 LayerState createConstantState(LayerState state, Resources res) { in createConstantState() 263 static class TransitionState extends LayerState {
|
D | LayerDrawable.java | 99 LayerState mLayerState; 132 LayerDrawable(@NonNull Drawable[] layers, @Nullable LayerState state) { in LayerDrawable() 158 this((LayerState) null, null); in LayerDrawable() 165 LayerDrawable(@Nullable LayerState state, @Nullable Resources res) { in LayerDrawable() 173 LayerState createConstantState(@Nullable LayerState state, @Nullable Resources res) { in createConstantState() 174 return new LayerState(state, this, res); in createConstantState() 185 final LayerState state = mLayerState; in inflate() 210 final LayerState state = mLayerState; in applyTheme() 250 final LayerState state = mLayerState; in inflateLayers() 299 final LayerState state = mLayerState; in updateStateFromTypedArray() [all …]
|
D | RippleDrawable.java | 792 final LayerState state = mLayerState; in getOutline() 1326 RippleState createConstantState(LayerState state, Resources res) { in createConstantState() 1330 static class RippleState extends LayerState { 1338 public RippleState(LayerState orig, RippleDrawable owner, Resources res) { in RippleState()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/ |
D | Android.bp | 70 "src/planner/LayerState.cpp",
|
/frameworks/native/libs/gui/ |
D | Android.bp | 275 "LayerState.cpp",
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 6845 …aphics/drawable/AdaptiveIconDrawable$LayerState;-><init>(Landroid/graphics/drawable/AdaptiveIconDr… 6846 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->canApplyTheme()Z 6847 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->getChangingConfigurations()I 6848 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->invalidateCache()V 6849 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->isStateful()Z 6850 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->newDrawable()Landroid/graphics/draw… 6851 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->newDrawable(Landroid/content/res/Re… 6852 …eIconDrawable;-><init>(Landroid/graphics/drawable/AdaptiveIconDrawable$LayerState;Landroid/content… 6855 …able/AdaptiveIconDrawable$LayerState;Landroid/content/res/Resources;)Landroid/graphics/drawable/Ad… 7389 …graphics/drawable/LayerDrawable$LayerState;->-$$Nest$fgetmPaddingMode(Landroid/graphics/drawable/L… [all …]
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 6848 …aphics/drawable/AdaptiveIconDrawable$LayerState;-><init>(Landroid/graphics/drawable/AdaptiveIconDr… 6849 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->canApplyTheme()Z 6850 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->getChangingConfigurations()I 6851 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->invalidateCache()V 6852 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->isStateful()Z 6853 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->newDrawable()Landroid/graphics/draw… 6854 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->newDrawable(Landroid/content/res/Re… 6855 …eIconDrawable;-><init>(Landroid/graphics/drawable/AdaptiveIconDrawable$LayerState;Landroid/content… 6858 …able/AdaptiveIconDrawable$LayerState;Landroid/content/res/Resources;)Landroid/graphics/drawable/Ad… 7392 …graphics/drawable/LayerDrawable$LayerState;->-$$Nest$fgetmPaddingMode(Landroid/graphics/drawable/L… [all …]
|