Home
last modified time | relevance | path

Searched refs:startPos_ (Results 1 - 25 of 29) sorted by relevance

12

/foundation/arkui/ui_lite/interfaces/kits/events/
H A Ddrag_event.h61 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 Dlocal_data_source.cpp194 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 Dlocal_data_source.cpp193 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 Ddownloader.cpp188 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 Ddownloader.h101 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 Ddownloader.cpp218 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 Ddownloader.h83 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 Dui_test_animator.h31 : 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 Dcjson_parser.cpp39 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 Dcjson_parser.h58 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 Dshared_block.h225 return mHeader->startPos_; in GetStartPos()
240 mHeader->startPos_ = startPos; in SetStartPos()
276 uint32_t startPos_; member
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_label.cpp26 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 Dui_canvas.cpp84 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 Dlist_item_group_layout_algorithm.cpp83 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 Dlist_item_group_layout_algorithm.h157 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 Ditem_data_box.h79 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 Dshared_block.h288 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 Ditem_data_box.cpp225 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 Dmpd_parser_def.h65 int64_t startPos_{0};
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/
H A Dwater_flow_layout_info_sw.cpp36 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 Dwater_flow_layout_info_sw.h264 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 Dlocal_data_source.h63 int64_t startPos_{ 0 };
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/include/
H A Dlocal_data_source.h63 int64_t startPos_{ 0 };
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_canvas.h495 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 Dsidx_box_parser.cpp125 subSegIndex->startPos_ = mediaSegOffset; in BuildSubSegmentIndexes()

Completed in 22 milliseconds

12