Home
last modified time | relevance | path

Searched refs:height_ (Results 1 - 25 of 39) sorted by relevance

12

/base/update/updater/services/ui/driver/
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() local
146 UiRotation::GetInstance().InitRotation(width_, height_, pixelBytes); in GetFBBufferInfo()
148 height_ = UiRotation::GetInstance().GetHeight(); in GetFBBufferInfo()
149 virAddr_ = std::make_unique<uint8_t[]>(width_ * height_ * pixelBytes); in GetFBBufferInfo()
151 buffInfo_->rect = { 0, 0, static_cast<int16_t>(width_ - 1), static_cast<int16_t>(height_ in GetFBBufferInfo()
[all...]
H A 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()
H A Dui_rotation.h48 int height_ {};
H A Dgraphic_engine.h51 uint16_t height_ = 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()
126 buffInfo_->height = height_; in GetFBBufferInfo()
147 return height_; in GetScreenHeight()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_panel.cpp181 resizePanelUnfoldParams_.portraitRect.height_ = height; in SetResizeParams()
184 resizePanelUnfoldParams_.landscapeRect.height_ = height; in SetResizeParams()
191 resizePanelFoldParams_.portraitRect.height_ = height; in SetResizeParams()
194 resizePanelFoldParams_.landscapeRect.height_ = height; in SetResizeParams()
220 params.landscapeRect.height_ = deviceParams.landscapeRect.height_; in Resize()
222 params.portraitRect.height_ = height; in Resize()
226 params.portraitRect.height_ = deviceParams.portraitRect.height_; in Resize()
228 params.landscapeRect.height_ in Resize()
[all...]
H A Dwindow_change_listener_impl.cpp27 changeHandler_({ rect.width_, rect.height_ }); in OnSizeChange()
/base/web/webview/ohos_adapter/media_adapter/src/
H A Dcodec_format_adapter_impl.cpp27 return height_; in GetHeight()
37 height_ = height; in SetHeight()
/base/web/webview/ohos_adapter/camera_adapter/src/
H A Dformat_adapter_impl.cpp27 return height_; in GetHeight()
47 height_ = height; in SetHeight()
/base/security/security_component_manager/services/security_component_service/sa/sa_main/
H A Dsec_comp_info_helper.cpp41 comp->rect_.height_ *= 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()
118 GreatOrEqual((rect.y_ + rect.height_), curScreenHeight)) { in CheckRectValid()
125 GreatNotEqual(rect.y_ + rect.height_, windowRect.y_ + windowRect.height_)) { in CheckRectValid()
131 if (GreatOrEqual((rect.width_ * rect.height_), (curScreenWidth * curScreenHeight * MAX_RECT_PERCENT))) { in CheckRectValid()
H A Dwindow_info_helper.cpp57 if ((secRect.y_ + secRect.height_ <= windRect.posY_) || (secRect.y_ >= windRect.posY_ + windRect.height_)) { in IsRectInWindRect()
90 info->windowRect_.height_ *= 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()
195 height_ = height; in PrintPageSize()
203 height_ = right.height_; in PrintPageSize()
212 height_ = right.height_; in operator =()
250 height_ = height; in SetHeight()
270 return height_; in GetHeight()
302 PRINT_HILOGD("height_ = %{public}d", height_); in Dump()
[all...]
/base/msdp/device_status/intention/cooperate/plugin/src/
H A Dhot_area.cpp63 height_ = display->GetHeight(); in EnableCooperate()
90 displayY_ <= (height_ - HOT_AREA_MARGIN)) { in CheckInHotArea()
93 displayY_ <= (height_ - HOT_AREA_MARGIN)) { in CheckInHotArea()
98 } else if (displayY_ >= (height_ - HOT_AREA_WIDTH) && displayX_ >= HOT_AREA_MARGIN && in CheckInHotArea()
116 isEdge_ = displayY_ >= (height_ - 1) && deltaY_ > 0; in CheckPointerToEdge()
/base/security/security_component_manager/interfaces/inner_api/security_component/include/
H A Dsec_comp_info.h102 GreatOrEqual(y, y_) && GreatOrEqual((y_ + height_), y)); in IsInRect()
108 (IsEqual(width_, other.width_)) && (IsEqual(height_, other.height_)); in operator ==()
114 DimensionT height_ = 0.0; member in OHOS::Security::SecurityComponent::SecCompRect
/base/web/webview/ohos_nweb/include/
H A Dnweb_init_params.h70 height_ = height; in SetHeight()
75 return height_;
130 uint32_t height_ = 0; member in OHOS::NWeb::NWebCreateInfoImpl
282 : width_(width), height_(height), scale_(scale), marginTop_(marginTop), marginBottom_(marginBottom), in NWebPDFConfigArgsImpl()
294 return height_;
323 double height_; member in OHOS::NWeb::NWebPDFConfigArgsImpl
/base/security/security_component_manager/test/fuzztest/security_component/common/
H A Dfuzz_common.cpp193 window.height_ = (DEFAULT_SCREEN_SIZE >> 1) + BUTTON_FLOAT_SIZE; in ConstructButtonRect()
196 buttonRect.y_ = std::fmod(std::fabs(GetData<double>()), window.height_) + window.y_; in ConstructButtonRect()
198 buttonRect.height_ = DEFAULT_BUTTON_SIZE; in ConstructButtonRect()
200 padding.bottom = window.y_ + window.height_ - buttonRect.y_ - buttonRect.height_; in ConstructButtonRect()
214 {JsonTagConstants::JSON_RECT_HEIGHT, buttonRect.height_ } in ConstructWindowJson()
220 { JsonTagConstants::JSON_RECT_HEIGHT, window.height_ } in ConstructWindowJson()
/base/web/webview/ohos_adapter/media_adapter/include/
H A Dcodec_format_adapter_impl.h37 int32_t height_ = 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.h47 int16_t height_; member in Updater::BasePage
/base/web/webview/ohos_adapter/camera_adapter/include/
H A Dformat_adapter_impl.h46 uint32_t height_ = 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.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()
155 compPtr->rect_.height_ = ServiceTestCommon::TEST_COORDINATE; in HWTEST_F()
167 compPtrNew->rect_.height_ = ServiceTestCommon::TEST_COORDINATE; in HWTEST_F()
210 compPtr->rect_.height_ = ServiceTestCommon::TEST_COORDINATE; in HWTEST_F()
240 compPtr->rect_.height_ = ServiceTestCommon::TEST_COORDINATE; in HWTEST_F()
267 compPtr->rect_.height_ = ServiceTestCommon::TEST_COORDINATE; in HWTEST_F()
297 compPtr->rect_.height_ in HWTEST_F()
[all...]
H A Dsec_comp_info_helper_test.cpp137 .height_ = g_testHeight in GetDefaultRect()
171 rect.height_ = g_curScreenHeight; in HWTEST_F()
174 rect.height_ = g_testHeight; in HWTEST_F()
209 windowRect.height_ = g_testHeight - 1; in HWTEST_F()
211 windowRect.height_ = g_testHeight; in HWTEST_F()
217 windowRect.height_ = ServiceTestCommon::TEST_INVALID_DIMENSION; in HWTEST_F()
219 windowRect.height_ = g_testHeight; in HWTEST_F()
/base/msdp/device_status/intention/cooperate/plugin/include/
H A Dhot_area.h68 int32_t height_ { 1280 };
/base/powermgr/battery_manager/charger/include/
H A Dcharger_graphic_engine.h53 uint16_t height_ = 0; member in OHOS::PowerMgr::ChargerGraphicEngine
/base/inputmethod/imf/test/common/src/
H A Dtext_listener.cpp36 uint32_t TextListener::height_ = 0; member in OHOS::MiscServices::TextListener
175 height_ = height; in NotifyKeyboardHeight()
209 height_ = 0; in ResetParam()
233 textListenerCv_.wait_for(lock, std::chrono::seconds(1), [height]() { return height_ == height; }); in WaitNotifyKeyboardHeightCallback()
234 return height_ == height; in WaitNotifyKeyboardHeightCallback()

Completed in 11 milliseconds

12