Home
last modified time | relevance | path

Searched refs:enum (Results 1 – 11 of 11) sorted by relevance

/system/media/camera/docs/
Dcamera_metadata_tags.mako32 if entry.enum:
33 type = 'enum'
42 /** TODO: Nearly every enum in this file needs a description */
50 typedef enum camera_metadata_section {
60 * Hierarchy positions in enum space. All vendor extension tags must be
63 typedef enum camera_metadata_section_start {
71 * Main enum for defining camera metadata tags. New entries must always go
76 typedef enum camera_metadata_tag {
97 % if entry.enum:
99 typedef enum camera_metadata_enum_${csym(entry.name).lower()} {
[all …]
Dmetadata_validate.py257 enum = entry.attrs.get('enum')
258 if enum and enum == 'true':
259 if entry.enum is None:
266 for value in entry.enum.find_all('value'):
278 if entry.enum:
DCameraMetadataEnums.mako18 ## This section of enum integer definitions is inserted into
21 * The enum values below this point are generated from metadata
26 ## Generate an enum's integers
32 % for value in entry.enum.values:
57 % if entry.enum \
67 % if entry.enum \
Dcamera_metadata_tag_info.mako68 const char *msg = "error: not an enum";
75 % if entry.enum:
77 % for val in entry.enum.values:
84 msg = "error: enum value out of range";
Dmetadata_template.mako101 % if prop.enum:
102 enum="true"
133 % if prop.enum:
134 <enum>
135 % for value in prop.enum.values:
152 </enum>
Dmetadata_helpers_test.py72 def compare_values_against_list(expected_list, enum): argument
75 enum_calculate_value_string(list(enum.values)[idx]))
Dmetadata_helpers.py385 if not java_type and entry.enum and metadata_type == 'byte':
671 if entry.enum and not (entry.typedef and entry.typedef.languages.get('java')):
673 for value in entry.enum.values:
678 if entry.enum and not (entry.typedef and entry.typedef.languages.get('java')):
DCameraMetadataKeys.mako46 % if entry.enum and not (entry.typedef and entry.typedef.languages.get('java')):
47 % for value in entry.enum.values:
Dhtml.mako61 .entry_type_name_enum:after { color: #669900; font-weight: bold; content:" (enum)" }
239 % if prop.enum:
277 % if prop.enum:
279 % for value in prop.enum.values:
Dmetadata_parser_xml.py212 for value in entry.enum.find_all('value'):
Dmetadata_model.py1212 def enum(self): member in Entry
1216 if self.enum:
1217 yield self.enum