HomeSort by relevance Sort by last modified time
    Searched refs:props (Results 1 - 25 of 1573) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/apps/CameraITS/pymodules/its/
caps.py 40 def full_or_better(props):
44 props: Camera properties object.
49 return props.has_key("android.info.supportedHardwareLevel") and \
50 props["android.info.supportedHardwareLevel"] != 2 and \
51 props["android.info.supportedHardwareLevel"] >= 1
53 def level3(props):
57 props: Camera properties object.
62 return props.has_key("android.info.supportedHardwareLevel") and \
63 props["android.info.supportedHardwareLevel"] == 3
65 def full(props)
    [all...]
objects.py 74 sensitivity, exp_time, f_distance = 0.0, linear_tonemap=False, props=None):
87 props: [Optional] the object returned from
114 assert(props is not None)
116 if 0 in props["android.tonemap.availableToneMapModes"]:
123 elif 3 in props["android.tonemap.availableToneMapModes"]:
144 def fastest_auto_capture_request(props):
148 props: the object returned from its.device.get_camera_properties().
155 turn_slow_filters_off(props, req)
159 def get_available_output_sizes(fmt, props, max_size=None, match_ar_size=None):
165 props: the object returned from its.device.get_camera_properties()
    [all...]
  /frameworks/base/libs/hwui/tests/unit/
RenderPropertiesTests.cpp 31 RenderProperties props; local
34 props.setLeftTopRightBottom(0, 0, 100, 100);
35 ASSERT_TRUE(props.fitsOnLayer());
36 props.setLeftTopRightBottom(100, 2000, 300, 4000);
37 ASSERT_TRUE(props.fitsOnLayer());
38 props.setLeftTopRightBottom(-10, -10, 510, 512);
39 ASSERT_TRUE(props.fitsOnLayer());
42 props.setLeftTopRightBottom(0, 0, maxTextureSize + 1, maxTextureSize + 1);
43 ASSERT_FALSE(props.fitsOnLayer());
46 props.setLeftTopRightBottom(0, 0, 100, 0)
    [all...]
  /external/lzma/C/
LzmaLib.c 20 CLzmaEncProps props; local
21 LzmaEncProps_Init(&props);
22 props.level = level;
23 props.dictSize = dictSize;
24 props.lc = lc;
25 props.lp = lp;
26 props.pb = pb;
27 props.fb = fb;
28 props.numThreads = numThreads;
30 return LzmaEncode(dest, destLen, src, srcLen, &props, outProps, outPropsSize, 0,
    [all...]
  /external/icu/icu4c/source/samples/props/
Makefile 15 TARGET=props
18 OBJECTS=props.o
  /cts/apps/CameraITS/tests/scene0/
test_camera_properties.py 25 props = cam.get_camera_properties()
27 pprint.pprint(props)
29 its.caps.skip_unless(its.caps.manual_sensor(props))
32 assert(props.has_key('android.sensor.info.sensitivityRange'))
33 assert(props.has_key('android.sensor.orientation'))
34 assert(props.has_key('android.scaler.streamConfigurationMap'))
35 assert(props.has_key('android.lens.facing'))
37 print "JPG sizes:", its.objects.get_available_output_sizes("jpg", props)
38 print "RAW sizes:", its.objects.get_available_output_sizes("raw", props)
39 print "YUV sizes:", its.objects.get_available_output_sizes("yuv", props)
    [all...]
test_metadata.py 28 global md, props, failed
33 props = cam.get_camera_properties()
39 print " Legacy:", its.caps.legacy(props)
40 print " Limited:", its.caps.limited(props)
41 print " Full or better:", its.caps.full_or_better(props)
43 print " Manual sensor:", its.caps.manual_sensor(props)
44 print " Manual post-proc:", its.caps.manual_post_proc(props)
45 print " Raw:", its.caps.raw(props)
46 print " Sensor fusion:", its.caps.sensor_fusion(props)
49 check('props.has_key("android.info.supportedHardwareLevel")'
    [all...]
test_test_patterns.py 34 def check_solid_color(cap, props):
39 props: capture properties
44 r, gr, gb, b = its.image.convert_capture_to_planes(cap, props)
53 white_level = int(props['android.sensor.info.whiteLevel'])
59 def check_color_bars(cap, props, mirror=False):
66 props: capture properties
75 img = its.image.convert_capture_to_rgb_image(cap, props=props)
89 def check_pattern(cap, props, pattern):
94 props: capture propertie
    [all...]
  /external/lzma/Java/Tukaani/src/org/tukaani/xz/
LZMA2Decoder.java 17 LZMA2Decoder(byte[] props) throws UnsupportedOptionsException {
20 if (props.length != 1 || (props[0] & 0xFF) > 37)
24 dictSize = 2 | (props[0] & 1);
25 dictSize <<= (props[0] >>> 1) + 11;
DeltaDecoder.java 17 DeltaDecoder(byte[] props) throws UnsupportedOptionsException {
18 if (props.length != 1)
22 distance = (props[0] & 0xFF) + 1;
DeltaEncoder.java 14 private final byte[] props = new byte[1]; field in class:DeltaEncoder
17 props[0] = (byte)(options.getDistance() - 1);
26 return props;
BCJEncoder.java 15 private final byte[] props; field in class:BCJEncoder
22 props = new byte[0];
24 props = new byte[4];
26 props[i] = (byte)(startOffset >>> (i * 8));
38 return props;
LZMA2Encoder.java 16 private final byte[] props = new byte[1]; field in class:LZMA2Encoder
24 props[0] = (byte)0;
28 props[0] = (byte)(LZMAEncoder.getDistSlot(d - 1) - 23);
40 return props;
  /system/update_engine/
image_properties_android_unittest.cc 68 ImageProperties props = LoadImageProperties(&fake_system_state_); local
69 EXPECT_EQ("abc", props.product_id);
70 EXPECT_EQ("def", props.system_id);
71 EXPECT_EQ("1.2.3.4", props.version);
72 EXPECT_EQ("5.6.7.8", props.system_version);
73 EXPECT_EQ("stable-channel", props.current_channel);
74 EXPECT_EQ(constants::kOmahaDefaultProductionURL, props.omaha_url);
80 ImageProperties props = LoadImageProperties(&fake_system_state_); local
81 EXPECT_EQ("abc:def", props.product_id);
82 EXPECT_EQ("abc:bar", props.system_id)
88 ImageProperties props = LoadImageProperties(&fake_system_state_); local
101 ImageProperties props = LoadImageProperties(&fake_system_state_); local
107 ImageProperties props = LoadImageProperties(&fake_system_state_); local
115 MutableImageProperties props; local
    [all...]
image_properties_chromeos_unittest.cc 64 ImageProperties props = LoadImageProperties(&fake_system_state_); local
65 EXPECT_EQ("arm-generic", props.board);
66 EXPECT_EQ("{87efface-864d-49a5-9bb3-4b050a7c227a}", props.product_id);
67 EXPECT_EQ("0.2.2.3", props.version);
68 EXPECT_EQ("dev-channel", props.current_channel);
69 EXPECT_EQ("http://www.google.com", props.omaha_url);
76 ImageProperties props = LoadImageProperties(&fake_system_state_); local
77 EXPECT_EQ("{58c35cef-9d30-476e-9098-ce20377d535d}", props.product_id);
85 ImageProperties props = LoadImageProperties(&fake_system_state_); local
86 EXPECT_EQ("0.2.2.3", props.version)
90 ImageProperties props = LoadImageProperties(&fake_system_state_); local
106 ImageProperties props = LoadImageProperties(&fake_system_state_); local
128 ImageProperties props = LoadImageProperties(&fake_system_state_); local
144 ImageProperties props = LoadImageProperties(&fake_system_state_); local
156 ImageProperties props = LoadImageProperties(&fake_system_state_); local
167 ImageProperties props = LoadImageProperties(&fake_system_state_); local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
OutputPropertyUtils.java 45 * @param props the list of properties that will be searched.
49 public static boolean getBooleanProperty(String key, Properties props)
52 String s = props.getProperty(key);
68 * @param props the list of properties that will be searched.
72 public static int getIntProperty(String key, Properties props)
75 String s = props.getProperty(key);
  /external/mesa3d/src/gallium/state_trackers/clover/core/
context.cpp 27 context::context(const property_list &props,
30 notify(notify), props(props), devs(devs) {
45 return props;
  /external/skia/src/core/
SkSurfacePriv.h 15 static inline SkSurfaceProps SkSurfacePropsCopyOrDefault(const SkSurfaceProps* props) {
16 if (props) {
17 return *props;
  /external/skqp/src/core/
SkSurfacePriv.h 15 static inline SkSurfaceProps SkSurfacePropsCopyOrDefault(const SkSurfaceProps* props) {
16 if (props) {
17 return *props;
  /external/wpa_supplicant_8/wpa_supplicant/examples/
wpas-dbus-new-getall.py 12 props = wpas_obj.GetAll("fi.w1.wpa_supplicant1",
15 print props
25 props = if_obj.GetAll("fi.w1.wpa_supplicant1.Interface",
29 print props
31 props = if_obj.GetAll("fi.w1.wpa_supplicant1.Interface.WPS",
35 print props
41 props = bss_obj.GetAll("fi.w1.wpa_supplicant1.BSS",
45 print props
51 props = net_obj.GetAll("fi.w1.wpa_supplicant1.Network",
55 print props
    [all...]
  /cts/apps/CameraITS/tests/scene1/
test_raw_sensitivity.py 36 props = cam.get_camera_properties()
37 its.caps.skip_unless(its.caps.raw16(props) and
38 its.caps.manual_sensor(props) and
39 its.caps.read_3a(props) and
40 its.caps.per_frame_control(props) and
41 not its.caps.mono_camera(props))
45 sens_min, _ = props["android.sensor.info.sensitivityRange"]
47 sens_max = props["android.sensor.maxAnalogSensitivity"]
63 gr = its.image.convert_capture_to_planes(cap, props)[1]
66 img = its.image.convert_capture_to_rgb_image(cap, props=props
    [all...]
  /external/lzma/CPP/7zip/UI/Console/
BenchCon.h 12 const CObjectVector<CProperty> &props, UInt32 numIterations, FILE *f);
  /external/icu/icu4c/source/common/
uchar.cpp 58 uint32_t props; local
59 GET_PROPS(c, props);
60 return (int8_t)GET_CATEGORY(props);
99 uint32_t props; local
100 GET_PROPS(c, props);
101 return (UBool)(GET_CATEGORY(props)==U_LOWERCASE_LETTER);
107 uint32_t props; local
108 GET_PROPS(c, props);
109 return (UBool)(GET_CATEGORY(props)==U_UPPERCASE_LETTER);
115 uint32_t props; local
123 uint32_t props; local
130 uint32_t props; local
147 uint32_t props; local
160 uint32_t props; local
177 uint32_t props; local
185 uint32_t props; local
193 uint32_t props; local
214 uint32_t props; local
221 uint32_t props; local
229 uint32_t props; local
244 uint32_t props; local
258 uint32_t props; local
271 uint32_t props; local
282 uint32_t props; local
299 uint32_t props; local
310 uint32_t props; local
319 uint32_t props; local
328 uint32_t props; local
345 uint32_t props; local
354 uint32_t props; local
364 uint32_t props; local
378 uint32_t props; local
391 uint32_t props; local
521 uint32_t props; local
    [all...]
  /frameworks/base/core/java/android/os/
IBatteryPropertiesListener.aidl 26 void batteryPropertiesChanged(in BatteryProperties props);
  /external/autotest/client/cros/cellular/pseudomodem/
sms.py 83 props = {}
84 props['State'] = dbus.types.UInt32(mm1_constants.MM_SMS_STATE_UNKNOWN)
85 props['PduType'] = dbus.types.UInt32(
87 props['Number'] = self._sender_number
89 props['Text'] = self._content
90 props['SMSC'] = self._props_template.get('SMSC', '1231212')
91 props['Validity'] = self._props_template.get('Validity',
97 props['Class'] = self._props_template.get('Class', dbus.types.Int32(-1))
98 props['DeliveryReportRequest'] = self._props_template.get(
101 props['Storage'] = self._props_template.get
    [all...]

Completed in 451 milliseconds

1 2 3 4 5 6 7 8 91011>>