Home
last modified time | relevance | path

Searched refs:layer_state_t (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp136 layer_state_t* getLayerStateLocked(
292 layer_state_t* Composer::getLayerStateLocked( in getLayerStateLocked()
312 layer_state_t* s = getLayerStateLocked(client, id); in setPosition()
315 s->what |= layer_state_t::ePositionChanged; in setPosition()
324 layer_state_t* s = getLayerStateLocked(client, id); in setSize()
327 s->what |= layer_state_t::eSizeChanged; in setSize()
340 layer_state_t* s = getLayerStateLocked(client, id); in setLayer()
343 s->what |= layer_state_t::eLayerChanged; in setLayer()
352 layer_state_t* s = getLayerStateLocked(client, id); in setRelativeLayer()
356 s->what |= layer_state_t::eRelativeLayerChanged; in setRelativeLayer()
[all …]
DLayerState.cpp25 status_t layer_state_t::write(Parcel& output) const in write()
38 *reinterpret_cast<layer_state_t::matrix22_t *>( in write()
39 output.writeInplace(sizeof(layer_state_t::matrix22_t))) = matrix; in write()
52 status_t layer_state_t::read(const Parcel& input) in read()
65 const void* matrix_data = input.readInplace(sizeof(layer_state_t::matrix22_t)); in read()
67 matrix = *reinterpret_cast<layer_state_t::matrix22_t const *>(matrix_data); in read()
/frameworks/native/services/surfaceflinger/
DSurfaceInterceptor.cpp225 const layer_state_t::matrix22_t& matrix) in addMatrixLocked()
251 if (flags & layer_state_t::eLayerHidden) { in addFlagsLocked()
256 if (flags & layer_state_t::eLayerOpaque) { in addFlagsLocked()
261 if (flags & layer_state_t::eLayerSecure) { in addFlagsLocked()
317 const layer_state_t& state) in addSurfaceChangesLocked()
328 if (state.what & layer_state_t::ePositionChanged) { in addSurfaceChangesLocked()
331 if (state.what & layer_state_t::eLayerChanged) { in addSurfaceChangesLocked()
334 if (state.what & layer_state_t::eSizeChanged) { in addSurfaceChangesLocked()
337 if (state.what & layer_state_t::eAlphaChanged) { in addSurfaceChangesLocked()
340 if (state.what & layer_state_t::eMatrixChanged) { in addSurfaceChangesLocked()
[all …]
DSurfaceInterceptor.h33 struct layer_state_t;
100 const layer_state_t::matrix22_t& matrix);
111 void addSurfaceChangesLocked(Transaction* transaction, const layer_state_t& state);
DSurfaceFlinger_hwc1.cpp2548 const layer_state_t& s) in setClientStateLocked()
2555 what & layer_state_t::eGeometryAppliesWithResize; in setClientStateLocked()
2556 if (what & layer_state_t::ePositionChanged) { in setClientStateLocked()
2561 if (what & layer_state_t::eLayerChanged) { in setClientStateLocked()
2579 if (what & layer_state_t::eSizeChanged) { in setClientStateLocked()
2584 if (what & layer_state_t::eAlphaChanged) { in setClientStateLocked()
2588 if (what & layer_state_t::eMatrixChanged) { in setClientStateLocked()
2592 if (what & layer_state_t::eTransparentRegionChanged) { in setClientStateLocked()
2596 if (what & layer_state_t::eFlagsChanged) { in setClientStateLocked()
2600 if (what & layer_state_t::eCropChanged) { in setClientStateLocked()
[all …]
DSurfaceFlinger.cpp2883 const layer_state_t& s) in setClientStateLocked()
2890 what & layer_state_t::eGeometryAppliesWithResize; in setClientStateLocked()
2891 if (what & layer_state_t::ePositionChanged) { in setClientStateLocked()
2896 if (what & layer_state_t::eLayerChanged) { in setClientStateLocked()
2914 if (what & layer_state_t::eRelativeLayerChanged) { in setClientStateLocked()
2919 if (what & layer_state_t::eSizeChanged) { in setClientStateLocked()
2924 if (what & layer_state_t::eAlphaChanged) { in setClientStateLocked()
2928 if (what & layer_state_t::eMatrixChanged) { in setClientStateLocked()
2932 if (what & layer_state_t::eTransparentRegionChanged) { in setClientStateLocked()
2936 if (what & layer_state_t::eFlagsChanged) { in setClientStateLocked()
[all …]
DLayer.cpp118 layerFlags |= layer_state_t::eLayerHidden; in Layer()
120 layerFlags |= layer_state_t::eLayerOpaque; in Layer()
122 layerFlags |= layer_state_t::eLayerSecure; in Layer()
1428 return ((s.flags & layer_state_t::eLayerOpaque) != 0) || mCurrentOpacity;
1434 return (s.flags & layer_state_t::eLayerSecure);
1700 if (c.flags & layer_state_t::eLayerHidden) {
1833 bool Layer::setMatrix(const layer_state_t::matrix22_t& matrix) {
2078 return s.flags & layer_state_t::eLayerHidden;
DLayer.h203 bool setMatrix(const layer_state_t::matrix22_t& matrix);
DSurfaceFlinger.h367 uint32_t setClientStateLocked(const sp<Client>& client, const layer_state_t& s);
/frameworks/native/include/private/gui/
DLayerState.h37 struct layer_state_t { struct
65 layer_state_t() in layer_state_t() argument
116 layer_state_t state; argument
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.cpp523 layer_id flag = hfc.hidden_flag() ? layer_state_t::eLayerHidden : 0; in setHiddenFlag()
525 return mLayers[id]->setFlags(flag, layer_state_t::eLayerHidden); in setHiddenFlag()
530 layer_id flag = ofc.opaque_flag() ? layer_state_t::eLayerOpaque : 0; in setOpaqueFlag()
532 return mLayers[id]->setFlags(flag, layer_state_t::eLayerOpaque); in setOpaqueFlag()
537 layer_id flag = sfc.secure_flag() ? layer_state_t::eLayerSecure : 0; in setSecureFlag()
539 return mLayers[id]->setFlags(flag, layer_state_t::eLayerSecure); in setSecureFlag()
/frameworks/native/services/surfaceflinger/tests/
DSurfaceInterceptor_test.cpp313 mBGSurfaceControl->setFlags(layer_state_t::eLayerHidden, layer_state_t::eLayerHidden); in hiddenFlagUpdate()
317 mBGSurfaceControl->setFlags(layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque); in opaqueFlagUpdate()
321 mBGSurfaceControl->setFlags(layer_state_t::eLayerSecure, layer_state_t::eLayerSecure); in secureFlagUpdate()
DTransaction_test.cpp438 layer_state_t::eLayerHidden, layer_state_t::eLayerHidden)); in TEST_F()