Home
last modified time | relevance | path

Searched refs:preIndex (Results 1 - 25 of 31) sorted by relevance

12

/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/java/
H A Dhdi_java_code_emitter.cpp47 size_t preIndex = 0; in SpecificationParam() local
52 if (curIndex == maxLineLen && preIndex > 0) { in SpecificationParam()
53 StringHelper::Replace(paramStr, preIndex, replaceLen, ","); in SpecificationParam()
54 paramStr.insert(preIndex + 1, insertStr); in SpecificationParam()
57 preIndex = curIndex; in SpecificationParam()
/foundation/arkui/ui_lite/frameworks/font/
H A Dui_line_break.cpp131 uint32_t preIndex = 0; in GetNextLineAndWidth() local
142 uint32_t unicode = TypedText::GetUTF8Next(text, preIndex, byteIdx); in GetNextLineAndWidth()
144 preIndex = byteIdx; in GetNextLineAndWidth()
153 lastIndex = preIndex; in GetNextLineAndWidth()
165 preIndex = byteIdx; in GetNextLineAndWidth()
183 preIndex = byteIdx; in GetNextLineAndWidth()
190 return preIndex; in GetNextLineAndWidth()
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/c/
H A Dhdi_c_code_emitter.cpp185 size_t preIndex = 0; in SpecificationParam() local
190 if (curIndex == maxLineLen && preIndex > 0) { in SpecificationParam()
191 StringHelper::Replace(paramStr, preIndex, replaceLen, ","); in SpecificationParam()
192 paramStr.insert(preIndex + 1, insertStr); in SpecificationParam()
195 preIndex = curIndex; in SpecificationParam()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_event_hub.h38 using ChangeEventWithPreIndex = std::function<void(int32_t preIndex, int32_t currentIndex)>;
97 void FireChangeEvent(int32_t preIndex, int32_t currentIndex, bool isInLayout) in FireChangeEvent() argument
115 [preIndex, currentIndex](const ChangeEventWithPreIndexPtr& changeEventWithPreIndex) { in FireChangeEvent()
120 event(preIndex, currentIndex); in FireChangeEvent()
H A Dswiper_pattern.cpp1264 void SwiperPattern::FireChangeEvent(int32_t preIndex, int32_t currentIndex, bool isInLayout) const in FireChangeEvent() argument
1268 swiperEventHub->FireChangeEvent(preIndex, currentIndex, isInLayout); in FireChangeEvent()
1743 std::optional<int32_t> preIndex; in ShowNext() local
1747 preIndex = preTargetIndex_.value(); in ShowNext()
1760 if (preIndex || usePropertyAnimation_) { in ShowNext()
1797 std::optional<int32_t> preIndex; in ShowPrevious() local
1801 preIndex = preTargetIndex_.value(); in ShowPrevious()
1814 if (preIndex || usePropertyAnimation_) { in ShowPrevious()
H A Dswiper_pattern.h731 void FireChangeEvent(int32_t preIndex, int32_t currentIndex, bool isInLayout = false) const;
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/cpp/
H A Dhdi_cpp_code_emitter.cpp224 size_t preIndex = 0; in SpecificationParam() local
229 if (curIndex == maxLineLen && preIndex > 0) { in SpecificationParam()
230 StringHelper::Replace(paramStr, preIndex, replaceLen, ","); in SpecificationParam()
231 paramStr.insert(preIndex + 1, insertStr); in SpecificationParam()
234 preIndex = curIndex; in SpecificationParam()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtabs_pattern.h121 std::optional<bool> OnContentWillChange(int32_t preIndex, int32_t index) const in OnContentWillChange() argument
125 ret = callback_(preIndex, index); in OnContentWillChange()
H A Dtab_bar_pattern.cpp1388 auto preIndex = GetImageColorOnIndex().value_or(indicator_); in HandleBottomTabBarChange() local
1389 if (preIndex == index) { in HandleBottomTabBarChange()
1393 UpdateSymbolStats(index, preIndex); in HandleBottomTabBarChange()
1394 if (preIndex < 0 || preIndex >= static_cast<int32_t>(tabBarStyles_.size()) || in HandleBottomTabBarChange()
1398 if (preIndex != index && (tabBarStyles_[preIndex] == TabBarStyle::BOTTOMTABBATSTYLE || in HandleBottomTabBarChange()
1405 if (preIndex < childCount && tabBarStyles_[preIndex] == TabBarStyle::BOTTOMTABBATSTYLE && CheckSvg(preIndex)) { in HandleBottomTabBarChange()
2127 UpdateSymbolStats(int32_t index, int32_t preIndex) UpdateSymbolStats() argument
3066 auto preIndex = GetImageColorOnIndex().value_or(indicator_); HandleBottomTabBarAnimation() local
[all...]
H A Dtabs_model_ng.cpp75 auto preIndex = tabsLayoutProperty->GetIndexValue(0); in Create() local
78 if (tabsPattern->GetInterceptStatus() && preIndex != index) { in Create()
79 auto ret = tabsPattern->OnContentWillChange(preIndex, index); in Create()
84 if ((index != preIndex) && (index >= 0)) { in Create()
92 tabBarPattern->UpdateSymbolStats(-1, preIndex); in Create()
H A Dtabs_pattern.cpp64 int32_t preIndex, int32_t currentIndex) { in SetOnChangeEvent()
80 pattern->FireTabContentStateCallback(preIndex, currentIndex); in SetOnChangeEvent()
H A Dtab_bar_pattern.h203 void UpdateSymbolStats(int32_t index, int32_t preIndex);
/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Dtab_bar_element.cpp41 int32_t preIndex = controller_->GetIndex(); in UpdateElement() local
44 if (preIndex != curIndex) { in UpdateElement()
/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dcalendar_component.cpp177 auto preIndex = currentMonthIndex_; in RequestMonthData() local
184 if (--preIndex < 0) { in RequestMonthData()
185 preIndex = MAX_MONTH_CACHE_NUM - 1; in RequestMonthData()
198 } else if (preIndex == index) { in RequestMonthData()
199 currentMonthIndex_ = preIndex; in RequestMonthData()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image_animator/
H A Dimage_animator_pattern.cpp460 int32_t ImageAnimatorPattern::GetNextIndex(int32_t preIndex) in GetNextIndex() argument
463 return preIndex == 0 ? (static_cast<int32_t>(images_.size()) - 1) : (preIndex - 1); in GetNextIndex()
465 return (preIndex + 1) % static_cast<int32_t>(images_.size()); in GetNextIndex()
H A Dimage_animator_pattern.h157 int32_t GetNextIndex(int32_t preIndex);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_select_overlay.cpp468 int32_t preIndex = selectController->GetCaretIndex(); in OnHandleMove() local
471 pattern->StartVibratorByIndexChange(selectController->GetCaretIndex(), preIndex); in OnHandleMove()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/
H A Dimage_pattern.h509 int32_t GetNextIndex(int32_t preIndex);
H A Dimage_pattern.cpp2041 int32_t ImagePattern::GetNextIndex(int32_t preIndex)
2043 return (preIndex + 1) % static_cast<int32_t>(images_.size());
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_picker/
H A Dtext_picker_column_test_ng.cpp1591 auto preIndex = columnPattern->GetCurrentIndex(); in HWTEST_F() local
1597 preIndex = columnPattern->GetCurrentIndex(); in HWTEST_F()
1665 auto preIndex = columnPattern->GetCurrentIndex(); in HWTEST_F() local
1671 preIndex = columnPattern->GetCurrentIndex(); in HWTEST_F()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp1265 int preIndex = signedIndex - 1; in HeapMemAlloc() local
1267 codec_->getFrameInfo(preIndex, &preInfo); in HeapMemAlloc()
1271 dstOptions_.fPriorFrame = gifCacheIndex_ == preIndex ? preIndex : SkCodec::kNoFrame; in HeapMemAlloc()
/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/
H A Dtab_bar_test_ng.cpp1621 int32_t preIndex = 1; in HWTEST_F() local
1622 tabBarPattern_->UpdateSymbolStats(index, preIndex); in HWTEST_F()
1861 auto callback = [&changeCallBacked](int32_t preIndex, int32_t currentIndex) { changeCallBacked = true; }; in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/swiper/
H A Drender_swiper.cpp1454 int32_t preIndex = GetPrevIndex(index); in UpdateItemOpacity() local
1455 if (preIndex != index && preIndex != otherIndex) { in UpdateItemOpacity()
1456 UpdateOneItemOpacity(opacity, preIndex); in UpdateItemOpacity()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_pattern.h538 void StartVibratorByIndexChange(int32_t currentIndex, int32_t preIndex);
/foundation/arkui/ace_engine/test/unittest/core/pattern/picker/
H A Ddate_picker_test_ng.cpp1933 auto preIndex = columnPattern->GetCurrentIndex(); in HWTEST_F() local
1939 preIndex = columnPattern->GetCurrentIndex(); in HWTEST_F()
2002 auto preIndex = columnPattern->GetCurrentIndex(); in HWTEST_F() local
2008 preIndex = columnPattern->GetCurrentIndex(); in HWTEST_F()

Completed in 53 milliseconds

12