[android-components](../index.md) / [mozilla.components.support.ktx.android.content.res](./index.md)

## Package mozilla.components.support.ktx.android.content.res

### Functions

| Name | Summary |
|---|---|
| [pxToDp](px-to-dp.md) | `fun <ERROR CLASS>.~~pxToDp~~(pixels: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): <ERROR CLASS>`<br>Converts a value in density independent pixels (pxToDp) to the actual pixel values for the display. |
| [readJSONObject](read-j-s-o-n-object.md) | `fun <ERROR CLASS>.readJSONObject(fileName: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): <ERROR CLASS>`<br>Read a file from the "assets" and create a a JSONObject from its content. |
