Searched refs:text (Results 501 - 525 of 1350) sorted by relevance

<<21222324252627282930>>

/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DLineVerifierElem.java19 import android.text.TextUtils;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DAction.java17 import android.text.TextUtils;
23 * An action contains one or two lines of text, an optional image and an optional id. It may also
H A DImageCardView.java391 * Sets the title text.
393 public void setTitleText(CharSequence text) { argument
397 mTitleView.setText(text);
401 * Returns the title text.
412 * Sets the content text.
414 public void setContentText(CharSequence text) { argument
418 mContentView.setText(text);
422 * Returns the content text.
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DTwilightCalculator.java19 import android.text.format.DateUtils;
/frameworks/base/core/java/android/accounts/
H A DChooseAccountActivity.java152 TextView text; field in class:ChooseAccountActivity.ViewHolder
173 holder.text = (TextView) convertView.findViewById(R.id.account_row_text);
180 holder.text.setText(mInfos[position].name);
H A DChooseAccountTypeActivity.java168 TextView text; field in class:ChooseAccountTypeActivity.ViewHolder
190 holder.text = (TextView) convertView.findViewById(R.id.account_row_text);
197 holder.text.setText(mInfos.get(position).name);
/frameworks/base/core/java/android/app/
H A DListFragment.java77 * android:text=&quot;No data&quot;/&gt;
287 * shown, call this method to supply the text it should use.
289 public void setEmptyText(CharSequence text) { argument
294 mStandardEmptyView.setText(text);
298 mEmptyText = text;
/frameworks/base/core/java/android/os/
H A DDropBoxManager.java53 /** Flag value: Content is human-readable UTF-8 text (can be combined with IS_GZIPPED). */
110 /** Create a new Entry with plain text contents. */
111 public Entry(String tag, long millis, String text) { argument
113 if (text == null) throw new NullPointerException("text == null");
117 mData = text.getBytes();
187 * @return the uncompressed text contents of the entry, null if the entry is not text.
273 * Stores human-readable text. The data may be discarded eventually (or even
/frameworks/base/core/java/android/text/format/
H A DFormatter.java17 package android.text.format;
23 import android.text.BidiFormatter;
24 import android.text.TextUtils;
/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
/frameworks/base/core/java/android/widget/
H A DSwitch.java36 import android.text.Layout;
37 import android.text.StaticLayout;
38 import android.text.TextPaint;
39 import android.text.TextUtils;
40 import android.text.method.AllCapsTransformationMethod;
41 import android.text.method.TransformationMethod2;
59 * or simply tap to toggle as if it were a checkbox. The {@link #setText(CharSequence) text}
60 * property controls the text displayed in the label for the switch, whereas the
61 * {@link #setTextOff(CharSequence) off} and {@link #setTextOn(CharSequence) on} text
62 * controls the text o
887 makeLayout(CharSequence text) argument
[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/view/
H A DListContextMenu.java134 String text = ((TextView) info.targetView).getText().toString();
135 if (text.contains("[0]")) {
138 } else if (text.contains("[1]")) {
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.h226 static void layoutTextUnscaled(const SkPaint& paint, const char* text,
230 static void drawUtf8ToCanvas(Canvas* canvas, const char* text,
233 static void drawUtf8ToCanvas(Canvas* canvas, const char* text,
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/
H A DAccessoryChat.java180 String text = new String(buffer, 0, ret);
181 Log.d(TAG, "chat: " + text);
182 m.obj = text;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DRenameDocumentFragment.java127 // Fragment created for the first time, we set the text.
132 // Fragment restored, text was restored automatically.
162 * Fills text field with the file name and selects the name without extension.
164 * @param editText text field to be filled
167 String text = editText.getText().toString();
168 int separatorIndex = text.indexOf(".");
170 (separatorIndex == -1 || mDocument.isDirectory()) ? text.length() : separatorIndex);
174 * Clears selection in text field.
176 * @param editText text field to be cleared.
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/
H A DSampleTrustAgent.java111 private void logAndShowToast(String text) { argument
112 Log.i(TAG, text);
113 Toast.makeText(this, text, Toast.LENGTH_SHORT).show();
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
H A DMainActivity.java26 import android.text.Editable;
27 import android.text.TextUtils;
28 import android.text.TextWatcher;
/frameworks/base/tools/aapt2/flatten/
H A DXmlFlattener_test.cpp73 <Layout>Some text</Layout>
124 const char16_t* text = tree.getText(&len); local
125 EXPECT_EQ(StringPiece16(text, len), u"Some text");
/frameworks/rs/
H A DrsFont.h85 void renderUTF(const char *text, uint32_t len, int32_t x, int32_t y,
148 void renderText(const char *text, uint32_t len, int32_t x, int32_t y,
154 void measureText(const char *text, uint32_t len, Font::Rect *bounds);
/frameworks/support/design/tests/src/android/support/design/widget/
H A DCoordinatorSnackbarWithFabTest.java151 (AppCompatTextView) mCoordinatorLayout.findViewById(R.id.text);
168 (AppCompatTextView) mCoordinatorLayout.findViewById(R.id.text);
180 (AppCompatTextView) mCoordinatorLayout.findViewById(R.id.text);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DErrorFragment.java19 import android.text.TextUtils;
127 * Sets the button text.
129 * @param text The button text.
131 public void setButtonText(String text) { argument
132 mButtonText = text;
137 * Returns the button text.
H A DErrorSupportFragment.java21 import android.text.TextUtils;
129 * Sets the button text.
131 * @param text The button text.
133 public void setButtonText(String text) { argument
134 mButtonText = text;
139 * Returns the button text.
/frameworks/support/v4/java/android/support/v4/app/
H A DListFragment.java229 * shown, call this method to supply the text it should use.
231 public void setEmptyText(CharSequence text) { argument
236 mStandardEmptyView.setText(text);
240 mEmptyText = text;

Completed in 8406 milliseconds

<<21222324252627282930>>