Searched refs:halfScreenWith (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_input_event/ |
H A D | ui_test_input_event.cpp | 374 int32_t halfScreenWith = Screen::GetInstance().GetWidth() / 2; // 2: half screen width in InnerBubbleDragTest() local 380 label->SetPosition(halfScreenWith + TEXT_DISTANCE_TO_LEFT_SIDE, positionY_, in InnerBubbleDragTest() 381 halfScreenWith - TEXT_DISTANCE_TO_LEFT_SIDE, TEXT_H); in InnerBubbleDragTest() 388 …parentScroll->SetPosition(halfScreenWith + TEXT_DISTANCE_TO_LEFT_SIDE, positionY_, itemH1, itemH1); in InnerBubbleDragTest() 408 …label1->SetPosition(itemH3 + offset + halfScreenWith, positionY_ + 2 * GAP, TEXT_W, TEXT_H); // 2:… in InnerBubbleDragTest() 414 …label2->SetPosition(itemH3 + offset + halfScreenWith, positionY_ + 6 * GAP, TEXT_W, TEXT_H); // 6:… in InnerBubbleDragTest()
|