Home
last modified time | relevance | path

Searched refs:attribute (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMessageListingElement.java261 … xmlMsgElement.attribute(null, "handle", BluetoothMapUtils.getMapHandle(mCpHandle, mType)); in encode()
263 xmlMsgElement.attribute(null, "subject", stripInvalidChars(mSubject)); in encode()
265 xmlMsgElement.attribute(null, "datetime", this.getDateTimeString()); in encode()
267 xmlMsgElement.attribute(null, "sender_name", stripInvalidChars(mSenderName)); in encode()
269 xmlMsgElement.attribute(null, "sender_addressing", mSenderAddressing); in encode()
271 xmlMsgElement.attribute(null, "replyto_addressing",mReplytoAddressing); in encode()
273 xmlMsgElement.attribute(null, "recipient_name", stripInvalidChars(mRecipientName)); in encode()
275 xmlMsgElement.attribute(null, "recipient_addressing", mRecipientAddressing); in encode()
277 xmlMsgElement.attribute(null, "type", mType.name()); in encode()
279 xmlMsgElement.attribute(null, "size", Integer.toString(mSize)); in encode()
[all …]
DBluetoothMapContentObserver.java284 xmlEvtReport.attribute("", "version", "1.0"); in encode()
287 xmlEvtReport.attribute("", "type", eventType); in encode()
288 … xmlEvtReport.attribute("", "handle", BluetoothMapUtils.getMapHandle(handle, msgType)); in encode()
290 xmlEvtReport.attribute("", "folder", folder); in encode()
293 xmlEvtReport.attribute("", "old_folder", oldFolder); in encode()
295 xmlEvtReport.attribute("", "msg_type", msgType.name()); in encode()
DBluetoothMapFolderElement.java239 xmlMsgElement.attribute(null, "version", "1.0"); in encode()
243 xmlMsgElement.attribute(null, "name", folders[i].getName()); in encode()
DBluetoothMapMessageListing.java95 xmlMsgElement.attribute(null, "version", "1.0"); in encode()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DWnnSentence.java45 this.attribute = 0; in WnnSentence()
56 this.attribute = headClause.attribute; in WnnSentence()
71 this.attribute = 2; in WnnSentence()
88 this.attribute = clause.attribute; in WnnSentence()
106 this.attribute = prev.attribute; in WnnSentence()
127 this.attribute = head.attribute; in WnnSentence()
137 this.attribute = 2; in WnnSentence()
DOpenWnn.java221 @Override public void onStartInput(EditorInfo attribute, boolean restarting) { in onStartInput() argument
222 super.onStartInput(attribute, restarting); in onStartInput()
230 @Override public void onStartInputView(EditorInfo attribute, boolean restarting) { in onStartInputView() argument
231 super.onStartInputView(attribute, restarting); in onStartInputView()
243 if (mInputViewManager != null) { mInputViewManager.setPreferences(pref, attribute); } in onStartInputView()
DWnnWord.java36 public int attribute; field in WnnWord
112 …lic WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency, int attribute) { in WnnWord() argument
118 this.attribute = attribute; in WnnWord()
DOpenWnnEN.java310 @Override public void onStartInputView(EditorInfo attribute, boolean restarting) { in onStartInputView() argument
311 super.onStartInputView(attribute, restarting); in onStartInputView()
337 fitInputType(pref, attribute); in onStartInputView()
DSymbolList.java149 String attribute = xrp.getName(); in getXmlfile() local
150 if (XMLTAG_KEY.equals(attribute)) { in getXmlfile()
DOpenWnnJAJP.java535 @Override public void onStartInputView(EditorInfo attribute, boolean restarting) { in onStartInputView() argument
539 super.onStartInputView(attribute, restarting); in onStartInputView()
550 super.onStartInputView(attribute, restarting); in onStartInputView()
567 fitInputType(pref, attribute); in onStartInputView()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlDocument.java579 for (TagAttribute attribute : attributes) { in getAttribute()
580 if (attribute.getAttribute().equals(attr)) { in getAttribute()
581 return attribute; in getAttribute()
595 for (TagAttribute attribute : attributes) { in getAttributes()
596 if (attribute.getAttribute().equals(attr)) { in getAttributes()
597 result.add(attribute); in getAttributes()
766 private final HTML.Attribute attribute; field in HtmlDocument.TagAttribute
778 private TagAttribute(HTML.Attribute attribute, String value, String originalHtml) { in TagAttribute() argument
779 X.assertTrue(attribute != null); in TagAttribute()
780 this.attribute = attribute; in TagAttribute()
[all …]
DHTML4.java128 private static HTML.Attribute addAttribute(String attribute) { in addAttribute() argument
129 return addAttribute(attribute, HTML.Attribute.NO_TYPE); in addAttribute()
132 private static HTML.Attribute addAttribute(String attribute, int type) { in addAttribute() argument
133 return addAttribute(attribute, type, null); in addAttribute()
136 private static HTML.Attribute addAttribute(String attribute, in addAttribute() argument
139 attribute = attribute.toLowerCase(); in addAttribute()
148 HTML.Attribute attr = new HTML.Attribute(attribute, type, valueSet); in addAttribute()
149 attributes.put(attribute, attr); in addAttribute()
/packages/apps/Mms/src/com/android/mms/dom/
DElementImpl.java106 Attr attribute = getAttributeNode(name); in setAttribute() local
107 if (attribute == null) { in setAttribute()
108 attribute = mOwnerDocument.createAttribute(name); in setAttribute()
110 attribute.setNodeValue(value); in setAttribute()
111 mAttributes.setNamedItem(attribute); in setAttribute()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java600 protected static String getAttributeValue(XmlResourceParser parser, String attribute) { in getAttributeValue() argument
602 "http://schemas.android.com/apk/res-auto/com.android.launcher3", attribute); in getAttributeValue()
604 value = parser.getAttributeValue(null, attribute); in getAttributeValue()
613 protected static int getAttributeResourceValue(XmlResourceParser parser, String attribute, in getAttributeResourceValue() argument
616 "http://schemas.android.com/apk/res-auto/com.android.launcher3", attribute, in getAttributeResourceValue()
619 value = parser.getAttributeResourceValue(null, attribute, defaultValue); in getAttributeResourceValue()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DMosaicRendererSurfaceView.java204 EGLConfig config, int attribute, int defaultValue) { in findConfigAttrib() argument
206 if (egl.eglGetConfigAttrib(display, config, attribute, mValue)) { in findConfigAttrib()
296 int attribute = attributes[i]; in printConfig() local
298 if (egl.eglGetConfigAttrib(display, config, attribute, value)) { in printConfig()
/packages/apps/Mms/src/com/android/mms/dom/smil/parser/
DSmilXmlSerializer.java55 Attr attribute = (Attr)attributes.item(i); in writeElement() local
56 writer.write(" " + attribute.getName()); in writeElement()
57 writer.write("=\"" + attribute.getValue() + "\""); in writeElement()
/packages/experimental/SELinux/CTS/test/
Dpolicy_test.conf2178 attribute domain;
2181 attribute unconfineddomain;
2184 attribute appdomain;
2188 attribute file_type;
2191 attribute exec_type;
Dpolicy_clean_test.conf2178 attribute domain;
2181 attribute unconfineddomain;
2184 attribute appdomain;
2188 attribute file_type;
2191 attribute exec_type;
/packages/experimental/SELinux/CTS/src/
Dexample_input_policy.conf3610 attribute dev_type;
3613 attribute domain;
3616 attribute fs_type;
3620 attribute file_type;
3623 attribute exec_type;
3626 attribute data_file_type;
3629 attribute sysfs_type;
3632 attribute sdcard_type;
3635 attribute node_type;
3638 attribute netif_type;
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DXmlParseUtils.java55 final String attribute) { in IllegalAttribute() argument
56 super("Tag " + tag + " has illegal attribute " + attribute, parser); in IllegalAttribute()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DBaseAccountType.java685 private static boolean getAttr(AttributeSet attrs, String attribute, boolean defaultValue) { in getAttr() argument
686 return attrs.getAttributeBooleanValue(null, attribute, defaultValue); in getAttr()
689 private static int getAttr(AttributeSet attrs, String attribute, int defaultValue) { in getAttr() argument
690 return attrs.getAttributeIntValue(null, attribute, defaultValue); in getAttr()
693 private static String getAttr(AttributeSet attrs, String attribute) { in getAttr() argument
694 return attrs.getAttributeValue(null, attribute); in getAttr()
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
DMessageTestUtils.java251 public TextBuilder addTag(String tag, String attribute, String value) { in addTag() argument
252 return addText(String.format("<%s %s=\"%s\">", tag, attribute, value)); in addTag()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DIntentStore.java196 serializer.attribute(null /* namespace */, ATTRIBUTE_ACCOUNT_NAME, account.name); in accountToString()
197 serializer.attribute(null /* namespace */, ATTRIBUTE_ACCOUNT_TYPE, account.type); in accountToString()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java857 serializer.attribute(null, LENGTH_ATTRIBUTE, Objects.toString(values.size()));
866 serializer.attribute(null, LENGTH_ATTRIBUTE, "0");
944 serializer.attribute(null, VERSION, Objects.toString(EXPECTED_STATE_VERSION));
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredServicesCache.java423 out.attribute(null, "component", service.getKey().flattenToString()); in writeDynamicAidsLocked()
424 out.attribute(null, "uid", Integer.toString(service.getValue().uid)); in writeDynamicAidsLocked()

12