/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/java/ |
H A D | hdi_java_code_emitter.cpp | 47 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 D | ui_line_break.cpp | 131 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 D | hdi_c_code_emitter.cpp | 185 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 D | swiper_event_hub.h | 38 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 D | swiper_pattern.cpp | 1264 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 D | swiper_pattern.h | 731 void FireChangeEvent(int32_t preIndex, int32_t currentIndex, bool isInLayout = false) const;
|
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/cpp/ |
H A D | hdi_cpp_code_emitter.cpp | 224 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 D | tabs_pattern.h | 121 std::optional<bool> OnContentWillChange(int32_t preIndex, int32_t index) const in OnContentWillChange() argument 125 ret = callback_(preIndex, index); in OnContentWillChange()
|
H A D | tab_bar_pattern.cpp | 1388 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 D | tabs_model_ng.cpp | 75 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 D | tabs_pattern.cpp | 64 int32_t preIndex, int32_t currentIndex) { in SetOnChangeEvent() 80 pattern->FireTabContentStateCallback(preIndex, currentIndex); in SetOnChangeEvent()
|
H A D | tab_bar_pattern.h | 203 void UpdateSymbolStats(int32_t index, int32_t preIndex);
|
/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | tab_bar_element.cpp | 41 int32_t preIndex = controller_->GetIndex(); in UpdateElement() local 44 if (preIndex != curIndex) { in UpdateElement()
|
/foundation/arkui/ace_engine/frameworks/core/components/calendar/ |
H A D | calendar_component.cpp | 177 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 D | image_animator_pattern.cpp | 460 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 D | image_animator_pattern.h | 157 int32_t GetNextIndex(int32_t preIndex);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_select_overlay.cpp | 468 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 D | image_pattern.h | 509 int32_t GetNextIndex(int32_t preIndex);
|
H A D | image_pattern.cpp | 2041 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 D | text_picker_column_test_ng.cpp | 1591 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 D | ext_decoder.cpp | 1265 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 D | tab_bar_test_ng.cpp | 1621 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 D | render_swiper.cpp | 1454 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 D | text_pattern.h | 538 void StartVibratorByIndexChange(int32_t currentIndex, int32_t preIndex);
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/picker/ |
H A D | date_picker_test_ng.cpp | 1933 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()
|