Home
last modified time | relevance | path

Searched refs:offset_ (Results 1 - 25 of 148) sorted by relevance

123456

/foundation/graphic/graphic_2d/rosen/modules/frame_analyzer/export/
H A Dring_queue.h61 : ptr_(ptr), offset_(offset) in Iter()
68 offset_ = (offset_ + 1) % realcap; in operator ++()
77 offset_ = (offset_ + 1) % realcap; in operator ++()
84 return (*ptr_)[offset_]; in operator *()
89 return &(*ptr_)[offset_]; in operator ->()
94 return offset_ == rhs.offset_; in operator ==()
99 return offset_ ! in operator !=()
104 int offset_; global() member in OHOS::Rosen::RingQueue::Iter
153 int offset_; global() member in OHOS::Rosen::RingQueue::RevertIter
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_v2/grid_layout/
H A Dgrid_col_component.h39 offset_ = offset; in SetOffset()
80 return offset_; in GetOffset()
87 return offset_.xs; in GetOffset()
90 return offset_.sm; in GetOffset()
93 return offset_.md; in GetOffset()
96 return offset_.lg; in GetOffset()
99 return offset_.xl; in GetOffset()
102 return offset_.xxl; in GetOffset()
105 return offset_.xs; in GetOffset()
146 GridContainerSize offset_ member in OHOS::Ace::V2::GridColComponent
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/shadow/
H A Drosen_render_shadow.cpp73 SkRect rect = SkRect::MakeXYWH(offset_.GetX(), offset_.GetY(), rrect_.Width(), rrect_.Height()); in Paint()
76 offset_.GetX(), offset_.GetY() + NormalizeToPx(SHADOW_OFFSET), rrect_.Width(), rrect_.Height()); in Paint()
89 offset_.GetX(), offset_.GetY(), offset_.GetX() + rrect_.Width(), offset_.GetY() + rrect_.Height()); in Paint()
91 rect = RSRect(offset_.GetX(), offset_ in Paint()
[all...]
/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Ddimension_rect.h35 : width_(width), height_(height), offset_(offset) in DimensionRect()
52 return offset_; in GetOffset()
57 offset_ = offset; in SetOffset()
80 offset_ = DimensionOffset(); in Reset()
87 ss << "Rect (" << std::fixed << std::setprecision(precision) << offset_.GetX().ToString() << ", " in ToString()
88 << offset_.GetY().ToString() << ") - ["; in ToString()
100 jsonValue->Put("x", offset_.GetX().ToString().c_str()); in ToJsonString()
101 jsonValue->Put("y", offset_.GetY().ToString().c_str()); in ToJsonString()
110 DimensionOffset offset_; member in OHOS::Ace::DimensionRect
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dshadow.h59 : offset_(offset), color_(spotColor), style_(style) in Shadow()
66 : offset_(offset), color_(spotColor), style_(style) in Shadow()
73 : spreadRadius_(spreadRadius), offset_(offset), color_(spotColor) in Shadow()
82 return color_ == rhs.color_ && NearEqual(blurRadius_, rhs.blurRadius_) && offset_ == rhs.offset_ && in operator ==()
119 offset_ = offset; in SetOffset()
124 return offset_; in GetOffset()
129 offset_.SetX(x); in SetOffsetX()
134 offset_.SetY(y); in SetOffsetY()
237 return blurRadius_ > 0.0 || spreadRadius_ > 0.0 || offset_ ! in IsValid()
251 Offset offset_; global() member in OHOS::Ace::final
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/
H A Ddivider_paint_method.h53 offset_ = paintWrapper->GetContentOffset();
59 auto offsetY = offset_.GetY();
60 offset_.SetY(offsetY - constrainStrokeWidth_ / 2);
64 auto offsetX = offset_.GetX();
65 offset_.SetX(offsetX - constrainStrokeWidth_ / 2);
69 RectF boundsRect(offset_.GetX(), offset_.GetY(), boundsRectWidth, boundsRectHeight);
75 dividerModifier_->SetOffset(offset_);
87 OffsetF offset_; member in OHOS::Ace::NG::DividerPaintMethod
H A Ddivider_modifier.cpp28 offset_ = AceType::MakeRefPtr<PropertyOffsetF>(OffsetF()); in DividerModifier()
36 AttachProperty(offset_); in DividerModifier()
48 dividerPainter.DrawLine(context.canvas, offset_->Get()); in onDraw()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/stream/src/
H A Dbuffer_packer_stream.cpp44 uint32_t leftSize = maxSize_ - offset_; in Write()
47 static_cast<long long>(size + offset_), maxSize_); in Write()
50 if (memcpy_s(outputData_ + offset_, leftSize, buffer, size) != EOK) { in Write()
54 offset_ += size; in Write()
60 return offset_; in BytesWritten()
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dselect_motion.h27 SelectMotion(float offset, CompleteCallbck&& complete) : offset_(offset), complete_(complete) {}; in SelectMotion()
30 return offset_;
54 offset_ = offset; in Reset()
58 float offset_ = 0.0f; member in OHOS::Ace::SelectMotion
/foundation/arkui/ace_engine/frameworks/base/json/
H A Duobject.cpp164 offset_ = 0; in Serialize()
197 offset_ = 0; in Deserialize()
199 while (offset_ < bufferLen) { in Deserialize()
266 offset_++; in WriteChar()
272 if (memcpy_s(buffer_, bufferLen_ - offset_, &value, sizeof(int32_t)) != 0) { in WriteInt32()
276 offset_ += static_cast<int32_t>(sizeof(int32_t)); in WriteInt32()
282 if (memcpy_s(buffer_, bufferLen_ - offset_, &value, sizeof(size_t)) != 0) { in WriteSizeT()
286 offset_ += static_cast<int32_t>(sizeof(size_t)); in WriteSizeT()
292 if (memcpy_s(buffer_, bufferLen_ - offset_, &value, sizeof(int64_t)) != 0) { in WriteInt64()
296 offset_ in WriteInt64()
[all...]
/foundation/multimedia/player_framework/services/utils/include/
H A Davdatasrcmemory.h69 return AVSharedMemoryBase::GetBase() + offset_;
79 offset_ = offset; in SetOffset()
84 return offset_; in GetOffset()
89 uint32_t offset_; member in OHOS::Media::AVDataSrcMemory
/foundation/arkui/ace_engine/frameworks/core/components/focus_animation/
H A Drender_focus_animation.cpp87 offset_ = offset - GetGlobalOffset(); in SetFocusAnimationProperties()
93 if ((offset_.GetX() + rrect.Width()) > layoutSize_.Width() && (offset_.GetX() + rrect.Width()) > 0) { in SetFocusAnimationProperties()
94 layoutSize_.SetWidth(offset_.GetX() + rrect.Width() + NormalizeToPx(blurMaskRadius_) * 2); // 2: two radius in SetFocusAnimationProperties()
97 if ((offset_.GetY() + rrect.Height()) > layoutSize_.Height() && (offset_.GetY() + rrect.Height()) > 0) { in SetFocusAnimationProperties()
98 layoutSize_.SetHeight((offset_.GetY() + rrect.Height()) + NormalizeToPx(blurMaskRadius_) * 2); // 2: two radius in SetFocusAnimationProperties()
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/file_source/
H A Dfile_fd_source_plugin.cpp96 expectedLen = std::min(static_cast<size_t>(size_ + offset_ - position_), expectedLen); in Read()
124 int32_t ret = lseek(fd_, offset + static_cast<uint64_t>(offset_), SEEK_SET); in SeekToPos()
129 position_ = offset + static_cast<uint64_t>(offset_); in SeekToPos()
151 offset_ = std::stoll(fdUriMatch[2].str()); // 2: sub match offset subscript in ParseUriInfo()
152 if (static_cast<uint64_t>(offset_) > fileSize_) { in ParseUriInfo()
153 offset_ = fileSize_; in ParseUriInfo()
156 uint64_t remainingSize = fileSize_ - offset_; in ParseUriInfo()
162 offset_ = 0; in ParseUriInfo()
164 position_ = offset_; in ParseUriInfo()
169 MEDIA_LOG_D("Fd: " PUBLIC_LOG_D32 ", offset: " PUBLIC_LOG_D64 ", size: " PUBLIC_LOG_U64, fd_, offset_, size in ParseUriInfo()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/
H A Dimage_overlay_modifier.h50 CHECK_NULL_VOID(offset_); in SetOffset()
51 offset_->Set(offset); in SetOffset()
57 RefPtr<PropertyOffsetF> offset_; member in OHOS::Ace::NG::ImageOverlayModifier
H A Dimage_overlay_modifier.cpp23 offset_ = AceType::MakeRefPtr<PropertyOffsetF>(OffsetF()); in ImageOverlayModifier()
24 AttachProperty(offset_); in ImageOverlayModifier()
41 auto offset = offset_->Get(); in onDraw()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_label_button.cpp22 UILabelButton::UILabelButton() : labelButtonText_(nullptr), offset_({ 0, 0 }) in UILabelButton()
32 textRect.SetLeft(textRect.GetLeft() + offset_.x); in OnDraw()
33 textRect.SetTop(textRect.GetTop() + offset_.y); in OnDraw()
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_label_button.h122 offset_.x = x; in SetLabelPosition()
123 offset_.y = y; in SetLabelPosition()
135 return offset_; in GetLabelPosition()
309 Point offset_; /* Text draw position offset */ member in OHOS::UILabelButton
/foundation/graphic/graphic_2d/rosen/modules/effect/effectChain/src/
H A Dhorizontal_blur_filter.cpp30 offset_[i] = *(offset.get() + i); in SetValue()
31 LOGD("The current offset is %{public}f.", offset_[i]); in SetValue()
49 glUniform1fv(offsetID_, RADIUS, offset_); in LoadFilterParams()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/
H A Dplaylist_downloader.cpp152 offset_ = std::stoll(fdUriMatch[2].str()); // 2: sub match offset subscript in ParseUriInfo()
153 if (static_cast<uint64_t>(offset_) > fileSize_) { in ParseUriInfo()
154 offset_ = static_cast<int64_t>(fileSize_); in ParseUriInfo()
157 uint64_t remainingSize = fileSize_ - static_cast<uint64_t>(offset_); in ParseUriInfo()
163 offset_ = 0; in ParseUriInfo()
165 position_ = static_cast<uint64_t>(offset_); in ParseUriInfo()
170 MEDIA_LOG_D("Fd: " PUBLIC_LOG_D32 ", offset: " PUBLIC_LOG_D64 ", size: " PUBLIC_LOG_U64, fd_, offset_, size_); in ParseUriInfo()
190 int32_t ret = lseek(fd_, offset + static_cast<uint64_t>(offset_), SEEK_SET); in SeekTo()
195 position_ = offset + static_cast<uint64_t>(offset_); in SeekTo()
/foundation/multimedia/player_framework/services/utils/
H A Duri_helper.cpp118 UriHelper::UriHelper(int32_t fd, int64_t offset, int64_t size) : fd_(dup(fd)), offset_(offset), size_(size) in UriHelper()
188 if (offset_ < 0 || offset_ > fdSize) { in CorrectFdParam()
189 offset_ = 0; in CorrectFdParam()
191 if ((size_ <= 0) || (size_ > fdSize - offset_)) { in CorrectFdParam()
192 size_ = fdSize - offset_; in CorrectFdParam()
195 std::to_string(offset_) + "&size=" + std::to_string(size_); in CorrectFdParam()
244 CHECK_AND_RETURN_RET_LOG(StrToInt(offsetStr, offset_) && delim2 + delim2Len < uri.size(), false, in ParseFdUri()
261 fd_, offset_, size_); in ParseFdUri()
/foundation/multimedia/av_session/frameworks/common/src/
H A Dav_file_descriptor.cpp23 CHECK_AND_RETURN_RET_LOG(out.WriteInt64(offset_), false, "write offset_ failed"); in WriteToParcel()
31 CHECK_AND_RETURN_RET_LOG(in.ReadInt64(offset_), false, "Read offset_ failed"); in ReadFromParcel()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/radio/
H A Dradio_modifier.h63 PaintIndicator(canvas, isCheck_->Get(), size_->Get(), offset_->Get());
65 PaintRadio(canvas, isCheck_->Get(), size_->Get(), offset_->Get());
167 if (offset_) { in SetOffset()
168 offset_->Set(offset); in SetOffset()
227 RefPtr<AnimatablePropertyOffsetF> offset_; member in OHOS::Ace::NG::RadioModifier
/foundation/arkui/ace_engine/test/unittest/base/
H A Duobject_test.cpp141 EXPECT_EQ(uObject.offset_, 0); in HWTEST_F()
144 EXPECT_EQ(uObject.offset_, 136); in HWTEST_F()
148 * @tc.expected: step3. Asserting offset_. in HWTEST_F()
151 EXPECT_EQ(uObject.offset_, 136); in HWTEST_F()
173 EXPECT_EQ(uObject.offset_, 0); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dgrid_property.h37 GridTypedProperty(GridSizeType type, uint32_t span, int32_t offset) : type_(type), span_(span), offset_(offset) {} in GridTypedProperty()
44 return ((span_ == other.span_) && (offset_ == other.offset_)); in operator ==()
49 int32_t offset_ = DEFAULT_GRID_OFFSET; member
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_archive.h125 if ((offset_ + size <= data_.size()) && Utils::Move(data, size, data_.data() + offset_, size)) {
126 offset_ += size;
133 if (Utils::Move(data_.data() + offset_, size, data, size)) {
134 offset_ += size;
140 size_t offset_ = 0; member in OHOS::Rosen::final

Completed in 9 milliseconds

123456