Home
last modified time | relevance | path

Searched refs:width_ (Results 1 - 25 of 35) sorted by relevance

12

/base/update/updater/services/ui/driver/
H A 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_ in RotateWidthHeight()
[all...]
H A Dgraphic_engine.cpp57 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 Dui_rotation.h47 int width_ {};
H A Dgraphic_engine.h52 uint16_t width_ = 0; member in Updater::GraphicEngine
/base/powermgr/battery_manager/charger/src/
H A Dcharger_graphic_engine.cpp49 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 Dcodec_format_adapter_impl.cpp22 return width_; in GetWidth()
32 width_ = width; in SetWidth()
/base/web/webview/ohos_adapter/camera_adapter/src/
H A Dformat_adapter_impl.cpp22 return width_; in GetWidth()
42 width_ = width; in SetWidth()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_panel.cpp182 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 Dwindow_change_listener_impl.cpp27 changeHandler_({ rect.width_, rect.height_ }); in OnSizeChange()
/base/security/security_component_manager/services/security_component_service/sa/sa_main/
H A Dsec_comp_info_helper.cpp40 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 Dwindow_info_helper.cpp53 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 Dprint_page_size.cpp187 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 Dhot_area.cpp62 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 Dsec_comp_info.h101 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 Dnweb_init_params.h60 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 Dfuzz_common.cpp192 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 Dcodec_format_adapter_impl.h36 int32_t width_ = 0; member in OHOS::NWeb::CodecFormatAdapterImpl
/base/update/updater/services/ui/view/page/
H A 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()
H A Dbase_page.h46 int16_t width_; member in Updater::BasePage
/base/web/webview/ohos_adapter/camera_adapter/include/
H A Dformat_adapter_impl.h45 uint32_t width_ = 0; member in OHOS::NWeb::FormatAdapterImpl
/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/
H A 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()
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 Dsec_comp_info_helper_test.cpp136 .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 Dhot_area.h67 int32_t width_ { 720 };
/base/powermgr/battery_manager/charger/include/
H A Dcharger_graphic_engine.h54 uint16_t width_ = 0; member in OHOS::PowerMgr::ChargerGraphicEngine
/base/print/print_fwk/frameworks/models/print_models/include/
H A Dprint_page_size.h76 uint32_t width_; member in OHOS::Print::final

Completed in 10 milliseconds

12