Home
last modified time | relevance | path

Searched refs:screenWidth_ (Results 1 - 25 of 26) sorted by relevance

12

/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Dsystem_info.cpp34 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 Dsystem_info.h54 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 Dscreen_source_trans_test.cpp378 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 Dvideo_param.cpp27 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 Drender_service_client_rs_demo.cpp287 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 Drender_service_display_mode_demo.cpp239 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 Dscreen_system_manager.h58 screenWidth_ = screenWidth; in SetWindowInfo()
78 return screenWidth_; in GetScreenWidth()
99 double screenWidth_ = 0.0; member in OHOS::Ace::final
H A Dscreen_system_manager.cpp28 screenWidth_ = width; in OnSurfaceChanged()
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensinktrans/src/
H A Dscreen_sink_trans_test.cpp46 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 Daccessibility_zoom_gesture.cpp757 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 Dvideo_source_screen.cpp97 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 Dgfx_engine_manager.h167 return screenWidth_; in GetScreenWidth()
197 uint16_t screenWidth_ = HORIZONTAL_RESOLUTION; member in OHOS::BaseGfxEngine
/foundation/distributedhardware/distributed_screen/services/common/utils/include/
H A Dvideo_param.h49 uint32_t screenWidth_; member in OHOS::DistributedHardware::VideoParam
/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/
H A Dmenu_layoutScd_test_ng.cpp258 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 Dmenu_pattern_test_ng.cpp323 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 Dmenu_origin_test_ng.cpp1681 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 Dvideo_source_encoder.h34 uint32_t screenWidth_ = DEFAULT_VIDEO_WIDTH; member in OHOS::Sharing::VideoSourceConfigure
/foundation/barrierfree/accessibility/services/aams/include/
H A Daccessibility_zoom_gesture.h102 uint32_t screenWidth_ = 0; member in OHOS::Accessibility::AccessibilityZoomGesture
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/
H A Dmy_xcomponent.h90 uint64_t screenWidth_ = 0; member in MyXComponent
H A Dmy_xcomponent.cpp116 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 Djpeg_image_processor_test.cpp31 param_.screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH; in SetUp()
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensinkprocessor/src/
H A Dimage_sink_processor_test.cpp36 param_.screenWidth_ = VIDEO_DATA_NUM; in SetUp()
H A Dimage_sink_decoder_test.cpp38 param_.screenWidth_ = VIDEO_DATA_NUM; in SetUp()
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sinkservice/screenregionmgr/1.0/src/
H A Dscreenregion_test.cpp177 videoParam->screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH; in HWTEST_F()
/foundation/distributedhardware/distributed_screen/services/common/test/unittest/decision_center/
H A Dscreen_decision_center_test.cpp34 param_.screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH; in SetUp()

Completed in 19 milliseconds

12