Searched refs:targetIdx (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/ |
H A D | grid_irregular_filler.cpp | 69 void GridIrregularFiller::FillToTarget(const FillParameters& params, int32_t targetIdx, int32_t sta… in FillToTarget() argument 71 if (targetIdx >= info_->childrenCount_) { in FillToTarget() 72 targetIdx = info_->childrenCount_ - 1; in FillToTarget() 75 while (idx < targetIdx) { in FillToTarget() 244 int32_t GridIrregularFiller::FillMatrixOnly(int32_t targetIdx) in FillMatrixOnly() argument 246 if (targetIdx >= info_->childrenCount_) { in FillMatrixOnly() 247 targetIdx = info_->childrenCount_ - 1; in FillMatrixOnly() 250 while (idx < targetIdx) { in FillMatrixOnly()
|
H A D | grid_irregular_filler.h | 70 void FillToTarget(const FillParameters& params, int32_t targetIdx, int32_t startingLine); 80 int32_t FillMatrixOnly(int32_t targetIdx);
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/devicemanager/src/ |
H A D | audio_device_manager_impl.cpp | 124 int32_t targetIdx = INVALID_INDEX; in GetTargetAdapterDesc() local 134 targetIdx = static_cast<int32_t>(index); in GetTargetAdapterDesc() 136 CHECK_AND_RETURN_RET_LOG((targetIdx >= 0), nullptr, "can not find target adapter."); in GetTargetAdapterDesc() 137 return &descriptors_[targetIdx]; in GetTargetAdapterDesc()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/ |
H A D | water_flow_layout_sw.h | 53 void MeasureBeforeAnimation(int32_t targetIdx); 55 void MeasureToTarget(int32_t targetIdx);
|
H A D | water_flow_layout_sw.cpp | 267 void WaterFlowLayoutSW::MeasureBeforeAnimation(int32_t targetIdx) in MeasureBeforeAnimation() argument 270 MeasureToTarget(targetIdx); in MeasureBeforeAnimation() 279 void WaterFlowLayoutSW::MeasureToTarget(int32_t targetIdx) in MeasureToTarget() argument 284 if (targetIdx < info_->startIndex_) { in MeasureToTarget() 285 FillFront(-FLT_MAX, info_->startIndex_ - 1, targetIdx); in MeasureToTarget() 286 } else if (targetIdx > info_->endIndex_) { in MeasureToTarget() 287 FillBack(FLT_MAX, info_->endIndex_ + 1, targetIdx); in MeasureToTarget()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/ |
H A D | water_flow_segmented_layout.cpp | 435 void WaterFlowSegmentedLayout::MeasureToTarget(int32_t targetIdx, std::optional<int64_t> cacheDeadl… in MeasureToTarget() argument 438 targetIdx = std::min(targetIdx, info_->childrenCount_ - 1); in MeasureToTarget() 439 for (int32_t i = static_cast<int32_t>(info_->itemInfos_.size()); i <= targetIdx; ++i) { in MeasureToTarget()
|
H A D | water_flow_segmented_layout.h | 123 … void MeasureToTarget(int32_t targetIdx, std::optional<int64_t> cacheDeadline, bool force = false);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_layout_info.cpp | 559 float GridLayoutInfo::GetAnimatePosIrregular(int32_t targetIdx, int32_t height, ScrollAlign align, … in GetAnimatePosIrregular() argument 561 if (targetIdx == LAST_ITEM) { in GetAnimatePosIrregular() 562 targetIdx = childrenCount_ - 1; in GetAnimatePosIrregular() 564 auto it = FindInMatrix(targetIdx); in GetAnimatePosIrregular() 569 align = TransformAutoScrollAlign(targetIdx, height, lastMainSize_, mainGap); in GetAnimatePosIrregular()
|
H A D | grid_layout_info.h | 342 …float GetAnimatePosIrregular(int32_t targetIdx, int32_t height, ScrollAlign align, float mainGap) …
|