Lines Matching refs:props

40 def full(props):  argument
49 return props.has_key("android.info.supportedHardwareLevel") and \
50 props["android.info.supportedHardwareLevel"] == 1
52 def limited(props): argument
61 return props.has_key("android.info.supportedHardwareLevel") and \
62 props["android.info.supportedHardwareLevel"] == 0
64 def legacy(props): argument
73 return props.has_key("android.info.supportedHardwareLevel") and \
74 props["android.info.supportedHardwareLevel"] == 2
76 def manual_sensor(props): argument
85 return props.has_key("android.request.availableCapabilities") and \
86 1 in props["android.request.availableCapabilities"] \
87 or full(props)
89 def manual_post_proc(props): argument
98 return props.has_key("android.request.availableCapabilities") and \
99 2 in props["android.request.availableCapabilities"] \
100 or full(props)
102 def raw(props): argument
111 return props.has_key("android.request.availableCapabilities") and \
112 3 in props["android.request.availableCapabilities"]
114 def raw16(props): argument
123 return len(its.objects.get_available_output_sizes("raw", props)) > 0
125 def raw10(props): argument
134 return len(its.objects.get_available_output_sizes("raw10", props)) > 0
136 def raw12(props): argument
145 return len(its.objects.get_available_output_sizes("raw12", props)) > 0
147 def sensor_fusion(props): argument
157 return props.has_key("android.sensor.info.timestampSource") and \
158 props["android.sensor.info.timestampSource"] == 1
160 def read_3a(props): argument
175 return manual_sensor(props) and manual_post_proc(props)
177 def compute_target_exposure(props): argument
186 return manual_sensor(props) and manual_post_proc(props)
188 def freeform_crop(props): argument
197 return props.has_key("android.scaler.croppingType") and \
198 props["android.scaler.croppingType"] == 1
200 def flash(props): argument
209 return props.has_key("android.flash.info.available") and \
210 props["android.flash.info.available"] == 1
212 def per_frame_control(props): argument
221 return props.has_key("android.sync.maxLatency") and \
222 props["android.sync.maxLatency"] == 0
224 def ev_compensation(props): argument
233 return props.has_key("android.control.aeCompensationRange") and \
234 props["android.control.aeCompensationRange"] != [0, 0]
236 def ae_lock(props): argument
245 return props.has_key("android.control.aeLockAvailable") and \
246 props["android.control.aeLockAvailable"] == 1
248 def awb_lock(props): argument
257 return props.has_key("android.control.awbLockAvailable") and \
258 props["android.control.awbLockAvailable"] == 1
260 def lsc_map(props): argument
269 return props.has_key(
271 1 in props["android.statistics.info.availableLensShadingMapModes"]
273 def lsc_off(props): argument
282 return props.has_key(
284 0 in props["android.shading.availableModes"]
286 def yuv_reprocess(props): argument
295 return props.has_key("android.request.availableCapabilities") and \
296 7 in props["android.request.availableCapabilities"]
298 def private_reprocess(props): argument
307 return props.has_key("android.request.availableCapabilities") and \
308 4 in props["android.request.availableCapabilities"]
310 def noise_reduction_mode(props, mode): argument
321 return props.has_key(
323 in props["android.noiseReduction.availableNoiseReductionModes"];
325 def edge_mode(props, mode): argument
335 return props.has_key(
337 in props["android.edge.availableEdgeModes"];