/ohos5.0/docs/en/application-dev/ui/ |
H A D | js-framework-js-tag.md | 48 …ample, on a device with a resolution of 466x466 and 320 DPI (a screen density of 2x, with 160 DPI … 52 … on the screen density. For example, if the screen density is x2 (with 160 DPI as the baseline) an…
|
/ohos5.0/docs/zh-cn/application-dev/device/driver/ |
H A D | driverdevelopment-overview.md | 19 例如:厂商私有非标HID外设增强能力开放场景,如:手写板快捷键定制、压感/绘图区域设置、扩展增强能力设置、鼠标灯光效果设置、鼠标扩展按键定制、DPI及X/Y轴等高阶能力设置。
|
/ohos5.0/docs/en/design/ux-design/ |
H A D | visual-basis.md | 12 …erred to as the pixel density ratio, which is DPI/160. In other words, on an OpenHarmony device wi…
|
H A D | design-map-cached-drawings.md | 6 To better display clear images on a device based on its DPI, an excellent application must contain …
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | resource-categories-and-access.md | 84 …DPI. This value is applicable to devices with a DPI range of (0, 120].<br>- **mdpi**: medium-scale…
|
H A D | module-structure.md | 619 |screenDensity | Pixel density of the screen, in dots per inch (DPI).| Object array| Yes (initial v… 656 …DPI. This value is applicable to devices with a DPI range of (0, 120].<br>**mdpi**: medium-scale D…
|
H A D | module-configuration-file.md | 690 | [screenDensity](#screendensity)| Pixel density of the screen, in dots per inch (DPI).| Object arr… 718 …DPI. The options are as follows:<br>- **sdpi**: small-scale DPI. This value is applicable to devic…
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | screen_scene_config.cpp | 39 DPI = 0, enumerator 77 {DPI, "dpi"}, 183 bool numberConfigCheck = (xmlNodeMap_[DPI] == nodeName) || in ParseNodeConfig()
|
/ohos5.0/docs/en/application-dev/displaymanager/ |
H A D | native-display-manager.md | 15 - Density DPI: physical pixel density, that is, the number of physical pixels per inch of the displ… 29 …)|Registers a listener for status changes (such as rotation, refresh rate, DPI, and resolution cha… 145 …play status changes, including the rotation, resolution, refresh rate, and DPI changes. Call **OH_…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-container-ui-extension-component-sys.md | 159 …ion-component-sys.md#dpifollowstrategy12) | 否 | 提供接口支持设置DPI跟随宿主或跟随UIExtensionAb… 166 | FOLLOW_HOST_DPI | 表示DPI跟随宿主。 | 167 | FOLLOW_UI_EXTENSION_ABILITY_DPI | 表示DPI跟随UIExtensionAbility。 |
|
/ohos5.0/docs/zh-cn/application-dev/displaymanager/ |
H A D | native-display-manager.md | 29 …playChangeCallback displayChangeCallback, uint32_t *listenerIndex)|注册屏幕状态变化监听(如旋转变化、刷新率、DPI、分辨率等)。| 145 可以通过OH_NativeDisplayManager_RegisterDisplayChangeListener接口注册屏幕变化的监听,包括屏幕旋转、分辨率变化、刷新率变化、DPI变化等。 通过O…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | _native_display_manager___display_info.md | 31 …, the value is **1.0** or **3.0**. The actual value depends on the density DPI provided by the dev… 97 …, the value is **1.0** or **3.0**. The actual value depends on the density DPI provided by the dev…
|
H A D | oh__display__manager_8h.md | 50 …| Registers a listener for status changes (such as rotation, refresh rate, DPI, and resolution cha…
|
H A D | _o_h___display_manager.md | 88 …| Registers a listener for status changes (such as rotation, refresh rate, DPI, and resolution cha… 673 …, the value is **1.0** or **3.0**. The actual value depends on the density DPI provided by the dev… 982 Registers a listener for status changes (such as rotation, refresh rate, DPI, and resolution change…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/ |
H A D | oh__display__manager_8h.md | 50 …gecallback) displayChangeCallback, uint32_t \*listenerIndex) | 注册屏幕状态变化监听(如旋转变化、刷新率、DPI、分辨率等变化)。 |
|
H A D | _o_h___display_manager.md | 88 …gecallback) displayChangeCallback, uint32_t \*listenerIndex) | 注册屏幕状态变化监听(如旋转变化、刷新率、DPI、分辨率等变化)。 | 982 注册屏幕状态变化监听(如旋转变化、刷新率、DPI、分辨率等变化)。
|
H A D | js-apis-arkui-observer.md | 671 this.message = '变化后的DPI:' + this.density.toString(); 718 this.message = '变化后的DPI:' + this.density.toString();
|
/ohos5.0/docs/en/application-dev/device/driver/ |
H A D | driverdevelopment-overview.md | 19 …ng the mouse lighting effect, customizing mouse extended buttons, and setting DPI and X and Y axes.
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-container-ui-extension-component-sys.md | 156 …component-sys.md#dpifollowstrategy12) | No | Whether the DPI settings follow the… 162 | FOLLOW_HOST_DPI | The DPI settings follow the host.| 163 | FOLLOW_UI_EXTENSION_ABILITY_DPI | The DPI settings follow the UIExtensionAbility.|
|
H A D | ts-universal-attributes-pixelRound.md | 43 …component.<br>2. Disable pixel rounding on the component.<br>3. Obtain the DPI value of the device…
|
/ohos5.0/docs/zh-cn/device-dev/driver/ |
H A D | driver-platform-mipidsi-develop.md | 11 图1显示了简化的DSI接口。从概念上看,符合DSI的接口与基于DBI-2和DPI-2标准的接口具有相同的功能。它向外围设备传输像素或命令数据,并且可以从外围设备读取状态或像素信息。主要区别在于,DS…
|
H A D | driver-platform-mipidsi-des.md | 11 图1显示了简化的DSI接口。从概念上看,符合DSI的接口与基于DBI-2和DPI-2标准的接口具有相同的功能。它向外围设备传输像素或命令数据,并且可以从外围设备读取状态或像素信息。主要区别在于,DS…
|
/ohos5.0/docs/en/application-dev/faqs/ |
H A D | faqs-graphics.md | 4 ## How do I obtain the DPI of a device? (API version 9)
|
/ohos5.0/docs/en/device-dev/driver/ |
H A D | driver-platform-mipidsi-des.md | 10 …ant interface has the same features as interfaces complying with DBI-2 and DPI-2 standards. It sen…
|
/ohos5.0/docs/zh-cn/application-dev/faqs/ |
H A D | faqs-arkui-component.md | 848 …大小。距离使用vp(virtual pixel),字体大小使用fp(font pixel),虚拟像素单位vp(virtual pixel),vp具体计算公式为:vp= px/(DPI/160)。
|