/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | system_info.cpp | 34 screenWidth_ = screenHeight_ = 0; in Initialize() 35 ProductAdapter::GetScreenSize(screenWidth_, screenHeight_); in Initialize() 36 if (screenWidth_ != 0 && screenHeight_ != 0) { in Initialize() 37 aspectRatio_ = (float)screenWidth_ / (float)screenHeight_; in Initialize() 57 return screenWidth_; in GetScreenWidth()
|
H A D | system_info.h | 54 SystemInfo() : screenWidth_(0), screenHeight_(0), aspectRatio_(0.0), deviceType_(nullptr), isRoundScreen_(false) {} in SystemInfo() 57 uint16_t screenWidth_; member in OHOS::ACELite::final
|
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensourcetrans/src/ |
H A D | screen_source_trans_test.cpp | 378 localParam.screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH; in HWTEST_F() 385 remoteParam.screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH; in HWTEST_F() 405 localParam.screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH + 1; in HWTEST_F() 412 remoteParam.screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH; in HWTEST_F() 432 localParam.screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH; in HWTEST_F() 439 remoteParam.screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH; in HWTEST_F() 460 localParam.screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH; in HWTEST_F() 467 remoteParam.screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH; in HWTEST_F() 488 localParam.screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH; in HWTEST_F() 495 remoteParam.screenWidth_ in HWTEST_F() [all...] |
/foundation/distributedhardware/distributed_screen/services/common/utils/src/ |
H A D | video_param.cpp | 27 screenWidth_ = screenWidth; in SetScreenWidth() 32 return screenWidth_; in GetScreenWidth() 108 {KEY_SCREEN_WIDTH, videoParam.screenWidth_}, in to_json() 144 videoParam.screenWidth_ = screenWidth; in from_json()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client_rs_demo.cpp | 287 screenWidth_ = activeModeInfo->GetScreenWidth(); in TestInit() 291 std::cout << "Width: " << screenWidth_ << ", Height: " << screenheight_; in TestInit() 313 screenWidth_ * 0.4f + SURFACE_NODE_SIZE, screenheight_ * 0.3f)) in TestCaseDefault() 317 canvas.DrawRect(Drawing::Rect(0, 0, screenWidth_ * 0.4f, screenheight_ * 0.3f)); in TestCaseDefault() 326 screenWidth_ * 0.4f + SURFACE_NODE_SIZE, screenheight_)) in TestCaseDefault() 330 canvas.DrawRect(Drawing::Rect(0, 0, screenWidth_ * 0.4f, screenheight_ * 0.2f)); in TestCaseDefault() 372 int screenWidth_ = 0; member in OHOS::Rosen::RSDemoTestCase
|
H A D | render_service_display_mode_demo.cpp | 239 screenWidth_ = activeModeInfo.GetScreenWidth(); in InitTestCase() 242 std::cout << "Width: " << screenWidth_ << ", Height: " << screenHeight_; in InitTestCase() 250 screenWidth_ * 0.4f, screenHeight_ * 0.3f, 0xff0000ff); in TestCaseDefault() 253 screenWidth_ * 0.6f, screenHeight_ * 0.3f, 0xffff0000); in TestCaseDefault() 287 int screenWidth_ = 0; member in OHOS::Rosen::RSDisplayModeTestCase
|
/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | screen_system_manager.h | 58 screenWidth_ = screenWidth;
in SetWindowInfo() 78 return screenWidth_;
in GetScreenWidth() 99 double screenWidth_ = 0.0;
member in OHOS::Ace::final
|
H A D | screen_system_manager.cpp | 28 screenWidth_ = width; in OnSurfaceChanged()
|
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensinktrans/src/ |
H A D | screen_sink_trans_test.cpp | 46 param_.screenWidth_ = VIDEO_DATA_NUM; in SetUp() 71 param_.screenWidth_ = WIDTH_INVALID; in HWTEST_F() 229 param_.screenWidth_ = WIDTH_INVALID; in HWTEST_F() 233 param_.screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH; in HWTEST_F()
|
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessibility_zoom_gesture.cpp | 757 screenWidth_ = static_cast<uint32_t>(display->GetWidth()); in GetWindowParam() 759 HILOG_INFO("screenWidth_ = %{public}d, screenHeight_ = %{public}d.", screenWidth_, screenHeight_); in GetWindowParam() 761 screenSpan_ = hypot(screenWidth_, screenHeight_); in GetWindowParam() 772 if (screenWidth_ == 0 || screenHeight_ == 0) { in OnZoom() 779 float x = anchorPointX_ / screenWidth_; in OnZoom() 808 if (screenWidth_ == 0 || screenHeight_ == 0) { in OnScroll() 823 if (anchorPointX_ > screenWidth_) { in OnScroll() 824 anchorPointX_ = screenWidth_; in OnScroll() 833 float x = anchorPointX_ / screenWidth_; in OnScroll() [all...] |
/foundation/CastEngine/castengine_wifi_display/services/impl/screen_capture/mediasource/ |
H A D | video_source_screen.cpp | 97 SHARING_LOGI("CreateVirtualScreen, width: %{public}u, height: %{public}u.", configure.screenWidth_, in CreateVirtualScreen() 101 configure.screenWidth_, in CreateVirtualScreen()
|
/foundation/arkui/ui_lite/interfaces/innerkits/engines/gfx/ |
H A D | gfx_engine_manager.h | 167 return screenWidth_; in GetScreenWidth() 197 uint16_t screenWidth_ = HORIZONTAL_RESOLUTION; member in OHOS::BaseGfxEngine
|
/foundation/distributedhardware/distributed_screen/services/common/utils/include/ |
H A D | video_param.h | 49 uint32_t screenWidth_; member in OHOS::DistributedHardware::VideoParam
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/ |
H A D | menu_layoutScd_test_ng.cpp | 258 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 333 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 396 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 465 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 526 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_HEIGHT; in HWTEST_F() 598 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 668 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 720 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 766 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 812 ScreenSystemManager::GetInstance().screenWidth_ in HWTEST_F() [all...] |
H A D | menu_pattern_test_ng.cpp | 323 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 354 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 385 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 416 ScreenSystemManager::GetInstance().screenWidth_ = NEW_FULL_SCREEN_WIDTH; in HWTEST_F() 447 ScreenSystemManager::GetInstance().screenWidth_ = NEW_FULL_SCREEN_WIDTH; in HWTEST_F() 478 ScreenSystemManager::GetInstance().screenWidth_ = NEW_FULL_SCREEN_WIDTH; in HWTEST_F() 824 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 855 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 886 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 917 ScreenSystemManager::GetInstance().screenWidth_ in HWTEST_F() [all...] |
H A D | menu_origin_test_ng.cpp | 1681 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 1721 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 1763 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 1808 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 1853 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_WIDTH; in HWTEST_F() 2085 ScreenSystemManager::GetInstance().screenWidth_ = FULL_SCREEN_HEIGHT; in HWTEST_F()
|
/foundation/CastEngine/castengine_wifi_display/services/codec/include/ |
H A D | video_source_encoder.h | 34 uint32_t screenWidth_ = DEFAULT_VIDEO_WIDTH; member in OHOS::Sharing::VideoSourceConfigure
|
/foundation/barrierfree/accessibility/services/aams/include/ |
H A D | accessibility_zoom_gesture.h | 102 uint32_t screenWidth_ = 0; member in OHOS::Accessibility::AccessibilityZoomGesture
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/ |
H A D | my_xcomponent.h | 90 uint64_t screenWidth_ = 0; member in MyXComponent
|
H A D | my_xcomponent.cpp | 116 screenWidth_ = width; in SetScreenWidth() 170 screenImageInfo_ = {static_cast<int32_t>(screenWidth_), static_cast<int32_t>(screenHeight_), in InitScreenCanvas()
|
/foundation/distributedhardware/distributed_screen/services/common/test/unittest/imageJpeg/ |
H A D | jpeg_image_processor_test.cpp | 31 param_.screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH; in SetUp()
|
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensinkprocessor/src/ |
H A D | image_sink_processor_test.cpp | 36 param_.screenWidth_ = VIDEO_DATA_NUM; in SetUp()
|
H A D | image_sink_decoder_test.cpp | 38 param_.screenWidth_ = VIDEO_DATA_NUM; in SetUp()
|
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sinkservice/screenregionmgr/1.0/src/ |
H A D | screenregion_test.cpp | 177 videoParam->screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH; in HWTEST_F()
|
/foundation/distributedhardware/distributed_screen/services/common/test/unittest/decision_center/ |
H A D | screen_decision_center_test.cpp | 34 param_.screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH; in SetUp()
|