/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 75 private final ArrayList<Layer> mLayers = new ArrayList<Layer>(); field in GcSnapshot 289 for (Layer layer : mPrevious.mLayers) { in GcSnapshot() 290 mLayers.add(layer.makeCopy()); in GcSnapshot() 295 AffineTransform matrix = mLayers.get(0).getGraphics().getTransform(); in GcSnapshot() 304 Layer baseLayer = mLayers.get(0); in GcSnapshot() 323 mLayers.add(mLocalLayer = new Layer(layerGraphics, layerImage, flags)); in GcSnapshot() 337 for (int i = 0 ; i < mLayers.size() - 1 ; i++) { in GcSnapshot() 338 Layer layer = mLayers.get(i); in GcSnapshot() 359 for (Layer layer : mLayers) { in dispose() 421 mLayers.clear(); in setBitmap() [all …]
|
/frameworks/base/libs/hwui/renderthread/ |
D | DrawFrameTask.cpp | 51 for (size_t i = 0; i < mLayers.size(); i++) { in pushLayerUpdate() 52 if (mLayers[i].get() == layer) { in pushLayerUpdate() 56 mLayers.push_back(layer); in pushLayerUpdate() 60 for (size_t i = 0; i < mLayers.size(); i++) { in removeLayerUpdate() 61 if (mLayers[i].get() == layer) { in removeLayerUpdate() 62 mLayers.erase(mLayers.begin() + i); in removeLayerUpdate() 135 for (size_t i = 0; i < mLayers.size(); i++) { in syncFrameState() 136 mLayers[i]->apply(); in syncFrameState() 138 mLayers.clear(); in syncFrameState()
|
D | DrawFrameTask.h | 101 std::vector<sp<DeferredLayerUpdater> > mLayers; variable
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | HardwareBgDrawable.java | 31 private final Drawable[] mLayers; field in HardwareBgDrawable 46 mLayers = layers; in HardwareBgDrawable() 84 mLayers[0].setBounds(bounds.left, bounds.top, bounds.right, top); in draw() 86 mLayers[1].setBounds(bounds.left, top, bounds.right, bounds.bottom); in draw() 89 mLayers[1].draw(canvas); in draw() 90 mLayers[0].draw(canvas); in draw() 92 mLayers[0].draw(canvas); in draw() 93 mLayers[1].draw(canvas); in draw() 96 mLayers[0].draw(canvas); in draw()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SetFrameRateTest.cpp | 132 std::vector<sp<Layer>> mLayers; member in android::SetFrameRateTest 160 for (auto layer : mLayers) { in commitTransaction() 207 auto layer = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() 218 auto parent = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() 219 auto child1 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() 220 auto child2 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() 243 auto parent = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() 244 auto child1 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() 245 auto child2 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() 282 auto parent = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() [all …]
|
D | TestableSurfaceFlinger.h | 449 auto& mutableLayers() { return this->mLayers; } in mutableLayers()
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
D | Replayer.cpp | 299 mLayers[layerId], mColors[layerId], layerId); in dispatchEvent() 364 if (mLayers[change.id()] == nullptr) { in doSurfaceTransaction() 365 mLayerCond.wait(lock, [&] { return (mLayers[change.id()] != nullptr); }); in doSurfaceTransaction() 474 t.setPosition(mLayers[id], pc.x(), pc.y()); in setPosition() 480 t.setSize(mLayers[id], sc.w(), sc.h()); in setSize() 486 t.setLayer(mLayers[id], lc.layer()); in setLayer() 492 t.setAlpha(mLayers[id], ac.alpha()); in setAlpha() 503 t.setCrop_legacy(mLayers[id], r); in setCrop() 510 t.setCornerRadius(mLayers[id], cc.corner_radius()); in setCornerRadius() 518 t.setBackgroundBlurRadius(mLayers[id], cc.background_blur_radius()); in setBackgroundBlurRadius() [all …]
|
D | Replayer.h | 158 std::unordered_map<layer_id, sp<SurfaceControl>> mLayers; variable
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayAreaPolicyBuilder.java | 106 private final boolean[] mLayers; field in DisplayAreaPolicyBuilder.Feature.Builder 125 mLayers = new boolean[mPolicy.getMaxWindowLayer()]; in Builder() 132 Arrays.fill(mLayers, true); in all() 165 mLayers[i] = true; in upTo() 172 return new Feature(mName, mId, mLayers.clone()); in build() 176 mLayers[layerFromType(type, true)] = value; in set() 178 mLayers[layerFromType(type, true)] = value; in set() 179 mLayers[layerFromType(TYPE_SYSTEM_ALERT, false)] = value; in set() 180 mLayers[layerFromType(TYPE_SYSTEM_OVERLAY, false)] = value; in set() 181 mLayers[layerFromType(TYPE_SYSTEM_ERROR, false)] = value; in set()
|
/frameworks/native/services/surfaceflinger/ |
D | Client.cpp | 52 mLayers.add(handle, layer); in attachLayer() 59 const size_t count = mLayers.size(); in detachLayer() 61 if (mLayers.valueAt(i) == layer) { in detachLayer() 62 mLayers.removeItemsAt(i, 1); in detachLayer() 71 wp<Layer> layer(mLayers.valueFor(handle)); in getLayerUser()
|
D | Client.h | 77 DefaultKeyedVector< wp<IBinder>, wp<Layer> > mLayers; variable
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputTest.cpp | 3426 for (size_t i = 0; i < mLayers.size(); i++) { in GenerateClientCompositionRequestsTest_ThreeLayers() 3427 mLayers[i].mOutputLayerState.clearClientTarget = false; in GenerateClientCompositionRequestsTest_ThreeLayers() 3428 mLayers[i].mOutputLayerState.visibleRegion = Region(kDisplayFrame); in GenerateClientCompositionRequestsTest_ThreeLayers() 3429 mLayers[i].mLayerFEState.isOpaque = true; in GenerateClientCompositionRequestsTest_ThreeLayers() 3430 mLayers[i].mLayerSettings.geometry.boundaries = in GenerateClientCompositionRequestsTest_ThreeLayers() 3432 mLayers[i].mLayerSettings.source.solidColor = {1.0f, 1.0f, 1.0f}; in GenerateClientCompositionRequestsTest_ThreeLayers() 3433 mLayers[i].mLayerSettings.alpha = 1.0f; in GenerateClientCompositionRequestsTest_ThreeLayers() 3434 mLayers[i].mLayerSettings.disableBlending = false; in GenerateClientCompositionRequestsTest_ThreeLayers() 3437 .WillRepeatedly(Return(&mLayers[i].mOutputLayer)); in GenerateClientCompositionRequestsTest_ThreeLayers() 3438 EXPECT_CALL(mLayers[i].mOutputLayer, requiresClientComposition()) in GenerateClientCompositionRequestsTest_ThreeLayers() [all …]
|
/frameworks/native/cmds/flatland/ |
D | Main.cpp | 417 result = mLayers[i].setUp(ld, mGLHelper); in setUp() 443 mLayers[i].tearDown(); in tearDown() 511 result = mLayers[i].render(); in doFrame() 518 result = mLayers[i].prepareComposition(); in doFrame() 533 result = mLayers[i].compose(); in doFrame() 577 Layer mLayers[MAX_NUM_LAYERS]; member in BenchmarkRunner
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | FakeComposerClient.cpp | 156 mLayers(), in FakeComposerClient() 222 *outLayer = mLayers.size(); in createLayer() 224 mLayers.push_back(std::move(newLayer)); in createLayer() 230 mLayers[layer]->mValid = false; in destroyLayer() 393 for (uint64_t layer = 0; layer < mLayers.size(); layer++) { in presentDisplay() 394 const LayerImpl& layerImpl = *mLayers[layer]; in presentDisplay() 834 EXPECT_LT(handle, mLayers.size()); in getLayerImpl() 835 return *(mLayers[handle]); in getLayerImpl() 887 for (const std::unique_ptr<LayerImpl>& layer : mLayers) { in clearFrames() 916 return mLayers.size(); in getLayerCount()
|
D | FakeComposerClient.h | 290 std::vector<std::unique_ptr<LayerImpl>> mLayers; variable
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWC2.cpp | 109 mLayers.clear(); in ~Display() 154 mLayers.emplace(layerId, std::move(layer)); in createLayer() 162 mLayers.erase(layer->getId()); in destroyLayer() 740 if (mLayers.count(id) == 0) { in getLayerById() 744 return mLayers.at(id).get(); in getLayerById()
|
D | HWC2.h | 344 std::unordered_map<hal::HWLayerId, std::unique_ptr<Layer>> mLayers; variable
|