Searched defs:text (Results 176 - 200 of 395) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/content/pm/
H A DSignature.java83 * Create Signature from a text representation previously returned by
87 * @param text hex-encoded string representing the signature
90 public Signature(String text) { argument
91 final byte[] input = text.getBytes();
95 throw new IllegalArgumentException("text size " + N + " is not even");
111 * Encode the Signature as ASCII text.
118 * Encode the Signature as ASCII text in to an existing array.
131 char[] text = existingArray == null || N2 > existingArray.length
136 text[j*2] = (char)(d >= 10 ? ('a' + d - 10) : ('0' + d));
138 text[
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java27 * extracted text in a full-screen input method.
72 * Implement just to keep track of when we are setting text from the
75 @Override public void setExtractedText(ExtractedText text) { argument
78 super.setExtractedText(text);
85 * Report to the underlying text editor about selection changes.
106 // Select all and Replace text shouldn't be handled by the original edit text, but by the
113 // Cut will change the text, which stops selection mode.
129 * Return true if the edit text is currently showing a scroll bar.
196 protected void replaceText_internal(int start, int end, CharSequence text) { argument
[all...]
/frameworks/base/core/java/android/preference/
H A DEditTextPreference.java25 import android.text.TextUtils;
47 * The edit text shown in the dialog.
83 * Saves the text to the {@link SharedPreferences}.
85 * @param text The text to save
87 public void setText(String text) { argument
90 mText = text;
92 persistString(text);
101 * Gets the text from the {@link SharedPreferences}.
191 myState.text
209 String text; field in class:EditTextPreference.SavedState
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisRequest.java23 * <li>The text to synthesize</li>
35 * Any additional parameters sent to the text to speech service are passed in
50 public SynthesisRequest(String text, Bundle params) { argument
51 mText = text;
56 public SynthesisRequest(CharSequence text, Bundle params) { argument
57 mText = text;
63 * Gets the text which should be synthesized.
72 * Gets the text which should be synthesized.
/frameworks/base/core/java/android/text/
H A DAlteredCharSequence.java17 package android.text;
29 * Create an AlteredCharSequence whose text (and possibly spans)
H A DAutoText.java17 package android.text;
106 * of text. Returns null if no correction can be found.
115 * Returns the size of the auto text dictionary. The return value can be zero if there is
118 * @return the number of entries in the auto text dictionary
H A DPackedIntVector.java17 package android.text;
H A DSpanned.java17 package android.text;
20 * This is the interface for text that has markup objects attached to
21 * ranges of it. Not all text classes have mutable markup or text;
23 * mutable text.
45 * independent from the visual representation of the text (left-to-right or right-to-left).
50 * 0-length spans with type SPAN_MARK_MARK behave like text marks:
51 * they remain at their original offset when text is inserted
52 * at that offset. Conceptually, the text is added after the mark.
66 * they are pushed forward by the length of the insertion when text
[all...]
H A DTextDirectionHeuristics.java17 package android.text;
31 * you can use the support library's {@link android.support.v4.text.TextDirectionHeuristicsCompat}
66 * If the text contains any strong right to left non-format character, determines that the
131 * Computes the text direction based on an algorithm. Subclasses implement
133 * direction from the text alone.
143 * Return true if the default text direction is rtl.
191 * Interface for an algorithm to guess the direction of a paragraph of text.
195 * Returns whether the range of text is RTL according to the algorithm.
234 * in the constructor parameter to determine the direction of text.
/frameworks/base/core/java/android/text/method/
H A DMultiTapKeyListener.java17 package android.text.method;
23 import android.text.*;
24 import android.text.method.TextKeyListener.Capitalize;
155 // or the text no longer matches, so move the selection over
H A DReplacementTransformationMethod.java17 package android.text.method;
20 import android.text.Editable;
21 import android.text.GetChars;
22 import android.text.Spannable;
23 import android.text.Spanned;
24 import android.text.SpannedString;
25 import android.text.TextUtils;
57 * Short circuit for faster display if the text will never change.
61 * Check whether the text does not contain any of the
78 * The text contain
[all...]
H A DWordIterator.java18 package android.text.method;
20 import android.text.Selection;
21 import android.text.SpannableStringBuilder;
23 import java.text.BreakIterator;
52 * @param locale The locale to be used when analysing the text.
/frameworks/base/core/java/android/text/style/
H A DTextAppearanceSpan.java17 package android.text.style;
24 import android.text.ParcelableSpan;
25 import android.text.TextPaint;
26 import android.text.TextUtils;
29 * Sets the text color, size, style, and typeface to match a TextAppearance
41 * text appearance. The <code>appearance</code> should be, for example,
50 * text appearance, and the specified text color resource
110 * Makes text be drawn with the specified typeface, size, style,
183 * Returns the text colo
[all...]
/frameworks/base/core/java/android/view/
H A DAccessibilityIterators.java22 import java.text.BreakIterator;
26 * This class contains the implementation of text segment iterators
53 public void initialize(String text) { argument
54 mText = text;
89 public void initialize(String text) { argument
90 super.initialize(text);
91 mImpl.setText(text);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSession.java40 * receiving text input.
48 * @param oldSelStart The previous text offset of the cursor selection
50 * @param oldSelEnd The previous text offset of the cursor selection
52 * @param newSelStart The new text offset of the cursor selection
54 * @param newSelEnd The new text offset of the cursor selection
56 * @param candidatesStart The text offset of the current candidate
57 * text start position.
58 * @param candidatesEnd The text offset of the current candidate
59 * text end position.
66 * This method is called when the user tapped a text vie
105 updateExtractedText(int token, ExtractedText text) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DSimpleCursorAdapter.java150 String text = cursor.getString(from[i]);
151 if (text == null) {
152 text = "";
156 setViewText((TextView) v, text);
158 setViewImage((ImageView) v, text);
217 * Called by bindView() to set the text for a TextView but only if
224 * @param v TextView to receive text
225 * @param text the text to be set for the TextView
227 public void setViewText(TextView v, String text) { argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DHeavyWeightSwitcherActivity.java93 void setText(int id, CharSequence text) { argument
94 ((TextView)findViewById(id)).setText(text);
/frameworks/base/core/java/com/android/internal/widget/
H A DEditableInputConnection.java20 import android.text.Editable;
21 import android.text.Spanned;
22 import android.text.method.KeyListener;
23 import android.text.style.SuggestionSpan;
116 public boolean commitCompletion(CompletionInfo text) { argument
117 if (DEBUG) Log.v(TAG, "commitCompletion " + text);
119 mTextView.onCommitCompletion(text);
173 public boolean commitText(CharSequence text, int newCursorPosition) { argument
175 return super.commitText(text, newCursorPosition);
177 if (text instanceo
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DDynamicLayoutBlocksTest.java17 package android.text;
19 import static android.text.Layout.Alignment.*;
21 import android.text.DynamicLayout;
H A DSpannedTest.java17 package android.text;
22 import android.text.*;
23 import android.text.style.*;
/frameworks/base/core/tests/coretests/src/android/text/format/
H A DTimeTest.java17 package android.text.format;
21 import android.text.format.Time;
/frameworks/base/core/tests/coretests/src/android/util/
H A DScrollViewScenario.java95 * Add a text view.
96 * @param text The text of the text view.
99 public Params addTextView(final String text, float heightRatio) { argument
103 tv.setText(text);
111 * Add multiple text views.
113 * @param textPrefix The text to prepend to each text view.
125 * @param text Th
128 addButton(final String text, float heightRatio) argument
[all...]
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.cpp43 if (text) {
45 hash, reinterpret_cast<const uint16_t*>(text), charCount);
77 if (lhs.text != rhs.text) {
78 if (!lhs.text) return -1;
79 if (!rhs.text) return +1;
81 deltaInt = memcmp(lhs.text, rhs.text, lhs.len);
173 ShadowTexture* TextDropShadowCache::get(const SkPaint* paint, const char* text, uint32_t len, argument
175 ShadowText entry(paint, radius, len, text, position
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSDualTileLabel.java22 import android.text.TextUtils;
23 import android.text.TextUtils.TruncateAt;
118 public void setText(CharSequence text) { argument
119 final String newText = text == null ? null : text.toString().trim();
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DDatabaseHelper.java27 import android.text.TextUtils;
106 values.put(SoundModelContract.KEY_HINT_TEXT, soundModel.keyphrases[0].text);
186 String text = c.getString(
214 keyphraseId, recognitionModes, modelLocale, text, users);
248 private static int[] getArrayForCommaSeparatedString(String text) { argument
249 if (TextUtils.isEmpty(text)) {
252 String[] usersStr = text.split(",");

Completed in 365 milliseconds

1234567891011>>