/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_camera.cpp | 117 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 D | shape_pattern_test_ng.cpp | 407 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 D | grid_scroll_layout_algorithm.cpp | 439 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 D | relative_container_test_ng.cpp | 166 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 D | accessibility_zoom_gesture.cpp | 685 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 D | grid_layout_manager.cpp | 231 auto firstItem = RenderListItem::GetRenderListItem(iter->second); in RefreshLayout() local 232 if (firstItem && firstItem->GetOperation() != LIST_ITEM_OP_NONE) { in RefreshLayout()
|
H A D | list_layout_manager.cpp | 160 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 D | render_grid_layout.cpp | 3056 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 D | render_grid_layout.h | 607 void MultiSelectAllInRange(const RefPtr<RenderGridLayoutItem>& firstItem,
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/list/ |
H A D | render_list.cpp | 2897 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 D | render_list.h | 514 void MultiSelectAllInRange(const RefPtr<RenderListItem>& firstItem, const RefPtr<RenderListItem>& secondItem);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_pattern.cpp | 992 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 D | flex_test_ng.cpp | 333 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 D | form_timer_mgr.cpp | 488 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 D | rich_editor_pattern_test_ng.cpp | 191 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 D | render_grid_scroll.cpp | 639 auto firstItem = GetStartingItem(startRankItemIndex_ - 1); in LoadForward() local 647 if (!Rank(count, count == 0 ? firstItem : -1)) { in LoadForward() 663 startRankItemIndex_ = firstItem; in LoadForward()
|