/base/update/updater/services/ui/driver/ |
H A 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_ in RotateWidthHeight() [all...] |
H A D | graphic_engine.cpp | 57 sfDev_->GetScreenSize(width_, height_, surface); in Init() 64 LOG(INFO) << "GraphicEngine Init width: " << width_ << ", height: " << height_ << ", bkgColor: " << bkgColor_; in Init() 115 (void)memset_s(buffInfo_->virAddr, width_ * height_ * pixelBytes, 0, width_ * height_ * pixelBytes); in FlushThreadLoop() 142 if ((width_ == 0) || (height_ == 0)) { in GetFBBufferInfo() 143 LOG(ERROR) << "input error, width: " << width_ << ", height: " << height_; in GetFBBufferInfo() 146 UiRotation::GetInstance().InitRotation(width_, height_, pixelBytes); in GetFBBufferInfo() 147 width_ = UiRotation::GetInstance().GetWidth(); in GetFBBufferInfo() 149 virAddr_ = std::make_unique<uint8_t[]>(width_ * height_ * pixelBytes); in GetFBBufferInfo() 151 buffInfo_->rect = { 0, 0, static_cast<int16_t>(width_ in GetFBBufferInfo() [all...] |
H A D | ui_rotation.h | 47 int width_ {};
|
H A D | graphic_engine.h | 52 uint16_t width_ = 0; member in Updater::GraphicEngine
|
/base/powermgr/battery_manager/charger/src/ |
H A D | charger_graphic_engine.cpp | 49 sfDev_->GetScreenSize(width_, height_); in Init() 113 if ((width_ == 0) || (height_ == 0)) { in GetFBBufferInfo() 114 BATTERY_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/web/webview/ohos_adapter/media_adapter/src/ |
H A D | codec_format_adapter_impl.cpp | 22 return width_; in GetWidth() 32 width_ = width; in SetWidth()
|
/base/web/webview/ohos_adapter/camera_adapter/src/ |
H A D | format_adapter_impl.cpp | 22 return width_; in GetWidth() 42 width_ = width; in SetWidth()
|
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
H A D | input_method_panel.cpp | 182 resizePanelUnfoldParams_.portraitRect.width_ = width; in SetResizeParams() 185 resizePanelUnfoldParams_.landscapeRect.width_ = width; in SetResizeParams() 192 resizePanelFoldParams_.portraitRect.width_ = width; in SetResizeParams() 195 resizePanelFoldParams_.landscapeRect.width_ = width; in SetResizeParams() 221 params.landscapeRect.width_ = deviceParams.landscapeRect.width_; in Resize() 223 params.portraitRect.width_ = width; in Resize() 227 params.portraitRect.width_ = deviceParams.portraitRect.width_; in Resize() 229 params.landscapeRect.width_ in Resize() [all...] |
H A D | window_change_listener_impl.cpp | 27 changeHandler_({ rect.width_, rect.height_ }); in OnSizeChange()
|
/base/security/security_component_manager/services/security_component_service/sa/sa_main/ |
H A D | sec_comp_info_helper.cpp | 40 comp->rect_.width_ *= scale; in AdjustSecCompRect() 46 comp->rect_.x_, comp->rect_.y_, comp->rect_.width_, comp->rect_.height_); in AdjustSecCompRect() 106 if (GreatOrEqual(0.0, rect.width_) || GreatOrEqual(0.0, rect.height_)) { in CheckRectValid() 117 if (GreatOrEqual((rect.x_ + rect.width_), curScreenWidth) || in CheckRectValid() 124 GreatNotEqual(rect.x_ + rect.width_, windowRect.x_ + windowRect.width_) || in CheckRectValid() 131 if (GreatOrEqual((rect.width_ * rect.height_), (curScreenWidth * curScreenHeight * MAX_RECT_PERCENT))) { in CheckRectValid()
|
H A D | window_info_helper.cpp | 53 if ((secRect.x_ + secRect.width_ <= windRect.posX_) || (secRect.x_ >= windRect.posX_ + windRect.width_)) { in IsRectInWindRect() 89 info->windowRect_.width_ *= info->floatingScale_; in CheckOtherWindowCoverComp()
|
/base/print/print_fwk/frameworks/models/print_models/src/ |
H A D | print_page_size.cpp | 187 PrintPageSize::PrintPageSize() : id_(""), name_("PrintPageSize"), width_(0), height_(0) in PrintPageSize() 194 width_ = width; in PrintPageSize() 202 width_ = right.width_; in PrintPageSize() 211 width_ = right.width_; in operator =() 245 width_ = width; in SetWidth() 265 return width_; in GetWidth() 301 PRINT_HILOGD("width_ = %{public}d", width_); in Dump() [all...] |
/base/msdp/device_status/intention/cooperate/plugin/src/ |
H A D | hot_area.cpp | 62 width_ = display->GetWidth(); in EnableCooperate() 92 } else if (displayX_ >= (width_ - HOT_AREA_WIDTH) && displayY_ >= HOT_AREA_MARGIN && in CheckInHotArea() 96 displayX_ <= (width_ - HOT_AREA_MARGIN)) { in CheckInHotArea() 99 displayX_ <= (width_ - HOT_AREA_MARGIN)) { in CheckInHotArea() 112 isEdge_ = displayX_ >= (width_ - 1) && deltaX_ > 0; in CheckPointerToEdge()
|
/base/security/security_component_manager/interfaces/inner_api/security_component/include/ |
H A D | sec_comp_info.h | 101 return (GreatOrEqual(x, x_) && GreatOrEqual((x_ + width_), x) && in IsInRect() 108 (IsEqual(width_, other.width_)) && (IsEqual(height_, other.height_)); in operator ==() 113 DimensionT width_ = 0.0; member in OHOS::Security::SecurityComponent::SecCompRect
|
/base/web/webview/ohos_nweb/include/ |
H A D | nweb_init_params.h | 60 width_ = width; in SetWidth() 65 return width_; 129 uint32_t width_ = 0; member in OHOS::NWeb::NWebCreateInfoImpl 282 : width_(width), height_(height), scale_(scale), marginTop_(marginTop), marginBottom_(marginBottom), in NWebPDFConfigArgsImpl() 290 return width_; 322 double width_; member in OHOS::NWeb::NWebPDFConfigArgsImpl
|
/base/security/security_component_manager/test/fuzztest/security_component/common/ |
H A D | fuzz_common.cpp | 192 window.width_ = (DEFAULT_SCREEN_SIZE >> 1) + BUTTON_FLOAT_SIZE; in ConstructButtonRect() 195 buttonRect.x_ = std::fmod(std::fabs(GetData<double>()), window.width_) + window.x_; in ConstructButtonRect() 197 buttonRect.width_ = DEFAULT_BUTTON_SIZE; in ConstructButtonRect() 203 padding.right = window.x_ + window.width_ - buttonRect.x_ - buttonRect.width_; in ConstructButtonRect() 213 {JsonTagConstants::JSON_RECT_WIDTH, buttonRect.width_ }, in ConstructWindowJson() 219 { JsonTagConstants::JSON_RECT_WIDTH, window.width_ }, in ConstructWindowJson()
|
/base/web/webview/ohos_adapter/media_adapter/include/ |
H A D | codec_format_adapter_impl.h | 36 int32_t width_ = 0; member in OHOS::NWeb::CodecFormatAdapterImpl
|
/base/update/updater/services/ui/view/page/ |
H A 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()
|
H A D | base_page.h | 46 int16_t width_; member in Updater::BasePage
|
/base/web/webview/ohos_adapter/camera_adapter/include/ |
H A D | format_adapter_impl.h | 45 uint32_t width_ = 0; member in OHOS::NWeb::FormatAdapterImpl
|
/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/ |
H A 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() 154 compPtr->rect_.width_ = ServiceTestCommon::TEST_COORDINATE; in HWTEST_F() 166 compPtrNew->rect_.width_ = ServiceTestCommon::TEST_COORDINATE; in HWTEST_F() 209 compPtr->rect_.width_ = ServiceTestCommon::TEST_COORDINATE; in HWTEST_F() 239 compPtr->rect_.width_ = ServiceTestCommon::TEST_COORDINATE; in HWTEST_F() 266 compPtr->rect_.width_ = ServiceTestCommon::TEST_COORDINATE; in HWTEST_F() 296 compPtr->rect_.width_ in HWTEST_F() [all...] |
H A D | sec_comp_info_helper_test.cpp | 136 .width_ = g_testWidth, in GetDefaultRect() 170 rect.width_ = g_curScreenWidth; in HWTEST_F() 173 rect.width_ = g_testWidth; in HWTEST_F() 205 windowRect.width_ = g_testWidth - 1; in HWTEST_F() 207 windowRect.width_ = g_testWidth; in HWTEST_F() 213 windowRect.width_ = ServiceTestCommon::TEST_INVALID_DIMENSION; in HWTEST_F() 215 windowRect.width_ = g_testWidth; in HWTEST_F()
|
/base/msdp/device_status/intention/cooperate/plugin/include/ |
H A D | hot_area.h | 67 int32_t width_ { 720 };
|
/base/powermgr/battery_manager/charger/include/ |
H A D | charger_graphic_engine.h | 54 uint16_t width_ = 0; member in OHOS::PowerMgr::ChargerGraphicEngine
|
/base/print/print_fwk/frameworks/models/print_models/include/ |
H A D | print_page_size.h | 76 uint32_t width_; member in OHOS::Print::final
|