Searched refs:text (Results 201 - 225 of 1726) sorted by relevance

1234567891011>>

/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
H A DPaintMeasureTextTest.java23 import android.text.TextPaint;
63 public PaintMeasureTextTest(String key, int cacheMode, String text) { argument
64 mText = text;
/frameworks/base/core/java/android/text/method/
H A DDialerKeyListener.java17 package android.text.method;
19 import android.text.InputType;
20 import android.text.Spannable;
25 * For dialing-only text entry
H A DAllCapsTransformationMethod.java16 package android.text.method;
20 import android.icu.text.CaseMap;
21 import android.icu.text.Edits;
22 import android.text.SpannableStringBuilder;
23 import android.text.Spanned;
31 * Transforms source text into an ALL CAPS string, locale-aware.
48 Log.w(TAG, "Caller did not enable length changes; not transforming text");
115 // Move the index 1:1 along with this unchanged piece of text.
/frameworks/base/core/java/android/text/style/
H A DEasyEditSpan.java17 package android.text.style;
21 import android.text.ParcelableSpan;
22 import android.text.TextUtils;
26 * Provides an easy way to edit a portion of text.
28 * The {@link TextView} uses this span to allow the user to delete a chuck of text in one click.
30 * {@link TextView} removes the span when the user deletes the whole text or modifies it.
32 * This span can be also used to receive notification when the user deletes or modifies the text;
37 * The extra key field in the pending intent that describes how the text changed.
44 "android.text.style.EXTRA_TEXT_CHANGED_TYPE";
47 * The value of {@link #EXTRA_TEXT_CHANGED_TYPE} when the text wrappe
[all...]
H A DURLSpan.java17 package android.text.style;
25 import android.text.ParcelableSpan;
26 import android.text.TextUtils;
/frameworks/base/core/java/android/view/inputmethod/
H A DInputConnection.java30 * input. It is used to perform such things as reading text around the
31 * cursor, committing text to the text box, and sending raw key events
61 * speech-to-text engine, and so on. There are typically several IMEs
65 * <a href="{@docRoot}guide/topics/text/creating-input-method.html">
68 * The editor is the component that receives text and displays it.
84 * browsers and rich text editors, as some may have peculiarities you
86 * changes on the text, and try to be as conservative as possible in
100 * inconsistencies in text editor behavior is almost universally felt
115 * {@link android.text
458 setComposingText(CharSequence text, int newCursorPosition) argument
546 commitText(CharSequence text, int newCursorPosition) argument
584 commitCompletion(CompletionInfo text) argument
[all...]
/frameworks/base/core/tests/benchmarks/src/android/text/util/
H A DLinkifyBenchmark.java17 package android.text.util;
24 import android.text.Spannable;
25 import android.text.SpannableString;
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DImageFloatingTextViewTest.java63 parametrizedTest("Hello, World! What a nice day! Let's try some more text. "
69 parametrizedTest("Hello, World! What a nice day! Let's try some more text. "
105 private void parametrizedTest(CharSequence text) { argument
109 mTextView.setText(text);
110 mView.setText(text);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DTextViewTarget.java17 package androidx.media.filterpacks.text;
48 .addInputPort("text", Signature.PORT_REQUIRED, FrameType.single(String.class))
54 FrameValue textFrame = getConnectedInputPort("text").pullFrame().asFrameValue();
55 final String text = (String)textFrame.getValue();
60 mTextView.setText(text);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DClipRegion2Activity.java35 final TextView text = new TextView(this);
36 text.setText(buildText());
37 group.addView(text);
H A DClipRegion3Activity.java35 final TextView text = new TextView(this);
36 text.setText(buildText());
37 group.addView(text);
H A DTextPathActivity.java70 private void drawTextAsPath(Canvas canvas, String text, Path path) { argument
71 int count = text.length();
72 mHugePaint.getTextPath(text, 0, count, 0, 0, path);
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/
H A DXMLNode.java19 import android.text.TextUtils;
47 * Adding a text to this node. Invoked by {@link XMLParser#characters}.
49 * @param text String to be added
51 public void addText(String text) { argument
52 mTextBuilder.append(text);
66 * of the text enclosed within this XML element. Invoked by {@link XMLParser#endElement}.
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DAutoCompleteTextViewBindingAdapter.java43 public boolean isValid(CharSequence text) {
45 return isValid.isValid(text);
76 boolean isValid(CharSequence text); argument
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DUtil.java26 * @param text The announcement text
30 final CharSequence text) {
31 // Jelly Bean added support for speaking text verbatim
33 view.announceForAccessibility(text);
52 event.getText().add(text);
28 announceForAccessibility( final View view, AccessibilityManager accessibilityManager, final CharSequence text) argument
/frameworks/support/compat/kitkat/android/support/v4/view/accessibility/
H A DAccessibilityNodeProviderCompatKitKat.java35 public List<Object> findAccessibilityNodeInfosByText(String text, argument
51 String text, int virtualViewId) {
54 bridge.findAccessibilityNodeInfosByText(text, virtualViewId);
/frameworks/support/emoji/bundled/src/android/support/text/emoji/bundled/
H A DBundledEmojiCompatConfig.java17 package android.support.text.emoji.bundled;
23 import android.support.text.emoji.EmojiCompat;
24 import android.support.text.emoji.MetadataRepo;
/frameworks/support/emoji/core/src/android/support/text/emoji/
H A DTypefaceEmojiSpan.java16 package android.support.text.emoji;
26 import android.text.TextPaint;
52 public void draw(@NonNull final Canvas canvas, final CharSequence text, argument
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/
H A DEmojiInputConnection.java16 package android.support.text.emoji.widget;
23 import android.support.text.emoji.EmojiCompat;
24 import android.text.Editable;
33 * invalid codeunits/getCodepointAt in the text.
H A DEmojiTransformationMethod.java16 package android.support.text.emoji.widget;
25 import android.support.text.emoji.EmojiCompat;
26 import android.text.method.TransformationMethod;
30 * TransformationMethod wrapper in order to update transformed text with emojis.
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/
H A DUninitializedStateTest.java16 package android.support.text.emoji;
21 import android.support.text.emoji.TestConfigBuilder.TestConfig;
22 import android.support.text.emoji.TestConfigBuilder.WaitingDataLoader;
/frameworks/support/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/
H A DCustomTextView.java17 package com.example.android.support.text.emoji;
21 import android.support.text.emoji.widget.EmojiTextViewHelper;
23 import android.text.InputFilter;
/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/
H A DCustomTextView.java17 package com.example.android.support.text.emoji;
21 import android.support.text.emoji.widget.EmojiTextViewHelper;
23 import android.text.InputFilter;
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java17 package android.text.format;
22 import android.text.SpannableStringBuilder;
23 import android.text.Spanned;
24 import android.text.SpannedString;
29 import java.text.SimpleDateFormat;
42 * appropriately-localized {@link java.text.DateFormat} instances, suitable
44 * of format strings, see {@link java.text.SimpleDateFormat}.
56 * <p>See {@link java.text.SimpleDateFormat} for more documentation
192 java.text.DateFormat natural =
193 java.text
[all...]
/frameworks/base/core/java/android/text/
H A DBoringLayout.java17 package android.text;
22 import android.text.style.ParagraphStyle;
25 * A BoringLayout is a very simple Layout implementation for text that
29 * the text meets the criteria.
30 * <p>This class is used by widgets to control text layout. You should not need
60 * Returns a BoringLayout for the specified text, potentially reusing
82 * Returns a BoringLayout for the specified text, potentially reusing
200 * full text, not the ellipsized form.
218 public static Metrics isBoring(CharSequence text, argument
220 return isBoring(text, pain
228 isBoring(CharSequence text, TextPaint paint, Metrics metrics) argument
236 hasAnyInterestingChars(CharSequence text, int textLength) argument
267 isBoring(CharSequence text, TextPaint paint, TextDirectionHeuristic textDir, Metrics metrics) argument
[all...]

Completed in 617 milliseconds

1234567891011>>