| /base/update/updater/services/ui/driver/ |
| D | ui_rotation.cpp | 39 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 …]
|
| D | graphic_engine.cpp | 49 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 …]
|
| D | ui_rotation.h | 47 int width_ {};
|
| D | graphic_engine.h | 51 uint16_t width_ = 0; variable
|
| /base/print/print_fwk/frameworks/models/print_models/src/ |
| D | print_page_size.cpp | 26 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/ |
| D | charger_graphic_engine.cpp | 49 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/ |
| D | sec_comp_info.h | 97 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/ |
| D | coordination_hotarea.cpp | 110 } 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/ |
| D | sec_comp_info_helper.cpp | 41 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()
|
| D | window_info_helper.cpp | 52 …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/ |
| D | sec_comp_manager_test.cpp | 57 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 …]
|
| D | sec_comp_info_helper_test.cpp | 134 .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;
|
| D | sec_comp_entity_test.cpp | 127 entity_->componentInfo_->rect_.width_ = ServiceTestCommon::TEST_DIFF_COORDINATE; 162 entity_->componentInfo_->rect_.width_ = ServiceTestCommon::TEST_COORDINATE;
|
| /base/update/updater/services/ui/view/page/ |
| D | base_page.cpp | 24 : 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()
|
| D | base_page.h | 46 int16_t width_; variable
|
| /base/msdp/device_status/intention/drag/data/src/ |
| D | drag_params.cpp | 168 : 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/ |
| D | charger_graphic_engine.h | 54 uint16_t width_ = 0; variable
|
| /base/msdp/device_status/services/interaction/coordination/include/ |
| D | coordination_hotarea.h | 57 int32_t width_ { 720 };
|
| /base/security/security_component_manager/services/security_component_service/sa/test/mock/include/ |
| D | window_manager.h | 34 uint32_t width_; member
|
| /base/print/print_fwk/frameworks/models/print_models/include/ |
| D | print_page_size.h | 191 uint32_t width_; variable
|
| /base/security/security_component_manager/frameworks/security_component/src/ |
| D | sec_comp_base.cpp | 198 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/ |
| D | input_method_panel.cpp | 294 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/ |
| D | drag_params.h | 133 int32_t width_ { -1 };
|
| /base/security/security_component_manager/interfaces/inner_api/security_component/test/unittest/src/ |
| D | sec_comp_kit_test.cpp | 109 comp.rect_.width_ = TestCommon::TEST_COORDINATE;
|