Searched refs:densityDPI (Results 1 – 15 of 15) sorted by relevance
30 | float [densityDPI](#densitydpi) | 显示设备屏幕的物理像素密度,表示每英寸上的像素点数。该参数为大于0的浮点数,单位为px。一般取值160.0、480.0等,实际…31 … 显示设备逻辑像素的密度,代表物理像素与逻辑像素的缩放系数。该参数为大于0的浮点数,受densityDPI范围限制,取值范围在[0.5,4.0]。一般取值1.0、3.0等,实际取值取决于不同设备提…78 ### densityDPI subsection81 float NativeDisplayManager_DisplayInfo::densityDPI97 显示设备逻辑像素的密度,代表物理像素与逻辑像素的缩放系数。该参数为大于0的浮点数,受densityDPI范围限制,取值范围在[0.5,4.0]。一般取值1.0、3.0等,实际取值取决于不同设备提供的…
1091 | densityDPI | number | 是 | 否 | 显示设备屏幕的物理像素密度,表示每英寸上的像素点数。该参数为浮点数,单位为px。一般取值160.0、480.0等,实际能取到的值取决于…1093 …ls](figures/densityPixels.jpg)<br>该参数为浮点数,受densityDPI范围限制,取值范围在[0.5,4.0]。一般取值1.0、3.0等,实际取值取决于不同设备提…
673 | densityPixels | 设备逻辑像素的密度,代表物理像素与逻辑像素的缩放系数,该参数为浮点数,受densityDPI范围限制,取值范围在[0.5,4.0]。一般取值1.0、3.0等,实际…
30 | float [densityDPI](#densitydpi) | Physical pixel density of the display, that is, the number of p…31 …oating point number greater than 0 and is restricted by the range of **densityDPI**. The value ran…78 ### densityDPI subsection81 float NativeDisplayManager_DisplayInfo::densityDPI97 …oating point number greater than 0 and is restricted by the range of **densityDPI**. The value ran…
1090 | densityDPI | number | Yes| No| Physical pixel density of the display, that is, the number of pixe…1092 …e value is a floating point number and is restricted by the range of **densityDPI**. The value ran…
17 console.info('Test densityDPI:' + JSON.stringify(displayClass.densityDPI));
304 float densityDPI; member
74 | ohos.display | Display | densityDPI: number; | 新增 |
15 - 屏幕的物理像素密度(densityDPI):代表每英寸屏幕所拥有的物理像素点数。
74 | ohos.display | Display | densityDPI: number; | Added|
702 displayInfo->densityDPI = info->GetVirtualPixelRatio() * DOT_PER_INCH; in NativeDisplayManager_SetDisplayInfo()
1247 let windowWidthVp = width / (display.getDefaultDisplaySync().densityDPI / 160);1861 let windowWidthVp = width / (display.getDefaultDisplaySync().densityDPI / 160);
661 let windowWidthVp = windowWidth / (display.getDefaultDisplaySync().densityDPI / 160)