Searched refs:currentFocusIndex (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | list_item_group_element.h | 44 bool TraverseFocusNode(int32_t currentFocusIndex, bool reverse);
|
H A D | list_item_group_element.cpp | 162 bool ListItemGroupElement::TraverseFocusNode(int32_t currentFocusIndex, bool reverse) in TraverseFocusNode() argument 166 if (listItem && listItem->IsFocusable() && currentFocusIndex == listItem->GetIndex()) { in TraverseFocusNode()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_pattern.cpp | 609 RectF TextPickerPattern::CalculatePaintRect(int32_t currentFocusIndex, in CalculatePaintRect() argument 623 …centerX = currentFocusIndex * (piantRectWidth + FOUCS_WIDTH.ConvertToPx() + PRESS_INTERVAL.Convert… in CalculatePaintRect() 630 centerX = currentFocusIndex * columnWidth + (columnWidth - piantRectWidth) / HALF; in CalculatePaintRect() 659 auto currentFocusIndex = focusKeyID_; in GetInnerFocusPaintRect() local 662 currentFocusIndex = childSize - 1 - focusKeyID_; in GetInnerFocusPaintRect() 665 columnNode->GetGeometryNode()->GetFrameRect().Width() * currentFocusIndex + in GetInnerFocusPaintRect() 670 auto focusPaintRect = CalculatePaintRect(currentFocusIndex, in GetInnerFocusPaintRect()
|
H A D | textpicker_pattern.h | 521 RectF CalculatePaintRect(int32_t currentFocusIndex,
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/dialog/interfaces/ |
H A D | dialog.js | 825 this.currentFocusIndex = -1; 878 if (params.currentFocusIndex !== undefined) { 879 this.currentFocusIndex = params.currentFocusIndex; 992 if (this.currentFocusIndex === this.radioContent.length - 1) { 994 this.currentFocusIndex = -1; 995 } else if (this.currentFocusIndex === FIRST_ITEM_INDEX) { 997 this.currentFocusIndex = -1; 1186 this.currentFocusIndex = index;
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/dialog/source/ |
H A D | dialog.ets | 384 currentFocusIndex?: number = -1; 448 this.currentFocusIndex = index; 497 if (this.currentFocusIndex === this.radioContent.length - 1) { 499 this.currentFocusIndex = -1; 500 } else if (this.currentFocusIndex === FIRST_ITEM_INDEX) { 502 this.currentFocusIndex = -1;
|
/ohos5.0/foundation/arkui/advanced_ui_component/source/TreeView/ |
H A D | TreeView.ets | 3070 let currentFocusIndex: number = findCurrentNodeIndex.call(that, draggingCurrentNodeId); 3071 this.listNodeDataSource.setClickIndex(currentFocusIndex); 3072 this.listNodeDataSource.handleEvent(Event.DRAG, currentFocusIndex); 3114 let currentFocusIndex: number = findCurrentNodeIndex.call(that, draggingCurrentNodeId); 3115 this.listNodeDataSource.setClickIndex(currentFocusIndex); 3116 this.listNodeDataSource.handleEvent(Event.DRAG, currentFocusIndex);
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/treeview/source/ |
H A D | treeview.ets | 1364 let currentFocusIndex: number = this.listNodeDataSource.findIndex(draggingCurrentNodeId); 1365 this.listNodeDataSource.setClickIndex(currentFocusIndex); 1366 this.listNodeDataSource.handleEvent(Event.DRAG, currentFocusIndex); 1407 let currentFocusIndex: number = this.listNodeDataSource.findIndex(draggingCurrentNodeId); 1408 this.listNodeDataSource.setClickIndex(currentFocusIndex); 1409 this.listNodeDataSource.handleEvent(Event.DRAG, currentFocusIndex); 1415 …this.listNodeDataSource.listNode[currentFocusIndex].fontColor = this.treeViewTheme.primaryTitleAct… 1445 this.listNodeDataSource.lastIndex = currentFocusIndex;
|