1 | export declare namespace layout {
|
2 | const MODE_SHIFT = 30;
|
3 | const MODE_MASK: number;
|
4 | const UNSPECIFIED: number;
|
5 | const EXACTLY: number;
|
6 | const AT_MOST: number;
|
7 | const MEASURED_HEIGHT_STATE_SHIFT = 16;
|
8 | const MEASURED_STATE_TOO_SMALL = 16777216;
|
9 | const MEASURED_STATE_MASK = 4278190080;
|
10 | const MEASURED_SIZE_MASK = 16777215;
|
11 | function getMode(mode: number): string;
|
12 | function getMeasureSpecMode(spec: number): number;
|
13 | function getMeasureSpecSize(spec: number): number;
|
14 | function makeMeasureSpec(size: number, mode: number): number;
|
15 | function getDisplayDensity(): number;
|
16 | function toDevicePixels(value: number): number;
|
17 | function toDeviceIndependentPixels(value: number): number;
|
18 | function round(value: number): number;
|
19 | function measureNativeView(nativeView: any, width: number, widthMode: number, height: number, heightMode: number): {
|
20 | width: number;
|
21 | height: number;
|
22 | };
|
23 | function measureSpecToString(measureSpec: number): string;
|
24 | }
|