/foundation/distributedhardware/distributed_screen/services/common/test/unittest/utils/ |
H A D | dscreen_maprelation_test.cpp | 72 int32_t startX = 10; in HWTEST_F() local 73 res.startX = startX; in HWTEST_F() 76 EXPECT_EQ(startX, actual.startX); in HWTEST_F() 88 int32_t startX = 10; in HWTEST_F() local 89 res.startX = startX; in HWTEST_F() 92 EXPECT_EQ(startX, actual.startX); in HWTEST_F() 179 int32_t startX = 1; HWTEST_F() local 209 int32_t startX = 1; HWTEST_F() local [all...] |
/foundation/distributedhardware/distributed_screen/services/common/utils/src/ |
H A D | dscreen_maprelation.cpp | 100 {KEY_POINT_START_X, rect.startX}, in to_json() 114 int32_t startX = j[KEY_POINT_START_X].get<int32_t>(); in from_json() local 123 rect.startX = startX; in from_json() 132 {KEY_POINT_START_X, rect.startX}, in to_json() 146 int32_t startX = j[KEY_POINT_START_X].get<int32_t>(); in from_json() local 154 rect.startX = startX; in from_json()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/ |
H A D | text_drag_pattern.cpp | 88 TAG_LOGI(AceLogTag::ACE_TEXT, "CreateDragNode SelectPositionInfo startX = %{public}f, startY = %{public}f,\ in CreateDragNode() 168 float startX = selectPosition.startX_; in GenerateClipPath() local 176 path->MoveTo(startX, endY); in GenerateClipPath() 179 path->LineTo(startX, endY + lineHeight); in GenerateClipPath() 180 path->LineTo(startX, endY); in GenerateClipPath() 183 path->MoveTo(startX, startY); in GenerateClipPath() 190 path->LineTo(startX, startY + lineHeight); in GenerateClipPath() 191 path->LineTo(startX, startY); in GenerateClipPath() 220 float startX = selectPosition.startX_; in GenerateBackgroundPoints() local 228 if (needAdjust && (endX - startX) in GenerateBackgroundPoints() [all...] |
H A D | text_drag_pattern.h | 34 SelectPositionInfo(float startX, float startY, float endX, float endY) in SelectPositionInfo() 35 : startX_(startX), startY_(startY), endX_(endX), endY_(endY) in SelectPositionInfo()
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/spancolorfill/ |
H A D | fill_pattern_rgba.h | 34 FillPatternRgba(const ImageInfo* image, PatternRepeatMode patternRepeat, float startX, float startY) in FillPatternRgba() argument 41 patternStartX_ = startX; in FillPatternRgba() 46 void Attach(const ImageInfo* image, PatternRepeatMode patternRepeat, float startX, float startY) in Attach() argument 53 patternStartX_ = startX; in Attach()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/event_bubble/ |
H A D | event_bubble_tdd_test.cpp | 1064 const uint16_t startX = centerX - halfDistance; in EventBubbleTest003() local 1066 Swipe(startX, centerY, endX, centerY); in EventBubbleTest003() 1141 const uint16_t startX = centerX - halfDistance; in EventBubbleTest006() local 1143 Swipe(startX, centerY, endX, centerY); in EventBubbleTest006() 1216 const uint16_t startX = centerX - halfDistance; in EventBubbleTest009() local 1218 Swipe(startX, centerY, endX, centerY); in EventBubbleTest009() 1306 const uint16_t startX = greenX - halfDistance; in EventBubbleTest012() local 1310 Swipe(startX, redY, endX, redY); in EventBubbleTest012() 1314 Swipe(startX, greenY, endX, greenY); in EventBubbleTest012() 1318 Swipe(startX, blue in EventBubbleTest012() 1377 const uint16_t startX = centerX - halfDistance; EventBubbleTest015() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/badge/ |
H A D | rosen_render_badge.h | 47 void RenderBadgeBoundary(SkCanvas* canvas, double startX, double startY, double width, double height); 53 void RenderBadgeBoundary(RSCanvas* canvas, double startX, double startY, double width, double height);
|
/foundation/distributedhardware/distributed_screen/services/common/utils/include/ |
H A D | dscreen_maprelation.h | 26 int32_t startX; member 32 int32_t startX; member
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/PathDrawingSample/entry/src/main/cpp/samples/ |
H A D | sample_bitmap.cpp | 164 float startX = width_ / 5; // divide w by 5 to get start x in DrawPathHelper() local 167 startPt_ = OH_Drawing_PointCreate(startX, startY); in DrawPathHelper() 232 float startX = width_ / 4 * 3; // get 3 out of 4 width to get start x1 in DrawPath() local 234 OH_Drawing_PathMoveTo(cPath_, startX, startY); in DrawPath() 236 float ctrlX1 = startX + distance; in DrawPath() 238 float ctrlX2 = startX + 2 * distance; // 2 means twice the distance in DrawPath() 240 float endX = startX + 3 * distance; // 3 means three times the distance in DrawPath() 247 OH_Drawing_PathMoveTo(cPath_, startX, startY); in DrawPath() 248 ctrlX1 = startX + distance; in DrawPath() 250 endX = startX in DrawPath() [all...] |
/foundation/distributedhardware/distributed_screen/services/screenclient/include/ |
H A D | screen_client_common.h | 24 int32_t startX; member
|
H A D | screen_client.h | 41 int32_t MoveWindow(int32_t windowId, int32_t startX, int32_t startY);
|
H A D | screen_client_window_adapter.h | 44 int32_t MoveWindow(int32_t windowId, int32_t startX, int32_t startY);
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/list/ |
H A D | rosen_render_list.cpp | 42 [isVertical = vertical_, startX = startCrossAxis, startY = mainAxis, endX = endCrossAxis, endY = mainAxis, in DrawDividerOnNode() 49 std::swap(startX, startY); in DrawDividerOnNode() 52 canvas->drawLine(startX, startY, endX, endY, paint); in DrawDividerOnNode() 60 [isVertical = vertical_, startX = startCrossAxis, startY = mainAxis, endX = endCrossAxis, endY = mainAxis, in DrawDividerOnNode() 67 std::swap(startX, startY); in DrawDividerOnNode() 71 canvas->DrawLine(RSPoint(startX, startY), RSPoint(endX, endY)); in DrawDividerOnNode()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_overlay_modifier.h | 84 float& startX, float& startY, float& endX, float& endY, float& localOffsetX, float& cursorOffsetY); 85 std::vector<TextPoint> GetTextPoints(float startX, float startY, float endX, float endY, bool haveOffset = false);
|
/foundation/distributedhardware/distributed_screen/services/screenclient/src/ |
H A D | screen_client_window_adapter.cpp | 68 if (window->MoveTo(windowProperty->startX, windowProperty->startY) != OHOS::Rosen::WMError::WM_OK) { in CreateWindow() 129 int32_t ScreenClientWindowAdapter::MoveWindow(int32_t windowId, int32_t startX, int32_t startY) in MoveWindow() argument 145 if (window->MoveTo(startX, startY) != OHOS::Rosen::WMError::WM_OK) { in MoveWindow()
|
H A D | screen_client.cpp | 83 int32_t ScreenClient::MoveWindow(int32_t windowId, int32_t startX, int32_t startY) in MoveWindow() argument 93 int32_t ret = ScreenClientWindowAdapter::GetInstance().MoveWindow(windowId, startX, startY); in MoveWindow()
|
/foundation/arkui/ace_engine_lite/test/moduletest/common/ |
H A D | basic_tdd_test.cpp | 259 void BasicTddTest::Swipe(int16_t startX, int16_t startY, int16_t endX, int16_t endY, uint8_t sleepTicks) const in Swipe() argument 261 Point startPoint = {startX, startY}; in Swipe() 268 startX, startY, endX, endY); in Swipe() 273 startX, startY, endX, endY); in Swipe()
|
/foundation/window/window_manager/window_scene/session/screen/src/ |
H A D | screen_property.cpp | 382 void ScreenProperty::SetStartX(uint32_t startX) in SetStartX() argument 384 startX_ = startX; in SetStartX() 402 void ScreenProperty::SetStartPosition(uint32_t startX, uint32_t startY) in SetStartPosition() argument 404 startX_ = startX; in SetStartPosition()
|
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_arc.cpp | 371 int16_t startX; in DrawPointAnti() local 375 startX = arcInfo.center.x + x; in DrawPointAnti() 377 DrawHorLine(gfxDstBuffer, Point { startX, starty }, arcInfo.imgPos, mask, 0, style, antiOpa, arcInfo.imgSrc); in DrawPointAnti() 380 startX = arcInfo.center.x + x; in DrawPointAnti() 382 DrawHorLine(gfxDstBuffer, Point { startX, starty }, arcInfo.imgPos, mask, 0, style, antiOpa, arcInfo.imgSrc); in DrawPointAnti() 385 startX = arcInfo.center.x - x; in DrawPointAnti() 387 DrawHorLine(gfxDstBuffer, Point { startX, starty }, arcInfo.imgPos, mask, 0, style, antiOpa, arcInfo.imgSrc); in DrawPointAnti() 390 startX = arcInfo.center.x - x; in DrawPointAnti() 392 DrawHorLine(gfxDstBuffer, Point { startX, starty }, arcInfo.imgPos, mask, 0, style, antiOpa, arcInfo.imgSrc); in DrawPointAnti()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | dashing.h | 23 float startX = (0); member
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/option/ |
H A D | option_paint_method.cpp | 109 auto startX = isRtl ? optionSize.Width() - (horInterval + iconHorInterval) : horInterval + iconHorInterval; in PaintDivider() local 111 path.AddRect(startX, 0, rectWidth, static_cast<float>(selectTheme->GetDefaultDividerWidth().ConvertToPx())); in PaintDivider()
|
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/1.0/src/ |
H A D | screenregion.cpp | 103 windowProperty->startX = screenRect.startX; in SetUpWindow()
|
/foundation/window/window_manager/window_scene/session/screen/include/ |
H A D | screen_property.h | 125 void SetStartX(uint32_t startX); 131 void SetStartPosition(uint32_t startX, uint32_t startY);
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | canvas_component.cpp | 1177 int16_t startX = IntegerOf(args[ArgsIndex::IDX_0]); in FillRect() local 1186 startPoint.x = startX; in FillRect() 1212 int16_t startX = IntegerOf(args[ArgsIndex::IDX_0]); in StrokeRect() local 1221 startPoint.x = startX; in StrokeRect() 1253 int16_t startX = IntegerOf(args[ArgsIndex::IDX_1]); in FillText() local 1262 startPoint.x = startX; in FillText() 1265 // if textAlign=left, not need transfer startX, if textAlign=right or center, need transfer startX in FillText() 1267 startPoint.x = startX - maxWidth; in FillText() 1269 startPoint.x = (startX in FillText() 1306 int16_t startX = IntegerOf(args[ArgsIndex::IDX_1]); StrokeText() local 1829 float startX = FloatOf(args[ArgsIndex::IDX_0]); CreateLInearGradient() local 1857 float startX = FloatOf(args[ArgsIndex::IDX_0]); CreateRadialGradient() local 2060 int16_t startX = 0; DrawImage() local [all...] |
/foundation/arkui/ace_engine/frameworks/component_test/core/ |
H A D | component_test_tester_impl.h | 50 void DragImpl(float startX, float startY, float endX, float endY, uint32_t speed, ErrInfo& errInfo) const;
|