Home
last modified time | relevance | path

Searched refs:pointStyle (Results 1 - 7 of 7) sorted by relevance

/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_chart_unit_test.cpp65 void InitPointStyle(UIChartDataSerial::PointStyle& pointStyle) in InitPointStyle() argument
67 pointStyle.fillColor = Color::Red(); in InitPointStyle()
68 pointStyle.radius = RADIUS; in InitPointStyle()
69 pointStyle.strokeColor = Color::White(); in InitPointStyle()
70 pointStyle.strokeWidth = WIDTH; in InitPointStyle()
374 UIChartDataSerial::PointStyle pointStyle; in HWTEST_F() local
375 InitPointStyle(pointStyle); in HWTEST_F()
377 chartDataSerial_->SetHeadPointStyle(pointStyle); in HWTEST_F()
379 EXPECT_EQ(pointStyle1.fillColor.full, pointStyle.fillColor.full); in HWTEST_F()
380 EXPECT_EQ(pointStyle1.strokeColor.full, pointStyle in HWTEST_F()
397 UIChartDataSerial::PointStyle pointStyle; HWTEST_F() local
420 UIChartDataSerial::PointStyle pointStyle; HWTEST_F() local
[all...]
/foundation/arkui/ui_lite/test/uitest/test_chart/
H A Dui_test_chart_polyline.cpp323 UIChartDataSerial::PointStyle pointStyle; in OnClick() local
324 pointStyle.fillColor = Color::White(); in OnClick()
325 pointStyle.radius = 5; // 5: Inner radius in OnClick()
326 pointStyle.strokeColor = Color::Red(); in OnClick()
327 pointStyle.strokeWidth = 2; // 2: border width in OnClick()
349 pointStyle.strokeColor = Color::Red(); in OnClick()
350 dataSerial_[0]->SetTopPointStyle(pointStyle); in OnClick()
354 pointStyle.strokeColor = Color::Blue(); in OnClick()
355 dataSerial_[0]->SetBottomPointStyle(pointStyle); in OnClick()
359 pointStyle in OnClick()
371 ClickExpand(UIView& view, UIChartDataSerial::PointStyle pointStyle) ClickExpand() argument
[all...]
H A Dui_test_chart_polyline.h50 bool ClickExpand(UIView& view, UIChartDataSerial::PointStyle pointStyle);
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dchart_component.cpp210 UIChartDataSerial::PointStyle *ChartComponent::UpdatePointStyle(UIChartDataSerial::PointStyle *pointStyle, in UpdatePointStyle() argument
213 if (pointStyle == nullptr) { in UpdatePointStyle()
214 pointStyle = new UIChartDataSerial::PointStyle(); in UpdatePointStyle()
215 if (pointStyle == nullptr) { in UpdatePointStyle()
219 pointStyle->fillColor = GetRGBColor(fillColor); in UpdatePointStyle()
220 pointStyle->strokeColor = GetRGBColor(strokeColor); in UpdatePointStyle()
221 pointStyle->radius = radius; in UpdatePointStyle()
222 pointStyle->strokeWidth = strokeWidth; in UpdatePointStyle()
223 return pointStyle; in UpdatePointStyle()
H A Dchart_component.h100 UIChartDataSerial::PointStyle *UpdatePointStyle(UIChartDataSerial::PointStyle *pointStyle, uint32_t fillColor,
/foundation/arkui/ace_engine/frameworks/core/components/web/
H A Drender_web.cpp990 MouseFormat pointStyle = MouseFormat::DEFAULT; in OnCursorChange() local
993 pointStyle = g_cursorTypeMap[idx].value; in OnCursorChange()
995 if ((int32_t)pointStyle != curPointerStyle) { in OnCursorChange()
996 mouseStyle->SetPointerStyle(windowId, pointStyle); in OnCursorChange()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_pattern.cpp4772 MouseFormat pointStyle = MouseFormat::DEFAULT; in OnCursorChange() local
4775 pointStyle = g_cursorTypeMap[idx].value; in OnCursorChange()
4777 mouseStyle->SetPointerVisible(pointStyle); in OnCursorChange()
4778 if (static_cast<int32_t>(pointStyle) != curPointerStyle) { in OnCursorChange()
4779 mouseStyle->SetPointerStyle(windowId, pointStyle); in OnCursorChange()
4790 MouseFormat pointStyle = MouseFormat::CONTEXT_MENU; in UpdateLocalCursorStyle() local
4792 mouseStyle->SetMouseIcon(windowId, pointStyle, pixelMap); in UpdateLocalCursorStyle()
4794 MouseFormat pointStyle = MouseFormat::ALIAS; in UpdateLocalCursorStyle() local
4796 mouseStyle->SetMouseIcon(windowId, pointStyle, pixelMap); in UpdateLocalCursorStyle()

Completed in 17 milliseconds