Home
last modified time | relevance | path

Searched refs:isFoldable (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Ddisplay_info_utils.cpp34 auto isFoldable = Rosen::DisplayManager::GetInstance().IsFoldable(); in GetDisplayInfo() local
51 displayInfo_->SetIsFoldable(isFoldable); in GetDisplayInfo()
60 auto isFoldable = Rosen::DisplayManager::GetInstance().IsFoldable(); in InitIsFoldable() local
61 displayInfo_->SetIsFoldable(isFoldable); in InitIsFoldable()
69 auto isFoldable = Rosen::DisplayManager::GetInstance().IsFoldable(); in IsFoldable() local
70 displayInfo_->SetIsFoldable(isFoldable); in IsFoldable()
72 return isFoldable; in IsFoldable()
/ohos5.0/base/powermgr/display_manager/brightness_manager/src/
H A Dbrightness_service.cpp121 bool isFoldable = Rosen::DisplayManagerLite::GetInstance().IsFoldable(); in Init() local
125 isFoldable, brightnessValueMax, brightnessValueMin); in Init()
126 if (isFoldable) { in Init()
133 bool isFoldable = Rosen::DisplayManagerLite::GetInstance().IsFoldable(); in DeInit() local
135 if (isFoldable) { in DeInit()
279 bool isFoldable = Rosen::DisplayManagerLite::GetInstance().IsFoldable(); in GetCurrentDisplayId() local
280 if (!isFoldable) { in GetCurrentDisplayId()
612 if (!isFoldable) { in ActivateValidAmbientSensor()
633 if (!isFoldable) { in DeactivateValidAmbientSensor()
654 if (!isFoldable) { in DeactivateAllAmbientSensor()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/
H A Ddisplay_info.h77 void SetIsFoldable(bool isFoldable) in SetIsFoldable() argument
79 isFoldable_ = isFoldable; in SetIsFoldable()
/ohos5.0/docs/zh-cn/application-dev/displaymanager/
H A DscreenProperty-guideline.md28 | isFoldable(): boolean | 检查设备是否可折叠。 …
151 1. 可以通过display.isFoldable()接口查询当前设备是不是折叠设备。
157 ret = display.isFoldable();
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/folder_stack/
H A Dfolder_stack_layout_algorithm.cpp292 bool isFoldable = displayInfo->GetIsFoldable(); in IsIntoFolderStack() local
299 isFullWindow, isFoldable, foldStatus, isLandscape); in IsIntoFolderStack()
300 return isFullWindow && isFoldable && foldStatus == FoldStatus::HALF_FOLD && isLandscape; in IsIntoFolderStack()
/ohos5.0/docs/en/application-dev/displaymanager/
H A DscreenProperty-guideline.md28 | isFoldable(): boolean | Checks whether the current device …
151 1. Call **display.isFoldable()** to check whether the device is foldable.
157 ret = display.isFoldable();
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhcamera_device.cpp466 bool isFoldable = OHOS::Rosen::DisplayManager::GetInstance().IsFoldable(); in HandleFoldableDevice() local
467 MEDIA_DEBUG_LOG("HCameraDevice::OpenDevice isFoldable is %d", isFoldable); in HandleFoldableDevice()
468 if (isFoldable) { in HandleFoldableDevice()
481 bool isFoldable = OHOS::Rosen::DisplayManager::GetInstance().IsFoldable(); in CloseDevice() local
482 if (isFoldable) { in CloseDevice()
1405 bool isFoldable = OHOS::Rosen::DisplayManager::GetInstance().IsFoldable(); in RemoveResourceWhenHostDied() local
1406 if (isFoldable) { in RemoveResourceWhenHostDied()
H A Dhcamera_service.cpp237 isFoldable = isFoldableInit ? isFoldable : g_isFoldScreen; in GetCameras()
266 …if (isFoldable && cameraPosition == OHOS_CAMERA_POSITION_FRONT && foldType == OHOS_CAMERA_FOLDSCRE… in GetCameraMetaInfo()
270 …if (isFoldable && cameraPosition == OHOS_CAMERA_POSITION_FRONT && foldType == OHOS_CAMERA_FOLDSCRE… in GetCameraMetaInfo()
869 isFoldable = isFoldableInit ? isFoldable : g_isFoldScreen; in SetFoldStatusCallback()
870 CHECK_EXECUTE((isFoldable && !isFoldRegister), RegisterFoldStatusListener()); in SetFoldStatusCallback()
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/observer/src/
H A Dobserver_manager.cpp522 bool isFoldable = OHOS::Rosen::DisplayManager::GetInstance().IsFoldable(); in InitDisplayModeObserver() local
523 if (!isFoldable) { in InitDisplayModeObserver()
/ohos5.0/foundation/window/window_manager/dm/src/
H A Doh_display_manager.cpp403 bool isFoldable = DisplayManager::GetInstance().IsFoldable(); in OH_NativeDisplayManager_IsFoldable() local
404 TLOGI(WmsLogTag::DMS, "[DMNDK] get display isFoldable=%{public}d.", isFoldable); in OH_NativeDisplayManager_IsFoldable()
405 return isFoldable; in OH_NativeDisplayManager_IsFoldable()
/ohos5.0/base/notification/distributed_notification_service/services/dialog_ui/enable_notification_dialog/entry/src/main/ets/pages/
H A DwatchNotificationDialog.ets178 if (display.isFoldable()) {
H A DnotificationDialog.ets246 if (display.isFoldable()) {
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-display.md468 ## display.isFoldable<sup>10+</sup>
469 isFoldable(): boolean
497 ret = display.isFoldable();
/ohos5.0/foundation/ability/ability_runtime/services/dialog_ui/ams_system_dialog/entry/src/main/ets/pages/
H A DPhonePage.ets171 alignment: DeviceInfoUtil.isTable() || (display.isFoldable() &&
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/
H A Dhcamera_service.h273 bool isFoldable = false; variable
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/multinavigation/source/
H A Dmultinavigation.ets60 isFold = display.isFoldable();
62 hilog.error(0x0000, TAG, 'isFold -> isFoldable try error:', e);
90 …isColumn = display.isFoldable() && (display.getFoldStatus() === display.FoldStatus.FOLD_STATUS_EXP…
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/
H A Dcamera_manager.cpp1264 bool isFoldable = GetIsFoldable(); in GetSupportedCameras() local
1265 CHECK_ERROR_RETURN_RET(!isFoldable, cameraDeviceList); in GetSupportedCameras()
2369 bool isFoldable = GetIsFoldable(); in GetSupportedCamerasWithFoldStatus() local
2370 CHECK_ERROR_RETURN_RET(!isFoldable, cameraDeviceList); in GetSupportedCamerasWithFoldStatus()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/multinavigation/interfaces/
H A Dmultinavigation.js46 k10 = display.isFoldable();
66 …g10 = display.isFoldable() && (display.getFoldStatus() === display.FoldStatus.FOLD_STATUS_EXPANDED…
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/dialog/PasteboardDialog/entry/src/main/ets/pages/
H A DPasteboardSwitch.ets424 if (display.isFoldable()) {
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/application/entry/src/main/ets/pages/
H A DContinueSwitch.ets527 if (display.isFoldable()) {
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-display.md468 ## display.isFoldable<sup>10+</sup>
469 isFoldable(): boolean
497 ret = display.isFoldable();
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/
H A Dscene_session.cpp1024 static bool isFoldable = ScreenSessionManagerClient::GetInstance().IsFoldable(); in IsKeyboardNeedLeftOffset() local
1033 bool result = isPhone && (!isFoldable || isFolded || isDualDevice) && isLandscape; in IsKeyboardNeedLeftOffset()
1036 … "isKeyboardNeedLeftOffset:%{public}d", isPhone, isFoldable, isFolded, isDualDevice, isLandscape, in IsKeyboardNeedLeftOffset()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/
H A Dcapture_session.cpp6009 bool isFoldable = CameraManager::GetInstance()->GetIsFoldable(); in IsAutoDeviceSwitchSupported() local
6010 MEDIA_INFO_LOG("IsAutoDeviceSwitchSupported %{public}d.", isFoldable); in IsAutoDeviceSwitchSupported()
6011 return isFoldable; in IsAutoDeviceSwitchSupported()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dpipeline_context.cpp4807 bool isFoldable = container->IsFoldable(); in UpdateHalfFoldHoverStatus() local
4808 if (!isFoldable && !SystemProperties::IsSmallFoldProduct()) { in UpdateHalfFoldHoverStatus()