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

123

/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
54 AudioAttributes attributes) {
53 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.cpp105 std::vector<std::string> attributes; local
108 attributes.push_back("+vfp3");
110 attributes.push_back("+d16");
117 attributes.push_back("+neon");
120 attributes.push_back("-neon");
121 attributes.push_back("-neonfp");
128 attributes.push_back("+hwdiv-arm");
131 attributes.push_back("+hwdiv");
134 setFeatureString(attributes);
/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);
H A DPdfManipulationService.java106 PrintAttributes attributes, ParcelFileDescriptor destination) {
117 attributes.getMediaSize().getWidthMils());
119 attributes.getMediaSize().getHeightMils());
122 final boolean contentLandscape = !attributes.getMediaSize().isPortrait();
145 Margins minMargins = attributes.getMinMargins();
255 public void applyPrintAttributes(PrintAttributes attributes) { argument
266 final boolean contentPortrait = attributes.getMediaSize().isPortrait();
273 ? pointsFromMils(attributes.getMediaSize().getWidthMils())
274 : pointsFromMils(attributes.getMediaSize().getHeightMils());
276 ? pointsFromMils(attributes
105 renderPage(int pageIndex, int bitmapWidth, int bitmapHeight, PrintAttributes attributes, ParcelFileDescriptor destination) argument
[all...]
/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/packages/SystemUI/src/com/android/systemui/media/
H A DNotificationPlayer.java49 AudioAttributes attributes; field in class:NotificationPlayer.Command
53 return "{ code=" + code + " looping=" + looping + " attributes=" + attributes
83 player.setAudioAttributes(mCmd.attributes);
95 AudioAttributes.toLegacyStreamType(mCmd.attributes),
99 AudioAttributes.toLegacyStreamType(mCmd.attributes),
296 cmd.attributes = new AudioAttributes.Builder().setInternalLegacyStreamType(stream).build();
313 * @param attributes the AudioAttributes to use.
316 public void play(Context context, Uri uri, boolean looping, AudioAttributes attributes) { argument
323 cmd.attributes
[all...]
/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();
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeLayoutParamsMapAttributes.java36 public BridgeLayoutParamsMapAttributes(Map<String, String> attributes) { argument
37 mAttributes = attributes;
/frameworks/wilhelm/src/
H A Dlocks.c159 * attributes
163 void object_unlock_exclusive_attributes_(IObject *thiz, unsigned attributes, argument
166 void object_unlock_exclusive_attributes(IObject *thiz, unsigned attributes)
190 // first synchronously handle updates to attributes here, while object is still locked.
192 unsigned asynchronous = attributes;
193 while (attributes) {
195 unsigned bit = ctz(attributes);
203 attributes &= ~(1 << bit);
206 // any remaining attributes are handled asynchronously in the sync thread
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp561 } attributes[] = { local
571 for (attrib = attributes; attrib < attributes + NUMA(attributes);
575 if (attrib >= attributes + NUMA(attributes)) {
613 } attributes[] = { local
640 for (attrib = attributes; attrib < attributes + NUMA(attributes);
805 } attributes[] = { local
[all...]
/frameworks/base/core/java/android/printservice/
H A DPrintServiceInfo.java128 TypedArray attributes = resources.obtainAttributes(allAttributes,
131 settingsActivityName = attributes.getString(
134 addPrintersActivityName = attributes.getString(
137 advancedPrintOptionsActivityName = attributes.getString(com.android.internal
140 attributes.recycle();
/frameworks/base/media/java/android/media/
H A DAudioRecord.java243 * @param attributes a non-null {@link AudioAttributes} instance. Use
260 public AudioRecord(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, argument
264 if (attributes == null) {
277 if (attributes.getCapturePreset() == MediaRecorder.AudioSource.REMOTE_SUBMIX) {
279 final Iterator<String> tagsIter = attributes.getTags().iterator();
289 filteredAttr.setInternalCapturePreset(attributes.getCapturePreset());
292 mAudioAttributes = attributes;
313 audioParamCheck(attributes.getCapturePreset(), rate, encoding);
922 Object /*AudioAttributes*/ attributes,
921 native_setup(Object audiorecord_this, Object attributes, int sampleRate, int channelMask, int audioFormat, int buffSizeInBytes, int[] sessionId) argument

Completed in 7605 milliseconds

123