/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | LayerStateTest.cpp | 97 void verifyUniqueDifferingFields(const LayerState& lhs, const LayerState& rhs) { in verifyUniqueDifferingFields() 104 void verifyNonUniqueDifferingFields(const LayerState& lhs, const LayerState& rhs, in verifyNonUniqueDifferingFields() 114 std::unique_ptr<LayerState> mLayerState; 122 mLayerState = std::make_unique<LayerState>(&mOutputLayer); in TEST_F() 131 mLayerState = std::make_unique<LayerState>(&mOutputLayer); in TEST_F() 147 mLayerState = std::make_unique<LayerState>(&mOutputLayer); in TEST_F() 156 mLayerState = std::make_unique<LayerState>(&mOutputLayer); in TEST_F() 172 mLayerState = std::make_unique<LayerState>(&mOutputLayer); in TEST_F() 177 auto otherLayerState = std::make_unique<LayerState>(&newOutputLayer); in TEST_F() 192 mLayerState = std::make_unique<LayerState>(&mOutputLayer); in TEST_F() [all …]
|
D | PredictorTest.cpp | 81 LayerState layerStateOne(&outputLayerOne); in TEST_F() 89 LayerState layerStateTwo(&outputLayerTwo); in TEST_F() 97 LayerState layerStateThree(&outputLayerThree); in TEST_F() 113 LayerState layerStateOne(&outputLayerOne); in TEST_F() 122 LayerState layerStateTwo(&outputLayerTwo); in TEST_F() 138 LayerState layerStateOne(&outputLayerOne); in TEST_F() 148 LayerState layerStateTwo(&outputLayerTwo); in TEST_F() 169 LayerState layerStateOne(&outputLayerOne); in TEST_F() 179 LayerState layerStateTwo(&outputLayerTwo); in TEST_F() 206 LayerState layerStateOne(&outputLayerOne); in TEST_F() [all …]
|
D | FlattenerTest.cpp | 36 using impl::planner::LayerState; 71 void initializeOverrideBuffer(const std::vector<const LayerState*>& layers); 72 void initializeFlattener(const std::vector<const LayerState*>& layers); 73 void expectAllLayersFlattened(const std::vector<const LayerState*>& layers); 90 std::unique_ptr<LayerState> layerState; 139 testLayer->layerState = std::make_unique<LayerState>(&testLayer->outputLayer); in SetUp() 151 void FlattenerTest::initializeOverrideBuffer(const std::vector<const LayerState*>& layers) { in initializeOverrideBuffer() 157 void FlattenerTest::initializeFlattener(const std::vector<const LayerState*>& layers) { in initializeFlattener() 171 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 | 44 using impl::planner::LayerState; 92 std::unique_ptr<LayerState> layerState; 125 testLayer->layerState = std::make_unique<LayerState>(&testLayer->outputLayer); in SetUp() 154 void expectEqual(const CachedSet& cachedSet, const LayerState& layerState, in expectEqual() 181 LayerState& layerState = *mTestLayers[0]->layerState.get(); in TEST_F() 230 LayerState& layerState = *mTestLayers[0]->layerState.get(); in TEST_F()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
D | LayerState.cpp | 27 LayerState::LayerState(compositionengine::OutputLayer* layer) in LayerState() function in android::compositionengine::impl::planner::LayerState 44 ftl::Flags<LayerStateField> LayerState::update(compositionengine::OutputLayer* layer) { in update() 67 size_t LayerState::getHash() const { in getHash() 79 ftl::Flags<LayerStateField> LayerState::getDifferingFields(const LayerState& other) const { in getDifferingFields() 94 void LayerState::dump(std::string& result) const { in dump() 108 std::optional<std::string> LayerState::compare(const LayerState& other) const { in compare() 154 bool operator==(const LayerState& lhs, const LayerState& rhs) { in operator ==() 168 NonBufferHash getNonBufferHash(const std::vector<const LayerState*>& layers) { in getNonBufferHash()
|
D | Flattener.cpp | 37 bool isSameStack(const std::vector<const LayerState*>& incomingLayers, in isSameStack() 39 std::vector<const LayerState*> existingLayers; in isSameStack() 66 NonBufferHash Flattener::flattenLayers(const std::vector<const LayerState*>& layers, in flattenLayers() 203 size_t Flattener::calculateDisplayCost(const std::vector<const LayerState*>& layers) const { in calculateDisplayCost() 208 for (const LayerState* layer : layers) { in calculateDisplayCost() 261 bool Flattener::mergeWithCachedSets(const std::vector<const LayerState*>& layers, time_point now) { in mergeWithCachedSets() 267 for (const LayerState* layer : layers) { in mergeWithCachedSets() 277 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() 169 const std::vector<const LayerState*>& layers, NonBufferHash hash) const { in getPredictedPlan() 198 const std::vector<const LayerState*>& layers, bool hasSkippedLayers, in recordResult() 331 const std::vector<const LayerState*>& layers) const { in getApproximateMatch() 391 const std::vector<const LayerState*>& layers, Plan result) { in recordPredictedResult() 436 bool Predictor::findSimilarPrediction(const std::vector<const LayerState*>& layers, Plan result) { in findSimilarPrediction()
|
D | CachedSet.cpp | 59 CachedSet::Layer::Layer(const LayerState* state, std::chrono::steady_clock::time_point lastUpdate) in Layer() 62 CachedSet::CachedSet(const LayerState* layer, std::chrono::steady_clock::time_point lastUpdate) in CachedSet() 75 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); 160 const LayerState* mHolePunchLayer = nullptr; 161 const LayerState* mBlurLayer = nullptr;
|
D | LayerState.h | 213 class LayerState { 215 LayerState(compositionengine::OutputLayer* layer); 227 ftl::Flags<LayerStateField> getDifferingFields(const LayerState& other) const; 260 std::optional<std::string> compare(const LayerState& other) const; 263 friend bool operator==(const LayerState& lhs, const LayerState& rhs); 264 friend bool operator!=(const LayerState& lhs, const LayerState& rhs) { return !(lhs == rhs); } 489 const_cast<const LayerState*>(this)->getNonUniqueFields(); 510 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/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 | 788 final LayerState state = mLayerState; in getOutline() 1315 RippleState createConstantState(LayerState state, Resources res) { in createConstantState() 1319 static class RippleState extends LayerState { 1327 public RippleState(LayerState orig, RippleDrawable owner, Resources res) { in RippleState()
|
/frameworks/native/services/surfaceflinger/Tracing/ |
D | TransactionProtoParser.h | 108 void mergeFromProto(const proto::LayerState&, TracingLayerState& outState); 113 proto::LayerState toProto(const layer_state_t&); 115 void fromProto(const proto::LayerState&, layer_state_t& out);
|
D | TransactionProtoParser.cpp | 51 proto::LayerState layerProto = toProto(state); in toProto() 73 proto::LayerState TransactionProtoParser::toProto(const layer_state_t& layer) { in toProto() 74 proto::LayerState proto; in toProto() 338 void TransactionProtoParser::mergeFromProto(const proto::LayerState& proto, in mergeFromProto() 366 void TransactionProtoParser::fromProto(const proto::LayerState& proto, layer_state_t& layer) { in fromProto()
|
D | TransactionTracing.cpp | 369 for (const proto::LayerState& layerState : transaction.layer_changes()) { in updateStartingStateLocked()
|
/frameworks/native/services/surfaceflinger/layerproto/ |
D | transactions.proto | 67 repeated LayerState layer_changes = 7; 72 message LayerState { message
|
/frameworks/native/services/surfaceflinger/CompositionEngine/ |
D | Android.bp | 66 "src/planner/LayerState.cpp",
|
/frameworks/native/libs/gui/ |
D | Android.bp | 198 "LayerState.cpp",
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 6752 …aphics/drawable/AdaptiveIconDrawable$LayerState;-><init>(Landroid/graphics/drawable/AdaptiveIconDr… 6753 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->canApplyTheme()Z 6754 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->getChangingConfigurations()I 6755 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->invalidateCache()V 6756 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->isStateful()Z 6757 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->newDrawable()Landroid/graphics/draw… 6758 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->newDrawable(Landroid/content/res/Re… 6759 …eIconDrawable;-><init>(Landroid/graphics/drawable/AdaptiveIconDrawable$LayerState;Landroid/content… 6762 …able/AdaptiveIconDrawable$LayerState;Landroid/content/res/Resources;)Landroid/graphics/drawable/Ad… 7295 …graphics/drawable/LayerDrawable$LayerState;->-$$Nest$fgetmPaddingMode(Landroid/graphics/drawable/L… [all …]
|