Searched refs:attributes (Results 1 - 25 of 152) sorted by relevance

1234567

/frameworks/native/vulkan/doc/implementors_guide/
H A Dimplementors_guide.conf0 [attributes]
/frameworks/base/sax/java/android/sax/
H A DStartElementListener.java29 * @param attributes from the element
31 void start(Attributes attributes); argument
H A DRootElement.java111 Attributes attributes) throws SAXException {
116 startRoot(uri, localName, attributes);
134 start(child, attributes);
140 void startRoot(String uri, String localName, Attributes attributes) argument
150 start(root, attributes);
153 void start(Element e, Attributes attributes) { argument
158 e.startElementListener.start(attributes);
110 startElement(String uri, String localName, String qName, Attributes attributes) argument
/frameworks/base/tools/layoutlib/bridge/tests/src/android/util/
H A DBridgeXmlPullAttributesTest.java52 BridgeXmlPullAttributes attributes = new BridgeXmlPullAttributes(
74 assertEquals(123, attributes.getAttributeIntValue(BridgeConstants.NS_RESOURCES,
76 assertEquals(123, attributes.getAttributeIntValue(0, 500));
78 assertEquals(500, attributes.getAttributeIntValue(BridgeConstants.NS_RESOURCES,
80 assertEquals(500, attributes.getAttributeIntValue(2, 500));
83 assertEquals(1, attributes.getAttributeIntValue("http://custom",
85 assertEquals(1, attributes.getAttributeIntValue(1, 500));
86 assertEquals(2, attributes.getAttributeIntValue("http://custom",
88 assertEquals(2, attributes.getAttributeIntValue(1, 500));
92 attributes
[all...]
/frameworks/native/libs/vr/libdvr/
H A Ddvr_surface.cpp18 bool ConvertSurfaceAttributes(const DvrSurfaceAttribute* attributes, argument
24 switch (attributes[i].value.type) {
26 value = attributes[i].value.int32_value;
29 value = attributes[i].value.int64_value;
32 value = attributes[i].value.bool_value;
35 value = attributes[i].value.float_value;
38 value = attributes[i].value.float2_value;
41 value = attributes[i].value.float3_value;
44 value = attributes[i].value.float4_value;
47 value = attributes[
71 dvrSurfaceCreate(const DvrSurfaceAttribute* attributes, size_t attribute_count, DvrSurface** out_surface) argument
104 dvrSurfaceSetAttributes(DvrSurface* surface, const DvrSurfaceAttribute* attributes, size_t attribute_count) argument
[all...]
/frameworks/base/core/java/android/net/
H A DScoredNetwork.java41 * Key used with the {@link #attributes} bundle to define the badging curve.
47 "android.net.attributes.key.BADGING_CURVE";
49 * Extra used with {@link #attributes} to specify whether the
62 "android.net.attributes.key.HAS_CAPTIVE_PORTAL";
65 * Key used with the {@link #attributes} bundle to define the rankingScoreOffset int value.
71 "android.net.attributes.key.RANKING_SCORE_OFFSET";
96 * An additional collection of optional attributes set by
103 public final Bundle attributes; field in class:ScoredNetwork
134 this(networkKey, rssiCurve, meteredHint, null /* attributes */);
149 * @param attributes optiona
151 ScoredNetwork(NetworkKey networkKey, RssiCurve rssiCurve, boolean meteredHint, @Nullable Bundle attributes) argument
[all...]
/frameworks/compile/libbcc/lib/
H A DCompilerConfig.cpp37 void AddX86NativeCPUFeatures(std::vector<std::string>* attributes) { argument
41 attributes->push_back((f.second ? '+' : '-') + f.first().str());
46 attributes->push_back("-avx");
105 std::vector<std::string> attributes; local
113 attributes.push_back("+vfp3");
115 attributes.push_back("+d16");
122 attributes.push_back("+neon");
125 attributes.push_back("-neon");
126 attributes.push_back("-neonfp");
133 attributes
[all...]
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
H A DMDnsUtils.java39 Map<String,byte[]> attributes = networkDevice.getAttributes();
40 String product = getString(attributes.get(ATTRIBUTE__PRODUCT));
41 String ty = getString(attributes.get(ATTRIBUTE__TY));
42 String usbMfg = getString(attributes.get(ATTRIBUTE__USB_MFG));
43 String mfg = getString(attributes.get(ATTRIBUTE__MFG));
51 Map<String,byte[]> attributes = networkDevice.getAttributes();
52 vendor = getString(attributes.get(ATTRIBUTE__MFG));
54 vendor = getString(attributes.get(ATTRIBUTE__USB_MFG));
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/
H A DMDnsUtils.java36 Map<String, byte[]> attributes = networkDevice.getAttributes();
37 String product = getString(attributes.get(ATTRIBUTE__PRODUCT));
38 String ty = getString(attributes.get(ATTRIBUTE__TY));
39 String usbMfg = getString(attributes.get(ATTRIBUTE__USB_MFG));
40 String usbMdl = getString(attributes.get(ATTRIBUTE__USB_MDL));
41 String mfg = getString(attributes.get(ATTRIBUTE__MFG));
51 Map<String, byte[]> attributes = networkDevice.getAttributes();
52 vendor = getString(attributes.get(ATTRIBUTE__MFG));
54 vendor = getString(attributes.get(ATTRIBUTE__USB_MFG));
/frameworks/base/core/java/android/os/
H A DSystemVibrator.java71 VibrationEffect effect, AudioAttributes attributes) {
77 mService.vibrate(uid, opPkg, effect, usageForAttributes(attributes), mToken);
83 private static int usageForAttributes(AudioAttributes attributes) { argument
84 return attributes != null ? attributes.getUsage() : AudioAttributes.USAGE_UNKNOWN;
70 vibrate(int uid, String opPkg, VibrationEffect effect, AudioAttributes attributes) argument
H A DNullVibrator.java48 VibrationEffect effect, AudioAttributes attributes) {
47 vibrate(int uid, String opPkg, VibrationEffect effect, AudioAttributes attributes) argument
H A DVibrator.java83 * @param attributes {@link AudioAttributes} corresponding to the vibration. For example,
92 public void vibrate(long milliseconds, AudioAttributes attributes) { argument
97 vibrate(effect, attributes);
146 * @param attributes {@link AudioAttributes} corresponding to the vibration. For example,
155 public void vibrate(long[] pattern, int repeat, AudioAttributes attributes) { argument
165 vibrate(VibrationEffect.createWaveform(pattern, repeat), attributes);
177 public void vibrate(VibrationEffect vibe, AudioAttributes attributes) { argument
178 vibrate(Process.myUid(), mPackageName, vibe, attributes);
188 VibrationEffect vibe, AudioAttributes attributes);
187 vibrate(int uid, String opPkg, VibrationEffect vibe, AudioAttributes attributes) argument
/frameworks/base/drm/java/android/drm/
H A DDrmEvent.java39 * The key that is used in the <code>attributes</code> HashMap to pass the return status.
43 * The key that is used in the <code>attributes</code> HashMap to pass the
60 * @param attributes Attributes for extensible information.
63 HashMap<String, Object> attributes) {
71 if (null != attributes) {
72 mAttributes = attributes;
122 * @return One of the attributes or null if no mapping for
62 DrmEvent(int uniqueId, int type, String message, HashMap<String, Object> attributes) argument
H A DDrmErrorEvent.java93 * @param attributes Attributes for extensible information. Could be any
97 HashMap<String, Object> attributes) {
98 super(uniqueId, type, message, attributes);
96 DrmErrorEvent(int uniqueId, int type, String message, HashMap<String, Object> attributes) argument
H A DDrmInfoEvent.java84 * @param attributes Attributes for extensible information. Could be any
88 HashMap<String, Object> attributes) {
89 super(uniqueId, type, message, attributes);
87 DrmInfoEvent(int uniqueId, int type, String message, HashMap<String, Object> attributes) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphReader.java278 private void addImportCommand(Attributes attributes) throws SAXException { argument
279 String packageName = getRequiredAttribute(attributes, "package");
283 private void addLibraryCommand(Attributes attributes) throws SAXException { argument
284 String libraryName = getRequiredAttribute(attributes, "name");
288 private void addConnectCommand(Attributes attributes) { argument
295 String sourceTag = attributes.getValue("source");
308 sourceFilterName = attributes.getValue("sourceFilter");
309 sourcePortName = attributes.getValue("sourcePort");
312 String targetTag = attributes.getValue("target");
325 targetFilterName = attributes
354 addVarCommand(Attributes attributes) argument
371 beginFilter(Attributes attributes) argument
381 addFilterInput(Attributes attributes) argument
409 getAssignmentValue(Attributes attributes) argument
433 getRequiredAttribute(Attributes attributes, String name) argument
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbEndpoint.java43 public UsbEndpoint(int address, int attributes, int maxPacketSize, int interval) { argument
45 mAttributes = attributes;
88 * Returns the endpoint's attributes field.
90 * @return the endpoint's attributes
140 int attributes = in.readInt();
143 return new UsbEndpoint(address, attributes, maxPacketSize, interval);
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/samsung/
H A DPrinterFilterSamsung.java94 Map<String,byte[]> attributes = resolvedDevice.getAttributes();
95 String usb_mfg = MDNSUtils.getString(attributes.get(ATTR_USB_MFG));
97 usb_mfg = MDNSUtils.getString(attributes.get(ATTR_MFG));
100 String usb_mdl = MDNSUtils.getString(attributes.get(ATTR_USB_MDL));
102 usb_mdl = MDNSUtils.getString(attributes.get(ATTR_MDL));
109 modelName = MDNSUtils.getString(attributes.get(ATTR_PRODUCT));
111 modelName = MDNSUtils.getString(attributes.get(ATTR_TY));
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioSourceDescriptor.h35 AudioSourceDescriptor(const sp<DeviceDescriptor> device, const audio_attributes_t *attributes, argument
37 mDevice(device), mAttributes(*attributes), mUid(uid) {}
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DIPdfEditor.aidl29 void applyPrintAttributes(in PrintAttributes attributes);
H A DIPdfRenderer.aidl30 in PrintAttributes attributes, in ParcelFileDescriptor destination);
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java58 public void start(Attributes attributes) { argument
71 public void start(Attributes attributes) { argument
245 public void start(Attributes attributes) {
246 String url = attributes.getValue("", "url");
255 public void start(Attributes attributes) {
256 String url = attributes.getValue("", "url");
265 public void start(Attributes attributes) {
266 String url = attributes.getValue("", "url");
303 public void start(Attributes attributes) {
304 String seconds = attributes
339 start(Attributes attributes) argument
362 startElement(String uri, String localName, String qName, Attributes attributes) argument
[all...]
/frameworks/native/opengl/tests/configdump/
H A Dconfigdump.cpp31 Attribute attributes[] = { variable
82 for (int attr = 0 ; attr<sizeof(attributes)/sizeof(Attribute) ; attr++) {
84 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value);
85 printf("\t%-32s: %10d (0x%08x)\n", attributes[attr].name, value, value);
/frameworks/base/core/java/android/print/pdf/
H A DPrintedPdfDocument.java29 * This class is a helper for creating a PDF file for given print attributes. It is useful for
33 * attributes and these precomputed values can be accessed via {@link #getPageWidth()},
81 * @param attributes The print attributes.
83 public PrintedPdfDocument(@NonNull Context context, @NonNull PrintAttributes attributes) { argument
84 MediaSize mediaSize = attributes.getMediaSize();
86 // Compute the size of the target canvas from the attributes.
92 // Compute the content size from the attributes.
93 Margins minMargins = attributes.getMinMargins();
108 * from the print attributes passe
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DXMLNode.java36 public XMLNode(XMLNode parent, String tag, Attributes attributes) throws SAXException { argument
41 if (attributes.getLength() > 0) {
42 for (int n = 0; n < attributes.getLength(); n++)
43 mAttributes.put(attributes.getQName(n), new NodeAttribute(attributes.getQName(n),
44 attributes.getType(n), attributes.getValue(n)));
53 public XMLNode(XMLNode parent, String tag, Map<String, String> attributes) { argument
56 mAttributes = new HashMap<>(attributes == null ? 0 : attributes
[all...]

Completed in 587 milliseconds

1234567