OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:StringUtils
(Results
26 - 50
of
109
) sorted by null
1
2
3
4
5
/external/smack/src/org/jivesoftware/smack/packet/
IQ.java
23
import org.jivesoftware.smack.util.
StringUtils
;
84
buf.append("to=\"").append(
StringUtils
.escapeForXML(getTo())).append("\" ");
87
buf.append("from=\"").append(
StringUtils
.escapeForXML(getFrom())).append("\" ");
RosterPacket.java
23
import org.jivesoftware.smack.util.
StringUtils
;
219
buf.append(" name=\"").append(
StringUtils
.escapeForXML(name)).append("\"");
229
buf.append("<group>").append(
StringUtils
.escapeForXML(groupName)).append("</group>");
Message.java
23
import org.jivesoftware.smack.util.
StringUtils
;
420
buf.append(" to=\"").append(
StringUtils
.escapeForXML(getTo())).append("\"");
423
buf.append(" from=\"").append(
StringUtils
.escapeForXML(getFrom())).append("\"");
432
buf.append("<subject>").append(
StringUtils
.escapeForXML(defaultSubject.subject)).append("</subject>");
440
buf.append(
StringUtils
.escapeForXML(subject.subject));
446
buf.append("<body>").append(
StringUtils
.escapeForXML(defaultBody.message)).append("</body>");
454
buf.append(
StringUtils
.escapeForXML(body.getMessage()));
Packet.java
38
import org.jivesoftware.smack.util.
StringUtils
;
83
private static String prefix =
StringUtils
.randomString(5) + "-";
164
* The
StringUtils
class provides several useful methods for dealing with
166
* {@link
StringUtils
#parseBareAddress(String) bare address},
167
* {@link
StringUtils
#parseName(String) user name},
168
* {@link
StringUtils
#parseServer(String) server}, and
169
* {@link
StringUtils
#parseResource(String) resource}.
193
* The
StringUtils
class provides several useful methods for dealing with
195
* {@link
StringUtils
#parseBareAddress(String) bare address},
196
* {@link
StringUtils
#parseName(String) user name}
[
all
...]
/external/smack/src/org/jivesoftware/smackx/muc/
RoomListenerMultiplexor.java
28
import org.jivesoftware.smack.util.
StringUtils
;
165
return roomAddressTable.containsKey(
StringUtils
.parseBareAddress(from).toLowerCase());
206
roomListenersByAddress.get(
StringUtils
.parseBareAddress(from).toLowerCase());
/external/smack/src/org/jivesoftware/smackx/pubsub/
SubscribeForm.java
24
import org.jivesoftware.smack.util.
StringUtils
;
129
return
StringUtils
.parseDate(dateTime);
147
setAnswer(SubscribeOptionFields.expire.getFieldName(),
StringUtils
.formatXEP0082Date(expire));
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
PlayheadView.java
20
import com.android.videoeditor.util.
StringUtils
;
140
final String timeText =
StringUtils
.getSimpleTimestampAsString(getContext(), 0);
176
final String timeText =
StringUtils
.getSimpleTimestampAsString(context, (long) startMs);
/external/smack/src/org/jivesoftware/smackx/filetransfer/
FileTransferManager.java
30
import org.jivesoftware.smack.util.
StringUtils
;
141
else if (!
StringUtils
.isFullJID(userID)) {
/external/smack/src/org/jivesoftware/smackx/packet/
LastActivity.java
32
import org.jivesoftware.smack.util.
StringUtils
;
146
jid =
StringUtils
.parseBareAddress(jid);
/external/smack/src/org/jivesoftware/smackx/provider/
StreamInitiationProvider.java
27
import org.jivesoftware.smack.util.
StringUtils
;
100
fileDate =
StringUtils
.parseXEP0082Date(date);
/external/smack/src/org/jivesoftware/smackx/workgroup/util/
MetaDataUtils.java
20
import org.jivesoftware.smack.util.
StringUtils
;
95
buf.append(
StringUtils
.escapeForXML(v));
/packages/apps/VideoEditor/src/com/android/videoeditor/util/
StringUtils.java
29
public class
StringUtils
{
54
private
StringUtils
() {
ImageUtils.java
320
title =
StringUtils
.trimText(title, p, maxWidth);
327
subTitle =
StringUtils
.trimText(subTitle, p, maxWidth);
362
title =
StringUtils
.trimText(title, p, maxWidth);
369
subTitle =
StringUtils
.trimText(subTitle, p, maxWidth);
441
title =
StringUtils
.trimText(title, p, maxWidth);
448
subTitle =
StringUtils
.trimText(subTitle, p, maxWidth);
/external/smack/src/org/jivesoftware/smack/
ChatManager.java
36
import org.jivesoftware.smack.util.
StringUtils
;
64
private static String prefix =
StringUtils
.randomString(5);
177
baseJidChats.put(
StringUtils
.parseBareAddress(userJID), chat);
208
match = baseJidChats.get(
StringUtils
.parseBareAddress(userJID));
RosterGroup.java
26
import org.jivesoftware.smack.util.
StringUtils
;
123
user =
StringUtils
.parseBareAddress(user);
/external/smack/src/org/jivesoftware/smack/sasl/
SASLMechanism.java
26
import org.jivesoftware.smack.util.
StringUtils
;
118
authenticationText =
StringUtils
.encodeBase64(response, false);
139
response = sc.evaluateChallenge(
StringUtils
.decodeBase64(challenge));
149
responseStanza = new Response(
StringUtils
.encodeBase64(response, false));
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
ContactsBinaryDictionary.java
191
int len =
StringUtils
.codePointCount(name);
201
final int wordLen =
StringUtils
.codePointCount(word);
295
int len =
StringUtils
.codePointCount(name);
302
final int wordLen =
StringUtils
.codePointCount(word);
LastComposedWord.java
88
return
StringUtils
.codePointCount(separatorString);
SettingsValues.java
91
StringUtils
.toCodePointArray(res.getString(R.string.symbols_preceded_by_space));
94
StringUtils
.toCodePointArray(res.getString(R.string.symbols_followed_by_space));
97
StringUtils
.toCodePointArray(res.getString(R.string.symbols_word_connectors));
99
final String[] suggestPuncsSpec =
StringUtils
.parseCsvString(res.getString(
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
AndroidWordLevelSpellCheckerSession.java
34
import com.android.inputmethod.latin.
StringUtils
;
219
if (
StringUtils
.CAPITALIZE_NONE == capitalizeType) return false;
226
if (
StringUtils
.CAPITALIZE_FIRST == capitalizeType) return false;
231
return dict.isValidWord(
StringUtils
.capitalizeFirstAndDowncaseRest(lowerCaseText, mLocale));
287
final int capitalizeType =
StringUtils
.getCapitalizationType(text);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeySpecParser.java
27
import com.android.inputmethod.latin.
StringUtils
;
150
if (
StringUtils
.codePointCount(outputText) == 1) {
165
return (
StringUtils
.codePointCount(label) == 1) ? null : label;
180
if (
StringUtils
.codePointCount(outputText) == 1) {
187
if (
StringUtils
.codePointCount(label) == 1) {
435
return
StringUtils
.codePointCount(casedText) == 1
/external/smack/src/org/jivesoftware/smack/proxy/
HTTPProxySocketFactory.java
29
import org.jivesoftware.smack.util.
StringUtils
;
93
proxyLine = "\r\nProxy-Authorization: Basic " +
StringUtils
.encodeBase64(username + ":" + password);
/external/smack/src/org/jivesoftware/smackx/
GatewayManager.java
13
import org.jivesoftware.smack.util.
StringUtils
;
109
if(entry.getUser().equalsIgnoreCase(
StringUtils
.parseServer(entry.getUser())) &&
/external/smack/src/org/jivesoftware/smackx/workgroup/ext/macros/
Macros.java
26
import org.jivesoftware.smack.util.
StringUtils
;
84
buf.append(
StringUtils
.escapeForXML(getPersonalMacroGroup().toXML()));
/libcore/luni/src/main/java/java/lang/reflect/
AccessibleObject.java
37
import org.apache.harmony.kernel.vm.
StringUtils
;
220
return
StringUtils
.combineStrings(annotation);
Completed in 1036 milliseconds
1
2
3
4
5