Searched refs:xDPI (Results 1 – 11 of 11) sorted by relevance
3 ## cl.display.1 屏幕Display对象中的xDPI和yDPI属性的计算方法优化11 从API version 12开始,将屏幕Display对象中的xDPI和yDPI属性的计算修改为不跟随屏幕旋转变化。17 API version 11及以前,屏幕Display对象中的xDPI和yDPI属性的计算会跟随屏幕旋转变化而变化,导致应用查询到的xDPI和yDPI的值动态变化。19 API version 12及以后,屏幕Display对象中的xDPI和yDPI属性的计算修改为不跟随屏幕旋转变化,应用查询到的是固定值。31 屏幕Display对象中的xDPI和yDPI属性。
3 ## cl.display.1 Calculation Method of xDPI and yDPI of a Display Object Is Optimized11 … version 12, the calculation method of xDPI and yDPI of a **Display** object is changed so that th…17 …ons, the calculation of xDPI and yDPI of a **Display** object changes with the display rotation. A…19 …rsions, the calculation of xDPI and yDPI of a **Display** object does not change with the display …31 xDPI and yDPI of a **Display** object.
33 | float [xDPI](#xdpi) | 显示设备x方向中每英寸屏幕的确切物理像素值,该参数为大于0的浮点数。 | 243 ### xDPI subsection246 float NativeDisplayManager_DisplayInfo::xDPI
1095 | xDPI | number | 是 | 否 | x方向中每英寸屏幕的确切物理像素值,该参数为浮点数。<br/>**原子化服务API:** 从API version 12开始,该接口支持在原子化服…
313 float xDPI; member
33 | float [xDPI](#xdpi) | Exact physical pixels per inch of the display in the X dimension. The value…243 ### xDPI subsection246 float NativeDisplayManager_DisplayInfo::xDPI
1094 | xDPI | number | Yes| No| Exact physical pixels per inch of the display in the X dimension. The va…
71 | ohos.display | Display | xDPI: number; | 新增 |
71 | ohos.display | Display | xDPI: number; | Added|
705 displayInfo->xDPI = info->GetXDpi(); in NativeDisplayManager_SetDisplayInfo()
5584 1.点击主页面前一个矩形,弹窗显示默认设备ID、设备名称、启用状态、设备状态、设备刷新率、屏幕旋转角度、设备宽度、设备高度、屏幕密度、屏幕方向、逻辑密度、缩放因子、xDPI(x方向中每英寸屏幕的确切…