HomeSort by relevance Sort by last modified time
    Searched refs:TextView (Results 26 - 50 of 2223) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/base/tests/SmokeTestApps/src/com/android/smoketest/triggers/
UnresponsiveApp.java 21 import android.widget.TextView;
28 TextView tv = new TextView(this);
  /sdk/testapps/userLibTest/src/com/android/tests/userlibtest/
Main.java 5 import android.widget.TextView;
16 TextView tv = (TextView) findViewById(R.id.basicJar);
  /sdk/testapps/libsTest/lib1Test/src/com/android/tests/libstest/lib1/
MainActivityTest.java 21 import android.widget.TextView;
42 private TextView mLib1TextView1;
43 private TextView mLib1TextView2;
44 private TextView mLib2TextView1;
45 private TextView mLib2TextView2;
61 mLib1TextView1 = (TextView) a.findViewById(R.id.lib1_text1);
62 mLib1TextView2 = (TextView) a.findViewById(R.id.lib1_text2);
63 mLib2TextView1 = (TextView) a.findViewById(R.id.lib2_text1);
64 mLib2TextView2 = (TextView) a.findViewById(R.id.lib2_text2);
  /frameworks/support/compat/tests/java/android/support/v4/testutils/
TextViewActions.java 28 import android.widget.TextView;
35 * Sets max lines count on <code>TextView</code>.
41 return isAssignableFrom(TextView.class);
46 return "TextView set max lines";
53 TextView textView = (TextView) view;
54 textView.setMaxLines(maxLines);
62 * Sets min lines count on <code>TextView</code>.
68 return isAssignableFrom(TextView.class)
    [all...]
  /frameworks/base/core/java/android/text/method/
ScrollingMovementMethod.java 21 import android.widget.TextView;
29 protected boolean left(TextView widget, Spannable buffer) {
34 protected boolean right(TextView widget, Spannable buffer) {
39 protected boolean up(TextView widget, Spannable buffer) {
44 protected boolean down(TextView widget, Spannable buffer) {
49 protected boolean pageUp(TextView widget, Spannable buffer) {
54 protected boolean pageDown(TextView widget, Spannable buffer) {
59 protected boolean top(TextView widget, Spannable buffer) {
64 protected boolean bottom(TextView widget, Spannable buffer) {
69 protected boolean lineStart(TextView widget, Spannable buffer)
    [all...]
  /sdk/testapps/javaProjectTest/app/src/com/android/tests/javaprojecttest/app/
Main.java 5 import android.widget.TextView;
23 TextView tv = (TextView) findViewById(R.id.app);
26 tv = (TextView) findViewById(R.id.lib1);
29 tv = (TextView) findViewById(R.id.lib2);
32 tv = (TextView) findViewById(R.id.javaProject1);
35 tv = (TextView) findViewById(R.id.javaProject2);
38 tv = (TextView) findViewById(R.id.javaProject3);
41 tv = (TextView) findViewById(R.id.basicJar);
44 tv = (TextView) findViewById(R.id.basicJar2)
    [all...]
  /development/apps/Development/src/com/android/development/
ShowActivity.java 32 import android.widget.TextView;
39 private TextView mPackage;
41 private TextView mClass;
42 private TextView mLabel;
43 private TextView mLaunch;
44 private TextView mProcess;
45 private TextView mTaskAffinity;
46 private TextView mPermission;
47 private TextView mMultiprocess;
48 private TextView mClearOnBackground
    [all...]
  /developers/build/prebuilts/gradle/DirectShare/Application/src/main/java/com/example/android/directshare/
ContactViewBinder.java 19 import android.widget.TextView;
22 * A simple utility to bind a {@link TextView} with a {@link Contact}.
27 * Binds the {@code textView} with the specified {@code contact}.
30 * @param textView The TextView.
32 public static void bind(Contact contact, TextView textView) {
33 textView.setText(contact.getName());
34 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(contact.getIcon(), 0, 0, 0);
  /developers/samples/android/content/DirectShare/Application/src/main/java/com/example/android/directshare/
ContactViewBinder.java 19 import android.widget.TextView;
22 * A simple utility to bind a {@link TextView} with a {@link Contact}.
27 * Binds the {@code textView} with the specified {@code contact}.
30 * @param textView The TextView.
32 public static void bind(Contact contact, TextView textView) {
33 textView.setText(contact.getName());
34 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(contact.getIcon(), 0, 0, 0);
  /development/samples/browseable/DirectShare/src/com.example.android.directshare/
ContactViewBinder.java 19 import android.widget.TextView;
22 * A simple utility to bind a {@link TextView} with a {@link Contact}.
27 * Binds the {@code textView} with the specified {@code contact}.
30 * @param textView The TextView.
32 public static void bind(Contact contact, TextView textView) {
33 textView.setText(contact.getName());
34 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(contact.getIcon(), 0, 0, 0);
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListWithOnItemSelectedAction.java 19 import android.widget.TextView;
41 ((TextView) getListView().getSelectedView()).getText().toString());
  /frameworks/support/compat/api23/android/support/v4/widget/
TextViewCompatApi23.java 22 import android.widget.TextView;
25 public static void setTextAppearance(@NonNull TextView textView, @StyleRes int resId) {
26 textView.setTextAppearance(resId);
  /frameworks/support/compat/java/android/support/v4/widget/
TextViewCompat.java 25 import android.widget.TextView;
28 * Helper for accessing features in {@link TextView} introduced after API level
37 void setCompoundDrawablesRelative(@NonNull TextView textView,
40 void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView,
43 void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView,
46 int getMaxLines(TextView textView);
    [all...]
  /packages/apps/CertInstaller/src/com/android/certinstaller/
ViewHelper.java 20 import android.widget.TextView;
34 TextView v = (TextView) mView.findViewById(R.id.error);
40 return ((TextView) mView.findViewById(viewId)).getText().toString();
45 TextView v = (TextView) mView.findViewById(viewId);
50 TextView v = (TextView) mView.findViewById(viewId);
  /development/samples/AppNavigation/src/com/example/android/appnavigation/app/
ContentViewActivity.java 24 import android.widget.TextView;
36 TextView tv = (TextView) findViewById(R.id.status_text);
39 TextView tv = (TextView) findViewById(R.id.status_text);
  /frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
LinkSpanTest.java 23 import android.widget.TextView;
32 final TextView textView = new TextView(context);
35 linkSpan.onClick(textView);
43 final TextView textView = new TextView(context);
46 linkSpan.onClick(textView);
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/text/
BidiFormatterSupport.java 23 import android.widget.TextView;
42 TextView tv_sample = (TextView) findViewById(R.id.textview_without_bidiformatter);
45 TextView tv_bidiformatter = (TextView) findViewById(R.id.textview_with_bidiformatter);
  /sdk/testapps/libsTest/lib2Test/src/com/android/tests/libstest/lib2/
MainActivityTest.java 21 import android.widget.TextView;
44 private TextView mTextView1;
45 private TextView mTextView2;
61 mTextView1 = (TextView) a.findViewById(R.id.lib2_text1);
62 mTextView2 = (TextView) a.findViewById(R.id.lib2_text2);
  /developers/build/prebuilts/gradle/TextLinkify/Application/src/main/java/com/example/android/textlinkify/
MainActivity.java 28 import android.widget.TextView;
32 * {@link android.widget.TextView}.
36 * <li><b>Automatically:</b> Text added to a TextView can automatically be linkified by enabling
38 * {@link android.widget.TextView#setAutoLinkMask(int)} using an option from
64 * .setAutoLinkMask(Linkify.ALL) before the text is set on the TextView.
76 * call setMovementMethod() on the TextView object.
78 TextView textViewResource = (TextView) findViewById(R.id.text_html_resource);
93 TextView textViewHtml = (TextView) findViewById(R.id.text_html_program)
    [all...]
  /developers/samples/android/views/TextLinkify/Application/src/main/java/com/example/android/textlinkify/
MainActivity.java 28 import android.widget.TextView;
32 * {@link android.widget.TextView}.
36 * <li><b>Automatically:</b> Text added to a TextView can automatically be linkified by enabling
38 * {@link android.widget.TextView#setAutoLinkMask(int)} using an option from
64 * .setAutoLinkMask(Linkify.ALL) before the text is set on the TextView.
76 * call setMovementMethod() on the TextView object.
78 TextView textViewResource = (TextView) findViewById(R.id.text_html_resource);
93 TextView textViewHtml = (TextView) findViewById(R.id.text_html_program)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/text/
Link.java 30 import android.widget.TextView;
47 // call setMovementMethod() on the TextView object.
49 TextView t2 = (TextView) findViewById(R.id.text2);
59 TextView t3 = (TextView) findViewById(R.id.text3);
80 TextView t4 = (TextView) findViewById(R.id.text4);
  /development/samples/ToyVpn/src/com/example/android/toyvpn/
ToyVpnClient.java 25 import android.widget.TextView;
29 private TextView mServerAddress;
30 private TextView mServerPort;
31 private TextView mSharedSecret;
38 mServerAddress = (TextView) findViewById(R.id.address);
39 mServerPort = (TextView) findViewById(R.id.port);
40 mSharedSecret = (TextView) findViewById(R.id.secret);
  /development/samples/browseable/TextLinkify/src/com.example.android.textlinkify/
MainActivity.java 28 import android.widget.TextView;
32 * {@link android.widget.TextView}.
36 * <li><b>Automatically:</b> Text added to a TextView can automatically be linkified by enabling
38 * {@link android.widget.TextView#setAutoLinkMask(int)} using an option from
64 * .setAutoLinkMask(Linkify.ALL) before the text is set on the TextView.
76 * call setMovementMethod() on the TextView object.
78 TextView textViewResource = (TextView) findViewById(R.id.text_html_resource);
93 TextView textViewHtml = (TextView) findViewById(R.id.text_html_program)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/text/util/
LinkifyTest.java 22 import android.widget.TextView;
31 TextView tv;
33 tv = new TextView(getContext());
42 TextView tv;
44 tv = new TextView(getContext());
54 TextView tv;
56 tv = new TextView(getContext());
  /sdk/testapps/libsAndJarTest/app/src/com/android/tests/javaprojecttest/app/
Main.java 5 import android.widget.TextView;
19 TextView tv = (TextView) findViewById(R.id.app);
22 tv = (TextView) findViewById(R.id.lib1);
25 tv = (TextView) findViewById(R.id.lib2);
28 tv = (TextView) findViewById(R.id.basicJar);
31 tv = (TextView) findViewById(R.id.basicJar2);

Completed in 1482 milliseconds

12 3 4 5 6 7 8 91011>>