Home
last modified time | relevance | path

Searched refs:lastPos (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/events/
H A Ddrag_event.h58 DragEvent(const Point& newPos, const Point& lastPos, const Point& totalLen) : Event(newPos) in DragEvent() argument
60 lastPos_ = lastPos; in DragEvent()
63 preLastPos_ = lastPos; in DragEvent()
64 deltaX_ = newPos.x - lastPos.x; in DragEvent()
65 deltaY_ = newPos.y - lastPos.y; in DragEvent()
/ohos5.0/drivers/peripheral/distributed_camera/hdi_service/src/utils/
H A Ddcamera.cpp68 std::string::size_type lastPos = 0; in SplitString() local
71 tokens.push_back(str.substr(lastPos, pos - lastPos)); in SplitString()
72 lastPos = pos + delimiters.size(); in SplitString()
73 pos = str.find(delimiters, lastPos); in SplitString()
75 if (lastPos != str.length()) { in SplitString()
76 tokens.push_back(str.substr(lastPos)); in SplitString()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/
H A Dresource_info.cpp60 auto lastPos = key.find_last_of(SEPARATOR); in ParseKey() local
61 abilityName_ = key.substr(lastPos + 1); in ParseKey()
62 if (firstPos != lastPos) { in ParseKey()
63 moduleName_ = key.substr(firstPos + 1, lastPos - firstPos - 1); in ParseKey()
/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/src/
H A Dpeak_finder.cpp158 mountainPosition.lastPos.push_back(bothSides.rightPos); in GetEachIndependentEnvelope()
168 mountainPosition.lastPos.push_back(bothSides.rightPos); in GetEachIndependentEnvelope()
275 int32_t lastEndPos = wholeEnvelop.lastPos[0]; in FilterSecondaryPeak()
291 lastEndPos = wholeEnvelop.lastPos[i]; in FilterSecondaryPeak()
339 mountainPosition.lastPos.erase(mountainPosition.lastPos.begin() + peakIndex); in DeletePeaks()
419 valleyPos = mountainPosition.lastPos[endPos]; in DetectValley()
605 const std::vector<int32_t> &lastPos, EnvelopeSegmentInfo &envelopeList) in SplitLongShortEnvelope() argument
610 countAssemble.push_back(lastPos[i] - firstPos[i]); in SplitLongShortEnvelope()
629 int32_t toIndex = lastPos[j]; in SplitLongShortEnvelope()
695 for (size_t i = 0; i < mountainPosition.lastPos.size(); i++) { in GetIsolatedEnvelope()
[all …]
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_abstract_scroll.cpp227 bool UIAbstractScroll::DragThrowAnimator(Point currentPos, Point lastPos, uint8_t dragDirection, bo… in DragThrowAnimator() argument
235 CalculateDragDistance(currentPos, lastPos, dragDirection, dragDistanceX, dragDistanceY); in DragThrowAnimator()
263 Point lastPos, in CalculateDragDistance() argument
269 dragDistanceY = currentPos.y - lastPos.y; in CalculateDragDistance()
284 dragDistanceX = currentPos.x - lastPos.x; in CalculateDragDistance()
/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/include/
H A Dpeak_finder.h32 std::vector<int32_t> lastPos; member
180 const std::vector<int32_t> &lastPos, EnvelopeSegmentInfo &envelopeList);
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/include/
H A Dshared_block.h243 void SetLastPos(uint32_t lastPos) in SetLastPos() argument
245 mHeader->lastPos_ = lastPos; in SetLastPos()
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_abstract_scroll.h482 …bool DragThrowAnimator(Point currentPos, Point lastPos, uint8_t dragDirection, bool dragBack = tru…
507 Point lastPos,
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/appdatafwk/include/
H A Dshared_block.h318 API_EXPORT void SetLastPos(uint32_t lastPos) in SetLastPos() argument
320 mHeader->lastPos_ = lastPos; in SetLastPos()
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/
H A Dfile_trash_n_exporter.cpp225 size_t lastPos = 0; in Mkdirs() local
239 folderName = recoveredPath.substr(lastPos + 1, i); in Mkdirs()
240 lastPos = i; in Mkdirs()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/
H A Dffmpeg_demuxer_plugin.h220 int64_t lastPos; member
H A Dffmpeg_demuxer_plugin.cpp617 trackDfxInfoMap_[tempPkt->stream_index].lastPos = tempPkt->pos; in ConvertAVPacketToSample()
1447 trackDfxInfoMap_[trackId].lastDurantion, trackDfxInfoMap_[trackId].lastPos); in ReadSample()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-localization-kit/
H A Djs-apis-i18n.md1439 let lastPos: number = iterator.last(); // lastPos = 27
/ohos5.0/docs/en/application-dev/reference/apis-localization-kit/
H A Djs-apis-i18n.md1439 let lastPos: number = iterator.last(); // lastPos = 27