Lines Matching defs:key
18 const auto key = fMgr->acceptKey(node_name, ".Color");
19 if (!key.empty()) {
20 fMgr->fColorMap[key].push_back(c());
26 const auto key = fMgr->acceptKey(node_name, ".Opacity");
27 if (!key.empty()) {
28 fMgr->fOpacityMap[key].push_back(o());
34 const auto key = fMgr->acceptKey(node_name, ".Transform");
35 if (!key.empty()) {
36 fMgr->fTransformMap[key].push_back(t());
42 const auto key = fMgr->acceptKey(node_name, ".Text");
43 if (!key.empty()) {
44 fMgr->fTextMap[key].push_back(t());
125 V CustomPropertyManager::get(const PropKey& key, const PropMap<T>& container) const {
126 auto prop_group = container.find(key);
134 bool CustomPropertyManager::set(const PropKey& key, const V& val, const PropMap<T>& container) {
135 auto prop_group = container.find(key);
153 skottie::ColorPropertyValue CustomPropertyManager::getColor(const PropKey& key) const {
154 return this->get<skottie::ColorPropertyValue>(key, fColorMap);
157 bool CustomPropertyManager::setColor(const PropKey& key, const skottie::ColorPropertyValue& c) {
158 return this->set(key, c, fColorMap);
166 skottie::OpacityPropertyValue CustomPropertyManager::getOpacity(const PropKey& key) const {
167 return this->get<skottie::OpacityPropertyValue>(key, fOpacityMap);
170 bool CustomPropertyManager::setOpacity(const PropKey& key, const skottie::OpacityPropertyValue& o) {
171 return this->set(key, o, fOpacityMap);
179 skottie::TransformPropertyValue CustomPropertyManager::getTransform(const PropKey& key) const {
180 return this->get<skottie::TransformPropertyValue>(key, fTransformMap);
183 bool CustomPropertyManager::setTransform(const PropKey& key,
185 return this->set(key, t, fTransformMap);
193 skottie::TextPropertyValue CustomPropertyManager::getText(const PropKey& key) const {
194 return this->get<skottie::TextPropertyValue>(key, fTextMap);
197 bool CustomPropertyManager::setText(const PropKey& key, const skottie::TextPropertyValue& o) {
198 return this->set(key, o, fTextMap);