/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 69 private final ArrayList<Layer> mLayers = new ArrayList<Layer>(); field in GcSnapshot 283 for (Layer layer : mPrevious.mLayers) { in GcSnapshot() 284 mLayers.add(layer.makeCopy()); in GcSnapshot() 289 AffineTransform matrix = mLayers.get(0).getGraphics().getTransform(); in GcSnapshot() 298 Layer baseLayer = mLayers.get(0); in GcSnapshot() 317 mLayers.add(mLocalLayer = new Layer(layerGraphics, layerImage, flags)); in GcSnapshot() 331 for (int i = 0 ; i < mLayers.size() - 1 ; i++) { in GcSnapshot() 332 Layer layer = mLayers.get(i); in GcSnapshot() 353 for (Layer layer : mLayers) { in dispose() 415 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/layoutlib/bridge/src/android/view/shadow/ |
D | SpotShadowConfig.java | 33 private final int mLayers; field in SpotShadowConfig 49 mLayers = builder.mLayers; in SpotShadowConfig() 111 return mLayers; in getLayers() 146 private int mLayers; field in SpotShadowConfig.Builder 187 public Builder setLayers(int mLayers) { in setLayers() argument 188 this.mLayers = mLayers; in setLayers()
|
D | AmbientShadowConfig.java | 34 private final int mLayers; field in AmbientShadowConfig 41 mLayers = builder.mLayers; in AmbientShadowConfig() 95 return mLayers; in getLayers() 104 private int mLayers; field in AmbientShadowConfig.Builder 132 mLayers = layers; in setLayers()
|
/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/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() 459 t.setPosition(mLayers[id], pc.x(), pc.y()); in setPosition() 465 t.setSize(mLayers[id], sc.w(), sc.h()); in setSize() 471 t.setLayer(mLayers[id], lc.layer()); in setLayer() 477 t.setAlpha(mLayers[id], ac.alpha()); in setAlpha() 488 t.setCrop_legacy(mLayers[id], r); in setCrop() 495 t.setCornerRadius(mLayers[id], cc.corner_radius()); in setCornerRadius() 502 t.setMatrix(mLayers[id], mc.dsdx(), mc.dtdx(), mc.dsdy(), mc.dtdy()); in setMatrix() [all …]
|
D | Replayer.h | 144 std::unordered_map<layer_id, sp<SurfaceControl>> mLayers; variable
|
/frameworks/native/services/surfaceflinger/ |
D | Client.cpp | 48 mLayers.add(handle, layer); in attachLayer() 55 const size_t count = mLayers.size(); in detachLayer() 57 if (mLayers.valueAt(i) == layer) { in detachLayer() 58 mLayers.removeItemsAt(i, 1); in detachLayer() 67 wp<Layer> layer(mLayers.valueFor(handle)); in getLayerUser()
|
D | Client.h | 73 DefaultKeyedVector< wp<IBinder>, wp<Layer> > mLayers; variable
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | FakeComposerClient.cpp | 151 mLayers(), in FakeComposerClient() 209 *outLayer = mLayers.size(); in createLayer() 211 mLayers.push_back(std::move(newLayer)); in createLayer() 217 mLayers[layer]->mValid = false; in destroyLayer() 386 for (uint64_t layer = 0; layer < mLayers.size(); layer++) { in presentDisplay() 387 const LayerImpl& layerImpl = *mLayers[layer]; in presentDisplay() 530 EXPECT_LT(handle, mLayers.size()); in getLayerImpl() 531 return *(mLayers[handle]); in getLayerImpl() 583 for (const std::unique_ptr<LayerImpl>& layer : mLayers) { in clearFrames() 612 return mLayers.size(); in getLayerCount()
|
D | FakeComposerClient.h | 155 std::vector<std::unique_ptr<LayerImpl>> mLayers; variable
|
/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/DisplayHardware/ |
D | HWC2.cpp | 268 mLayers.clear(); in ~Display() 306 mLayers.emplace(layerId, std::move(layer)); in createLayer() 314 mLayers.erase(layer->getId()); in destroyLayer() 787 if (mLayers.count(id) == 0) { in getLayerById() 791 return mLayers.at(id).get(); in getLayerById()
|
D | HWC2.h | 357 std::unordered_map<hwc2_layer_t, std::unique_ptr<Layer>> mLayers; variable
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableSurfaceFlinger.h | 380 auto& mutableLayers() { return this->mLayers; } in mutableLayers()
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2Test.cpp | 69 for (auto itr = mLayers.begin(); itr != mLayers.end();) { in TearDown() 155 mLayers.insert(std::make_pair(display, *outLayer)); in createLayer() 174 mLayers.erase(std::make_pair(display, layer)); in destroyLayer() 1936 std::set<std::pair<hwc2_display_t, hwc2_layer_t>> mLayers; member in Hwc2Test
|