Searched refs:GetInsertPosition (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_event_hub.h | 143 int32_t GetInsertPosition(float x, float y);
|
H A D | grid_event_hub.cpp | 77 int32_t GridEventHub::GetInsertPosition(float x, float y) in GetInsertPosition() function in OHOS::Ace::NG::GridEventHub
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/ |
H A D | grid_common_test_ng.cpp | 1196 EXPECT_EQ(eventHub_->GetInsertPosition(GRID_WIDTH + 1.f, GRID_HEIGHT), NULL_VALUE); 1202 EXPECT_EQ(eventHub_->GetInsertPosition(ITEM_WIDTH / 2, ITEM_HEIGHT / 2), 0); 1208 EXPECT_EQ(eventHub_->GetInsertPosition(ITEM_WIDTH, GRID_HEIGHT), 8); 1215 EXPECT_EQ(eventHub_->GetInsertPosition(ITEM_WIDTH, GRID_HEIGHT), NULL_VALUE);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/ |
H A D | drag_drop_manager.cpp | 1362 return eventHub->GetInsertPosition(globalX, globalY); in GetItemIndex()
|