1# -*- coding: utf-8 -*- 2# Generated by the protocol buffer compiler. DO NOT EDIT! 3# source: frameworks/base/tools/aapt2/Configuration.proto 4 5import sys 6_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) 7from google.protobuf import descriptor as _descriptor 8from google.protobuf import message as _message 9from google.protobuf import reflection as _reflection 10from google.protobuf import symbol_database as _symbol_database 11# @@protoc_insertion_point(imports) 12 13_sym_db = _symbol_database.Default() 14 15 16 17 18DESCRIPTOR = _descriptor.FileDescriptor( 19 name='frameworks/base/tools/aapt2/Configuration.proto', 20 package='aapt.pb', 21 syntax='proto3', 22 serialized_options=_b('\n\020com.android.aapt'), 23 serialized_pb=_b('\n/frameworks/base/tools/aapt2/Configuration.proto\x12\x07\x61\x61pt.pb\"\xd9\x14\n\rConfiguration\x12\x0b\n\x03mcc\x18\x01 \x01(\r\x12\x0b\n\x03mnc\x18\x02 \x01(\r\x12\x0e\n\x06locale\x18\x03 \x01(\t\x12@\n\x10layout_direction\x18\x04 \x01(\x0e\x32&.aapt.pb.Configuration.LayoutDirection\x12\x14\n\x0cscreen_width\x18\x05 \x01(\r\x12\x15\n\rscreen_height\x18\x06 \x01(\r\x12\x17\n\x0fscreen_width_dp\x18\x07 \x01(\r\x12\x18\n\x10screen_height_dp\x18\x08 \x01(\r\x12 \n\x18smallest_screen_width_dp\x18\t \x01(\r\x12\x43\n\x12screen_layout_size\x18\n \x01(\x0e\x32\'.aapt.pb.Configuration.ScreenLayoutSize\x12\x43\n\x12screen_layout_long\x18\x0b \x01(\x0e\x32\'.aapt.pb.Configuration.ScreenLayoutLong\x12\x38\n\x0cscreen_round\x18\x0c \x01(\x0e\x32\".aapt.pb.Configuration.ScreenRound\x12?\n\x10wide_color_gamut\x18\r \x01(\x0e\x32%.aapt.pb.Configuration.WideColorGamut\x12\'\n\x03hdr\x18\x0e \x01(\x0e\x32\x1a.aapt.pb.Configuration.Hdr\x12\x37\n\x0borientation\x18\x0f \x01(\x0e\x32\".aapt.pb.Configuration.Orientation\x12\x37\n\x0cui_mode_type\x18\x10 \x01(\x0e\x32!.aapt.pb.Configuration.UiModeType\x12\x39\n\rui_mode_night\x18\x11 \x01(\x0e\x32\".aapt.pb.Configuration.UiModeNight\x12\x0f\n\x07\x64\x65nsity\x18\x12 \x01(\r\x12\x37\n\x0btouchscreen\x18\x13 \x01(\x0e\x32\".aapt.pb.Configuration.Touchscreen\x12\x36\n\x0bkeys_hidden\x18\x14 \x01(\x0e\x32!.aapt.pb.Configuration.KeysHidden\x12\x31\n\x08keyboard\x18\x15 \x01(\x0e\x32\x1f.aapt.pb.Configuration.Keyboard\x12\x34\n\nnav_hidden\x18\x16 \x01(\x0e\x32 .aapt.pb.Configuration.NavHidden\x12\x35\n\nnavigation\x18\x17 \x01(\x0e\x32!.aapt.pb.Configuration.Navigation\x12\x13\n\x0bsdk_version\x18\x18 \x01(\r\x12\x0f\n\x07product\x18\x19 \x01(\t\"a\n\x0fLayoutDirection\x12\x1a\n\x16LAYOUT_DIRECTION_UNSET\x10\x00\x12\x18\n\x14LAYOUT_DIRECTION_LTR\x10\x01\x12\x18\n\x14LAYOUT_DIRECTION_RTL\x10\x02\"\xaa\x01\n\x10ScreenLayoutSize\x12\x1c\n\x18SCREEN_LAYOUT_SIZE_UNSET\x10\x00\x12\x1c\n\x18SCREEN_LAYOUT_SIZE_SMALL\x10\x01\x12\x1d\n\x19SCREEN_LAYOUT_SIZE_NORMAL\x10\x02\x12\x1c\n\x18SCREEN_LAYOUT_SIZE_LARGE\x10\x03\x12\x1d\n\x19SCREEN_LAYOUT_SIZE_XLARGE\x10\x04\"m\n\x10ScreenLayoutLong\x12\x1c\n\x18SCREEN_LAYOUT_LONG_UNSET\x10\x00\x12\x1b\n\x17SCREEN_LAYOUT_LONG_LONG\x10\x01\x12\x1e\n\x1aSCREEN_LAYOUT_LONG_NOTLONG\x10\x02\"X\n\x0bScreenRound\x12\x16\n\x12SCREEN_ROUND_UNSET\x10\x00\x12\x16\n\x12SCREEN_ROUND_ROUND\x10\x01\x12\x19\n\x15SCREEN_ROUND_NOTROUND\x10\x02\"h\n\x0eWideColorGamut\x12\x1a\n\x16WIDE_COLOR_GAMUT_UNSET\x10\x00\x12\x1b\n\x17WIDE_COLOR_GAMUT_WIDECG\x10\x01\x12\x1d\n\x19WIDE_COLOR_GAMUT_NOWIDECG\x10\x02\"3\n\x03Hdr\x12\r\n\tHDR_UNSET\x10\x00\x12\x0e\n\nHDR_HIGHDR\x10\x01\x12\r\n\tHDR_LOWDR\x10\x02\"h\n\x0bOrientation\x12\x15\n\x11ORIENTATION_UNSET\x10\x00\x12\x14\n\x10ORIENTATION_PORT\x10\x01\x12\x14\n\x10ORIENTATION_LAND\x10\x02\x12\x16\n\x12ORIENTATION_SQUARE\x10\x03\"\xd7\x01\n\nUiModeType\x12\x16\n\x12UI_MODE_TYPE_UNSET\x10\x00\x12\x17\n\x13UI_MODE_TYPE_NORMAL\x10\x01\x12\x15\n\x11UI_MODE_TYPE_DESK\x10\x02\x12\x14\n\x10UI_MODE_TYPE_CAR\x10\x03\x12\x1b\n\x17UI_MODE_TYPE_TELEVISION\x10\x04\x12\x1a\n\x16UI_MODE_TYPE_APPLIANCE\x10\x05\x12\x16\n\x12UI_MODE_TYPE_WATCH\x10\x06\x12\x1a\n\x16UI_MODE_TYPE_VRHEADSET\x10\x07\"[\n\x0bUiModeNight\x12\x17\n\x13UI_MODE_NIGHT_UNSET\x10\x00\x12\x17\n\x13UI_MODE_NIGHT_NIGHT\x10\x01\x12\x1a\n\x16UI_MODE_NIGHT_NOTNIGHT\x10\x02\"m\n\x0bTouchscreen\x12\x15\n\x11TOUCHSCREEN_UNSET\x10\x00\x12\x17\n\x13TOUCHSCREEN_NOTOUCH\x10\x01\x12\x16\n\x12TOUCHSCREEN_STYLUS\x10\x02\x12\x16\n\x12TOUCHSCREEN_FINGER\x10\x03\"v\n\nKeysHidden\x12\x15\n\x11KEYS_HIDDEN_UNSET\x10\x00\x12\x1b\n\x17KEYS_HIDDEN_KEYSEXPOSED\x10\x01\x12\x1a\n\x16KEYS_HIDDEN_KEYSHIDDEN\x10\x02\x12\x18\n\x14KEYS_HIDDEN_KEYSSOFT\x10\x03\"`\n\x08Keyboard\x12\x12\n\x0eKEYBOARD_UNSET\x10\x00\x12\x13\n\x0fKEYBOARD_NOKEYS\x10\x01\x12\x13\n\x0fKEYBOARD_QWERTY\x10\x02\x12\x16\n\x12KEYBOARD_TWELVEKEY\x10\x03\"V\n\tNavHidden\x12\x14\n\x10NAV_HIDDEN_UNSET\x10\x00\x12\x19\n\x15NAV_HIDDEN_NAVEXPOSED\x10\x01\x12\x18\n\x14NAV_HIDDEN_NAVHIDDEN\x10\x02\"}\n\nNavigation\x12\x14\n\x10NAVIGATION_UNSET\x10\x00\x12\x14\n\x10NAVIGATION_NONAV\x10\x01\x12\x13\n\x0fNAVIGATION_DPAD\x10\x02\x12\x18\n\x14NAVIGATION_TRACKBALL\x10\x03\x12\x14\n\x10NAVIGATION_WHEEL\x10\x04\x42\x12\n\x10\x63om.android.aaptb\x06proto3') 24) 25 26 27 28_CONFIGURATION_LAYOUTDIRECTION = _descriptor.EnumDescriptor( 29 name='LayoutDirection', 30 full_name='aapt.pb.Configuration.LayoutDirection', 31 filename=None, 32 file=DESCRIPTOR, 33 values=[ 34 _descriptor.EnumValueDescriptor( 35 name='LAYOUT_DIRECTION_UNSET', index=0, number=0, 36 serialized_options=None, 37 type=None), 38 _descriptor.EnumValueDescriptor( 39 name='LAYOUT_DIRECTION_LTR', index=1, number=1, 40 serialized_options=None, 41 type=None), 42 _descriptor.EnumValueDescriptor( 43 name='LAYOUT_DIRECTION_RTL', index=2, number=2, 44 serialized_options=None, 45 type=None), 46 ], 47 containing_type=None, 48 serialized_options=None, 49 serialized_start=1119, 50 serialized_end=1216, 51) 52_sym_db.RegisterEnumDescriptor(_CONFIGURATION_LAYOUTDIRECTION) 53 54_CONFIGURATION_SCREENLAYOUTSIZE = _descriptor.EnumDescriptor( 55 name='ScreenLayoutSize', 56 full_name='aapt.pb.Configuration.ScreenLayoutSize', 57 filename=None, 58 file=DESCRIPTOR, 59 values=[ 60 _descriptor.EnumValueDescriptor( 61 name='SCREEN_LAYOUT_SIZE_UNSET', index=0, number=0, 62 serialized_options=None, 63 type=None), 64 _descriptor.EnumValueDescriptor( 65 name='SCREEN_LAYOUT_SIZE_SMALL', index=1, number=1, 66 serialized_options=None, 67 type=None), 68 _descriptor.EnumValueDescriptor( 69 name='SCREEN_LAYOUT_SIZE_NORMAL', index=2, number=2, 70 serialized_options=None, 71 type=None), 72 _descriptor.EnumValueDescriptor( 73 name='SCREEN_LAYOUT_SIZE_LARGE', index=3, number=3, 74 serialized_options=None, 75 type=None), 76 _descriptor.EnumValueDescriptor( 77 name='SCREEN_LAYOUT_SIZE_XLARGE', index=4, number=4, 78 serialized_options=None, 79 type=None), 80 ], 81 containing_type=None, 82 serialized_options=None, 83 serialized_start=1219, 84 serialized_end=1389, 85) 86_sym_db.RegisterEnumDescriptor(_CONFIGURATION_SCREENLAYOUTSIZE) 87 88_CONFIGURATION_SCREENLAYOUTLONG = _descriptor.EnumDescriptor( 89 name='ScreenLayoutLong', 90 full_name='aapt.pb.Configuration.ScreenLayoutLong', 91 filename=None, 92 file=DESCRIPTOR, 93 values=[ 94 _descriptor.EnumValueDescriptor( 95 name='SCREEN_LAYOUT_LONG_UNSET', index=0, number=0, 96 serialized_options=None, 97 type=None), 98 _descriptor.EnumValueDescriptor( 99 name='SCREEN_LAYOUT_LONG_LONG', index=1, number=1, 100 serialized_options=None, 101 type=None), 102 _descriptor.EnumValueDescriptor( 103 name='SCREEN_LAYOUT_LONG_NOTLONG', index=2, number=2, 104 serialized_options=None, 105 type=None), 106 ], 107 containing_type=None, 108 serialized_options=None, 109 serialized_start=1391, 110 serialized_end=1500, 111) 112_sym_db.RegisterEnumDescriptor(_CONFIGURATION_SCREENLAYOUTLONG) 113 114_CONFIGURATION_SCREENROUND = _descriptor.EnumDescriptor( 115 name='ScreenRound', 116 full_name='aapt.pb.Configuration.ScreenRound', 117 filename=None, 118 file=DESCRIPTOR, 119 values=[ 120 _descriptor.EnumValueDescriptor( 121 name='SCREEN_ROUND_UNSET', index=0, number=0, 122 serialized_options=None, 123 type=None), 124 _descriptor.EnumValueDescriptor( 125 name='SCREEN_ROUND_ROUND', index=1, number=1, 126 serialized_options=None, 127 type=None), 128 _descriptor.EnumValueDescriptor( 129 name='SCREEN_ROUND_NOTROUND', index=2, number=2, 130 serialized_options=None, 131 type=None), 132 ], 133 containing_type=None, 134 serialized_options=None, 135 serialized_start=1502, 136 serialized_end=1590, 137) 138_sym_db.RegisterEnumDescriptor(_CONFIGURATION_SCREENROUND) 139 140_CONFIGURATION_WIDECOLORGAMUT = _descriptor.EnumDescriptor( 141 name='WideColorGamut', 142 full_name='aapt.pb.Configuration.WideColorGamut', 143 filename=None, 144 file=DESCRIPTOR, 145 values=[ 146 _descriptor.EnumValueDescriptor( 147 name='WIDE_COLOR_GAMUT_UNSET', index=0, number=0, 148 serialized_options=None, 149 type=None), 150 _descriptor.EnumValueDescriptor( 151 name='WIDE_COLOR_GAMUT_WIDECG', index=1, number=1, 152 serialized_options=None, 153 type=None), 154 _descriptor.EnumValueDescriptor( 155 name='WIDE_COLOR_GAMUT_NOWIDECG', index=2, number=2, 156 serialized_options=None, 157 type=None), 158 ], 159 containing_type=None, 160 serialized_options=None, 161 serialized_start=1592, 162 serialized_end=1696, 163) 164_sym_db.RegisterEnumDescriptor(_CONFIGURATION_WIDECOLORGAMUT) 165 166_CONFIGURATION_HDR = _descriptor.EnumDescriptor( 167 name='Hdr', 168 full_name='aapt.pb.Configuration.Hdr', 169 filename=None, 170 file=DESCRIPTOR, 171 values=[ 172 _descriptor.EnumValueDescriptor( 173 name='HDR_UNSET', index=0, number=0, 174 serialized_options=None, 175 type=None), 176 _descriptor.EnumValueDescriptor( 177 name='HDR_HIGHDR', index=1, number=1, 178 serialized_options=None, 179 type=None), 180 _descriptor.EnumValueDescriptor( 181 name='HDR_LOWDR', index=2, number=2, 182 serialized_options=None, 183 type=None), 184 ], 185 containing_type=None, 186 serialized_options=None, 187 serialized_start=1698, 188 serialized_end=1749, 189) 190_sym_db.RegisterEnumDescriptor(_CONFIGURATION_HDR) 191 192_CONFIGURATION_ORIENTATION = _descriptor.EnumDescriptor( 193 name='Orientation', 194 full_name='aapt.pb.Configuration.Orientation', 195 filename=None, 196 file=DESCRIPTOR, 197 values=[ 198 _descriptor.EnumValueDescriptor( 199 name='ORIENTATION_UNSET', index=0, number=0, 200 serialized_options=None, 201 type=None), 202 _descriptor.EnumValueDescriptor( 203 name='ORIENTATION_PORT', index=1, number=1, 204 serialized_options=None, 205 type=None), 206 _descriptor.EnumValueDescriptor( 207 name='ORIENTATION_LAND', index=2, number=2, 208 serialized_options=None, 209 type=None), 210 _descriptor.EnumValueDescriptor( 211 name='ORIENTATION_SQUARE', index=3, number=3, 212 serialized_options=None, 213 type=None), 214 ], 215 containing_type=None, 216 serialized_options=None, 217 serialized_start=1751, 218 serialized_end=1855, 219) 220_sym_db.RegisterEnumDescriptor(_CONFIGURATION_ORIENTATION) 221 222_CONFIGURATION_UIMODETYPE = _descriptor.EnumDescriptor( 223 name='UiModeType', 224 full_name='aapt.pb.Configuration.UiModeType', 225 filename=None, 226 file=DESCRIPTOR, 227 values=[ 228 _descriptor.EnumValueDescriptor( 229 name='UI_MODE_TYPE_UNSET', index=0, number=0, 230 serialized_options=None, 231 type=None), 232 _descriptor.EnumValueDescriptor( 233 name='UI_MODE_TYPE_NORMAL', index=1, number=1, 234 serialized_options=None, 235 type=None), 236 _descriptor.EnumValueDescriptor( 237 name='UI_MODE_TYPE_DESK', index=2, number=2, 238 serialized_options=None, 239 type=None), 240 _descriptor.EnumValueDescriptor( 241 name='UI_MODE_TYPE_CAR', index=3, number=3, 242 serialized_options=None, 243 type=None), 244 _descriptor.EnumValueDescriptor( 245 name='UI_MODE_TYPE_TELEVISION', index=4, number=4, 246 serialized_options=None, 247 type=None), 248 _descriptor.EnumValueDescriptor( 249 name='UI_MODE_TYPE_APPLIANCE', index=5, number=5, 250 serialized_options=None, 251 type=None), 252 _descriptor.EnumValueDescriptor( 253 name='UI_MODE_TYPE_WATCH', index=6, number=6, 254 serialized_options=None, 255 type=None), 256 _descriptor.EnumValueDescriptor( 257 name='UI_MODE_TYPE_VRHEADSET', index=7, number=7, 258 serialized_options=None, 259 type=None), 260 ], 261 containing_type=None, 262 serialized_options=None, 263 serialized_start=1858, 264 serialized_end=2073, 265) 266_sym_db.RegisterEnumDescriptor(_CONFIGURATION_UIMODETYPE) 267 268_CONFIGURATION_UIMODENIGHT = _descriptor.EnumDescriptor( 269 name='UiModeNight', 270 full_name='aapt.pb.Configuration.UiModeNight', 271 filename=None, 272 file=DESCRIPTOR, 273 values=[ 274 _descriptor.EnumValueDescriptor( 275 name='UI_MODE_NIGHT_UNSET', index=0, number=0, 276 serialized_options=None, 277 type=None), 278 _descriptor.EnumValueDescriptor( 279 name='UI_MODE_NIGHT_NIGHT', index=1, number=1, 280 serialized_options=None, 281 type=None), 282 _descriptor.EnumValueDescriptor( 283 name='UI_MODE_NIGHT_NOTNIGHT', index=2, number=2, 284 serialized_options=None, 285 type=None), 286 ], 287 containing_type=None, 288 serialized_options=None, 289 serialized_start=2075, 290 serialized_end=2166, 291) 292_sym_db.RegisterEnumDescriptor(_CONFIGURATION_UIMODENIGHT) 293 294_CONFIGURATION_TOUCHSCREEN = _descriptor.EnumDescriptor( 295 name='Touchscreen', 296 full_name='aapt.pb.Configuration.Touchscreen', 297 filename=None, 298 file=DESCRIPTOR, 299 values=[ 300 _descriptor.EnumValueDescriptor( 301 name='TOUCHSCREEN_UNSET', index=0, number=0, 302 serialized_options=None, 303 type=None), 304 _descriptor.EnumValueDescriptor( 305 name='TOUCHSCREEN_NOTOUCH', index=1, number=1, 306 serialized_options=None, 307 type=None), 308 _descriptor.EnumValueDescriptor( 309 name='TOUCHSCREEN_STYLUS', index=2, number=2, 310 serialized_options=None, 311 type=None), 312 _descriptor.EnumValueDescriptor( 313 name='TOUCHSCREEN_FINGER', index=3, number=3, 314 serialized_options=None, 315 type=None), 316 ], 317 containing_type=None, 318 serialized_options=None, 319 serialized_start=2168, 320 serialized_end=2277, 321) 322_sym_db.RegisterEnumDescriptor(_CONFIGURATION_TOUCHSCREEN) 323 324_CONFIGURATION_KEYSHIDDEN = _descriptor.EnumDescriptor( 325 name='KeysHidden', 326 full_name='aapt.pb.Configuration.KeysHidden', 327 filename=None, 328 file=DESCRIPTOR, 329 values=[ 330 _descriptor.EnumValueDescriptor( 331 name='KEYS_HIDDEN_UNSET', index=0, number=0, 332 serialized_options=None, 333 type=None), 334 _descriptor.EnumValueDescriptor( 335 name='KEYS_HIDDEN_KEYSEXPOSED', index=1, number=1, 336 serialized_options=None, 337 type=None), 338 _descriptor.EnumValueDescriptor( 339 name='KEYS_HIDDEN_KEYSHIDDEN', index=2, number=2, 340 serialized_options=None, 341 type=None), 342 _descriptor.EnumValueDescriptor( 343 name='KEYS_HIDDEN_KEYSSOFT', index=3, number=3, 344 serialized_options=None, 345 type=None), 346 ], 347 containing_type=None, 348 serialized_options=None, 349 serialized_start=2279, 350 serialized_end=2397, 351) 352_sym_db.RegisterEnumDescriptor(_CONFIGURATION_KEYSHIDDEN) 353 354_CONFIGURATION_KEYBOARD = _descriptor.EnumDescriptor( 355 name='Keyboard', 356 full_name='aapt.pb.Configuration.Keyboard', 357 filename=None, 358 file=DESCRIPTOR, 359 values=[ 360 _descriptor.EnumValueDescriptor( 361 name='KEYBOARD_UNSET', index=0, number=0, 362 serialized_options=None, 363 type=None), 364 _descriptor.EnumValueDescriptor( 365 name='KEYBOARD_NOKEYS', index=1, number=1, 366 serialized_options=None, 367 type=None), 368 _descriptor.EnumValueDescriptor( 369 name='KEYBOARD_QWERTY', index=2, number=2, 370 serialized_options=None, 371 type=None), 372 _descriptor.EnumValueDescriptor( 373 name='KEYBOARD_TWELVEKEY', index=3, number=3, 374 serialized_options=None, 375 type=None), 376 ], 377 containing_type=None, 378 serialized_options=None, 379 serialized_start=2399, 380 serialized_end=2495, 381) 382_sym_db.RegisterEnumDescriptor(_CONFIGURATION_KEYBOARD) 383 384_CONFIGURATION_NAVHIDDEN = _descriptor.EnumDescriptor( 385 name='NavHidden', 386 full_name='aapt.pb.Configuration.NavHidden', 387 filename=None, 388 file=DESCRIPTOR, 389 values=[ 390 _descriptor.EnumValueDescriptor( 391 name='NAV_HIDDEN_UNSET', index=0, number=0, 392 serialized_options=None, 393 type=None), 394 _descriptor.EnumValueDescriptor( 395 name='NAV_HIDDEN_NAVEXPOSED', index=1, number=1, 396 serialized_options=None, 397 type=None), 398 _descriptor.EnumValueDescriptor( 399 name='NAV_HIDDEN_NAVHIDDEN', index=2, number=2, 400 serialized_options=None, 401 type=None), 402 ], 403 containing_type=None, 404 serialized_options=None, 405 serialized_start=2497, 406 serialized_end=2583, 407) 408_sym_db.RegisterEnumDescriptor(_CONFIGURATION_NAVHIDDEN) 409 410_CONFIGURATION_NAVIGATION = _descriptor.EnumDescriptor( 411 name='Navigation', 412 full_name='aapt.pb.Configuration.Navigation', 413 filename=None, 414 file=DESCRIPTOR, 415 values=[ 416 _descriptor.EnumValueDescriptor( 417 name='NAVIGATION_UNSET', index=0, number=0, 418 serialized_options=None, 419 type=None), 420 _descriptor.EnumValueDescriptor( 421 name='NAVIGATION_NONAV', index=1, number=1, 422 serialized_options=None, 423 type=None), 424 _descriptor.EnumValueDescriptor( 425 name='NAVIGATION_DPAD', index=2, number=2, 426 serialized_options=None, 427 type=None), 428 _descriptor.EnumValueDescriptor( 429 name='NAVIGATION_TRACKBALL', index=3, number=3, 430 serialized_options=None, 431 type=None), 432 _descriptor.EnumValueDescriptor( 433 name='NAVIGATION_WHEEL', index=4, number=4, 434 serialized_options=None, 435 type=None), 436 ], 437 containing_type=None, 438 serialized_options=None, 439 serialized_start=2585, 440 serialized_end=2710, 441) 442_sym_db.RegisterEnumDescriptor(_CONFIGURATION_NAVIGATION) 443 444 445_CONFIGURATION = _descriptor.Descriptor( 446 name='Configuration', 447 full_name='aapt.pb.Configuration', 448 filename=None, 449 file=DESCRIPTOR, 450 containing_type=None, 451 fields=[ 452 _descriptor.FieldDescriptor( 453 name='mcc', full_name='aapt.pb.Configuration.mcc', index=0, 454 number=1, type=13, cpp_type=3, label=1, 455 has_default_value=False, default_value=0, 456 message_type=None, enum_type=None, containing_type=None, 457 is_extension=False, extension_scope=None, 458 serialized_options=None, file=DESCRIPTOR), 459 _descriptor.FieldDescriptor( 460 name='mnc', full_name='aapt.pb.Configuration.mnc', index=1, 461 number=2, type=13, cpp_type=3, label=1, 462 has_default_value=False, default_value=0, 463 message_type=None, enum_type=None, containing_type=None, 464 is_extension=False, extension_scope=None, 465 serialized_options=None, file=DESCRIPTOR), 466 _descriptor.FieldDescriptor( 467 name='locale', full_name='aapt.pb.Configuration.locale', index=2, 468 number=3, type=9, cpp_type=9, label=1, 469 has_default_value=False, default_value=_b("").decode('utf-8'), 470 message_type=None, enum_type=None, containing_type=None, 471 is_extension=False, extension_scope=None, 472 serialized_options=None, file=DESCRIPTOR), 473 _descriptor.FieldDescriptor( 474 name='layout_direction', full_name='aapt.pb.Configuration.layout_direction', index=3, 475 number=4, type=14, cpp_type=8, label=1, 476 has_default_value=False, default_value=0, 477 message_type=None, enum_type=None, containing_type=None, 478 is_extension=False, extension_scope=None, 479 serialized_options=None, file=DESCRIPTOR), 480 _descriptor.FieldDescriptor( 481 name='screen_width', full_name='aapt.pb.Configuration.screen_width', index=4, 482 number=5, type=13, cpp_type=3, label=1, 483 has_default_value=False, default_value=0, 484 message_type=None, enum_type=None, containing_type=None, 485 is_extension=False, extension_scope=None, 486 serialized_options=None, file=DESCRIPTOR), 487 _descriptor.FieldDescriptor( 488 name='screen_height', full_name='aapt.pb.Configuration.screen_height', index=5, 489 number=6, type=13, cpp_type=3, label=1, 490 has_default_value=False, default_value=0, 491 message_type=None, enum_type=None, containing_type=None, 492 is_extension=False, extension_scope=None, 493 serialized_options=None, file=DESCRIPTOR), 494 _descriptor.FieldDescriptor( 495 name='screen_width_dp', full_name='aapt.pb.Configuration.screen_width_dp', index=6, 496 number=7, type=13, cpp_type=3, label=1, 497 has_default_value=False, default_value=0, 498 message_type=None, enum_type=None, containing_type=None, 499 is_extension=False, extension_scope=None, 500 serialized_options=None, file=DESCRIPTOR), 501 _descriptor.FieldDescriptor( 502 name='screen_height_dp', full_name='aapt.pb.Configuration.screen_height_dp', index=7, 503 number=8, type=13, cpp_type=3, label=1, 504 has_default_value=False, default_value=0, 505 message_type=None, enum_type=None, containing_type=None, 506 is_extension=False, extension_scope=None, 507 serialized_options=None, file=DESCRIPTOR), 508 _descriptor.FieldDescriptor( 509 name='smallest_screen_width_dp', full_name='aapt.pb.Configuration.smallest_screen_width_dp', index=8, 510 number=9, type=13, cpp_type=3, label=1, 511 has_default_value=False, default_value=0, 512 message_type=None, enum_type=None, containing_type=None, 513 is_extension=False, extension_scope=None, 514 serialized_options=None, file=DESCRIPTOR), 515 _descriptor.FieldDescriptor( 516 name='screen_layout_size', full_name='aapt.pb.Configuration.screen_layout_size', index=9, 517 number=10, type=14, cpp_type=8, label=1, 518 has_default_value=False, default_value=0, 519 message_type=None, enum_type=None, containing_type=None, 520 is_extension=False, extension_scope=None, 521 serialized_options=None, file=DESCRIPTOR), 522 _descriptor.FieldDescriptor( 523 name='screen_layout_long', full_name='aapt.pb.Configuration.screen_layout_long', index=10, 524 number=11, type=14, cpp_type=8, label=1, 525 has_default_value=False, default_value=0, 526 message_type=None, enum_type=None, containing_type=None, 527 is_extension=False, extension_scope=None, 528 serialized_options=None, file=DESCRIPTOR), 529 _descriptor.FieldDescriptor( 530 name='screen_round', full_name='aapt.pb.Configuration.screen_round', index=11, 531 number=12, type=14, cpp_type=8, label=1, 532 has_default_value=False, default_value=0, 533 message_type=None, enum_type=None, containing_type=None, 534 is_extension=False, extension_scope=None, 535 serialized_options=None, file=DESCRIPTOR), 536 _descriptor.FieldDescriptor( 537 name='wide_color_gamut', full_name='aapt.pb.Configuration.wide_color_gamut', index=12, 538 number=13, type=14, cpp_type=8, label=1, 539 has_default_value=False, default_value=0, 540 message_type=None, enum_type=None, containing_type=None, 541 is_extension=False, extension_scope=None, 542 serialized_options=None, file=DESCRIPTOR), 543 _descriptor.FieldDescriptor( 544 name='hdr', full_name='aapt.pb.Configuration.hdr', index=13, 545 number=14, type=14, cpp_type=8, label=1, 546 has_default_value=False, default_value=0, 547 message_type=None, enum_type=None, containing_type=None, 548 is_extension=False, extension_scope=None, 549 serialized_options=None, file=DESCRIPTOR), 550 _descriptor.FieldDescriptor( 551 name='orientation', full_name='aapt.pb.Configuration.orientation', index=14, 552 number=15, type=14, cpp_type=8, label=1, 553 has_default_value=False, default_value=0, 554 message_type=None, enum_type=None, containing_type=None, 555 is_extension=False, extension_scope=None, 556 serialized_options=None, file=DESCRIPTOR), 557 _descriptor.FieldDescriptor( 558 name='ui_mode_type', full_name='aapt.pb.Configuration.ui_mode_type', index=15, 559 number=16, type=14, cpp_type=8, label=1, 560 has_default_value=False, default_value=0, 561 message_type=None, enum_type=None, containing_type=None, 562 is_extension=False, extension_scope=None, 563 serialized_options=None, file=DESCRIPTOR), 564 _descriptor.FieldDescriptor( 565 name='ui_mode_night', full_name='aapt.pb.Configuration.ui_mode_night', index=16, 566 number=17, type=14, cpp_type=8, label=1, 567 has_default_value=False, default_value=0, 568 message_type=None, enum_type=None, containing_type=None, 569 is_extension=False, extension_scope=None, 570 serialized_options=None, file=DESCRIPTOR), 571 _descriptor.FieldDescriptor( 572 name='density', full_name='aapt.pb.Configuration.density', index=17, 573 number=18, type=13, cpp_type=3, label=1, 574 has_default_value=False, default_value=0, 575 message_type=None, enum_type=None, containing_type=None, 576 is_extension=False, extension_scope=None, 577 serialized_options=None, file=DESCRIPTOR), 578 _descriptor.FieldDescriptor( 579 name='touchscreen', full_name='aapt.pb.Configuration.touchscreen', index=18, 580 number=19, type=14, cpp_type=8, label=1, 581 has_default_value=False, default_value=0, 582 message_type=None, enum_type=None, containing_type=None, 583 is_extension=False, extension_scope=None, 584 serialized_options=None, file=DESCRIPTOR), 585 _descriptor.FieldDescriptor( 586 name='keys_hidden', full_name='aapt.pb.Configuration.keys_hidden', index=19, 587 number=20, type=14, cpp_type=8, label=1, 588 has_default_value=False, default_value=0, 589 message_type=None, enum_type=None, containing_type=None, 590 is_extension=False, extension_scope=None, 591 serialized_options=None, file=DESCRIPTOR), 592 _descriptor.FieldDescriptor( 593 name='keyboard', full_name='aapt.pb.Configuration.keyboard', index=20, 594 number=21, type=14, cpp_type=8, label=1, 595 has_default_value=False, default_value=0, 596 message_type=None, enum_type=None, containing_type=None, 597 is_extension=False, extension_scope=None, 598 serialized_options=None, file=DESCRIPTOR), 599 _descriptor.FieldDescriptor( 600 name='nav_hidden', full_name='aapt.pb.Configuration.nav_hidden', index=21, 601 number=22, type=14, cpp_type=8, label=1, 602 has_default_value=False, default_value=0, 603 message_type=None, enum_type=None, containing_type=None, 604 is_extension=False, extension_scope=None, 605 serialized_options=None, file=DESCRIPTOR), 606 _descriptor.FieldDescriptor( 607 name='navigation', full_name='aapt.pb.Configuration.navigation', index=22, 608 number=23, type=14, cpp_type=8, label=1, 609 has_default_value=False, default_value=0, 610 message_type=None, enum_type=None, containing_type=None, 611 is_extension=False, extension_scope=None, 612 serialized_options=None, file=DESCRIPTOR), 613 _descriptor.FieldDescriptor( 614 name='sdk_version', full_name='aapt.pb.Configuration.sdk_version', index=23, 615 number=24, type=13, cpp_type=3, label=1, 616 has_default_value=False, default_value=0, 617 message_type=None, enum_type=None, containing_type=None, 618 is_extension=False, extension_scope=None, 619 serialized_options=None, file=DESCRIPTOR), 620 _descriptor.FieldDescriptor( 621 name='product', full_name='aapt.pb.Configuration.product', index=24, 622 number=25, type=9, cpp_type=9, label=1, 623 has_default_value=False, default_value=_b("").decode('utf-8'), 624 message_type=None, enum_type=None, containing_type=None, 625 is_extension=False, extension_scope=None, 626 serialized_options=None, file=DESCRIPTOR), 627 ], 628 extensions=[ 629 ], 630 nested_types=[], 631 enum_types=[ 632 _CONFIGURATION_LAYOUTDIRECTION, 633 _CONFIGURATION_SCREENLAYOUTSIZE, 634 _CONFIGURATION_SCREENLAYOUTLONG, 635 _CONFIGURATION_SCREENROUND, 636 _CONFIGURATION_WIDECOLORGAMUT, 637 _CONFIGURATION_HDR, 638 _CONFIGURATION_ORIENTATION, 639 _CONFIGURATION_UIMODETYPE, 640 _CONFIGURATION_UIMODENIGHT, 641 _CONFIGURATION_TOUCHSCREEN, 642 _CONFIGURATION_KEYSHIDDEN, 643 _CONFIGURATION_KEYBOARD, 644 _CONFIGURATION_NAVHIDDEN, 645 _CONFIGURATION_NAVIGATION, 646 ], 647 serialized_options=None, 648 is_extendable=False, 649 syntax='proto3', 650 extension_ranges=[], 651 oneofs=[ 652 ], 653 serialized_start=61, 654 serialized_end=2710, 655) 656 657_CONFIGURATION.fields_by_name['layout_direction'].enum_type = _CONFIGURATION_LAYOUTDIRECTION 658_CONFIGURATION.fields_by_name['screen_layout_size'].enum_type = _CONFIGURATION_SCREENLAYOUTSIZE 659_CONFIGURATION.fields_by_name['screen_layout_long'].enum_type = _CONFIGURATION_SCREENLAYOUTLONG 660_CONFIGURATION.fields_by_name['screen_round'].enum_type = _CONFIGURATION_SCREENROUND 661_CONFIGURATION.fields_by_name['wide_color_gamut'].enum_type = _CONFIGURATION_WIDECOLORGAMUT 662_CONFIGURATION.fields_by_name['hdr'].enum_type = _CONFIGURATION_HDR 663_CONFIGURATION.fields_by_name['orientation'].enum_type = _CONFIGURATION_ORIENTATION 664_CONFIGURATION.fields_by_name['ui_mode_type'].enum_type = _CONFIGURATION_UIMODETYPE 665_CONFIGURATION.fields_by_name['ui_mode_night'].enum_type = _CONFIGURATION_UIMODENIGHT 666_CONFIGURATION.fields_by_name['touchscreen'].enum_type = _CONFIGURATION_TOUCHSCREEN 667_CONFIGURATION.fields_by_name['keys_hidden'].enum_type = _CONFIGURATION_KEYSHIDDEN 668_CONFIGURATION.fields_by_name['keyboard'].enum_type = _CONFIGURATION_KEYBOARD 669_CONFIGURATION.fields_by_name['nav_hidden'].enum_type = _CONFIGURATION_NAVHIDDEN 670_CONFIGURATION.fields_by_name['navigation'].enum_type = _CONFIGURATION_NAVIGATION 671_CONFIGURATION_LAYOUTDIRECTION.containing_type = _CONFIGURATION 672_CONFIGURATION_SCREENLAYOUTSIZE.containing_type = _CONFIGURATION 673_CONFIGURATION_SCREENLAYOUTLONG.containing_type = _CONFIGURATION 674_CONFIGURATION_SCREENROUND.containing_type = _CONFIGURATION 675_CONFIGURATION_WIDECOLORGAMUT.containing_type = _CONFIGURATION 676_CONFIGURATION_HDR.containing_type = _CONFIGURATION 677_CONFIGURATION_ORIENTATION.containing_type = _CONFIGURATION 678_CONFIGURATION_UIMODETYPE.containing_type = _CONFIGURATION 679_CONFIGURATION_UIMODENIGHT.containing_type = _CONFIGURATION 680_CONFIGURATION_TOUCHSCREEN.containing_type = _CONFIGURATION 681_CONFIGURATION_KEYSHIDDEN.containing_type = _CONFIGURATION 682_CONFIGURATION_KEYBOARD.containing_type = _CONFIGURATION 683_CONFIGURATION_NAVHIDDEN.containing_type = _CONFIGURATION 684_CONFIGURATION_NAVIGATION.containing_type = _CONFIGURATION 685DESCRIPTOR.message_types_by_name['Configuration'] = _CONFIGURATION 686_sym_db.RegisterFileDescriptor(DESCRIPTOR) 687 688Configuration = _reflection.GeneratedProtocolMessageType('Configuration', (_message.Message,), { 689 'DESCRIPTOR' : _CONFIGURATION, 690 '__module__' : 'frameworks.base.tools.aapt2.Configuration_pb2' 691 # @@protoc_insertion_point(class_scope:aapt.pb.Configuration) 692 }) 693_sym_db.RegisterMessage(Configuration) 694 695 696DESCRIPTOR._options = None 697# @@protoc_insertion_point(module_scope) 698