Home
last modified time | relevance | path

Searched refs:height_ (Results 1 – 25 of 28) sorted by relevance

12

/base/print/print_fwk/frameworks/models/print_models/src/
Dprint_page_size.cpp26 PrintPageSize::PrintPageSize() : id_(""), name_("PrintPageSize"), width_(0), height_(0) {} in PrintPageSize()
33 height_ = height; in PrintPageSize()
54 height_ = right.height_; in PrintPageSize()
63 height_ = right.height_; in operator =()
97 height_ = height; in SetHeight()
117 return height_; in GetHeight()
149 PRINT_HILOGD("height_ = %{public}d", height_); in Dump()
/base/update/updater/services/ui/driver/
Dgraphic_engine.cpp49 sfDev_->GetScreenSize(width_, height_); in Init()
55 …LOG(INFO) << "GraphicEngine Init width: " << width_ << ", height: " << height_ << ", bkgColor: " <… in Init()
112 if ((width_ == 0) || (height_ == 0)) { in GetFBBufferInfo()
113 LOG(ERROR) << "input error, width: " << width_ << ", height: " << height_; in GetFBBufferInfo()
116 UiRotation::GetInstance().InitRotation(width_, height_, pixelBytes); in GetFBBufferInfo()
118 height_ = UiRotation::GetInstance().GetHeight(); in GetFBBufferInfo()
119 virAddr_ = std::make_unique<uint8_t[]>(width_ * height_ * pixelBytes); in GetFBBufferInfo()
121 buffInfo_->rect = { 0, 0, static_cast<int16_t>(width_ - 1), static_cast<int16_t>(height_ - 1) }; in GetFBBufferInfo()
128 buffInfo_->height = height_; in GetFBBufferInfo()
151 return height_; in GetScreenHeight()
Dui_rotation.cpp37 offsetX_ = height_ - 1; in InitRotation()
40 newRowBytes_ = height_ * pixelBytes_; in InitRotation()
46 offsetY_ = height_ - 1; in InitRotation()
56 newRowBytes_ = height_ * pixelBytes_; in InitRotation()
80 return height_; in GetHeight()
87 height_ = realHeight; in RotateWidthHeight()
90 height_ = realWidth; in RotateWidthHeight()
Dui_rotation.h48 int height_ {};
Dgraphic_engine.h50 uint16_t height_ = 0; variable
/base/powermgr/battery_manager/charger/src/
Dcharger_graphic_engine.cpp49 sfDev_->GetScreenSize(width_, height_); in Init()
113 if ((width_ == 0) || (height_ == 0)) { in GetFBBufferInfo()
114 …RY_HILOGE(FEATURE_CHARGING, "input error, width: %{public}d, height: %{public}d", width_, height_); in GetFBBufferInfo()
117 virAddr_ = std::make_unique<uint8_t[]>(width_ * height_ * pixelBytes); in GetFBBufferInfo()
119 buffInfo_->rect = {0, 0, static_cast<int16_t>(width_ - 1), static_cast<int16_t>(height_ - 1)}; in GetFBBufferInfo()
126 buffInfo_->height = height_; in GetFBBufferInfo()
147 return height_; in GetScreenHeight()
/base/security/security_component_manager/interfaces/inner_api/security_component/include/
Dsec_comp_info.h98 GreatOrEqual(y, y_) && GreatOrEqual((y_ + height_), y)); in IsInRect()
104 (IsEqual(width_, other.width_)) && (IsEqual(height_, other.height_));
110 DimensionT height_ = 0.0; variable
/base/msdp/device_status/services/interaction/coordination/src/
Dcoordination_hotarea.cpp108 displayY_ <= (height_ - HOT_AREA_MARGIN)) { in CheckInHotArea()
111 displayY_ <= (height_ - HOT_AREA_MARGIN)) { in CheckInHotArea()
116 } else if (displayY_ >= (height_ - HOT_AREA_WIDTH) && displayX_ >= HOT_AREA_MARGIN && in CheckInHotArea()
134 isEdge_ = displayY_ >= (height_ - 1) && deltaY_ > 0; in CheckPointerToEdge()
163 height_ = screenHight; in SetHeight()
/base/security/security_component_manager/services/security_component_service/sa/sa_main/
Dsec_comp_info_helper.cpp42 comp->rect_.height_ *= scale; in AdjustSecCompRect()
47 comp->rect_.x_, comp->rect_.y_, comp->rect_.width_, comp->rect_.height_); in AdjustSecCompRect()
107 if (GreatOrEqual(0.0, rect.width_) || GreatOrEqual(0.0, rect.height_)) { in CheckRectValid()
119 GreatOrEqual((rect.y_ + rect.height_), curScreenHeight)) { in CheckRectValid()
125 …GreatNotEqual(rect.width_, windowRect.width_) || GreatNotEqual(rect.height_, windowRect.height_)) { in CheckRectValid()
131 …if (GreatOrEqual((rect.width_ * rect.height_), (curScreenWidth * curScreenHeight * MAX_RECT_PERCEN… in CheckRectValid()
Dwindow_info_helper.cpp56 …if ((secRect.y_ + secRect.height_ <= windRect.posY_) || (secRect.y_ >= windRect.posY_ + windRect.h… in IsRectInWindRect()
88 info->windowRect_.height_ *= info->scaleVal_; in CheckOtherWindowCoverComp()
/base/inputmethod/imf/test/common/src/
Dtext_listener.cpp33 uint32_t TextListener::height_ = 0; member in OHOS::MiscServices::TextListener
147 height_ = height; in NotifyKeyboardHeight()
166 height_ = 0; in ResetParam()
187 … textListenerCv_.wait_for(lock, std::chrono::seconds(1), [height]() { return height_ == height; }); in WaitNotifyKeyboardHeightCallback()
188 return height_ == height; in WaitNotifyKeyboardHeightCallback()
/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/
Dsec_comp_manager_test.cpp58 button.rect_.height_ = ServiceTestCommon::TEST_COORDINATE; in BuildInvalidLocationComponent()
62 button.windowRect_.height_ = ServiceTestCommon::TEST_COORDINATE; in BuildInvalidLocationComponent()
87 button.rect_.height_ = ServiceTestCommon::TEST_COORDINATE; in BuildValidLocationComponent()
91 button.windowRect_.height_ = ServiceTestCommon::TEST_COORDINATE; in BuildValidLocationComponent()
144 compPtr->rect_.height_ = ServiceTestCommon::TEST_COORDINATE;
154 compPtrNew->rect_.height_ = ServiceTestCommon::TEST_COORDINATE;
193 compPtr->rect_.height_ = ServiceTestCommon::TEST_COORDINATE;
221 compPtr->rect_.height_ = ServiceTestCommon::TEST_COORDINATE;
246 compPtr->rect_.height_ = ServiceTestCommon::TEST_COORDINATE;
274 compPtr->rect_.height_ = ServiceTestCommon::TEST_COORDINATE;
[all …]
Dsec_comp_info_helper_test.cpp135 .height_ = g_testHeight in GetDefaultRect()
169 rect.height_ = g_curScreenHeight;
172 rect.height_ = g_testHeight;
207 windowRect.height_ = g_testHeight - 1;
209 windowRect.height_ = g_testHeight;
215 windowRect.height_ = ServiceTestCommon::TEST_INVALID_DIMENSION;
217 windowRect.height_ = g_testHeight;
Dsec_comp_entity_test.cpp128 entity_->componentInfo_->rect_.height_ = ServiceTestCommon::TEST_DIFF_COORDINATE;
163 entity_->componentInfo_->rect_.height_ = ServiceTestCommon::TEST_COORDINATE;
/base/update/updater/services/ui/view/page/
Dbase_page.cpp24 : width_ {}, height_ {}, root_ {std::make_unique<OHOS::UIViewGroup>()}, in BasePage()
30 : width_ {width}, height_ {height}, root_ {std::make_unique<OHOS::UIViewGroup>()}, in BasePage()
62 root_->SetPosition(0, 0, width_, height_); in BuildPage()
Dbase_page.h47 int16_t height_; variable
/base/msdp/device_status/intention/drag/data/src/
Ddrag_params.cpp168 : offsetX_(offsetX), offsetY_(offsetY), width_(width), height_(height) in GetShadowOffsetReply()
177 parcel.WriteInt32(height_) in Marshalling()
187 parcel.ReadInt32(height_) in Unmarshalling()
/base/powermgr/battery_manager/charger/include/
Dcharger_graphic_engine.h53 uint16_t height_ = 0; variable
/base/msdp/device_status/services/interaction/coordination/include/
Dcoordination_hotarea.h58 int32_t height_ { 1280 };
/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/
Dwindow_manager.h35 uint32_t height_; member
/base/inputmethod/imf/test/common/include/
Dtext_listener.h67 static uint32_t height_; variable
/base/print/print_fwk/frameworks/models/print_models/include/
Dprint_page_size.h192 uint32_t height_; variable
/base/security/security_component_manager/frameworks/security_component/src/
Dsec_comp_base.cpp202 if (!ParseDimension(jsonSize, JsonTagConstants::JSON_RECT_HEIGHT, rect.height_)) { in ParseRect()
271 {JsonTagConstants::JSON_RECT_HEIGHT, rect_.height_} in ToJson()
277 {JsonTagConstants::JSON_RECT_HEIGHT, windowRect_.height_} in ToJson()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
Dinput_method_panel.cpp294 rect.width_, rect.height_); in PanelStatusChange()
296 …>PanelStatusChange(status, { std::move(name), rect.posX_, rect.posY_, rect.width_, rect.height_ }); in PanelStatusChange()
/base/msdp/device_status/intention/drag/data/include/
Ddrag_params.h134 int32_t height_ { -1 };

12