|
static int | dip2px (Context context, float dpValue) |
|
static int | px2dip (Context context, float pxValue) |
|
static int | sp2px (Context context, float spValue) |
|
static int | px2sp (Context context, float pxValue) |
|
static int com.hyphenate.util.DensityUtil.dip2px |
( |
Context |
context, |
|
|
float |
dpValue |
|
) |
| |
|
static |
static int com.hyphenate.util.DensityUtil.px2dip |
( |
Context |
context, |
|
|
float |
pxValue |
|
) |
| |
|
static |
static int com.hyphenate.util.DensityUtil.px2sp |
( |
Context |
context, |
|
|
float |
pxValue |
|
) |
| |
|
static |
px to sp
- Parameters
-
- Returns
static int com.hyphenate.util.DensityUtil.sp2px |
( |
Context |
context, |
|
|
float |
spValue |
|
) |
| |
|
static |
sp to px
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- hyphenatechatsdk/src/com/hyphenate/util/DensityUtil.java