UNPKG

731 BTypeScriptView Raw
1export declare const MODE_SHIFT = 30;
2export declare const MODE_MASK: number;
3export declare const UNSPECIFIED: number;
4export declare const EXACTLY: number;
5export declare const AT_MOST: number;
6export declare const MEASURED_HEIGHT_STATE_SHIFT = 16;
7export declare const MEASURED_STATE_TOO_SMALL = 16777216;
8export declare const MEASURED_STATE_MASK = 4278190080;
9export declare const MEASURED_SIZE_MASK = 16777215;
10export declare function getMode(mode: number): string;
11export declare function getMeasureSpecMode(spec: number): number;
12export declare function getMeasureSpecSize(spec: number): number;
13export declare function measureSpecToString(measureSpec: number): string;
14export declare function round(value: number): number;