MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / dp

Function dp

apps/automated/src/ui/layouts/layout-helper.android.ts:246–248  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

244}
245
246export function dp(value: number): number {
247 return Utils.layout.toDeviceIndependentPixels(value);
248}
249
250export function dip(value: number): number {
251 return Utils.layout.toDevicePixels(value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected