camera2: Add synthetic key support; add scaler.streamConfigurationMap
Also @hide/@deprecate keys that are now accessible only via
StreamConfigurationMap.
Bug: 14628001
Change-Id: I2db490a0849680a133a901403477a147b004fb28
diff --git a/camera/docs/CameraMetadataKeys.mako b/camera/docs/CameraMetadataKeys.mako
index b602419..dd641a0 100644
--- a/camera/docs/CameraMetadataKeys.mako
+++ b/camera/docs/CameraMetadataKeys.mako
@@ -63,10 +63,16 @@
* @see #${jenum_value(entry, value)}
% endfor
% endif
+ % if entry.deprecated:
+ * @deprecated
+ % endif
% if entry.applied_visibility == 'hidden':
* @hide
% endif
*/
+ % if entry.deprecated:
+ @Deprecated
+ % endif
public static final Key<${jtype_boxed(entry)}> ${entry.name | jkey_identifier} =
new Key<${jtype_boxed(entry)}>("${entry.name}", ${jclass(entry)});
</%def>\
@@ -105,4 +111,4 @@
${single_kind_keys(java_class, xml_kind)}\
/*~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~
* End generated code
- *~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~O@*/
\ No newline at end of file
+ *~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~O@*/