OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:charSequence
(Results
1 - 22
of
22
) sorted by null
/packages/apps/Email/src/org/apache/commons/io/input/
CharSequenceReader.java
33
private final
CharSequence
charSequence
;
40
* @param
charSequence
The character sequence, may be <code>null</code>
42
public CharSequenceReader(
CharSequence
charSequence
) {
43
this.
charSequence
= (
charSequence
!= null ?
charSequence
: "");
79
if (idx >=
charSequence
.length()) {
82
return
charSequence
.charAt(idx++);
[
all
...]
/external/guava/guava/src/com/google/common/hash/
AbstractHasher.java
23
* {@link #putFloat(float)}, {@link #putString(
CharSequence
)}, and
24
* {@link #putString(
CharSequence
, Charset)} as prescribed by {@link Hasher}.
41
@Override public Hasher putString(
CharSequence
charSequence
) {
42
// TODO(user): Should we instead loop over the
CharSequence
and call #putChar?
43
return putString(
charSequence
, Charsets.UTF_16LE);
46
@Override public Hasher putString(
CharSequence
charSequence
, Charset charset) {
48
return putBytes(
charSequence
.toString().getBytes(charset.name()));
Hasher.java
51
* Equivalent to {@code putBytes(
charSequence
.toString().getBytes(Charsets.UTF_16LE)}.
53
@Override Hasher putString(
CharSequence
charSequence
);
55
* Equivalent to {@code putBytes(
charSequence
.toString().getBytes(charset)}.
57
@Override Hasher putString(
CharSequence
charSequence
, Charset charset);
Sink.java
96
Sink putString(
CharSequence
charSequence
);
101
Sink putString(
CharSequence
charSequence
, Charset charset);
MessageDigestHashFunction.java
143
@Override public Hasher putString(
CharSequence
charSequence
) {
144
for (int i = 0; i <
charSequence
.length(); i++) {
145
putChar(
charSequence
.charAt(i));
150
@Override public Hasher putString(
CharSequence
charSequence
, Charset charset) {
152
return putBytes(
charSequence
.toString().getBytes(charset.name()));
AbstractStreamingHashFunction.java
36
@Override public HashCode hashString(
CharSequence
input) {
40
@Override public HashCode hashString(
CharSequence
input, Charset charset) {
171
public final Hasher putString(
CharSequence
charSequence
) {
172
for (int i = 0; i <
charSequence
.length(); i++) {
173
putChar(
charSequence
.charAt(i));
/external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/
TextViewHasTextMatcher.java
22
final
CharSequence
charSequence
= actual.getText();
23
if (
charSequence
== null ||
charSequence
.toString() == null) {
26
actualText =
charSequence
.toString();
ViewHasTextMatcher.java
36
final
CharSequence
charSequence
= shadowOf(actual).innerText();
37
if (
charSequence
== null ||
charSequence
.toString() == null) {
40
actualText =
charSequence
.toString();
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPasswordTransformationMethod.java
16
public
CharSequence
getTransformation(
CharSequence
charSequence
, View view) {
17
if(isEmpty(
charSequence
)) {
20
return String.format(String.format("%%0%dd",
charSequence
.length()), 0).replace("0", "\u2022");
32
public void onFocusChanged(View view,
CharSequence
charSequence
, boolean b, int i, Rect rect) { }
34
private boolean isEmpty(
CharSequence
value) {
/frameworks/base/core/java/android/text/method/
WordIterator.java
28
* {@link BreakIterator#getWordInstance()}, and caches {@link
CharSequence
}
58
public void setCharSequence(
CharSequence
charSequence
, int start, int end) {
60
final int windowEnd = Math.min(
charSequence
.length(), end + WINDOW_WIDTH);
62
if (
charSequence
instanceof SpannableStringBuilder) {
63
mString = ((SpannableStringBuilder)
charSequence
).substring(mOffsetShift, windowEnd);
65
mString =
charSequence
.subSequence(mOffsetShift, windowEnd).toString();
/external/smali/util/src/main/java/org/jf/util/
IndentingWriter.java
112
public Writer append(
CharSequence
charSequence
) throws IOException {
113
write(
charSequence
.toString());
118
public Writer append(
CharSequence
charSequence
, int start, int len) throws IOException {
119
write(
charSequence
.subSequence(start, len).toString());
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
CharSequencesTest.java
52
* Converts a
CharSequence
to a string the slow way. Useful for testing
53
* a
CharSequence
implementation.
55
static String toString(
CharSequence
charSequence
) {
56
return new StringBuilder().append(
charSequence
).toString();
/libcore/luni/src/main/java/java/io/
PrintStream.java
622
* Appends the
CharSequence
{@code
charSequence
}, or {@code "null"}.
625
public PrintStream append(
CharSequence
charSequence
) {
626
if (
charSequence
== null) {
629
print(
charSequence
.toString());
635
* Appends a subsequence of
CharSequence
{@code
charSequence
}, or {@code "null"}.
637
* @param
charSequence
649
* the length of {@code
charSequence
}
[
all
...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
CompatTextView.java
73
public
CharSequence
getTransformation(
CharSequence
source, View view) {
78
public void onFocusChanged(View view,
CharSequence
charSequence
, boolean b, int i,
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
SimpleMenu.java
57
public MenuItem add(
CharSequence
title) {
65
public MenuItem add(int groupId, int itemId, int order,
CharSequence
title) {
76
private MenuItem addInternal(int itemId, int order,
CharSequence
title) {
143
public SubMenu addSubMenu(
CharSequence
charSequence
) {
151
public SubMenu addSubMenu(int groupId, int itemId, int order,
CharSequence
title) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
ResearchLogger.java
375
final
CharSequence
textBefore = ic.getTextBeforeCursor(1, 0);
380
final
CharSequence
textAfter = ic.getTextAfterCursor(1, 0);
[
all
...]
/prebuilts/devtools/tools/lib/
guava-13.0.1.jar
/prebuilts/tools/common/guava-tools/
guava-13.0.1.jar
/prebuilts/tools/common/m2/repository/com/google/guava/guava/13.0.1/
guava-13.0.1.jar
/prebuilts/tools/common/gradle-plugins/repository/com/google/guava/guava/14.0/
guava-14.0.jar
/prebuilts/sdk/16/
android.jar
/prebuilts/sdk/current/
android.jar
Completed in 485 milliseconds