Home
last modified time | relevance | path

Searched refs:isLandscape (Results 1 - 6 of 6) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/folder_stack/
H A Dfolder_stack_layout_algorithm.cpp291 auto isLandscape = rotation == Rotation::ROTATION_90 || rotation == Rotation::ROTATION_270; in IsIntoFolderStack() local
294 "foldStatus:%{public}d, isLandscape:%{public}d", in IsIntoFolderStack()
295 isFullWindow, isFoldable, foldStatus, isLandscape); in IsIntoFolderStack()
296 return isFullWindow && isFoldable && foldStatus == FoldStatus::HALF_FOLD && isLandscape; in IsIntoFolderStack()
H A Dfolder_stack_pattern.cpp145 auto isLandscape = rotation == Rotation::ROTATION_90 || rotation == Rotation::ROTATION_270; in RefreshStack()
146 if (currentFoldStatus == displayInfo->GetFoldStatus() && isLandscape && in RefreshStack()
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_cutout_controller.cpp272 bool isLandscape = screenHeight < screenWidth ? true : false; in CalculateCurvedCompression() local
275 isLandscape ? screenHeight - totalCompressedSize : screenWidth - totalCompressedSize; in CalculateCurvedCompression()
286 isLandscape ? screenHeight + totalCompressedSize : screenWidth + totalCompressedSize; in CalculateCurvedCompression()
/foundation/window/window_manager/window_scene/session/host/src/
H A Dkeyboard_session.cpp649 bool isLandscape = screenWidth > screenHeight ? true : false; in MoveAndResizeKeyboard() local
650 WSRect rect = isLandscape ? SessionHelper::TransferToWSRect(params.LandscapeKeyboardRect_) : in MoveAndResizeKeyboard()
666 ", isLandscape: %{public}d, screenWidth: %{public}d, screenHeight: %{public}d", GetPersistentId(), gravity, in MoveAndResizeKeyboard()
667 rect.ToString().c_str(), newRequestRect.ToString().c_str(), isLandscape, screenWidth, screenHeight); in MoveAndResizeKeyboard()
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_scene_session_impl_test4.cpp1500 bool isLandscape = false; in HWTEST_F() local
1504 isLandscape = display->GetWidth() > display->GetHeight(); in HWTEST_F()
1510 auto expectRect = isLandscape ? param.LandscapeKeyboardRect_ : param.PortraitKeyboardRect_; in HWTEST_F()
1529 bool isLandscape = false; in HWTEST_F() local
1533 isLandscape = defaultDisplayInfo->GetWidth() > defaultDisplayInfo->GetHeight(); in HWTEST_F()
1539 auto expectRect = isLandscape ? param.LandscapeKeyboardRect_ : param.PortraitKeyboardRect_; in HWTEST_F()
/foundation/window/window_manager/wm/src/
H A Dwindow_scene_session_impl.cpp4064 bool isLandscape = displayWidth > displayHeight ? true : false; in MoveAndResizeKeyboard() local
4065 Rect newRect = isLandscape ? params.LandscapeKeyboardRect_ : params.PortraitKeyboardRect_; in MoveAndResizeKeyboard()
4067 TLOGI(WmsLogTag::WMS_KEYBOARD, "Id: %{public}d, newRect: %{public}s, isLandscape: %{public}d, " in MoveAndResizeKeyboard()
4069 isLandscape, displayWidth, displayHeight); in MoveAndResizeKeyboard()

Completed in 13 milliseconds