Home
last modified time | relevance | path

Searched refs:width_ (Results 1 – 24 of 24) sorted by relevance

/base/update/updater/services/ui/driver/
Dui_rotation.cpp39 oldRowBytes_ = width_ * pixelBytes_; in InitRotation()
45 offsetX_ = width_ - 1; in InitRotation()
47 oldRowBytes_ = width_ * pixelBytes_; in InitRotation()
48 newRowBytes_ = width_ * pixelBytes_; in InitRotation()
54 offsetY_ = width_ - 1; in InitRotation()
55 oldRowBytes_ = width_ * pixelBytes_; in InitRotation()
63 oldRowBytes_ = width_ * pixelBytes_; in InitRotation()
64 newRowBytes_ = width_ * pixelBytes_; in InitRotation()
75 return width_; in GetWidth()
86 width_ = realWidth; in RotateWidthHeight()
[all …]
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()
117 width_ = UiRotation::GetInstance().GetWidth(); 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()
126 buffInfo_->stride = static_cast<uint32_t>(width_ * pixelBytes); in GetFBBufferInfo()
127 buffInfo_->width = width_; in GetFBBufferInfo()
[all …]
Dui_rotation.h47 int width_ {};
Dgraphic_engine.h51 uint16_t width_ = 0; variable
/base/print/print_fwk/frameworks/models/print_models/src/
Dprint_page_size.cpp26 PrintPageSize::PrintPageSize() : id_(""), name_("PrintPageSize"), width_(0), height_(0) {} in PrintPageSize()
32 width_ = width; in PrintPageSize()
53 width_ = right.width_; in PrintPageSize()
62 width_ = right.width_; in operator =()
92 width_ = width; in SetWidth()
112 return width_; in GetWidth()
148 PRINT_HILOGD("width_ = %{public}d", width_); in Dump()
/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()
124 buffInfo_->stride = static_cast<uint32_t>(width_ * pixelBytes); in GetFBBufferInfo()
125 buffInfo_->width = width_; in GetFBBufferInfo()
142 return width_; in GetScreenWidth()
/base/security/security_component_manager/interfaces/inner_api/security_component/include/
Dsec_comp_info.h97 return (GreatOrEqual(x, x_) && GreatOrEqual((x_ + width_), x) && in IsInRect()
104 (IsEqual(width_, other.width_)) && (IsEqual(height_, other.height_));
109 DimensionT width_ = 0.0; variable
/base/msdp/device_status/services/interaction/coordination/src/
Dcoordination_hotarea.cpp110 } else if (displayX_ >= (width_ - HOT_AREA_WIDTH) && displayY_ >= HOT_AREA_MARGIN && in CheckInHotArea()
114 displayX_ <= (width_ - HOT_AREA_MARGIN)) { in CheckInHotArea()
117 displayX_ <= (width_ - HOT_AREA_MARGIN)) { in CheckInHotArea()
130 isEdge_ = displayX_ >= (width_ - 1) && deltaX_ > 0; in CheckPointerToEdge()
158 width_ = screenWidth; in SetWidth()
/base/security/security_component_manager/services/security_component_service/sa/sa_main/
Dsec_comp_info_helper.cpp41 comp->rect_.width_ *= 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()
118 if (GreatOrEqual((rect.x_ + rect.width_), curScreenWidth) || 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.cpp52 …if ((secRect.x_ + secRect.width_ <= windRect.posX_) || (secRect.x_ >= windRect.posX_ + windRect.wi… in IsRectInWindRect()
87 info->windowRect_.width_ *= info->scaleVal_; in CheckOtherWindowCoverComp()
/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/
Dsec_comp_manager_test.cpp57 button.rect_.width_ = ServiceTestCommon::TEST_COORDINATE; in BuildInvalidLocationComponent()
61 button.windowRect_.width_ = ServiceTestCommon::TEST_COORDINATE; in BuildInvalidLocationComponent()
86 button.rect_.width_ = ServiceTestCommon::TEST_COORDINATE; in BuildValidLocationComponent()
90 button.windowRect_.width_ = ServiceTestCommon::TEST_COORDINATE; in BuildValidLocationComponent()
143 compPtr->rect_.width_ = ServiceTestCommon::TEST_COORDINATE;
153 compPtrNew->rect_.width_ = ServiceTestCommon::TEST_COORDINATE;
192 compPtr->rect_.width_ = ServiceTestCommon::TEST_COORDINATE;
220 compPtr->rect_.width_ = ServiceTestCommon::TEST_COORDINATE;
245 compPtr->rect_.width_ = ServiceTestCommon::TEST_COORDINATE;
273 compPtr->rect_.width_ = ServiceTestCommon::TEST_COORDINATE;
[all …]
Dsec_comp_info_helper_test.cpp134 .width_ = g_testWidth, in GetDefaultRect()
168 rect.width_ = g_curScreenWidth;
171 rect.width_ = g_testWidth;
203 windowRect.width_ = g_testWidth - 1;
205 windowRect.width_ = g_testWidth;
211 windowRect.width_ = ServiceTestCommon::TEST_INVALID_DIMENSION;
213 windowRect.width_ = g_testWidth;
Dsec_comp_entity_test.cpp127 entity_->componentInfo_->rect_.width_ = ServiceTestCommon::TEST_DIFF_COORDINATE;
162 entity_->componentInfo_->rect_.width_ = 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.h46 int16_t width_; variable
/base/msdp/device_status/intention/drag/data/src/
Ddrag_params.cpp168 : offsetX_(offsetX), offsetY_(offsetY), width_(width), height_(height) in GetShadowOffsetReply()
176 parcel.WriteInt32(width_) && in Marshalling()
186 parcel.ReadInt32(width_) && in Unmarshalling()
/base/powermgr/battery_manager/charger/include/
Dcharger_graphic_engine.h54 uint16_t width_ = 0; variable
/base/msdp/device_status/services/interaction/coordination/include/
Dcoordination_hotarea.h57 int32_t width_ { 720 };
/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/
Dwindow_manager.h34 uint32_t width_; member
/base/print/print_fwk/frameworks/models/print_models/include/
Dprint_page_size.h191 uint32_t width_; variable
/base/security/security_component_manager/frameworks/security_component/src/
Dsec_comp_base.cpp198 if (!ParseDimension(jsonSize, JsonTagConstants::JSON_RECT_WIDTH, rect.width_)) { in ParseRect()
270 {JsonTagConstants::JSON_RECT_WIDTH, rect_.width_}, in ToJson()
276 {JsonTagConstants::JSON_RECT_WIDTH, windowRect_.width_}, in ToJson()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
Dinput_method_panel.cpp294 rect.width_, rect.height_); in PanelStatusChange()
296 …imsa->PanelStatusChange(status, { std::move(name), rect.posX_, rect.posY_, rect.width_, rect.heigh… in PanelStatusChange()
/base/msdp/device_status/intention/drag/data/include/
Ddrag_params.h133 int32_t width_ { -1 };
/base/security/security_component_manager/interfaces/inner_api/security_component/test/unittest/src/
Dsec_comp_kit_test.cpp109 comp.rect_.width_ = TestCommon::TEST_COORDINATE;