Home
last modified time | relevance | path

Searched refs:isLandscape (Results 1 – 25 of 29) sorted by relevance

12

/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A D_print___print_attributes.md27 | bool [isLandscape](#islandscape) | 横纵向. |
71 ### isLandscape subsection
74 bool Print_PrintAttributes::isLandscape
H A Djs-apis-print-sys.md135 | isLandscape | boolean | 是 | 表示垂直打印 |
726 isLandscape : false,
790 isLandscape : false,
937 isLandscape : false,
998 isLandscape : false,
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/
H A D_print___print_attributes.md27 | bool [isLandscape](#islandscape) | Defines whether to print in the landscape mode. |
71 ### isLandscape subsection
74 bool Print_PrintAttributes::isLandscape
/ohos5.0/foundation/ability/ability_runtime/services/dialog_ui/ams_system_dialog/entry/src/main/ets/pages/
H A DPhonePage.ets60 private isLandscape: boolean = false;
107 (this.isLandscape ? 0.1 : 0.2) + this.statusBarHeight;
135 this.isLandscape = true;
137 this.isLandscape = false;
/ohos5.0/base/print/print_fwk/frameworks/helper/print_helper/src/
H A Dprint_attributes_helper.cpp86 bool isLandscape = NapiPrintUtils::GetBooleanProperty(env, jsValue, PARAM_JOB_ISLANDSCAPE); in BuildFromJs() local
87 nativeObj->SetIsLandscape(isLandscape); in BuildFromJs()
H A Dprint_job_helper.cpp131 bool isLandscape = NapiPrintUtils::GetBooleanProperty(env, jsValue, PARAM_JOB_ISLANDSCAPE); in BuildFromJs() local
140 nativeObj->SetIsLandscape(isLandscape); in BuildFromJs()
/ohos5.0/foundation/window/window_manager/window_scene/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()
286isLandscape ? screenHeight + totalCompressedSize : screenWidth + totalCompressedSize; in CalculateCurvedCompression()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/folder_stack/
H A Dfolder_stack_layout_algorithm.cpp295 auto isLandscape = rotation == Rotation::ROTATION_90 || rotation == Rotation::ROTATION_270; in IsIntoFolderStack() local
299 isFullWindow, isFoldable, foldStatus, isLandscape); in IsIntoFolderStack()
300 return isFullWindow && isFoldable && foldStatus == FoldStatus::HALF_FOLD && isLandscape; in IsIntoFolderStack()
H A Dfolder_stack_pattern.cpp159 auto isLandscape = rotation == Rotation::ROTATION_90 || rotation == Rotation::ROTATION_270; in RefreshStack() local
160 if (currentFoldStatus == displayInfo->GetFoldStatus() && isLandscape && in RefreshStack()
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dprint_manager_adapter.h47 bool isLandscape; member
/ohos5.0/base/print/print_fwk/frameworks/models/print_models/src/
H A Dprint_attributes.cpp110 void PrintAttributes::SetIsLandscape(bool isLandscape) in SetIsLandscape() argument
113 isLandscape_ = isLandscape; in SetIsLandscape()
H A Dprint_job.cpp147 void PrintJob::SetIsLandscape(bool isLandscape) in SetIsLandscape() argument
149 isLandscape_ = isLandscape; in SetIsLandscape()
/ohos5.0/base/print/print_fwk/frameworks/models/print_models/include/
H A Dprint_attributes.h50 void SetIsLandscape(bool isLandscape);
H A Dprint_job.h60 void SetIsLandscape(bool isLandscape);
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-layout-development-media-query.md186 private changeOrientation(isLandscape: boolean) {
191 …lastWindow.setPreferredOrientation(isLandscape ? window.Orientation.LANDSCAPE : window.Orientation…
H A Darkts-component-animation.md114 if (mediaQueryResult.matches == AppStorage.get<boolean>('isLandscape')) {
117 AppStorage.setOrCreate<boolean>('isLandscape', mediaQueryResult.matches)
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/
H A Dkeyboard_session.cpp662 bool isLandscape = screenWidth > screenHeight ? true : false; in MoveAndResizeKeyboard() local
663 WSRect rect = isLandscape ? SessionHelper::TransferToWSRect(params.LandscapeKeyboardRect_) : in MoveAndResizeKeyboard()
680 …rect.ToString().c_str(), newRequestRect.ToString().c_str(), isLandscape, screenWidth, screenHeight… in MoveAndResizeKeyboard()
/ohos5.0/base/print/print_fwk/frameworks/ohprint/include/
H A Dohprint.h486 bool isLandscape; member
/ohos5.0/base/web/webview/ohos_adapter/print_manager_adapter/src/
H A Dprint_manager_adapter_impl.cpp131 printAttributesAdapter.isLandscape = attrs.GetIsLandscape(); in ConvertPrintingParameters()
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-component-animation.md114 if (mediaQueryResult.matches == AppStorage.get<boolean>('isLandscape')) {
117 AppStorage.setOrCreate<boolean>('isLandscape', mediaQueryResult.matches)
H A Darkts-layout-development-media-query.md186 private changeOrientation(isLandscape: boolean) {
191 …lastWindow.setPreferredOrientation(isLandscape ? window.Orientation.LANDSCAPE : window.Orientation…
/ohos5.0/base/print/print_fwk/services/print_service/include/
H A Dprint_cups_client.h38 bool isLandscape; member
/ohos5.0/base/print/print_fwk/test/unittest/fwk_print_cups_client_test/
H A Dprint_cups_client_test.cpp1797 jobParams->isLandscape = true;
1829 jobParams->isLandscape = true;
1861 jobParams->isLandscape = false;
1893 jobParams->isLandscape = true;
/ohos5.0/base/print/print_fwk/frameworks/ohprint/src/
H A Dprint_capi.cpp522 attributes->isLandscape = attrs.GetIsLandscape(); in BuildPrintAttributes()
/ohos5.0/base/print/print_fwk/services/print_service/src/
H A Dprint_cups_client.cpp898 if (jobParams->isLandscape) { in FillLandscapeOptions()
1698 params->isLandscape = jobInfo.GetIsLandscape(); in BuildJobParameters()
1724 PRINT_HILOGD("jobParams->isLandscape: %{public}d", jobParams->isLandscape); in DumpJobParameters()

12