R.h revision 4c67a475a334e4f65238d439a3339195e03c03be
1/*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef TESTS_DATA_BASIC_R_H_
18#define TESTS_DATA_BASIC_R_H_
19
20#include <cstdint>
21
22namespace com {
23namespace android {
24namespace basic {
25
26struct R {
27  struct attr {
28    enum : uint32_t {
29      attr1 = 0x7f010000,
30      attr2 = 0x7f010001,
31    };
32  };
33
34  struct layout {
35    enum : uint32_t {
36      main = 0x7f020000,
37    };
38  };
39
40  struct string {
41    enum : uint32_t {
42      test1 = 0x7f030000,
43      test2 = 0x7f030001,
44      density = 0x7f030002,
45
46      // From feature
47      test3 = 0x7f080000,
48      test4 = 0x7f080001,
49    };
50  };
51
52  struct integer {
53    enum : uint32_t {
54      number1 = 0x7f040000,
55      number2 = 0x7f040001,
56
57      // From feature
58      number3 = 0x7f090000,
59    };
60  };
61
62  struct style {
63    enum : uint32_t {
64      Theme1 = 0x7f050000,
65      Theme2 = 0x7f050001,
66    };
67  };
68
69  struct array {
70    enum : uint32_t {
71      integerArray1 = 0x7f060000,
72    };
73  };
74};
75
76}  // namespace basic
77}  // namespace android
78}  // namespace com
79
80#endif /* TESTS_DATA_BASIC_R_H_ */
81