/base/update/updater/services/ui/driver/ |
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() 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 D | ui_rotation.cpp | 37 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 D | ui_rotation.h | 48 int height_ {};
|
H A D | graphic_engine.h | 51 uint16_t height_ = 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() 126 buffInfo_->height = height_; in GetFBBufferInfo() 147 return height_; in GetScreenHeight()
|
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
H A D | input_method_panel.cpp | 181 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 D | window_change_listener_impl.cpp | 27 changeHandler_({ rect.width_, rect.height_ }); in OnSizeChange()
|
/base/web/webview/ohos_adapter/media_adapter/src/ |
H A D | codec_format_adapter_impl.cpp | 27 return height_; in GetHeight() 37 height_ = height; in SetHeight()
|
/base/web/webview/ohos_adapter/camera_adapter/src/ |
H A D | format_adapter_impl.cpp | 27 return height_; in GetHeight() 47 height_ = height; in SetHeight()
|
/base/security/security_component_manager/services/security_component_service/sa/sa_main/ |
H A D | sec_comp_info_helper.cpp | 41 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 D | window_info_helper.cpp | 57 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 D | print_page_size.cpp | 187 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 D | hot_area.cpp | 63 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 D | sec_comp_info.h | 102 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 D | nweb_init_params.h | 70 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 D | fuzz_common.cpp | 193 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 D | codec_format_adapter_impl.h | 37 int32_t height_ = 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 | 47 int16_t height_; member in Updater::BasePage
|
/base/web/webview/ohos_adapter/camera_adapter/include/ |
H A D | format_adapter_impl.h | 46 uint32_t height_ = 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 | 58 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 D | sec_comp_info_helper_test.cpp | 137 .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 D | hot_area.h | 68 int32_t height_ { 1280 };
|
/base/powermgr/battery_manager/charger/include/ |
H A D | charger_graphic_engine.h | 53 uint16_t height_ = 0; member in OHOS::PowerMgr::ChargerGraphicEngine
|
/base/inputmethod/imf/test/common/src/ |
H A D | text_listener.cpp | 36 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()
|