Searched refs:layer_state_t (Results 1 – 8 of 8) sorted by relevance
25 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()
131 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 …]
36 struct layer_state_t { struct57 layer_state_t() in layer_state_t() argument97 layer_state_t state; argument
58 return !(s.flags & layer_state_t::eLayerHidden) && s.alpha; in isVisible()
2115 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 …]
92 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()
134 bool setMatrix(const layer_state_t::matrix22_t& matrix);
276 uint32_t setClientStateLocked(const sp<Client>& client, const layer_state_t& s);