Home
last modified time | relevance | path

Searched refs:colors_ (Results 1 – 25 of 35) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_apply/
H A Djs_theme.h92 colors_.push_back(colors->GetValueAt(i)); in SetColors()
98 return ConvertJsValueToColor(colors_[BRAND]); in Brand()
102 return ConvertJsValueToColor(colors_[WARNING]); in Warning()
106 return ConvertJsValueToColor(colors_[ALERT]); in Alert()
110 return ConvertJsValueToColor(colors_[CONFIRM]); in Confirm()
127 return ConvertJsValueToColor(colors_[FONT_FOURTH]); in FontFourth()
165 return ConvertJsValueToColor(colors_[ICON_FOURTH]); in IconFourth()
315 std::vector<JSRef<JSVal>> colors_; variable
325 colors_ = colors; in SetColors()
330 return colors_; in Colors()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dgradient_style_modifier.cpp103 if (!colors_) { in SetGradient()
181 colors_[index].GetRed() + value.colors_[index].GetRed(), in Add()
182 colors_[index].GetGreen() + value.colors_[index].GetGreen(), in Add()
183 colors_[index].GetBlue() + value.colors_[index].GetBlue()); in Add()
188 result.colors_.push_back(colors_[index]); in Add()
192 result.colors_.push_back(value.colors_[index]); in Add()
208 colors_[index].GetRed() - value.colors_[index].GetRed(), in Minus()
210 colors_[index].GetBlue() - value.colors_[index].GetBlue()); in Minus()
215 result.colors_.push_back(colors_[index]); in Minus()
219 result.colors_.push_back(value.colors_[index]); in Minus()
[all …]
H A Dgradient_style_modifier.h41 return colors_; in GetColors()
46 auto color = colors_.empty() ? defaultColor : colors_.back(); in PaddingColors()
47 colors_.insert(colors_.end(), size, color); in PaddingColors()
51 std::vector<Color> colors_;
98 std::shared_ptr<Rosen::RSAnimatableProperty<ColorAnimatableArithmetic>> colors_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_border.cpp57 colors_.clear(); in SetColor()
58 colors_.push_back(color); in SetColor()
87 if (colors_.empty()) { in GetColor()
89 } else if (colors_.size() == 1) { in GetColor()
90 return colors_.front(); in GetColor()
92 return colors_.at(idx); in GetColor()
190 if (colors_.size() == 4) { in GetColorFour()
191 return Vector4<Color>(colors_[0], colors_[1], colors_[2], colors_[3]); in GetColorFour()
292 if (colors_.size() != 1) { in ApplyFillStyle()
916 if (colors_.size() > 0) { in ToString()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_chart.cpp150 chart.colors_.clear(); in SetSpecializedStyle()
151 StringUtils::StringSplitter(val, ',', chart.colors_); in SetSpecializedStyle()
199 if (colors_.empty() || weights_.empty() || colors_.size() != weights_.size()) { in OnSetStyleFinished()
200 colors_.push_back(ParseColor(LIGHT_RED_COLOR)); in OnSetStyleFinished()
201 colors_.push_back(ParseColor(LIGHT_GREEN_COLOR)); in OnSetStyleFinished()
202 colors_.push_back(ParseColor(LIGHT_BLUE_COLOR)); in OnSetStyleFinished()
329 progressChild_->GetTrack()->SetSectionsStyle(colors_, weights_); in PrepareSpecializedComponent()
H A Ddom_progress.h78 std::vector<Color> colors_; variable
H A Ddom_chart.h210 std::vector<Color> colors_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drosen_render_arc_track.cpp248 if (colors_.size() == 0 || colors_.size() != weights_.size()) { in Paint()
263 for (int32_t index = static_cast<int32_t>(colors_.size()) - 1; index >= 0; --index) { in Paint()
264 data.color = colors_[index]; in Paint()
276 data.color = colors_[highLightIndex]; in Paint()
H A Dtrack_component.h282 colors_ = colors; in SetSectionsStyle()
288 return colors_; in GetSectionsColors()
375 std::vector<Color> colors_; variable
H A Drender_track.h163 std::vector<Color> colors_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_color_extract.h61 std::shared_ptr<uint32_t> colors_ = nullptr; variable
131 uint32_t *colors = colorExtract_->colors_.get(); in fitBox()
208 uint32_t *colors = colorExtract_->colors_.get(); in FindSplitPoint()
259 uint32_t *colors = colorExtract_->colors_.get(); in GetAverageColor()
H A Drs_border.h128 std::vector<Color> colors_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/color_picker/include/
H A Dcolor_extract.h62 std::vector<uint32_t> colors_; variable
145 uint32_t* colors = colorExtract_->colors_.data(); in fitBox()
225 uint32_t *colors = colorExtract_->colors_.data(); in FindSplitPoint()
280 uint32_t* colors = colorExtract_->colors_.data(); in GetAverageColor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dgradient_property.h289 return IsSweepGradientValid() && colors_.size() > 1; in IsValid()
291 return colors_.size() > 1; in IsValid()
306 return colors_; in GetColors()
481 …return (type_ == other.GetType() && repeat_ == other.GetRepeat() && colors_ == other.GetColors() &&
502 std::vector<GradientColor> colors_; variable
H A Dgradient_property.cpp22 colors_.push_back(color); in AddColor()
27 colors_.clear(); in ClearColors()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Ddecoration.h438 return IsSweepGradientValid() && colors_.size() > 1; in IsValid()
440 return colors_.size() > 1; in IsValid()
455 return colors_; in GetColors()
633 std::vector<GradientColor> colors_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/
H A Drs_property_drawable_foreground_test.cpp180 border->colors_.emplace_back(RSColor(1.0f, 1.0f, 1.0f, 1.0f));
192 outline->colors_.emplace_back(RSColor(1.0f, 1.0f, 1.0f, 1.0f));
461 border->colors_.emplace_back(Color());
463 EXPECT_EQ(border->colors_.size(), 1);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/platform/ohos/overdraw/
H A Drs_overdraw_controller.h75 std::vector<uint32_t> colors_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/composer/
H A Dlayer_context.cpp257 colorIndex_ = colorIndex_ % colors_.size(); in DrawExtraColor()
258 color_ = colors_[colorIndex_]; in DrawExtraColor()
H A Dlayer_context.h69 …const std::vector<uint32_t> colors_ = {0xff0000ff, 0xffff00ff, 0xaa00ff00, 0xff00ffaa, 0xff0f0f00};
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/color_picker/src/
H A Dcolor_extract.cpp302 colors_.resize(distinctColorCount_); in GetNFeatureColors()
303 uint32_t *colors = colors_.data(); in GetNFeatureColors()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/overdraw/
H A Drs_overdraw_controller.cpp121 if (ss.eof() && colors != that.colors_ && colors.size() > 0) { in OnColorChange()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
H A Dgauge_modifier.h145 std::vector<RefPtr<AnimatablePropertyColor>> colors_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/
H A Drs_properties_painter_test.cpp1029 border->colors_.push_back(color);
1045 border->colors_.clear();
1047 EXPECT_TRUE(border->colors_.size() == 0);
1066 properties.outline_->colors_.push_back(color);
1089 properties.outline_->colors_.push_back(color);
1429 properties.border_->colors_.push_back(color);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/swiper/
H A Drender_swiper.h173 return colors_; in GetColor()
634 Color colors_; variable

12