summaryrefslogtreecommitdiff
path: root/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/constant.rscript
blob: 732eaefa6bb8f43fa1abea46aa744f7ee86f3141 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "shared.rsh"

const float floatTest = 1.99f;
const double doubleTest = 2.05;
const char charTest = -8;
const short shortTest = -16;
const int intTest = -32;
const long longTest = 17179869184l; // 1 << 34
const long long longlongTest = 68719476736l; // 1 << 36

const uchar ucharTest = 8;
const ushort ushortTest = 16;
const uint uintTest = 32;
const ulong ulongTest = 4611686018427387904L;
const int64_t int64_tTest = -17179869184l; // - 1 << 34
const uint64_t uint64_tTest = 117179869184l;

const bool boolTest = true;