/external/skqp/src/image/ |
SkSurface_Raster.cpp | 100 const SkSurfaceProps* props) 101 : INHERITED(info, props) 109 const SkSurfaceProps* props) 110 : INHERITED(pr->width(), pr->height(), props) 118 SkCanvas* SkSurface_Raster::onNewCanvas() { return new SkCanvas(fBitmap, this->props()); } 121 return SkSurface::MakeRaster(info, &this->props()); 182 const SkSurfaceProps* props) { 193 return sk_make_sp<SkSurface_Raster>(info, pixels, rb, releaseProc, context, props); 197 const SkSurfaceProps* props) { 198 return MakeRasterDirectReleaseProc(info, pixels, rowBytes, nullptr, nullptr, props); [all...] |
/frameworks/base/libs/hwui/tests/common/scenes/ |
ClippingAnimation.cpp | 32 card = TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { 54 props.mutateLayerProperties().setType(LayerType::RenderLayer); 55 props.setAlpha(0.9f);
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
OldLogManagerTest.java | 39 Properties props; field in class:OldLogManagerTest 49 props = new Properties(); 50 props.put("handlers", className + "$MockHandler " + className + "$MockHandler"); 51 props.put("java.util.logging.FileHandler.pattern", "%h/java%u.log"); 52 props.put("java.util.logging.FileHandler.limit", "50000"); 53 props.put("java.util.logging.FileHandler.count", "5"); 54 props.put("java.util.logging.FileHandler.formatter", "java.util.logging.XMLFormatter"); 55 props.put(".level", "FINE"); 56 props.put("java.util.logging.ConsoleHandler.level", "OFF"); 57 props.put("java.util.logging.ConsoleHandler.formatter","java.util.logging.SimpleFormatter") [all...] |
/cts/apps/CameraITS/tests/scene4/ |
test_aspect_ratio_and_crop.py | 50 def determine_sensor_aspect_ratio(props): 54 props: camera properties 59 sensor_size = props["android.sensor.info.activeArraySize"] 86 def find_yuv_fov_reference(cam, req, props): 92 props: camera properties 98 ar = determine_sensor_aspect_ratio(props) 100 fmt = its.objects.get_largest_yuv_format(props, match_ar=match_ar) 104 img = its.image.convert_capture_to_rgb_image(cap, props=props) 167 props = cam.get_camera_properties( [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkInstanceDriverImpl.inl | 77 vk::VkPhysicalDeviceProperties props; 78 m_vk.getPhysicalDeviceProperties(physicalDevice, &props); 79 if (props.apiVersion >= VK_API_VERSION_1_1) 87 vk::VkPhysicalDeviceProperties props; 88 m_vk.getPhysicalDeviceProperties(physicalDevice, &props); 89 if (props.apiVersion >= VK_API_VERSION_1_1) 97 vk::VkPhysicalDeviceProperties props; 98 m_vk.getPhysicalDeviceProperties(physicalDevice, &props); 99 if (props.apiVersion >= VK_API_VERSION_1_1) 107 vk::VkPhysicalDeviceProperties props; [all...] |
/cts/apps/CameraITS/tests/inprog/scene2/ |
test_dng_tags.py | 28 props = cam.get_camera_properties() 41 assert(props[ref_str[i]] == illum_code[i]) 50 cal = its.objects.rational_to_float(props[cal_str[i]]) 70 props[cm_str[i]])).reshape(3,3) 72 props[fm_str[i]])).reshape(3,3)
|
/cts/apps/CameraITS/tests/inprog/ |
test_burst_sameness_auto.py | 41 props = cam.get_camera_properties() 42 its.caps.skip_unless(its.caps.manual_sensor(props) and 43 its.caps.awb_lock(props)) 45 _, fmt = its.objects.get_fastest_manual_capture_settings(props) 52 req = its.objects.fastest_auto_capture_request(props)
|
test_burst_sameness_fullres_auto.py | 44 props = cam.get_camera_properties() 45 its.caps.skip_unless(its.caps.manual_sensor(props) and 46 its.caps.awb_lock(props)) 47 w,h = its.objects.get_available_output_sizes("yuv", props)[0] 53 req = its.objects.fastest_auto_capture_request(props)
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
SerializerSwitcher.java | 131 private static String getOutputPropertyNoDefault(String qnameString, Properties props) 134 String value = (String)props.get(qnameString); 150 String ns, String localName, Properties props, Serializer oldSerializer) 161 if (null != getOutputPropertyNoDefault(OutputKeys.METHOD, props)) 166 Properties prevProperties = props;
|
/external/lzma/CPP/7zip/Compress/ |
DeltaFilter.cpp | 38 STDMETHOD(SetCoderProperties)(const PROPID *propIDs, const PROPVARIANT *props, UInt32 numProps);
54 STDMETHODIMP CEncoder::SetCoderProperties(const PROPID *propIDs, const PROPVARIANT *props, UInt32 numProps)
59 const PROPVARIANT &prop = props[i];
114 STDMETHODIMP CDecoder::SetDecoderProperties2(const Byte *props, UInt32 size)
118 _delta = (unsigned)props[0] + 1;
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
ViewDumpParser.java | 56 Map<Short, Object> props = mViews.get(0); local 57 Object name = getProperty(props, "__name__"); 58 Object hash = getProperty(props, "__hash__"); 67 private Object getProperty(Map<Short, Object> props, String key) { 68 return props.get(mIds.get(key));
|
/frameworks/base/tools/aapt2/tools/ |
extract_unicode_properties.py | 38 def extract_unicode_properties(f, props, chars_out): 46 if prop_type_str in props: 49 prop_type = props[prop_type_str] 91 props = {"XID_Start": 1, "XID_Continue": 2} variable 95 extract_unicode_properties(f, props, char_props)
|
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/ |
UpdateParser.java | 57 String[] props = null; local 79 props = buffer.lines().toArray(String[]::new); 91 return new ParsedUpdate(file, payloadOffset, payloadSize, props); 101 ParsedUpdate(File file, long offset, long size, String[] props) { 105 mProps = props; 116 "ParsedUpdate: URL=%s, offset=%d, size=%s, props=%s",
|
/system/update_engine/payload_generator/ |
xz_android.cc | 91 CXzProps props; 92 XzProps_Init(&props); 96 props.checkId = XZ_CHECK_NO; 100 props.lzma2Props = &lzma2Props; 112 SRes res = Xz_Encode(&out_writer, &in_reader, &props, nullptr /* progress */);
|
/tools/test/connectivity/acts/framework/acts/test_utils/coex/ |
bluez_test_utils.py | 72 def get_properties(self,props, path, check): 76 props:dbus interface 80 return props.Get(path,check) 171 props = dbus.Interface( 173 address = props.Get(ADAPTER_INTERFACE, "Address") 277 props = dbus.Interface( 279 paired = self.get_properties(props, DEVICE_INTERFACE, "Paired") 297 props = dbus.Interface( 299 connect = self.get_properties(props, DEVICE_INTERFACE, "Connected") 337 props = dbus.Interface [all...] |
/cts/apps/CameraITS/pymodules/its/ |
image.py | 52 props=None): 59 props: (Optional) camera properties object (of static values); 68 assert(props is not None) 69 cap = unpack_raw10_capture(cap, props) 71 assert(props is not None) 72 cap = unpack_raw12_capture(cap, props) 81 assert(props is not None) 82 r,gr,gb,b = convert_capture_to_planes(cap, props) 83 return convert_raw_to_rgb_image(r,gr,gb,b, props, cap["metadata"]) 108 def unpack_raw10_capture(cap, props) [all...] |
/cts/apps/CameraITS/tests/scene3/ |
test_lens_movement_reporting.py | 40 def test_lens_movement_reporting(cam, props, fmt, gain, exp, af_fd, chart): 45 props: Properties of cam 63 white_level = int(props['android.sensor.info.whiteLevel']) 64 min_fd = props['android.lens.info.minimumFocusDistance'] 86 y, _, _ = its.image.convert_capture_to_planes(cap, props) 107 props = cam.get_camera_properties() 108 its.caps.skip_unless(not its.caps.fixed_focus(props)) 109 its.caps.skip_unless(its.caps.read_3a(props) and 110 its.caps.lens_approx_calibrated(props)) 117 mono_camera = its.caps.mono_camera(props) [all...] |
/external/jmdns/src/javax/jmdns/ |
ServiceInfo.java | 159 * @param props 163 public static ServiceInfo create(final String type, final String name, final int port, final int weight, final int priority, final Map<String, ?> props) { 164 return new ServiceInfoImpl(type, name, "", port, weight, priority, false, props); 182 * @param props 186 public static ServiceInfo create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final Map<String, ?> props) { 187 return new ServiceInfoImpl(type, name, subtype, port, weight, priority, false, props); 297 * @param props 301 public static ServiceInfo create(final String type, final String name, final int port, final int weight, final int priority, final boolean persistent, final Map<String, ?> props) { 302 return new ServiceInfoImpl(type, name, "", port, weight, priority, persistent, props); 322 * @param props [all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
LZMAInputStream.java | 93 int props = propsByte & 0xFF; local 94 if (props > (4 * 5 + 4) * 9 + 8) 97 props %= 9 * 5; 98 int lp = props / 9; 99 int lc = props - lp * 9; 382 int props = propsByte & 0xFF; local 383 if (props > (4 * 5 + 4) * 9 + 8) 386 int pb = props / (9 * 5); 387 props -= pb * 9 * 5; 388 int lp = props / 9 [all...] |
/frameworks/base/libs/hwui/ |
DamageAccumulator.cpp | 140 static inline void mapRect(const RenderProperties& props, const SkRect& in, SkRect* out) { 142 const SkMatrix* transform = props.getTransformMatrix(); 154 temp.offset(props.getLeft(), props.getTop()); 197 const RenderProperties& props = frame->renderNode->properties(); local 198 if (props.getAlpha() <= 0) { 203 if (props.getClipDamageToBounds() && !frame->pendingDirty.isEmpty()) { 204 if (!frame->pendingDirty.intersect(0, 0, props.getWidth(), props.getHeight())) { 210 mapRect(props, frame->pendingDirty, &mHead->pendingDirty) [all...] |
/libcore/ojluni/src/main/java/sun/net/spi/ |
DefaultProxySelector.java | 76 final static String[][] props = { field in class:DefaultProxySelector 226 for (i=0; i<props.length; i++) { 227 if (props[i][0].equalsIgnoreCase(proto)) { 228 for (j = 1; j < props[i].length; j++) { 233 phost = NetProperties.get(props[i][j]+"Host"); 292 pport = NetProperties.getInteger(props[i][j]+"Port", 0).intValue(); 293 if (pport == 0 && j < (props[i].length - 1)) { 297 for (int k = 1; k < (props[i].length - 1); k++) { 299 pport = NetProperties.getInteger(props[i][k]+"Port", 0).intValue(); 305 if (j == (props[i].length - 1)) // SOCK [all...] |
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
GLClientState.cpp | 1057 RboProps props; local 1228 const FboProps& props = boundFboProps_const(target); local 1341 FboProps props; local 1671 const FboProps& props = boundFboProps_const(target); local [all...] |
/cts/apps/CameraITS/tests/scene1/ |
test_auto_vs_manual.py | 34 props = cam.get_camera_properties() 35 its.caps.skip_unless(its.caps.manual_sensor(props) and 36 its.caps.manual_post_proc(props) and 37 its.caps.per_frame_control(props)) 38 mono_camera = its.caps.mono_camera(props) 42 largest_yuv = its.objects.get_largest_yuv_format(props) 47 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
|
test_ev_compensation_basic.py | 38 props = cam.get_camera_properties() 39 its.caps.skip_unless(its.caps.ev_compensation(props) and 40 its.caps.ae_lock(props)) 43 mono_camera = its.caps.mono_camera(props) 44 largest_yuv = its.objects.get_largest_yuv_format(props) 49 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar) 52 props['android.control.aeCompensationStep'])
|
test_format_combos.py | 33 props = cam.get_camera_properties() 34 its.caps.skip_unless(its.caps.compute_target_exposure(props) and 35 its.caps.raw16(props)) 50 wyuv, hyuv = its.objects.get_available_output_sizes("yuv", props)[-1] 51 wjpg, hjpg = its.objects.get_available_output_sizes("jpg", props)[-1] 90 img = its.image.convert_capture_to_rgb_image(cap, props=props)
|