Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
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()
45 status_t layer_state_t::read(const Parcel& input) in read()
58 const void* matrix_data = input.readInplace(sizeof(layer_state_t::matrix22_t)); in read()
60 matrix = *reinterpret_cast<layer_state_t::matrix22_t const *>(matrix_data); in read()
DSurfaceComposerClient.cpp131 layer_state_t* getLayerStateLocked(
250 layer_state_t* Composer::getLayerStateLocked( in getLayerStateLocked()
270 layer_state_t* s = getLayerStateLocked(client, id); in setPosition()
273 s->what |= layer_state_t::ePositionChanged; in setPosition()
282 layer_state_t* s = getLayerStateLocked(client, id); in setSize()
285 s->what |= layer_state_t::eSizeChanged; in setSize()
298 layer_state_t* s = getLayerStateLocked(client, id); in setLayer()
301 s->what |= layer_state_t::eLayerChanged; in setLayer()
310 layer_state_t* s = getLayerStateLocked(client, id); in setFlags()
313 if (mask & layer_state_t::eLayerOpaque) { in setFlags()
[all …]
/frameworks/native/include/private/gui/
DLayerState.h36 struct layer_state_t { struct
57 layer_state_t() in layer_state_t() argument
97 layer_state_t state; argument
/frameworks/native/services/surfaceflinger/
DLayerDim.cpp58 return !(s.flags & layer_state_t::eLayerHidden) && s.alpha; in isVisible()
DSurfaceFlinger.cpp2115 const layer_state_t& s) in setClientStateLocked()
2121 if (what & layer_state_t::ePositionChanged) { in setClientStateLocked()
2125 if (what & layer_state_t::eLayerChanged) { in setClientStateLocked()
2136 if (what & layer_state_t::eSizeChanged) { in setClientStateLocked()
2141 if (what & layer_state_t::eAlphaChanged) { in setClientStateLocked()
2145 if (what & layer_state_t::eMatrixChanged) { in setClientStateLocked()
2149 if (what & layer_state_t::eTransparentRegionChanged) { in setClientStateLocked()
2153 if ((what & layer_state_t::eVisibilityChanged) || in setClientStateLocked()
2154 (what & layer_state_t::eOpacityChanged)) { in setClientStateLocked()
2159 if (what & layer_state_t::eCropChanged) { in setClientStateLocked()
[all …]
DLayer.cpp92 layerFlags |= layer_state_t::eLayerHidden; in Layer()
94 layerFlags |= layer_state_t::eLayerOpaque; in Layer()
814 return ((s.flags & layer_state_t::eLayerOpaque) != 0) || mCurrentOpacity; in isOpaque()
1001 bool Layer::setMatrix(const layer_state_t::matrix22_t& matrix) { in setMatrix()
1089 return !(s.flags & layer_state_t::eLayerHidden) && s.alpha in isVisible()
DLayer.h134 bool setMatrix(const layer_state_t::matrix22_t& matrix);
DSurfaceFlinger.h276 uint32_t setClientStateLocked(const sp<Client>& client, const layer_state_t& s);