Searched refs:name (Results 1 - 25 of 351) sorted by relevance

1234567891011>>

/packages/apps/Email/src/org/apache/james/mime4j/field/address/
H A DNamedMailbox.java23 * A Mailbox that has a name/description.
28 private String name; field in class:NamedMailbox
33 public NamedMailbox(String name, String localPart, String domain) { argument
35 this.name = name;
41 public NamedMailbox(String name, DomainList route, String localPart, String domain) { argument
43 this.name = name;
49 public NamedMailbox(String name, Mailbox baseMailbox) { argument
51 this.name
[all...]
H A DGroup.java30 private String name; field in class:Group
34 * @param name The group name.
37 public Group(String name, MailboxList mailboxes) { argument
38 this.name = name;
43 * Returns the group name.
46 return name;
58 buf.append(name);
/packages/apps/Email/src/org/apache/commons/io/filefilter/
H A DAbstractFileFilter.java49 * @param name the filename within the directory to check
52 public boolean accept(File dir, String name) { argument
53 return accept(new File(dir, name));
62 String name = getClass().getName();
63 int period = name.lastIndexOf('.');
64 return (period > 0 ? name.substring(period + 1) : name);
H A DNameFileFilter.java26 * Filters filenames for a certain name.
29 * current directory whose name is <code>Test</code>:
55 * Constructs a new case-sensitive name file filter for a single name.
57 * @param name the name to allow, must not be null
58 * @throws IllegalArgumentException if the name is null
60 public NameFileFilter(String name) { argument
61 this(name, null);
65 * Construct a new name fil
71 NameFileFilter(String name, IOCase caseSensitivity) argument
161 accept(File file, String name) argument
[all...]
/packages/apps/Email/tests/src/com/android/email/mail/
H A DFlagTests.java35 String name = flag.name();
36 assertEquals(name.toUpperCase(), name);
/packages/apps/Email/src/com/android/email/mail/internet/
H A DMimeHeader.java62 public String getFirstHeader(String name) throws MessagingException { argument
63 String[] header = getHeader(name);
70 public void addHeader(String name, String value) throws MessagingException { argument
71 mFields.add(new Field(name, value));
74 public void setHeader(String name, String value) throws MessagingException { argument
75 if (name == null || value == null) {
78 removeHeader(name);
79 addHeader(name, value);
82 public String[] getHeader(String name) throws MessagingException { argument
85 if (field.name
95 removeHeader(String name) argument
135 final String name; field in class:MimeHeader.Field
138 Field(String name, String value) argument
[all...]
H A DMimeBodyPart.java59 protected String getFirstHeader(String name) throws MessagingException { argument
60 return mHeader.getFirstHeader(name);
63 public void addHeader(String name, String value) throws MessagingException { argument
64 mHeader.addHeader(name, value);
67 public void setHeader(String name, String value) throws MessagingException { argument
68 mHeader.setHeader(name, value);
71 public String[] getHeader(String name) throws MessagingException { argument
72 return mHeader.getHeader(name);
75 public void removeHeader(String name) throws MessagingException { argument
76 mHeader.removeHeader(name);
153 setExtendedHeader(String name, String value) argument
173 getExtendedHeader(String name) argument
[all...]
/packages/apps/Email/src/com/android/exchange/utility/
H A DSimpleIcsWriter.java64 public void writeTag(String name, String value) { argument
75 if ("CALSCALE".equals(name)
76 || "METHOD".equals(name)
77 || "PRODID".equals(name)
78 || "VERSION".equals(name)
79 || "CATEGORIES".equals(name)
80 || "CLASS".equals(name)
81 || "COMMENT".equals(name)
82 || "DESCRIPTION".equals(name)
83 || "LOCATION".equals(name)
[all...]
/packages/apps/Email/
H A Dremove-exchange-support.sh49 find . \( -name '*.java' -o -name '*.xml' -o -name 'Android.mk' \) -print0 |
55 find . -name '*.java' -print0 |
/packages/apps/IM/src/com/android/im/app/
H A DProviderDef.java26 public ProviderDef(long id, String name, String fullName, String signUpUrl) { argument
28 mName = name;
32 mFullName = name;
/packages/apps/Email/src/org/apache/commons/io/
H A DIOCase.java62 /** The enumeration name. */
63 private final String name; field in class:IOCase
70 * Factory method to create an IOCase from a name.
72 * @param name the name to find
74 * @throws IllegalArgumentException if the name is invalid
76 public static IOCase forName(String name) { argument
77 if (IOCase.SENSITIVE.name.equals(name)){
80 if (IOCase.INSENSITIVE.name
96 IOCase(String name, boolean sensitive) argument
[all...]
H A DFileDeleteStrategy.java48 /** The name of the strategy. */
49 private final String name; field in class:FileDeleteStrategy
55 * @param name the name by which the strategy is known
57 protected FileDeleteStrategy(String name) { argument
58 this.name = name;
126 return "FileDeleteStrategy[" + name + "]";
/packages/apps/Email/src/org/apache/james/mime4j/field/
H A DDelegatingFieldParser.java27 * Sets the parser used for the field named <code>name</code>.
28 * @param name the name of the field
29 * @param parser the parser for fields named <code>name</code>
31 public void setFieldParser(final String name, final FieldParser parser) { argument
32 parsers.put(name.toLowerCase(), parser);
35 public FieldParser getParser(final String name) { argument
36 final FieldParser field = (FieldParser) parsers.get(name.toLowerCase());
43 public Field parse(final String name, final String body, final String raw) { argument
44 final FieldParser parser = getParser(name);
[all...]
H A DFieldParser.java20 Field parse(final String name, final String body, final String raw); argument
H A DUnstructuredField.java34 protected UnstructuredField(String name, String body, String raw, String value) { argument
35 super(name, body, raw);
44 public Field parse(final String name, final String body, final String raw) { argument
46 return new UnstructuredField(name, body, raw, value);
H A DField.java59 private final String name; field in class:Field
63 protected Field(final String name, final String body, final String raw) { argument
64 this.name = name;
72 * the field name:
75 * <td><em>Field name</em></td><td><em>Class returned</em></td>
93 * Split into name and value.
99 final String name = fieldMatcher.group(1);
106 return parser.parse(name, body, raw);
118 * Gets the name o
[all...]
H A DContentTransferEncodingField.java54 protected ContentTransferEncodingField(String name, String body, String raw, String encoding) { argument
55 super(name, body, raw);
83 public Field parse(final String name, final String body, final String raw) { argument
85 return new ContentTransferEncodingField(name, body, raw, encoding);
/packages/apps/Email/src/com/android/email/mail/
H A DPart.java23 public void addHeader(String name, String value) throws MessagingException; argument
25 public void removeHeader(String name) throws MessagingException; argument
27 public void setHeader(String name, String value) throws MessagingException; argument
37 public String[] getHeader(String name) throws MessagingException; argument
39 public void setExtendedHeader(String name, String value) throws MessagingException; argument
41 public String getExtendedHeader(String name) throws MessagingException; argument
/packages/apps/Email/src/com/beetstra/jutf7/
H A DModifiedUTF7Charset.java29 * The character set specified in RFC 3501 to use for IMAP4rev1 mailbox name
40 ModifiedUTF7Charset(String name, String[] aliases) { argument
41 super(name, aliases, MODIFIED_BASE64_ALPHABET, true);
/packages/apps/IM/libwbxml/include/
H A Dxml_handler.h26 virtual void startElement(const char *name, const char **atts) = 0;
27 virtual void endElement(const char *name) = 0;
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
H A DIService.aidl23 void startTracing(String name);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DNameSplitter.java34 * The purpose of this class is to split a full name into given names and last
35 * name. The logic only supports having a single last name. If the full name has
42 * <li>Assign the last remaining token as the last name.</li>
43 * <li>If the previous word to the last name is one from LASTNAME_PREFIXES, use
44 * this word also as the last name.</li>
164 private void putValueIfPresent(ContentValues values, String name, String value) { argument
166 values.put(name, value);
237 * Returns true if the token is followed by a dot in the original full name
328 split(Name name, String fullName) argument
362 splitWesternName(Name name, String fullName) argument
387 splitChineseName(Name name, String fullName) argument
430 splitJapaneseOrKoreanName(Name name, String fullName) argument
450 join(Name name, boolean givenNameFirst) argument
477 joinPhoneticName(Name name) argument
617 parsePrefix(Name name, NameTokenizer tokens) argument
632 parseSuffix(Name name, NameTokenizer tokens) argument
679 parseLastName(Name name, NameTokenizer tokens) argument
734 parseMiddleName(Name name, NameTokenizer tokens) argument
752 parseGivenNames(Name name, NameTokenizer tokens) argument
780 guessNameStyle(Name name) argument
812 guessFullNameStyle(NameSplitter.Name name) argument
847 guessFullNameStyle(String name) argument
883 guessCJKNameStyle(String name, int offset) argument
902 guessPhoneticNameStyle(NameSplitter.Name name) argument
932 guessPhoneticNameStyle(String name) argument
[all...]
/packages/apps/Mms/src/com/android/mms/dom/
H A DElementImpl.java44 public String getAttribute(String name) { argument
45 Attr attrNode = getAttributeNode(name);
58 public Attr getAttributeNode(String name) { argument
59 return (Attr)mAttributes.getNamedItem(name);
67 public NodeList getElementsByTagName(String name) { argument
68 return new NodeListImpl(this, name, true);
80 public boolean hasAttribute(String name) { argument
81 return (getAttributeNode(name) != null);
89 public void removeAttribute(String name) throws DOMException { argument
105 public void setAttribute(String name, Strin argument
159 setIdAttribute(String name, boolean isId) argument
[all...]
/packages/apps/Browser/src/com/android/browser/search/
H A DSearchEngines.java45 String name = searchEngines[i];
46 SearchEngineInfo info = new SearchEngineInfo(context, name);
52 public static SearchEngine get(Context context, String name) { argument
55 if (TextUtils.isEmpty(name)
56 || (defaultSearchEngine != null && name.equals(defaultSearchEngine.getName()))) {
59 SearchEngineInfo searchEngineInfo = getSearchEngineInfo(context, name);
64 private static SearchEngineInfo getSearchEngineInfo(Context context, String name) { argument
66 return new SearchEngineInfo(context, name);
68 Log.e(TAG, "Cannot load search engine " + name, exception);
/packages/apps/Mms/src/com/android/mms/ui/
H A DSlideViewInterface.java29 void setImage(String name, Bitmap bitmap); argument
33 void setVideo(String name, Uri video); argument
40 void setAudio(Uri audio, String name, Map<String, ?> extras); argument
46 void setText(String name, String text); argument

Completed in 212 milliseconds

1234567891011>>