/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | FlattenerTest.cpp | 91 std::unique_ptr<LayerState> layerState; member 140 testLayer->layerState = std::make_unique<LayerState>(&testLayer->outputLayer); in SetUp() 141 testLayer->layerState->incrementFramesSinceBufferUpdate(); in SetUp() 200 auto& layerState1 = mTestLayers[0]->layerState; in TEST_F() 201 auto& layerState2 = mTestLayers[1]->layerState; in TEST_F() 211 auto& layerState1 = mTestLayers[0]->layerState; in TEST_F() 212 auto& layerState2 = mTestLayers[1]->layerState; in TEST_F() 229 auto& layerState1 = mTestLayers[0]->layerState; in TEST_F() 230 auto& layerState2 = mTestLayers[1]->layerState; in TEST_F() 250 auto& layerState1 = mTestLayers[0]->layerState; in TEST_F() [all …]
|
D | CachedSetTest.cpp | 90 std::unique_ptr<LayerState> layerState; member 123 testLayer->layerState = std::make_unique<LayerState>(&testLayer->outputLayer); in SetUp() 124 testLayer->layerState->incrementFramesSinceBufferUpdate(); in SetUp() 126 std::make_unique<CachedSet::Layer>(testLayer->layerState.get(), kStartTime); in SetUp() 152 void expectEqual(const CachedSet& cachedSet, const LayerState& layerState, in expectEqual() argument 154 CachedSet::Layer layer(&layerState, lastUpdate); in expectEqual() 179 LayerState& layerState = *mTestLayers[0]->layerState.get(); in TEST_F() local 180 CachedSet cachedSet(&layerState, kStartTime); in TEST_F() 181 expectEqual(cachedSet, layerState, kStartTime); in TEST_F() 228 LayerState& layerState = *mTestLayers[0]->layerState.get(); in TEST_F() local [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TransactionTracingTest.cpp | 144 ResolvedComposerState layerState; in SetUp() local 145 layerState.layerId = mParentLayerId; in SetUp() 146 layerState.state.what = layer_state_t::eLayerChanged; in SetUp() 147 layerState.state.z = 42; in SetUp() 148 transaction.states.emplace_back(layerState); in SetUp() 168 ResolvedComposerState layerState; in SetUp() local 169 layerState.layerId = mParentLayerId; in SetUp() 170 layerState.state.what = layer_state_t::eLayerChanged | layer_state_t::ePositionChanged; in SetUp() 171 layerState.state.z = 41; in SetUp() 172 layerState.state.x = 22; in SetUp() [all …]
|
D | SchedulerTest.cpp | 814 RequestedLayerState layerState(LayerCreationArgs(layer->getSequence())); in TEST_F() local 815 LayerHierarchy hierarchy(&layerState); in TEST_F() 843 RequestedLayerState layerState(LayerCreationArgs(layer->getSequence())); in frameRateTestScenario() local 844 LayerHierarchy hierarchy(&layerState); in frameRateTestScenario() 846 layerState.frameRate = layerFps.getValue(); in frameRateTestScenario() 847 layerState.frameRateCompatibility = frameRateCompatibility; in frameRateTestScenario() 906 RequestedLayerState layerState(LayerCreationArgs(layer->getSequence())); in TEST_F() local 907 LayerHierarchy hierarchy(&layerState); in TEST_F() 911 layerState.frameRate = (30_Hz).getValue(); in TEST_F() 912 layerState.frameRateCompatibility = ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT; in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputLayer.cpp | 76 const auto& layerState = *getLayerFE().getCompositionState(); in calculateInitialCrop() local 84 reduce(layerState.geomLayerBounds, layerState.transparentRegionHint); in calculateInitialCrop() 87 const ui::Transform& layerTransform = layerState.geomLayerTransform; in calculateInitialCrop() 88 const ui::Transform& inverseLayerTransform = layerState.geomInverseLayerTransform; in calculateInitialCrop() 102 if (!activeCrop.intersect(layerState.geomBufferSize, &activeCrop)) { in calculateInitialCrop() 109 const auto& layerState = *getLayerFE().getCompositionState(); in calculateOutputSourceCrop() local 111 if (!layerState.geomUsesSourceCrop) { in calculateOutputSourceCrop() 117 FloatRect crop = layerState.geomContentCrop.toFloatRect(); in calculateOutputSourceCrop() 121 const Rect& bufferSize = layerState.geomBufferSize; in calculateOutputSourceCrop() 135 uint32_t invTransform = layerState.geomBufferTransform; in calculateOutputSourceCrop() [all …]
|
D | Output.cpp | 1444 const auto& layerState = layer->getState(); in generateClientCompositionRequests() local 1449 const Region clip(viewportRegion.intersect(layerState.visibleRegion)); in generateClientCompositionRequests() 1467 layerState.clearClientTarget && layerFEState->isOpaque && !firstLayer; in generateClientCompositionRequests() 1474 !layerState.visibleRegion.subtract(layerState.shadowRegion).isEmpty(); in generateClientCompositionRequests() 1509 .whitePointNits = layerState.whitePointNits, in generateClientCompositionRequests()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | LayerDrawable.java | 1031 final LayerState layerState = mLayerState; in getPadding() local 1032 if (layerState.mPaddingMode == PADDING_MODE_NEST) { in getPadding() 1038 final int paddingT = layerState.mPaddingTop; in getPadding() 1039 final int paddingB = layerState.mPaddingBottom; in getPadding() 1044 final int paddingRtlL = isLayoutRtl ? layerState.mPaddingEnd : layerState.mPaddingStart; in getPadding() 1045 final int paddingRtlR = isLayoutRtl ? layerState.mPaddingStart : layerState.mPaddingEnd; in getPadding() 1046 final int paddingL = paddingRtlL >= 0 ? paddingRtlL : layerState.mPaddingLeft; in getPadding() 1047 final int paddingR = paddingRtlR >= 0 ? paddingRtlR : layerState.mPaddingRight; in getPadding() 1092 final LayerState layerState = mLayerState; in setPadding() local 1093 layerState.mPaddingLeft = left; in setPadding() [all …]
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerSnapshotBuilder.h | 109 static void updateRoundedCorner(LayerSnapshot& snapshot, const RequestedLayerState& layerState, 111 void updateLayerBounds(LayerSnapshot& snapshot, const RequestedLayerState& layerState,
|
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/rotation/ |
D | RotationTransition.kt | 94 dump.layerState.displays.filterNot { it.isOff }.minByOrNull { it.id } in <lambda>() 98 val navBarRegion = dump.layerState in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/splitscreen/src/com/android/wm/shell/flicker/splitscreen/benchmark/ |
D | SwitchAppByDoubleTapDividerBenchmark.kt | 98 it.layerState.visibleLayers.firstOrNull { window -> in <lambda>() 103 it.layerState.visibleLayers.firstOrNull { window -> in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/splitscreen/scenarios/ |
D | SwitchAppByDoubleTapDivider.kt | 111 it.layerState.visibleLayers.firstOrNull { window -> in <lambda>() 116 it.layerState.visibleLayers.firstOrNull { window -> in <lambda>()
|
/frameworks/native/services/surfaceflinger/Tracing/ |
D | TransactionTracing.cpp | 384 for (const perfetto::protos::LayerState& layerState : transaction.layer_changes()) { in updateStartingStateLocked() local 385 auto it = mStartingStates.find(layerState.layer_id()); in updateStartingStateLocked() 388 ALOGW("Could not find layer id %d", layerState.layer_id()); in updateStartingStateLocked() 391 mProtoParser.mergeFromProto(layerState, it->second); in updateStartingStateLocked()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/ |
D | ClosePipBySwipingDownTest.kt | 69 wmHelper.currentState.layerState in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/ |
D | SplitScreenUtils.kt | 180 wmHelper.currentState.layerState.displays.firstOrNull { !it.isVirtual }?.layerStackSpace in <lambda>() 312 wmHelper.currentState.layerState.displays.firstOrNull { !it.isVirtual }?.layerStackSpace in <lambda>() 330 wmHelper.currentState.layerState.displays.firstOrNull { !it.isVirtual }?.layerStackSpace in <lambda>()
|
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/close/ |
D | CloseSecondaryActivityInSplitTest.kt | 59 wmHelper.currentState.layerState.physicalDisplayBounds in <lambda>()
|
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/open/ |
D | MainActivityStartsSecondaryWithAlwaysExpandTest.kt | 59 wmHelper.currentState.layerState.physicalDisplayBounds ?: error("Display not found") in <lambda>()
|
D | OpenThirdActivityOverSplitTest.kt | 59 wmHelper.currentState.layerState.physicalDisplayBounds in <lambda>()
|
D | OpenTrampolineActivityTest.kt | 57 wmHelper.currentState.layerState.physicalDisplayBounds in <lambda>()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/ |
D | Predictor.h | 99 [](const LayerState* layerState) { return *layerState; }); in copyLayers()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/appcompat/src/com/android/wm/shell/flicker/appcompat/ |
D | RotateImmersiveAppInFullscreenTest.kt | 89 wmHelper.currentState.layerState.physicalDisplayBounds in <lambda>()
|
D | QuickSwitchLauncherToLetterboxAppTest.kt | 70 wmHelper.currentState.layerState.physicalDisplayBounds ?: error("Display not found") in <lambda>()
|
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/layoutchange/ |
D | HorizontalSplitChangeRatioTest.kt | 57 wmHelper.currentState.layerState.physicalDisplayBounds ?: error("Display not found") in <lambda>()
|
/frameworks/base/tests/FlickerTests/QuickSwitch/src/com/android/server/wm/flicker/quickswitch/ |
D | QuickSwitchBetweenTwoAppsBackTest.kt | 65 wmHelper.currentState.layerState.physicalDisplayBounds ?: error("Display not found") in <lambda>()
|
D | QuickSwitchFromLauncherTest.kt | 72 wmHelper.currentState.layerState.physicalDisplayBounds ?: error("Display not found") in <lambda>()
|
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/splitscreen/ |
D | EnterSystemSplitTest.kt | 64 wmHelper.currentState.layerState.physicalDisplayBounds ?: error("Display not found") in <lambda>()
|