Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils/layout-helper/layout-helper.d"

Index

Variables

Const AT_MOST

AT_MOST: number

Const EXACTLY

EXACTLY: number

Const MEASURED_HEIGHT_STATE_SHIFT

MEASURED_HEIGHT_STATE_SHIFT: number

Const MEASURED_SIZE_MASK

MEASURED_SIZE_MASK: number

Const MEASURED_STATE_MASK

MEASURED_STATE_MASK: number

Const MEASURED_STATE_TOO_SMALL

MEASURED_STATE_TOO_SMALL: number

Const UNSPECIFIED

UNSPECIFIED: number

Functions

getDisplayDensity

  • getDisplayDensity(): number

getMeasureSpecMode

  • getMeasureSpecMode(spec: number): number

getMeasureSpecSize

  • getMeasureSpecSize(spec: number): number

getMode

  • getMode(mode: number): string

makeMeasureSpec

  • makeMeasureSpec(px: number, mode: number): number

measureNativeView

  • measureNativeView(nativeView: any, width: number, widthMode: number, height: number, heightMode: number): object

measureSpecToString

  • measureSpecToString(measureSpec: number): string

round

toDeviceIndependentPixels

  • toDeviceIndependentPixels(value: px): dip

toDevicePixels

  • toDevicePixels(value: dip): px

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method