/foundation/arkui/ui_lite/interfaces/kits/events/ |
H A D | drag_event.h | 61 startPos_.x = newPos.x - totalLen.x; in DragEvent() 62 startPos_.y = newPos.y - totalLen.y; in DragEvent() 94 return startPos_; in GetStartPoint() 131 if (MATH_ABS(curPos_.x - startPos_.x) >= MATH_ABS(curPos_.y - startPos_.y)) { in GetDragDirection() 132 return (curPos_.x > startPos_.x) ? DIRECTION_LEFT_TO_RIGHT : DIRECTION_RIGHT_TO_LEFT; in GetDragDirection() 134 return (curPos_.y > startPos_.y) ? DIRECTION_TOP_TO_BOTTOM : DIRECTION_BOTTOM_TO_TOP; in GetDragDirection() 167 Point startPos_; member in OHOS::DragEvent
|
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/src/ |
H A D | local_data_source.cpp | 194 startPos_ = 0; in ~Cache() 208 if (pos < startPos_ || pos >= nextEndPos_) { in IsMatch() 223 int64_t cachedBytes = endPos_ - startPos_; in IsNeedReqData() 235 if (startPos_ == endPos_) { in IsNeedReqData() 255 startPos_ = pos; in Init() 275 if (pos >= nextEndPos_ || pos < startPos_) { in Read() 276 CLOGE("has no expected data pos:%{public}" PRId64 " startPos_:%{public}" PRId64 " nextEndPos_:%{public}" PRId64, in Read() 277 pos, startPos_, nextEndPos_); in Read() 295 errno_t ret = memcpy_s(data, readBytes, buffer_.get() + (pos - startPos_), readBytes); in Read() 298 " startPos_ in Read() [all...] |
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/local/src/ |
H A D | local_data_source.cpp | 193 startPos_ = 0; in ~Cache() 207 if (pos < startPos_ || pos >= nextEndPos_) { in IsMatch() 222 int64_t cachedBytes = endPos_ - startPos_; in IsNeedReqData() 234 if (startPos_ == endPos_) { in IsNeedReqData() 254 startPos_ = pos; in Init() 274 if (pos >= nextEndPos_ || pos < startPos_) { in Read() 275 CLOGE("has no expected data pos:%{public}" PRId64 " startPos_:%{public}" PRId64 " nextEndPos_:%{public}" PRId64, in Read() 276 pos, startPos_, nextEndPos_); in Read() 294 errno_t ret = memcpy_s(data, readBytes, buffer_.get() + (pos - startPos_), readBytes); in Read() 297 " startPos_ in Read() [all...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/download/ |
H A D | downloader.cpp | 188 startPos_ = startPos; in SetRangePos() 391 currentRequest_->startPos_ = offset; in Seek() 393 size_t temp = currentRequest_->GetFileContentLength() - static_cast<size_t>(currentRequest_->startPos_); in Seek() 494 currentRequest_->startPos_ = 0; in BeginDownload() 497 int64_t temp = currentRequest_->endPos_ - currentRequest_->startPos_ + 1; in BeginDownload() 540 + std::to_string(currentRequest_->startPos_) + ", reqSize: " + std::to_string(currentRequest_->requestSize_)); in RequestData() 541 int64_t startPos = currentRequest_->startPos_; in RequestData() 559 currentRequest_->startPos_ = 0; in RequestData() 610 currentRequest_->startPos_; in HandleRetOK() 612 remaining = currentRequest_->endPos_ - currentRequest_->startPos_ in HandleRetOK() [all...] |
H A D | downloader.h | 101 return url_ == other->url_ && startPos_ == other->startPos_; in IsSame() 133 int64_t startPos_ {0};
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/download/ |
H A D | downloader.cpp | 218 currentRequest_->startPos_ = offset; in Seek() 220 int64_t temp = static_cast<int64_t>(currentRequest_->GetFileContentLength()) - currentRequest_->startPos_; in Seek() 264 currentRequest_->startPos_ = 0; in BeginDownload() 288 long startPos = currentRequest_->startPos_; in HttpDownloadLoop() 312 currentRequest_->startPos_; in HandleRetOK() 314 MEDIA_LOG_I("http transfer reach end, startPos_ " PUBLIC_LOG_D64 " url: " PUBLIC_LOG_S, in HandleRetOK() 315 currentRequest_->startPos_, currentRequest_->url_.c_str()); in HandleRetOK() 364 MEDIA_LOG_I("RxBodyData: dataLen " PUBLIC_LOG_ZU ", startPos_ " PUBLIC_LOG_D64, dataLen, in RxBodyData() 365 mediaDownloader->currentRequest_->startPos_); in RxBodyData() 366 mediaDownloader->currentRequest_->startPos_ in RxBodyData() [all...] |
H A D | downloader.h | 83 return url_ == other->url_ && startPos_ == other->startPos_; in IsSame() 105 int64_t startPos_; member in OHOS::Media::Plugin::HttpPlugin::DownloadRequest
|
/foundation/arkui/ui_lite/test/uitest/test_animator/ |
H A D | ui_test_animator.h | 31 : startPos_(startPos), in ImageEaseAnimatorCallback() 58 int16_t pos = easingFunc_(startPos_, endPos_, animator_->GetRunTime(), animator_->GetTime()); in Callback() 66 int16_t startPos_; member in OHOS::ImageEaseAnimatorCallback
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | cjson_parser.cpp | 39 startPos_(-1), in CJSONParser() 63 startPos_ = reinterpret_cast<uintptr_t>(ram); in Init() 500 if (memset_s(reinterpret_cast<void *>(startPos_), usedOffset_, 0, usedOffset_) != EOK) { in CacheFile() 504 if (memset_s(reinterpret_cast<void *>(startPos_ + usedOffset_), LOCALIZATION_SIZE - usedOffset_, '\0', in CacheFile() 511 uint32_t *index = reinterpret_cast<uint32_t *>(startPos_ + i * sizeof(uint32_t)); in CacheFile() 576 uint32_t *valueIndex = reinterpret_cast<uint32_t *>(startPos_ + index * sizeof(uint32_t)); in PutNumOrStrValue() 582 Node *currentNode = reinterpret_cast<Node *>(startPos_ + (*valueIndex)); in PutNumOrStrValue() 584 currentNode = reinterpret_cast<Node *>(startPos_ + currentNode->nextIndex); in PutNumOrStrValue() 592 Node *node = reinterpret_cast<Node *>(startPos_ + usedOffset_); in PutNumOrStrValue() 612 if (strcpy_s(reinterpret_cast<char *>(startPos_ in CacheStrValue() [all...] |
H A D | cjson_parser.h | 58 void *value = reinterpret_cast<void *>(startPos_); in ~CJSONParser() 238 uintptr_t startPos_; member in OHOS::ACELite::final
|
/foundation/distributeddatamgr/data_share/frameworks/native/common/include/ |
H A D | shared_block.h | 225 return mHeader->startPos_;
in GetStartPos() 240 mHeader->startPos_ = startPos;
in SetStartPos() 276 uint32_t startPos_;
member
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_label.cpp | 26 startPos_(startPos), in LabelAnimator() 41 return startPos_; in GetStartPos() 46 startPos_ = pos; in SetStartPos() 56 offsetX_ = startPos_; in UpdateWidth() 106 int16_t startPos_; member in OHOS::LabelAnimator
|
H A D | ui_canvas.cpp | 84 path_->startPos_ = point; in MoveTo() 109 path_->startPos_ = point; in LineTo() 155 path_->startPos_ = {MATH_ROUND(center.x + sinma), MATH_ROUND(center.y - cosma)}; in ArcTo() 241 path_->points_.PushBack(path_->startPos_); in ClosePath()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_group_layout_algorithm.cpp | 83 if (Negative(spaceWidth_) || GreatOrEqual(spaceWidth_, endPos_ - startPos_)) { in Measure() 89 if (GreatOrEqual(dividerSpace.value(), endPos_ - startPos_)) { in Measure() 352 if (LessNotEqual(totalMainSize_ - footerMainSize_, startPos_ - referencePos_)) { in NeedMeasureItem() 376 if (LessNotEqual(totalMainSize_ - footerMainSize_, startPos_ - (referencePos_ - totalMainSize_))) { in NeedMeasureItem() 437 prevStartPos_ = startPos_; in MeasureListItem() 447 startPos_ = -Infinity<float>(); in MeasureListItem() 532 float delta = (startPos_ + endPos_) / 2 - refPos; in GetItemGroupPosition() 538 float top = startPos_ + contentStartOffset_; in GetItemGroupPosition() 606 auto startPos = (startPos_ + endPos_ - mainLen) / 2; // 2:average in MeasureALineCenter() 737 while (GreatOrEqual(currentStartPos, startPos_)) { in MeasureJumpToItemBackward() [all...] |
H A D | list_item_group_layout_algorithm.h | 157 startPos_ = startPos; in SetListMainSize() 467 float startPos_ = 0.0f; member in OHOS::Ace::NG::ListItemGroupLayoutAlgorithm
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/heif_parser/box/ |
H A D | item_data_box.h | 79 mutable size_t startPos_ = 0; member in OHOS::ImagePlugin::HeifIlocBox 112 std::streampos startPos_; member in OHOS::ImagePlugin::HeifIdatBox
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/appdatafwk/include/ |
H A D | shared_block.h | 288 return mHeader->startPos_;
in GetStartPos() 312 mHeader->startPos_ = startPos;
in SetStartPos() 353 uint32_t startPos_;
member
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/ |
H A D | item_data_box.cpp | 225 startPos_ = writer.GetPos(); 311 writer.SetPos(startPos_); 352 startPos_ = reader.GetStream()->Tell(); 376 if (start > (uint64_t) startPos_ + GetBoxSize()) { 382 stream->Seek(startPos_ + (std::streampos) start);
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/include/mpd_parser/ |
H A D | mpd_parser_def.h | 65 int64_t startPos_{0};
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/ |
H A D | water_flow_layout_info_sw.cpp | 36 startPos_ = StartPos(); in Sync() 39 itemStart_ = startIndex_ == 0 && NonNegative(startPos_ - TopMargin()); in Sync() 45 maxHeight_ = std::max(endPos_ - startPos_ + footerHeight_, maxHeight_); in Sync() 61 totalOffset_ = startPos_ - TopMargin(); in CalibrateOffset() 206 return startPos_;
|
H A D | water_flow_layout_info_sw.h | 264 float startPos_ = 0.0f; member in OHOS::Ace::NG::WaterFlowLayoutInfoSW
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/local/include/ |
H A D | local_data_source.h | 63 int64_t startPos_{ 0 };
|
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/include/ |
H A D | local_data_source.h | 63 int64_t startPos_{ 0 };
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_canvas.h | 495 UICanvasPath() : startPos_({ 0, 0 }), strokeCount_(0) {}; in UICanvasPath() 500 Point startPos_; member in OHOS::UICanvas::UICanvasPath
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/mpd_parser/ |
H A D | sidx_box_parser.cpp | 125 subSegIndex->startPos_ = mediaSegOffset; in BuildSubSegmentIndexes()
|