/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/java/ |
H A D | hdi_java_code_emitter.cpp | 48 size_t curIndex = 0;
in SpecificationParam() local 51 for (; curIndex < paramStr.size(); curIndex++) {
in SpecificationParam() 52 if (curIndex == maxLineLen && preIndex > 0) {
in SpecificationParam() 56 if (paramStr[curIndex] == ',') {
in SpecificationParam() 57 preIndex = curIndex;
in SpecificationParam()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_lanes_layout_algorithm.cpp | 220 bool ListLanesLayoutAlgorithm::CheckCurRowMeasureFinished(LayoutWrapper* layoutWrapper, int32_t curIndex, bool isGroup) in CheckCurRowMeasureFinished() argument 223 return isGroup || posMap_->GetRowStartIndex(curIndex) == curIndex; in CheckCurRowMeasureFinished() 226 return isGroup || (curIndex - FindLanesStartIndex(layoutWrapper, curIndex)) % lanes == 0; in CheckCurRowMeasureFinished() 550 auto curIndex = itemPosition.rbegin()->first + 1; in LayoutCachedItem() local 552 for (int32_t i = 0; i < cacheCount && curIndex <= GetMaxListItemIndex(); i++) { in LayoutCachedItem() 553 auto tmpList = LayoutCachedALineForward(layoutWrapper, curIndex, currPos, crossSize); in LayoutCachedItem() 556 curIndex = itemPosition.begin()->first - 1; in LayoutCachedItem() 558 for (int32_t i = 0; i < cacheCount && curIndex > in LayoutCachedItem() 565 LayoutCachedForward(LayoutWrapper* layoutWrapper, int32_t cacheCount, int32_t& cachedCount, int32_t& curIndex) LayoutCachedForward() argument 617 LayoutCachedBackward(LayoutWrapper* layoutWrapper, int32_t cacheCount, int32_t& cachedCount, int32_t& curIndex) LayoutCachedBackward() argument [all...] |
H A D | list_lanes_layout_algorithm.h | 71 bool CheckCurRowMeasureFinished(LayoutWrapper* layoutWrapper, int32_t curIndex, bool isGroup); 80 int32_t cacheCount, int32_t& cachedCount, int32_t& curIndex) override; 82 int32_t cacheCount, int32_t& cachedCount, int32_t& curIndex) override;
|
H A D | list_item_group_layout_algorithm.cpp | 1336 int32_t curIndex = GetLanesFloor(endIndex + 1); in MeasureCacheForward() local 1337 while (curIndex <= limit) { in MeasureCacheForward() 1343 for (int32_t i = 0; i < lanes && curIndex + i < totalItemCount_; i++) { in MeasureCacheForward() 1344 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(curIndex + i + itemStartIndex_, param.show, true); in MeasureCacheForward() 1350 ACE_SCOPED_TRACE("ListItemGroupLayoutAlgorithm::MeasureCacheForward:%d", curIndex + i); in MeasureCacheForward() 1356 cachedItemPosition_[curIndex + i] = { -1, startPos, startPos + mainLen }; in MeasureCacheForward() 1358 curIndex += cnt; in MeasureCacheForward() 1360 param.forwardCachedIndex = curIndex - 1; in MeasureCacheForward() 1376 int32_t curIndex = GetLanesCeil(startIndex - 1); in MeasureCacheBackward() local 1377 while (curIndex > in MeasureCacheBackward() [all...] |
H A D | list_pattern.cpp | 1029 auto curIndex = curItemPattern->GetIndexInList(); in GetNextFocusNode() local 1032 if (curIndex < 0 || curIndex > maxListItemIndex_) { in GetNextFocusNode() 1037 auto nextIndex = curIndex; in GetNextFocusNode() 1052 nextIndex = curIndex + moveStep; in GetNextFocusNode() 1061 nextIndex = curIndex + moveStep; in GetNextFocusNode() 1079 nextIndex = curIndex + moveStep; in GetNextFocusNode() 1088 nextIndex = curIndex + moveStep; in GetNextFocusNode() 1096 if (((curIndexInGroup == -1) && ((curIndex - (lanes_ - 1)) % lanes_ != 0)) || in GetNextFocusNode() 1099 nextIndex = curIndex in GetNextFocusNode() 1189 auto curIndex = focusPattern->GetIndexInList(); ScrollToNode() local [all...] |
H A D | list_layout_algorithm.cpp | 1958 int32_t cacheCount, int32_t& cachedCount, int32_t& curIndex) in LayoutCachedForward() 1961 curIndex = itemPosition_.rbegin()->first + 1; in LayoutCachedForward() 1963 while (cachedCount < cacheCount && curIndex < totalItemCount_) { in LayoutCachedForward() 1964 auto wrapper = layoutWrapper->GetChildByIndex(curIndex, true); in LayoutCachedForward() 1977 auto startIndex = curIndex; in LayoutCachedForward() 1978 LayoutItem(wrapper, curIndex, pos, startIndex, crossSize); in LayoutCachedForward() 1981 layoutWrapper, wrapper, cacheCount - cachedCount, -1, curIndex, true); in LayoutCachedForward() 1991 curIndex++; in LayoutCachedForward() 1997 int32_t cacheCount, int32_t& cachedCount, int32_t& curIndex) in LayoutCachedBackward() 2000 curIndex in LayoutCachedBackward() 1957 LayoutCachedForward(LayoutWrapper* layoutWrapper, int32_t cacheCount, int32_t& cachedCount, int32_t& curIndex) LayoutCachedForward() argument 1996 LayoutCachedBackward(LayoutWrapper* layoutWrapper, int32_t cacheCount, int32_t& cachedCount, int32_t& curIndex) LayoutCachedBackward() argument [all...] |
H A D | list_layout_algorithm.h | 494 int32_t cacheCount, int32_t& cachedCount, int32_t& curIndex); 496 int32_t cacheCount, int32_t& cachedCount, int32_t& curIndex);
|
H A D | list_pattern.h | 369 WeakPtr<FocusHub> ScrollAndFindFocusNode(int32_t nextIndex, int32_t curIndex, int32_t& nextIndexInGroup, 371 bool ScrollListForFocus(int32_t nextIndex, int32_t curIndex, int32_t nextIndexInGroup);
|
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/c/ |
H A D | hdi_c_code_emitter.cpp | 186 size_t curIndex = 0;
in SpecificationParam() local 189 for (; curIndex < paramStr.size(); curIndex++) {
in SpecificationParam() 190 if (curIndex == maxLineLen && preIndex > 0) {
in SpecificationParam() 194 if (paramStr[curIndex] == ',') {
in SpecificationParam() 195 preIndex = curIndex;
in SpecificationParam()
|
/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | tab_bar_element.cpp | 43 int32_t curIndex = controller_->GetIndex(); in UpdateElement() local 44 if (preIndex != curIndex) { in UpdateElement() 45 controller_->ChangeDispatch(curIndex); in UpdateElement() 48 UpdateIndex(curIndex); in UpdateElement()
|
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/cpp/ |
H A D | hdi_cpp_code_emitter.cpp | 225 size_t curIndex = 0;
in SpecificationParam() local 228 for (; curIndex < paramStr.size(); curIndex++) {
in SpecificationParam() 229 if (curIndex == maxLineLen && preIndex > 0) {
in SpecificationParam() 233 if (paramStr[curIndex] == ',') {
in SpecificationParam() 234 preIndex = curIndex;
in SpecificationParam()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/list/ |
H A D | render_list_item_group.cpp | 126 size_t curIndex = startIndex_; in RecycleStartCacheItems() local 128 for (auto it = items_.begin(); it != items_.end() && currStartCacheCount_ > startCacheCount_; curIndex += lanes_) { in RecycleStartCacheItems() 135 RecycleListItem(curIndex + i); in RecycleStartCacheItems() 140 startIndex_ = curIndex + lanes; in RecycleStartCacheItems() 172 size_t curIndex = startIndex_; in LayoutOrRecycleCurrentItems() local 177 for (auto it = items_.begin(); it != items_.end(); curIndex += lanes_) { in LayoutOrRecycleCurrentItems() 181 RecycleListItem(curIndex + i); in LayoutOrRecycleCurrentItems()
|
H A D | render_list.cpp | 1346 RecycleListItem(curIndex - i); \ 1359 size_t curIndex = startIndex_ != 0 ? startIndex_ - 1 : INVALID_CHILD_INDEX; in LayoutOrRecycleCurrentItemsForLaneList() local 1385 ++curIndex; in LayoutOrRecycleCurrentItemsForLaneList() 1407 startIndex_ = curIndex + 1; in LayoutOrRecycleCurrentItemsForLaneList() 1475 size_t curIndex = startIndex_; in LayoutOrRecycleCurrentItemsForCache() local 1484 for (auto it = items_.begin(); it != items_.end(); ++curIndex) { in LayoutOrRecycleCurrentItemsForCache() 1489 RecycleListItem(curIndex); in LayoutOrRecycleCurrentItemsForCache() 1507 backwardLayoutIndex = curIndex + 1; in LayoutOrRecycleCurrentItemsForCache() 1517 curIndex = startIndex_; in LayoutOrRecycleCurrentItemsForCache() 1518 for (auto it = items_.begin(); it != items_.end() && curIndex < backwardLayoutInde in LayoutOrRecycleCurrentItemsForCache() 1543 size_t curIndex = startIndex_; LayoutOrRecycleCurrentItems() local [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | date_time_format_module.cpp | 352 int16_t curIndex = 0; in FormatTime() local 353 curIndex = FormatDigit(timeStr, res, resSize, start, digitArray_[hourIndex]); in FormatTime() 354 if (curIndex < 0) { in FormatTime() 358 curIndex = FormatDigit(timeStr + curIndex, res, resSize, start, digitArray_[minuteIndex]) + curIndex; in FormatTime() 359 if (curIndex < 0) { in FormatTime() 363 if (FormatDigit(timeStr + curIndex, res, resSize, start, digitArray_[secondIndex]) < 0) { in FormatTime()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | navigation_stack.cpp | 213 int32_t curIndex = 0; in Get() local 217 index = curIndex; in Get() 220 curIndex++; in Get() 251 int32_t curIndex = 0; in GetFromPreBackup() local 255 index = curIndex; in GetFromPreBackup() 258 curIndex++; in GetFromPreBackup()
|
/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/ |
H A D | hevc_decoder.cpp | 1206 uint32_t curIndex = 0; in RequestBufferFromConsumer() local 1209 curIndex = renderAvailQue_->Pop(); in RequestBufferFromConsumer() 1210 if (surfaceMemory->GetBase() == buffers_[INDEX_OUTPUT][curIndex]->avBuffer->memory_->GetAddr() && in RequestBufferFromConsumer() 1211 surfaceMemory->GetSize() == buffers_[INDEX_OUTPUT][curIndex]->avBuffer->memory_->GetCapacity()) { in RequestBufferFromConsumer() 1212 buffers_[INDEX_OUTPUT][index]->sMemory = buffers_[INDEX_OUTPUT][curIndex]->sMemory; in RequestBufferFromConsumer() 1213 buffers_[INDEX_OUTPUT][curIndex]->sMemory = surfaceMemory; in RequestBufferFromConsumer() 1216 renderAvailQue_->Push(curIndex); in RequestBufferFromConsumer() 1220 curIndex = index; in RequestBufferFromConsumer() 1224 FindAvailIndex(curIndex); in RequestBufferFromConsumer() 1226 buffers_[INDEX_OUTPUT][curIndex] in RequestBufferFromConsumer() [all...] |
/foundation/multimedia/av_codec/services/engine/codec/video/fcodec/ |
H A D | fcodec.cpp | 1341 uint32_t curIndex = 0; in RequestBufferFromConsumer() local 1344 curIndex = renderAvailQue_->Pop(); in RequestBufferFromConsumer() 1345 if (surfaceMemory->GetBase() == buffers_[INDEX_OUTPUT][curIndex]->avBuffer_->memory_->GetAddr() && in RequestBufferFromConsumer() 1346 surfaceMemory->GetSize() == buffers_[INDEX_OUTPUT][curIndex]->avBuffer_->memory_->GetCapacity()) { in RequestBufferFromConsumer() 1347 buffers_[INDEX_OUTPUT][index]->sMemory_ = buffers_[INDEX_OUTPUT][curIndex]->sMemory_; in RequestBufferFromConsumer() 1348 buffers_[INDEX_OUTPUT][curIndex]->sMemory_ = surfaceMemory; in RequestBufferFromConsumer() 1351 renderAvailQue_->Push(curIndex); in RequestBufferFromConsumer() 1355 curIndex = index; in RequestBufferFromConsumer() 1359 FindAvailIndex(curIndex); in RequestBufferFromConsumer() 1361 buffers_[INDEX_OUTPUT][curIndex] in RequestBufferFromConsumer() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler.h | 60 #define RS_PROFILER_REPLAY_FIX_TRINDEX(curIndex, lastIndex) RSProfiler::ReplayFixTrIndex(curIndex, lastIndex) 94 #define RS_PROFILER_REPLAY_FIX_TRINDEX(curIndex, lastIndex) 195 RSB_EXPORT static void ReplayFixTrIndex(uint64_t curIndex, uint64_t& lastIndex);
|
H A D | rs_profiler_base.cpp | 1158 void RSProfiler::ReplayFixTrIndex(uint64_t curIndex, uint64_t& lastIndex) in ReplayFixTrIndex() argument 1165 lastIndex = curIndex - 1; in ReplayFixTrIndex()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/ |
H A D | render_popup_list.cpp | 250 size_t curIndex = startIndex_; in LayoutOrRecycleCurrentItems() local 251 for (auto it = items_.begin(); it != items_.end(); ++curIndex) { in LayoutOrRecycleCurrentItems() 261 startIndex_ = curIndex + 1; in LayoutOrRecycleCurrentItems()
|
/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | render_multi_child_scroll.h | 120 bool LayoutChild(const RefPtr<RenderNode>& curChild, int32_t curIndex, const RefPtr<RenderNode>& lastChild);
|
H A D | render_multi_child_scroll.cpp | 395 const RefPtr<RenderNode>& curChild, int32_t curIndex, const RefPtr<RenderNode>& lastChild) in LayoutChild() 414 currentIndex_ = curIndex; in LayoutChild() 394 LayoutChild( const RefPtr<RenderNode>& curChild, int32_t curIndex, const RefPtr<RenderNode>& lastChild) LayoutChild() argument
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_main_thread.cpp | 1064 void RSMainThread::RequestNextVsyncForCachedCommand(std::string& transactionFlags, pid_t pid, uint64_t curIndex) in RequestNextVsyncForCachedCommand() argument 1067 transactionFlags += " cache [" + std::to_string(pid) + "," + std::to_string(curIndex) + "]"; in RequestNextVsyncForCachedCommand() 1070 transactionFlags += " cache (" + std::to_string(pid) + "," + std::to_string(curIndex) + ")"; in RequestNextVsyncForCachedCommand() 1095 auto curIndex = (*iter)->GetIndex(); in CheckAndUpdateTransactionIndex() local 1096 RS_PROFILER_REPLAY_FIX_TRINDEX(curIndex, lastIndex); in CheckAndUpdateTransactionIndex() 1097 if (curIndex == lastIndex + 1) { in CheckAndUpdateTransactionIndex() 1100 RequestNextVsyncForCachedCommand(transactionFlags, pid, curIndex); in CheckAndUpdateTransactionIndex() 1104 transactionFlags += " [" + std::to_string(pid) + "," + std::to_string(curIndex) + "]"; in CheckAndUpdateTransactionIndex() 1106 RS_LOGE("%{public}s wait curIndex:%{public}" PRIu64 ", lastIndex:%{public}" PRIu64 ", pid:%{public}d", in CheckAndUpdateTransactionIndex() 1107 __FUNCTION__, curIndex, lastInde in CheckAndUpdateTransactionIndex() [all...] |
H A D | rs_main_thread.h | 503 void RequestNextVsyncForCachedCommand(std::string& transactionFlags, pid_t pid, uint64_t curIndex);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_pattern.cpp | 833 int32_t curIndex = indexLeft; in SearchFocusableChildInCross() local 835 curIndex = indexRight++; in SearchFocusableChildInCross() 837 curIndex = indexLeft--; in SearchFocusableChildInCross() 839 curIndex = isDirectionLeft ? indexLeft-- : indexRight++; in SearchFocusableChildInCross() 842 auto weakChild = GetChildFocusNodeByIndex(tarMainIndex, curIndex); in SearchFocusableChildInCross() 845 TAG_LOGI(AceLogTag::ACE_GRID, "Found child. Index: %{public}d,%{public}d", tarMainIndex, curIndex); in SearchFocusableChildInCross()
|