Home
last modified time | relevance | path

Searched refs:height_ (Results 1 - 25 of 709) sorted by relevance

12345678910>>...29

/foundation/arkui/ace_engine/frameworks/base/geometry/ng/
H A Dsize_t.h35 SizeT(T width, T height) : width_(width), height_(height) {} in SizeT()
41 height_ = crossSize; in SizeT()
44 height_ = mainSize; in SizeT()
51 height_ = 0; in Reset()
61 return height_; in Height()
66 return axis == Axis::HORIZONTAL ? width_ : height_; in MainSize()
71 return axis == Axis::HORIZONTAL ? height_ : width_; in CrossSize()
81 height_ = height; in SetHeight()
86 axis == Axis::HORIZONTAL ? width_ = mainSize : height_ = mainSize; in SetMainSize()
91 axis == Axis::HORIZONTAL ? height_ in SetCrossSize() local
[all...]
H A Drect_t.h60 height_ = 0; in Reset()
68 height_ = height; in SetRect()
82 height_ *= scale; in ApplyScale()
90 height_ = round(height_ * scale); in ApplyScaleAndRound()
100 return GreatNotEqual(height_, 0) ? y_ : y_ + height_; in Top()
110 return GreatNotEqual(height_, 0) ? y_ + height_ : y_; in Bottom()
130 return height_; in Height()
384 ss << height_; ToString() local
451 T height_ = 0; global() member in OHOS::Ace::NG::RectT
[all...]
/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Dsize.h33 Size(double width, double height) : width_(width), height_(height) {} in Size()
57 return height_; in Height()
67 height_ = height; in SetHeight()
73 height_ = size.Height(); in SetSize()
83 return NearEqual(height_, INFINITE_SIZE); in IsHeightInfinite()
88 return NearEqual(width_, INFINITE_SIZE) || NearEqual(height_, INFINITE_SIZE); in IsInfinite()
93 return NearEqual(width_, 0.0) || NearEqual(height_, 0.0); in IsEmpty()
98 height_ += height; in AddHeight()
110 height_ -= height; in MinusHeight()
122 return width_ > 0.0 && height_ > 0. in IsValid()
226 ss << height_; ToString() local
235 double height_ = 0.0; global() member in OHOS::Ace::Size
[all...]
H A Drect.h48 height_ = height; in SetRect()
62 height_ *= scale; in ApplyScale()
70 height_ = round(height_ * scale.Height()); in ApplyScaleAndRound()
80 return GreatNotEqual(height_, 0.0) ? y_ : y_ + height_; in Top()
90 return GreatNotEqual(height_, 0.0) ? y_ + height_ : y_; in Bottom()
100 return height_; in Height()
106 height_ in SetSize()
377 ss << height_; ToString() local
413 double height_ = 0.0; global() member in OHOS::Ace::Rect
[all...]
H A Ddimension_rect.h35 : width_(width), height_(height), offset_(offset) in DimensionRect()
38 DimensionRect(const Dimension& width, const Dimension& height) : width_(width), height_(height) {} in DimensionRect()
47 return height_; in GetHeight()
63 height_ = size.Height(); in SetSize()
73 height_ = height; in SetHeight()
79 height_ = 0.0_vp; in Reset()
91 ss << height_.ToString(); in ToString()
103 jsonValue->Put("height", height_.ToString().c_str()); in ToJsonString()
109 Dimension height_ = 0.0_vp; member in OHOS::Ace::DimensionRect
H A Ddimension_size.h34 DimensionSize(const Dimension& width, const Dimension& height) : width_(width), height_(height) {} in DimensionSize()
43 return height_; in Height()
53 height_ = height; in SetHeight()
59 height_ = size.Height(); in SetSize()
81 if (NearEqual(height_.Value(), INFINITE_SIZE)) { in ToString()
84 ss << height_.ToString(); in ToString()
93 Dimension height_ = 0.0_vp; member in OHOS::Ace::DimensionSize
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/
H A Dsize.h49 scalar height_; member in OHOS::Rosen::Drawing::SizeF
52 inline SizeF::SizeF() noexcept : width_(0.0), height_(0.0) {}
54 inline SizeF::SizeF(const SizeF& s) noexcept : width_(s.Width()), height_(s.Height()) {} in height_() function
56 inline SizeF::SizeF(scalar w, scalar h) noexcept : width_(w), height_(h) {} in height_() function
62 return width_ == 0 && height_ == 0; in IsZero()
67 return width_ <= 0 || height_ <= 0; in IsEmpty()
77 return height_; in Height()
87 height_ = h; in SetHeight()
92 return s1.width_ == s2.width_ && s1.height_ == s2.height_; in operator ==()
121 int height_; global() member in OHOS::Rosen::Drawing::SizeI
126 inline SizeI::SizeI(const SizeI& s) noexcept : width_(s.Width()), height_(s.Height()) {} height_() function
128 inline SizeI::SizeI(int w, int h) noexcept : width_(w), height_(h) {} height_() function
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/qrcode/
H A Drender_qrcode.cpp50 height_ = NormalizePercentToPx(qrcode_->GetQrcodeHeight(), true); in PerformLayout()
54 height_ = width_; in PerformLayout()
56 width_ = height_; in PerformLayout()
58 if (LessOrEqual(width_, height_)) { in PerformLayout()
59 height_ = width_; in PerformLayout()
61 width_ = height_; in PerformLayout()
71 height_ = 0.0; in PerformLayout()
74 height_ = maxSize.Height(); in PerformLayout()
75 if (LessOrEqual(width_, height_)) { in PerformLayout()
76 height_ in PerformLayout()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_layout_algorithm.cpp67 float height_ = selfIdealHeight.value_or(strokeWidth_); in MeasureContent() local
73 height_ = width_; in MeasureContent()
76 height_ = std::min(width_, height_); in MeasureContent()
78 width_ = height_; in MeasureContent()
85 height_ = contentConstraint.parentIdealSize.Height().value_or(GetChildHeight(layoutWrapper, width_)); in MeasureContent()
88 if (width_ >= height_) { in MeasureContent()
89 height_ = std::min(height_, strokeWidth_); in MeasureContent()
94 return SizeF(width_, height_); in MeasureContent()
117 float height_ = strokeWidth_ * 2.0f; MeasureContentForApiNine() local
[all...]
/foundation/window/window_manager/test/systemtest/wms/
H A Dwindow_test_utils.cpp151 uint32_t defaultH = std::max(static_cast<uint32_t>(displayRect_.height_ * ratio), in GetDefaultFloatingRect()
155 if (defaultW <= limitDisplayRect_.width_ && defaultH <= limitDisplayRect_.height_) { in GetDefaultFloatingRect()
157 resRect.posY_ = limitDisplayRect_.posY_ + static_cast<int32_t>((limitDisplayRect_.height_ - defaultH) / half); in GetDefaultFloatingRect()
172 std::min(std::max(rect.posY_, maxPosRemain), static_cast<int32_t>(displayRect_.height_) - maxPosRemain), in CalcLimitedRect()
174 std::min(std::max(minFloatingH, rect.height_), maxLimitLen), in CalcLimitedRect()
187 std::max(minFloatingH, rect.height_), in GetFloatingLimitedRect()
201 resRect.height_ = rect.height_ + winTitleBarH + winFrameW; in GetDecorateRect()
211 if (displayRect_.width_ < displayRect_.height_) { in InitByDisplayRect()
214 statusBarRect_ = {0, 0, displayRect_.width_, displayRect_.height_ * barRati in InitByDisplayRect()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/
H A Dshape_view_box.h46 return height_; in Height()
66 height_ = height; in SetHeight()
70 return width_.Value() > 0.0 && height_.Value() > 0.0; in IsValid()
78 height_ = shapeViewBox.height_; in operator =()
85 (height_ == shapeViewBox.height_); in operator ==()
91 (height_ != shapeViewBox.height_); in operator !=()
98 Dimension height_ member in OHOS::Ace::NG::final
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/screen_manager/
H A Drs_virtual_screen_resolution.cpp21 : width_(width), height_(height) in RSVirtualScreenResolution()
26 : width_(other.width_), height_(other.height_) in RSVirtualScreenResolution()
33 height_ = other.height_; in operator =()
39 return parcel.WriteUint32(width_) && parcel.WriteUint32(height_); in Marshalling()
61 return height_; in GetVirtualScreenHeight()
71 height_ = height; in SetVirtualScreenHeight()
H A Drs_screen_mode_info.cpp21 : width_(width), height_(height), refreshRate_(refreshRate), modeId_(id) in RSScreenModeInfo()
26 height_(other.height_), refreshRate_(other.refreshRate_), modeId_(other.modeId_) in RSScreenModeInfo()
33 height_ = other.height_; in operator =()
41 return parcel.WriteInt32(width_) && parcel.WriteInt32(height_) && in Marshalling()
67 return height_; in GetScreenHeight()
87 height_ = height; in SetScreenHeight()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_layout_element.cpp49 width_ = height_ = property->GetIconSize().value().ConvertToPx(); in Init()
51 width_ = height_ = theme->GetIconSize().ConvertToPx(); in Init()
62 iconConstraint.selfIdealSize.SetHeight(height_); in DoMeasure()
73 height_ = width_ = minIconSize_; in ShrinkWidth()
78 height_ = width_; in ShrinkWidth()
87 if (GreatNotEqual(minIconSize_, (height_ - reduceSize))) { in ShrinkHeight()
88 double remain = reduceSize - (height_ - minIconSize_); in ShrinkHeight()
89 width_ = height_ = minIconSize_; in ShrinkHeight()
92 height_ -= reduceSize; in ShrinkHeight()
93 width_ = height_; in ShrinkHeight()
[all...]
/foundation/window/window_manager/wmserver/src/
H A Dwindow_layout_policy_cascade.cpp90 node->GetWindowId(), rect.posX_, rect.posY_, rect.width_, rect.height_); in Reorder()
175 requestRect.posX_, requestRect.posY_, requestRect.width_, requestRect.height_); in PerformWindowLayout()
218 if (rect.width_ < rect.height_) { in LimitDividerInDisplayRegion()
228 } else if (rect.posY_ + static_cast<int32_t>(rect.height_) > in LimitDividerInDisplayRegion()
229 limitRect.posY_ + static_cast<int32_t>(limitRect.height_)) { in LimitDividerInDisplayRegion()
230 rect.posY_ = limitRect.posY_ + static_cast<int32_t>(limitRect.height_ - rect.height_); in LimitDividerInDisplayRegion()
234 rect.posX_, rect.posY_, rect.width_, rect.height_); in LimitDividerInDisplayRegion()
261 uint32_t defaultH = std::max(static_cast<uint32_t>(displayRect.height_ * ratio), in InitCascadeRect()
267 if (defaultW <= limitRect.width_ && defaultH <= limitRect.height_) { in InitCascadeRect()
[all...]
/foundation/window/window_manager/dmserver/src/
H A Dabstract_display.cpp41 height_ = static_cast<int32_t>(info->height_); in AbstractDisplay()
46 if (width_ > height_) { in AbstractDisplay()
51 if (info->width_ < info->height_) { in AbstractDisplay()
67 if ((info->width_ >= PHONE_SCREEN_WIDTH) || (info->height_ >= PHONE_SCREEN_WIDTH)) { in AbstractDisplay()
68 if ((info->width_ == PAD_SCREEN_WIDTH) || (info->height_ == PAD_SCREEN_WIDTH)) { in AbstractDisplay()
88 yDpi_ = height_ * INCH_2_MM / phyHeight_; in CalculateXYDpi()
103 return height_; in GetHeight()
144 height_ = height; in SetHeight()
158 yDpi_ = height_ * INCH_2_M in UpdateYDpi()
[all...]
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Dmeasurable.h60 return height_; in GetHeight()
65 height_ = AnimatableDimension(dimension, option); in SetHeight()
70 height_ = AnimatableDimension(dimension, option); in SetHeight()
75 height_ = AnimatableDimension(height, unit); in SetHeight()
80 height_ = AnimatableDimension(height, unit); in SetHeight()
85 height_ = dimension; in SetHeight()
90 AnimatableDimension height_ {-1.0, DimensionUnit::PX};
/foundation/multimedia/av_codec/test/unittest/codeclist_test/coverage_unit_test/
H A Davcodec_info_coverage_unit_test.cpp62 int32_t height_; member in __anon10435::AVCodecInfoTest
80 height_ = DEFAULT_HEIGHT; in SetUp()
99 height_ = 720; in HWTEST_F()
100 bool ret = videoCaps_->IsSizeSupported(width_, height_); in HWTEST_F()
111 bool ret = videoCaps_->IsSizeSupported(width_, height_); in HWTEST_F()
122 bool ret = videoCaps_->IsSizeSupported(width_, height_); in HWTEST_F()
133 bool ret = videoCaps_->IsSizeSupported(width_, height_); in HWTEST_F()
144 bool ret = videoCaps_->IsSizeSupported(width_, height_); in HWTEST_F()
155 bool ret = videoCaps_->IsSizeSupported(width_, height_); in HWTEST_F()
166 height_ in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/interfaces/inner_api/ace/
H A Dviewport_config.h27 : width_(width), height_(height), density_(density) in ViewportConfig()
34 height_ = height; in SetSize()
50 return height_; in Height()
96 height_ == other.Height() && in operator ==()
112 config.append(" size: (" + std::to_string(width_) + ", " + std::to_string(height_) + ")"); in ToString()
122 int32_t height_ = 0; member in OHOS::Ace::ViewportConfig
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcamerainterface/
H A Dicamera_source_data_process.h31 : width_(width), height_(height), format_(format), dataspace_(dataspace), encodeType_(encodeType), in DCameraStreamConfig()
36 int32_t height_; member in OHOS::DistributedHardware::DCameraStreamConfig
44 return this->width_ == others.width_ && this->height_ == others.height_ && this->format_ == others.format_ && in operator ==()
51 return (this->width_ < others.width_) || ((this->width_ == others.width_) && (this->height_ < others.height_)); in operator <()
/foundation/arkui/ui_lite/frameworks/render/
H A Drender_buffer.h36 RenderBuffer() : renBuf_(0), start_(0), width_(0), height_(0), bufStride_(0) {} in RenderBuffer()
49 height_(0), in RenderBuffer()
67 height_ = areaHeight; in Attach()
95 return height_; in GetHeight()
131 uint32_t height_; // Area height. member in OHOS::RenderBuffer
/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/
H A Drender_texture.h33 height_ = h; in RenderTexture()
45 return height_; in Height()
66 name_ = GLUtils::CreateTexture2D(width_, height_, 1, internalFormat_, GL_LINEAR, GL_LINEAR,
78 height_ = 0;
86 GLsizei height_{ 0 };
/foundation/multimedia/image_effect/frameworks/native/render_environment/core/
H A Drender_viewport.h26 RenderViewport() : leftBottomX_(0), leftBottomY_(0), width_(0), height_(0) {} in RenderViewport()
29 : leftBottomX_(leftBottomX), leftBottomY_(leftBottomY), width_(width), height_(height) in RenderViewport()
38 height_ = height; in Set()
43 int height_; member in OHOS::Media::Effect::RenderViewport
/foundation/window/window_manager/utils/src/
H A Dcutout_info.cpp30 parcel.WriteUint32(waterfallDisplayAreaRects_.left.height_) && in Marshalling()
34 parcel.WriteUint32(waterfallDisplayAreaRects_.top.height_) && in Marshalling()
38 parcel.WriteUint32(waterfallDisplayAreaRects_.right.height_) && in Marshalling()
42 parcel.WriteUint32(waterfallDisplayAreaRects_.bottom.height_) && in Marshalling()
67 parcel.WriteUint32(rect.width_) && parcel.WriteUint32(rect.height_))) { in WriteBoundingRectsVector()
103 parcel.ReadUint32(waterfallDisplayAreaRects.left.height_) && in ReadWaterfallDisplayAreaRects()
107 parcel.ReadUint32(waterfallDisplayAreaRects.top.height_) && in ReadWaterfallDisplayAreaRects()
111 parcel.ReadUint32(waterfallDisplayAreaRects.right.height_) && in ReadWaterfallDisplayAreaRects()
115 parcel.ReadUint32(waterfallDisplayAreaRects.bottom.height_))) { in ReadWaterfallDisplayAreaRects()
/foundation/multimedia/image_effect/frameworks/native/utils/format/
H A Dformat_helper.cpp132 if (srcBuffInfo.width_ != dstBuffInfo.width_ || srcBuffInfo.height_ != dstBuffInfo.height_) { in CheckConverterInfo()
134 srcBuffInfo.width_, srcBuffInfo.height_, dstBuffInfo.width_, dstBuffInfo.height_); in CheckConverterInfo()
139 srcBuffInfo.width_, srcBuffInfo.height_, srcBuffInfo.formatType_, srcBuffInfo.len_, srcBuffInfo.rowStride_, in CheckConverterInfo()
140 dstBuffInfo.width_, dstBuffInfo.height_, dstBuffInfo.formatType_, dstBuffInfo.len_, dstBuffInfo.rowStride_); in CheckConverterInfo()
144 uint32_t minSrcLen = FormatHelper::CalculateSize(srcBuffInfo.width_, srcBuffInfo.height_, srcBuffInfo.formatType_); in CheckConverterInfo()
145 uint32_t minDstLen = FormatHelper::CalculateSize(dstBuffInfo.width_, dstBuffInfo.height_, dstBuffInfo.formatType_); in CheckConverterInfo()
150 srcBuffInfo.width_, srcBuffInfo.height_, srcBuffInfo.formatType_, srcBuffInfo.len_, srcBuffInfo.rowStride_, in CheckConverterInfo()
151 dstBuffInfo.width_, dstBuffInfo.height_, dstBuffInf in CheckConverterInfo()
[all...]

Completed in 11 milliseconds

12345678910>>...29