• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
22 namespace com {
23 namespace android {
24 namespace basic {
25 
26 struct 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       layoutt = 0x7f020001,
38     };
39   };
40 
41   struct string {
42     enum : uint32_t {
43       test1 = 0x7f030000,
44       test2 = 0x7f030001,
45       density = 0x7f030002,
46 
47       // From feature
48       test3 = 0x80020000,
49       test4 = 0x80020001,
50     };
51   };
52 
53   struct integer {
54     enum : uint32_t {
55       number1 = 0x7f040000,
56       number2 = 0x7f040001,
57       ref1 = 0x7f040002,
58       ref2 = 0x7f040003,
59       deep_ref = 0x7f040004,
60 
61       // From feature
62       number3 = 0x80030000,
63     };
64   };
65 
66   struct style {
67     enum : uint32_t {
68       Theme1 = 0x7f050000,
69       Theme2 = 0x7f050001,
70     };
71   };
72 
73   struct array {
74     enum : uint32_t {
75       integerArray1 = 0x7f060000,
76     };
77   };
78 };
79 
80 }  // namespace basic
81 }  // namespace android
82 }  // namespace com
83 
84 #endif /* TESTS_DATA_BASIC_R_H_ */
85