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

1234

/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/core/java/android/os/
H A DVibrator.java74 * @param attributes {@link AudioAttributes} corresponding to the vibration. For example,
79 public void vibrate(long milliseconds, AudioAttributes attributes) { argument
80 vibrate(Process.myUid(), mPackageName, milliseconds, attributes);
126 * @param attributes {@link AudioAttributes} corresponding to the vibration. For example,
131 public void vibrate(long[] pattern, int repeat, AudioAttributes attributes) { argument
132 vibrate(Process.myUid(), mPackageName, pattern, repeat, attributes);
141 AudioAttributes attributes);
149 AudioAttributes attributes);
140 vibrate(int uid, String opPkg, long milliseconds, AudioAttributes attributes) argument
148 vibrate(int uid, String opPkg, long[] pattern, int repeat, AudioAttributes attributes) argument
H A DNullVibrator.java45 public void vibrate(int uid, String opPkg, long milliseconds, AudioAttributes attributes) { argument
53 AudioAttributes attributes) {
52 vibrate(int uid, String opPkg, long[] pattern, int repeat, AudioAttributes attributes) argument
H A DSystemVibrator.java62 public void vibrate(int uid, String opPkg, long milliseconds, AudioAttributes attributes) { argument
68 mService.vibrate(uid, opPkg, milliseconds, usageForAttributes(attributes), mToken);
79 AudioAttributes attributes) {
89 mService.vibratePattern(uid, opPkg, pattern, repeat, usageForAttributes(attributes),
99 private static int usageForAttributes(AudioAttributes attributes) { argument
100 return attributes != null ? attributes.getUsage() : AudioAttributes.USAGE_UNKNOWN;
78 vibrate(int uid, String opPkg, long[] pattern, int repeat, 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);
H A DUsbConfiguration.java44 * Mask for "self-powered" bit in the configuration's attributes.
50 * Mask for "remote wakeup" bit in the configuration's attributes.
59 public UsbConfiguration(int id, String name, int attributes, int maxPower) { argument
62 mAttributes = attributes;
86 * Returns the self-powered attribute value configuration's attributes field.
96 * Returns the remote-wakeup attribute value configuration's attributes field.
97 * This attributes that the device may signal the host to wake from suspend.
158 int attributes = in.readInt();
161 UsbConfiguration configuration = new UsbConfiguration(id, name, attributes, maxPower);
/frameworks/compile/libbcc/lib/Support/
H A DCompilerConfig.cpp125 std::vector<std::string> attributes; local
128 attributes.push_back("+vfp3");
130 attributes.push_back("+d16");
137 attributes.push_back("+neon");
140 attributes.push_back("-neon");
141 attributes.push_back("-neonfp");
148 attributes.push_back("+hwdiv-arm");
151 attributes.push_back("+hwdiv");
158 attributes.push_back("+fp16");
160 setFeatureString(attributes);
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPolicyMix.cpp101 status_t AudioPolicyMixCollection::getOutputForAttr(audio_attributes_t attributes, argument
111 mix->mCriteria[j].mAttr.mUsage == attributes.usage) ||
113 mix->mCriteria[j].mAttr.mUsage != attributes.usage)) {
117 if (strncmp(attributes.tags, "addr=", strlen("addr=")) == 0 &&
118 strncmp(attributes.tags + strlen("addr="),
126 if (attributes.usage == AUDIO_USAGE_VIRTUAL_SOURCE &&
127 strncmp(attributes.tags, "addr=", strlen("addr=")) == 0 &&
128 strncmp(attributes.tags + strlen("addr="),
/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.cpp29 Attribute attributes[] = { variable
79 for (int attr = 0 ; attr<sizeof(attributes)/sizeof(Attribute) ; attr++) {
81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value);
82 printf("\t%-32s: %10d (0x%08x)\n", attributes[attr].name, value, value);
/frameworks/base/core/java/android/print/pdf/
H A DPrintedPdfDocument.java30 * attributes. It is useful for implementing printing via the native
34 * from the provided print attributes and these precomputed values can be
82 * @param attributes The print attributes.
84 public PrintedPdfDocument(Context context, PrintAttributes attributes) { argument
85 MediaSize mediaSize = attributes.getMediaSize();
87 // Compute the size of the target canvas from the attributes.
93 // Compute the content size from the attributes.
94 Margins minMargins = attributes.getMinMargins();
109 * rectangle computed from the print attributes passe
[all...]
/frameworks/base/media/java/android/media/
H A DAsyncPlayer.java42 AudioAttributes attributes; field in class:AsyncPlayer.Command
46 return "{ code=" + code + " looping=" + looping + " attr=" + attributes
60 player.setAudioAttributes(cmd.attributes);
187 * @param attributes the non-null {@link AudioAttributes} to use.
192 @NonNull AudioAttributes attributes) throws IllegalArgumentException {
193 if (context == null || uri == null || attributes == null) {
202 cmd.attributes = attributes;
191 play(@onNull Context context, @NonNull Uri uri, boolean looping, @NonNull AudioAttributes attributes) argument
H A DSoundPool.java156 private SoundPool(int maxStreams, AudioAttributes attributes) { argument
158 if (native_setup(new WeakReference<SoundPool>(this), maxStreams, attributes) != 0) {
162 mAttributes = attributes;
516 Object/*AudioAttributes*/ attributes);
569 * change it), and the audio attributes have a usage value of
592 * Sets the {@link AudioAttributes}. For examples, game applications will use attributes
594 * @param attributes a non-null
597 public Builder setAudioAttributes(AudioAttributes attributes) argument
599 if (attributes == null) {
602 mAudioAttributes = attributes;
515 native_setup(Object weakRef, int maxStreams, Object attributes) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
H A DXMLNode.java23 public XMLNode(XMLNode parent, String tag, Attributes attributes) throws SAXException { argument
28 if (attributes.getLength() > 0) {
29 for (int n = 0; n < attributes.getLength(); n++)
30 mAttributes.put(attributes.getQName(n), new NodeAttribute(attributes.getQName(n),
31 attributes.getType(n), attributes.getValue(n)));
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
H A DSetterStore.java60 if (o1.attributes.length != o2.attributes.length) {
61 return o2.attributes.length - o1.attributes.length;
88 // Same view type. Same attributes
138 // hmmm... same view type, same attributes, same parameter types... ?
263 public void addBindingAdapter(ProcessingEnvironment processingEnv, String[] attributes, argument
265 L.d("STORE add multi-value BindingAdapter %d %s", attributes.length, bindingMethod);
267 attributes, takesComponent);
269 attributes
273 stripAttributes(String[] attributes) argument
377 getMultiAttributeSetterCalls(String[] attributes, ModelClass viewType, ModelClass[] valueType) argument
400 removeConsumedAttributes(ArrayList<MultiAttributeSetter> matching, String[] attributes) argument
427 getMatchingMultiAttributeSetters(String[] attributes, ModelClass viewType, ModelClass[] valueType) argument
763 public final String[] attributes; field in class:SetterStore.MultiValueAdapterKey
769 MultiValueAdapterKey(ProcessingEnvironment processingEnv, ExecutableElement method, String[] attributes, boolean takesComponent) argument
1136 public final String[] attributes; field in class:SetterStore.MultiAttributeSetter
1143 MultiAttributeSetter(MultiValueAdapterKey key, String[] attributes, MethodDescription adapter, MethodDescription[] converters, String[] casts) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DNotificationPlayer.java50 AudioAttributes attributes; field in class:NotificationPlayer.Command
54 return "{ code=" + code + " looping=" + looping + " attributes=" + attributes
84 player.setAudioAttributes(mCmd.attributes);
96 AudioAttributes.toLegacyStreamType(mCmd.attributes),
100 AudioAttributes.toLegacyStreamType(mCmd.attributes),
305 cmd.attributes = new AudioAttributes.Builder().setInternalLegacyStreamType(stream).build();
322 * @param attributes the AudioAttributes to use.
325 public void play(Context context, Uri uri, boolean looping, AudioAttributes attributes) { argument
332 cmd.attributes
[all...]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
H A DNavigationBar.java45 TypedArray attributes = context.obtainStyledAttributes(
50 int theme = attributes.getResourceId(0, 0);
56 Color.colorToHSV(attributes.getColor(1, 0), foregroundHsv);
57 Color.colorToHSV(attributes.getColor(2, 0), backgroundHsv);
61 attributes.recycle();
/frameworks/opt/setupwizard/navigationbar/src/com/android/setupwizard/navigationbar/
H A DSetupWizardNavBar.java126 TypedArray attributes = getActivity().obtainStyledAttributes(
131 int theme = attributes.getResourceId(0, 0);
137 Color.colorToHSV(attributes.getColor(1, 0), foregroundHsv);
138 Color.colorToHSV(attributes.getColor(2, 0), backgroundHsv);
143 attributes.recycle();

Completed in 861 milliseconds

1234