Home
last modified time | relevance | path

Searched refs:firstItem (Results 1 - 16 of 16) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_camera.cpp117 std::unique_ptr<JsonValue> firstItem = argsValue->GetArrayItem(0); in GetParamFromJson() local
118 std::string quality = firstItem->GetString(QUALITY); in GetParamFromJson()
123 std::string successId = firstItem->GetString(CALLBACK_SUCCESS); in GetParamFromJson()
128 std::string failId = firstItem->GetString(CALLBACK_FAIL); in GetParamFromJson()
133 std::string completeId = firstItem->GetString(CALLBACK_COMPLETE); in GetParamFromJson()
/foundation/arkui/ace_engine/test/unittest/core/pattern/shape/
H A Dshape_pattern_test_ng.cpp407 auto firstItem = AceType::DynamicCast<FrameNode>(ViewStackProcessor::GetInstance()->GetMainElementNode()); in HWTEST_F() local
408 EXPECT_FALSE(firstItem == nullptr); in HWTEST_F()
412 frameNode->AddChild(firstItem); in HWTEST_F()
431 firstItem->GetGeometryNode()->SetParentLayoutConstraint(parentLayoutConstrain); in HWTEST_F()
432 EXPECT_TRUE(firstItem->GetGeometryNode()->GetParentLayoutConstraint()); in HWTEST_F()
446 AceType::MakeRefPtr<LayoutWrapperNode>(firstItem, firstGeometryNode, firstItem->GetLayoutProperty()); in HWTEST_F()
448 auto firstItemPattern = firstItem->GetPattern<CirclePattern>(); in HWTEST_F()
462 AceType::MakeRefPtr<LayoutWrapperNode>(firstItem, secondGeometryNode, firstItem in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/
H A Dgrid_scroll_layout_algorithm.cpp439 auto firstItem = GetStartingItem(layoutWrapper, currentItemIndex); in ReloadToStartIndex() local
440 gridLayoutInfo_.startIndex_ = firstItem; in ReloadToStartIndex()
441 currentMainLineIndex_ = (firstItem == 0 ? 0 : gridLayoutInfo_.startMainLineIndex_) - 1; in ReloadToStartIndex()
442 gridLayoutInfo_.endIndex_ = firstItem - 1; in ReloadToStartIndex()
443 TAG_LOGI(AceLogTag::ACE_GRID, "data reload begin, firstItem:%{public}d, currentItemIndex:%{public}d", firstItem, in ReloadToStartIndex()
468 auto firstItem = layoutWrapper->GetHostNode()->GetChildrenUpdated(); in ReloadFromUpdateIdxToStartIndex() local
469 gridLayoutInfo_.startIndex_ = firstItem; in ReloadFromUpdateIdxToStartIndex()
472 gridLayoutInfo_.endIndex_ = firstItem - 1; in ReloadFromUpdateIdxToStartIndex()
1300 auto firstItem in AddForwardLines() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/relative_container/old_cases/
H A Drelative_container_test_ng.cpp166 auto firstItem = FrameNode::GetOrCreateFrameNode( in HWTEST_F() local
168 const auto& firstItemFlexProperty = firstItem->GetLayoutProperty()->GetFlexItemProperty(); in HWTEST_F()
172 firstItem->GetLayoutProperty()->UpdateAlignRules(firstItemAlignRules); in HWTEST_F()
173 relativeContainerFrameNode->AddChild(firstItem); in HWTEST_F()
479 // Add firstItem-Box1 with size and 1alignRules. in HWTEST_F()
481 auto firstItem = FrameNode::GetOrCreateFrameNode( in HWTEST_F() local
485 AceType::MakeRefPtr<LayoutWrapperNode>(firstItem, firstItemGeometryNode, firstItem->GetLayoutProperty()); in HWTEST_F()
491 auto boxLayoutAlgorithm = firstItem->GetPattern<Pattern>()->CreateLayoutAlgorithm(); in HWTEST_F()
495 const auto& firstItemFlexProperty = firstItem in HWTEST_F()
[all...]
/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_zoom_gesture.cpp685 MMI::PointerEvent::PointerItem firstItem; in CalcSeparationDistance() local
687 firstEvent->GetPointerItem(firstEvent->GetPointerId(), firstItem); in CalcSeparationDistance()
689 int32_t durationX = secondItem.GetDisplayX() - firstItem.GetDisplayX(); in CalcSeparationDistance()
690 int32_t durationY = secondItem.GetDisplayY() - firstItem.GetDisplayY(); in CalcSeparationDistance()
/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dgrid_layout_manager.cpp231 auto firstItem = RenderListItem::GetRenderListItem(iter->second); in RefreshLayout() local
232 if (firstItem && firstItem->GetOperation() != LIST_ITEM_OP_NONE) { in RefreshLayout()
H A Dlist_layout_manager.cpp160 auto firstItem = RenderListItem::GetRenderListItem(iter->second); in RefreshLayout() local
161 if (firstItem && firstItem->GetOperation() != LIST_ITEM_OP_NONE) { in RefreshLayout()
/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/
H A Drender_grid_layout.cpp3056 void RenderGridLayout::MultiSelectAllInRange(const RefPtr<RenderGridLayoutItem>& firstItem,
3060 if (!firstItem) {
3065 firstItem->MarkIsSelected(true);
3066 if (firstItem->GetOnSelectId()) {
3067 (firstItem->GetOnSelectId())(firstItem->IsSelected());
3072 auto fromItemIndex = std::min(firstItem->GetIndex(), secondItem->GetIndex());
3073 auto toItemIndex = std::max(firstItem->GetIndex(), secondItem->GetIndex());
H A Drender_grid_layout.h607 void MultiSelectAllInRange(const RefPtr<RenderGridLayoutItem>& firstItem,
/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Drender_list.cpp2897 const RefPtr<RenderListItem>& firstItem, const RefPtr<RenderListItem>& secondItem) in MultiSelectAllInRange()
2900 if (!firstItem) { in MultiSelectAllInRange()
2905 firstItem->MarkIsSelected(true); in MultiSelectAllInRange()
2906 if (firstItem->GetOnSelectId()) { in MultiSelectAllInRange()
2907 (firstItem->GetOnSelectId())(firstItem->IsSelected()); in MultiSelectAllInRange()
2912 auto fromItemIndex = std::min(GetIndexByListItem(firstItem), GetIndexByListItem(secondItem)); in MultiSelectAllInRange()
2913 auto toItemIndex = std::max(GetIndexByListItem(firstItem), GetIndexByListItem(secondItem)); in MultiSelectAllInRange()
2896 MultiSelectAllInRange( const RefPtr<RenderListItem>& firstItem, const RefPtr<RenderListItem>& secondItem) MultiSelectAllInRange() argument
H A Drender_list.h514 void MultiSelectAllInRange(const RefPtr<RenderListItem>& firstItem, const RefPtr<RenderListItem>& secondItem);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_pattern.cpp992 auto firstItem = GetFirstItemInfoInVisibleArea(); in OnDirtyLayoutWrapperSwap() local
993 auto translateLength = firstItem.second.endPos - firstItem.second.startPos; in OnDirtyLayoutWrapperSwap()
995 turnPageRateCallback(firstItem.first, -firstItem.second.startPos / translateLength); in OnDirtyLayoutWrapperSwap()
1114 auto firstItem = GetFirstItemInfoInVisibleArea(); in OnDirtyLayoutWrapperSwap() local
1115 auto targetPos = firstItem.second.startPos + in OnDirtyLayoutWrapperSwap()
1116 (targetIndexValue - firstItem.first) * (placeItemWidth_.value_or(0.0f) + GetItemSpace()); in OnDirtyLayoutWrapperSwap()
3487 auto firstItem = swiper->GetFirstItemInfoInVisibleArea();
3488 auto translateLength = firstItem
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/flex/old_cases/
H A Dflex_test_ng.cpp333 auto firstItem = in HWTEST_F() local
336 flexNode->AddChild(firstItem); in HWTEST_F()
340 AceType::MakeRefPtr<LayoutWrapperNode>(firstItem, firstGeometryNode, firstItem->GetLayoutProperty()); in HWTEST_F()
342 auto firstItemPattern = firstItem->GetPattern<ButtonPattern>(); in HWTEST_F()
/foundation/ability/form_fwk/services/src/
H A Dform_timer_mgr.cpp488 UpdateAtItem firstItem = updateAtTimerTasks_.front(); in AddUpdateAtItem() local
489 if (atItem.updateAtTime < firstItem.updateAtTime) { in AddUpdateAtItem()
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_pattern_test_ng.cpp191 auto firstItem = AceType::MakeRefPtr<ImageSpanItem>(); in HWTEST_F() local
192 firstItem->imageNodeId = testFrameNodeId; in HWTEST_F()
193 richEditorPattern->dragSpanItems_.emplace_back(firstItem); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/
H A Drender_grid_scroll.cpp639 auto firstItem = GetStartingItem(startRankItemIndex_ - 1); in LoadForward() local
647 if (!Rank(count, count == 0 ? firstItem : -1)) { in LoadForward()
663 startRankItemIndex_ = firstItem; in LoadForward()

Completed in 33 milliseconds