Home
last modified time | relevance | path

Searched refs:newPos (Results 1 – 8 of 8) sorted by relevance

/foundation/arkui/ui_lite/interfaces/kits/events/
Ddrag_event.h58 DragEvent(const Point& newPos, const Point& lastPos, const Point& totalLen) : Event(newPos) in DragEvent() argument
61 startPos_.x = newPos.x - totalLen.x; in DragEvent()
62 startPos_.y = newPos.y - totalLen.y; in DragEvent()
64 deltaX_ = newPos.x - lastPos.x; in DragEvent()
65 deltaY_ = newPos.y - lastPos.y; in DragEvent()
/foundation/multimedia/histreamer/engine/plugin/plugins/ffmpeg_adapter/muxer/
Dffmpeg_muxer_plugin.cpp533 uint64_t newPos = 0; in IoSeek() local
536 newPos = static_cast<uint64_t>(offset); in IoSeek()
537 ioContext->pos_ = newPos; in IoSeek()
539 whence, offset, newPos); in IoSeek()
542 newPos = ioContext->pos_ + offset; in IoSeek()
544 whence, offset, newPos); in IoSeek()
548 newPos = ioContext->end_ + offset; in IoSeek()
556 ioContext->pos_ = newPos; in IoSeek()
558 …IA_LOG_DD("current offset: " PUBLIC_LOG_D64 ", new pos: " PUBLIC_LOG_U64, ioContext->pos_, newPos); in IoSeek()
559 return newPos; in IoSeek()
/foundation/multimedia/histreamer/engine/plugin/plugins/ffmpeg_adapter/demuxer/
Dffmpeg_demuxer_plugin.cpp569 uint64_t newPos = 0; in AVSeek() local
572 newPos = static_cast<uint64_t>(offset); in AVSeek()
573 ioContext->offset = newPos; in AVSeek()
575 PRIu64, whence, offset, newPos); in AVSeek()
578 newPos = ioContext->offset + offset; in AVSeek()
580 PRIu64, whence, offset, newPos); in AVSeek()
586 newPos = mediaDataSize + offset; in AVSeek()
597 ioContext->offset = newPos; in AVSeek()
600 ioContext->offset, newPos); in AVSeek()
601 return newPos; in AVSeek()
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/
Dnnrt_utils.h126 int32_t newPos = c * (height * width) * batch + j * batch + n; in TransposeTensor() local
128 *(transposeTensor + newPos) = *(tensorData + orgPos); in TransposeTensor()
/foundation/multimedia/av_codec/services/engine/plugin/plugins/muxer/ffmpeg_muxer/
Dffmpeg_muxer_plugin.cpp450 uint64_t newPos = 0; in IoSeek() local
453 newPos = static_cast<uint64_t>(offset); in IoSeek()
454 ioContext->pos_ = newPos; in IoSeek()
457 newPos = ioContext->pos_ + offset; in IoSeek()
461 newPos = ioContext->end_ + offset; in IoSeek()
467 ioContext->pos_ = newPos; in IoSeek()
469 return newPos; in IoSeek()
/foundation/multimedia/av_codec/services/engine/source/
Dsource.cpp571 uint64_t newPos = 0; in AVSeek() local
574 newPos = static_cast<uint64_t>(offset); in AVSeek()
575 customIOContext->offset = newPos; in AVSeek()
578 newPos = customIOContext->offset + offset; in AVSeek()
585 newPos = mediaDataSize + offset; in AVSeek()
594 customIOContext->offset = newPos; in AVSeek()
596 return newPos; in AVSeek()
/foundation/communication/dhcp/services/dhcp_server/src/
Dhash_table.c381 size_t newPos = Hash(table, node->key); in HashRehash() local
382 node->next = table->nodes[newPos]; in HashRehash()
383 table->nodes[newPos] = node; in HashRehash()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
Drosen_render_context.cpp1340 auto newPos = centerPos - OffsetF(centOffset.GetX() * scale[0], centOffset.GetY() * scale[1]); in GetPaintRectWithTransform() local
1341 newPos = newPos + OffsetF(translate[0], translate[1]); in GetPaintRectWithTransform()
1342 rect.SetOffset(newPos); in GetPaintRectWithTransform()