Home
last modified time | relevance | path

Searched refs:lastPos (Results 1 - 11 of 11) sorted by relevance

/foundation/arkui/ui_lite/interfaces/kits/events/
H A Ddrag_event.h52 * @param lastPos Indicates the last position in the drag event.
58 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()
/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()
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/src/util/
H A Dpath_util.cpp121 const auto lastPos = static_cast<size_t>(static_cast<size_t>(lastSeparator) + 1); in GetRelativePath() local
122 path.remove_prefix(lastPos); in GetRelativePath()
123 relativeTo.remove_prefix(lastPos); in GetRelativePath()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_abstract_scroll.cpp227 bool UIAbstractScroll::DragThrowAnimator(Point currentPos, Point lastPos, uint8_t dragDirection, bool dragBack) in DragThrowAnimator() argument
235 CalculateDragDistance(currentPos, lastPos, dragDirection, dragDistanceX, dragDistanceY); in DragThrowAnimator()
263 Point lastPos, in CalculateDragDistance()
269 dragDistanceY = currentPos.y - lastPos.y; in CalculateDragDistance()
284 dragDistanceX = currentPos.x - lastPos.x; in CalculateDragDistance()
262 CalculateDragDistance(Point currentPos, Point lastPos, uint8_t dragDirection, int16_t& dragDistanceX, int16_t& dragDistanceY) CalculateDragDistance() argument
/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()
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_abstract_scroll.h482 bool DragThrowAnimator(Point currentPos, Point lastPos, uint8_t dragDirection, bool dragBack = true);
507 Point lastPos,
/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()
/foundation/CastEngine/castengine_wifi_display/services/utils/
H A Dutils.cpp160 std::string::size_type lastPos = 0; in Replace() local
161 while ((i = target.find(search, lastPos)) != std::string::npos) { in Replace()
163 lastPos = i + replacement.length(); in Replace()
/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()
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/
H A Dffmpeg_demuxer_plugin.h213 int64_t lastPos; member
H A Dffmpeg_demuxer_plugin.cpp579 trackDfxInfoMap_[tempPkt->stream_index].lastPos = tempPkt->pos; in ConvertAVPacketToSample()
1363 trackDfxInfoMap_[trackId].lastDurantion, trackDfxInfoMap_[trackId].lastPos); in ReadSample()

Completed in 9 milliseconds