/packages/apps/Email/src/com/android/email/activity/setup/ |
PolicyListPreference.java | 23 import android.widget.TextView; 43 ((TextView)view.findViewById(android.R.id.summary)).setMaxLines(MAX_POLICIES);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
InLineSettingRestore.java | 24 import android.widget.TextView; 35 ((TextView) findViewById(R.id.title)).setText(
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiStatusTest.java | 42 import android.widget.TextView; 55 private TextView mWifiState; 56 private TextView mNetworkState; 57 private TextView mSupplicantState; 58 private TextView mRSSI; 59 private TextView mBSSID; 60 private TextView mSSID; 61 private TextView mHiddenSSID; 62 private TextView mIPAddr; 63 private TextView mMACAddr [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ViewLayerInvalidationActivity.java | 25 import android.widget.TextView; 35 ArrayList<TextView> textViews = new ArrayList<TextView>(); 38 TextView nestedStatusTV, invalidateStatusTV; 56 nestedStatusTV = (TextView) findViewById(R.id.nestedStatus); 57 invalidateStatusTV = (TextView) findViewById(R.id.invalidateStatus); 58 final TextView tva = (TextView) findViewById(R.id.textviewa); 84 for (TextView tv : textViews) { 150 if (view instanceof TextView) { [all...] |
GlyphCacheActivity.java | 25 import android.widget.TextView; 54 private TextView createTextView() { 55 TextView textview = new TextView(this); local 56 textview.setTextSize(6 + (int) (Math.random() * 5) * 10); 57 textview.setTextColor(0xff << 24 | (int) (Math.random() * 255) << 16 | 59 textview.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, 63 textview.setText(createString(numChars)); 65 return textview; [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
SimpleExpandableListAdapterTest.java | 29 import android.widget.TextView; 169 assertTrue(result instanceof TextView); 170 assertEquals("child00", ((TextView) result.findViewById(R.id.text1)).getText().toString()); 173 assertTrue(result instanceof TextView); 174 assertEquals("child30", ((TextView) result.findViewById(R.id.text1)).getText().toString()); 184 assertTrue(result instanceof TextView); 185 assertEquals("child00", ((TextView) result.findViewById(R.id.text1)).getText().toString()); 189 assertEquals("child30", ((TextView) result.findViewById(R.id.text1)).getText().toString()); 192 View convertView = new TextView(mContext); 196 assertEquals("child20", ((TextView) result).getText().toString()) [all...] |
/developers/build/prebuilts/gradle/BasicNetworking/BasicNetworkingSample/src/main/java/com/example/android/basicnetworking/ |
SimpleTextFragment.java | 27 import android.widget.TextView; 30 * Simple fragment containing only a TextView. Used by TextPagerAdapter to create 45 // For situations where the app wants to modify text at Runtime, exposing the TextView. 46 private TextView mTextView; 54 // Before initializing the textView, check if any arguments were provided via setArguments. 57 // Create a new TextView and set its text to whatever was provided. 58 mTextView = new TextView(getActivity()); 68 public TextView getTextView() { 73 * Changes the text for this TextView, according to the resource ID provided. 74 * @param stringId A resource ID representing the text content for this Fragment's TextView [all...] |
/developers/build/prebuilts/gradle/NetworkConnect/NetworkConnectSample/src/main/java/com/example/android/networkconnect/ |
SimpleTextFragment.java | 26 import android.widget.TextView; 29 * Simple fragment containing only a TextView. Used by TextPagerAdapter to create 44 // For situations where the app wants to modify text at Runtime, exposing the TextView. 45 private TextView mTextView; 53 // Before initializing the textView, check if any arguments were provided via setArguments. 56 // Create a new TextView and set its text to whatever was provided. 57 mTextView = new TextView(getActivity()); 67 public TextView getTextView() { 72 * Changes the text for this TextView, according to the resource ID provided. 73 * @param stringId A resource ID representing the text content for this Fragment's TextView [all...] |
/developers/samples/android/connectivity/network/BasicNetworking/BasicNetworkingSample/src/main/java/com/example/android/basicnetworking/ |
SimpleTextFragment.java | 27 import android.widget.TextView; 30 * Simple fragment containing only a TextView. Used by TextPagerAdapter to create 45 // For situations where the app wants to modify text at Runtime, exposing the TextView. 46 private TextView mTextView; 54 // Before initializing the textView, check if any arguments were provided via setArguments. 57 // Create a new TextView and set its text to whatever was provided. 58 mTextView = new TextView(getActivity()); 68 public TextView getTextView() { 73 * Changes the text for this TextView, according to the resource ID provided. 74 * @param stringId A resource ID representing the text content for this Fragment's TextView [all...] |
/developers/samples/android/connectivity/network/NetworkConnect/NetworkConnectSample/src/main/java/com/example/android/networkconnect/ |
SimpleTextFragment.java | 26 import android.widget.TextView; 29 * Simple fragment containing only a TextView. Used by TextPagerAdapter to create 44 // For situations where the app wants to modify text at Runtime, exposing the TextView. 45 private TextView mTextView; 53 // Before initializing the textView, check if any arguments were provided via setArguments. 56 // Create a new TextView and set its text to whatever was provided. 57 mTextView = new TextView(getActivity()); 67 public TextView getTextView() { 72 * Changes the text for this TextView, according to the resource ID provided. 73 * @param stringId A resource ID representing the text content for this Fragment's TextView [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ReceiveResult.java | 30 import android.widget.TextView; 87 // Retrieve the TextView widget that will display results. 88 mResults = (TextView)findViewById(R.id.results); 91 mResults.setText(mResults.getText(), TextView.BufferType.EDITABLE); 151 private TextView mResults;
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List5.java | 28 import android.widget.TextView; 71 TextView tv; 73 tv = (TextView) LayoutInflater.from(mContext).inflate( 76 tv = (TextView) convertView;
|
/development/samples/browseable/BasicNetworking/src/com.example.android.basicnetworking/ |
SimpleTextFragment.java | 27 import android.widget.TextView; 30 * Simple fragment containing only a TextView. Used by TextPagerAdapter to create 45 // For situations where the app wants to modify text at Runtime, exposing the TextView. 46 private TextView mTextView; 54 // Before initializing the textView, check if any arguments were provided via setArguments. 57 // Create a new TextView and set its text to whatever was provided. 58 mTextView = new TextView(getActivity()); 68 public TextView getTextView() { 73 * Changes the text for this TextView, according to the resource ID provided. 74 * @param stringId A resource ID representing the text content for this Fragment's TextView [all...] |
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/ |
SimpleTextFragment.java | 26 import android.widget.TextView; 29 * Simple fragment containing only a TextView. Used by TextPagerAdapter to create 44 // For situations where the app wants to modify text at Runtime, exposing the TextView. 45 private TextView mTextView; 53 // Before initializing the textView, check if any arguments were provided via setArguments. 56 // Create a new TextView and set its text to whatever was provided. 57 mTextView = new TextView(getActivity()); 67 public TextView getTextView() { 72 * Changes the text for this TextView, according to the resource ID provided. 73 * @param stringId A resource ID representing the text content for this Fragment's TextView [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/ |
HasCompoundDrawablesMatcher.java | 3 import android.widget.TextView; 12 public class HasCompoundDrawablesMatcher extends TypeSafeMatcher<TextView> { 21 public boolean matchesSafely(TextView actual) { 42 public static Matcher<TextView> hasCompoundDrawables(int left, int top, int right, int bottom) {
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowButton.java | 4 import android.widget.TextView;
|
/frameworks/base/core/java/android/widget/ |
TextSwitcher.java | 29 * only children of type {@link android.widget.TextView}. 60 * {@link android.widget.TextView} 64 if (!(child instanceof TextView)) { 66 "TextSwitcher children must be instances of TextView"); 79 final TextView t = (TextView) getNextView(); 91 ((TextView)getCurrentView()).setText(text);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListTakeFocusFromSide.java | 28 import android.widget.TextView; 64 TextView view; 67 view = (TextView) mInflater.inflate(android.R.layout.simple_list_item_1, null); 69 view = (TextView) convertView;
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
RequestRectangleVisibleWithInternalScroll.java | 24 import android.widget.TextView; 33 private TextView mTextBlob; 42 public TextView getTextBlob() { 56 mTextBlob = (TextView) findViewById(R.id.blob);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
TextViewTarget.java | 20 import android.widget.TextView; 30 private TextView mTextView = null; 38 if (view instanceof TextView) { 39 mTextView = (TextView)view; 41 throw new IllegalArgumentException("View must be a TextView!");
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
SuperCollapsedBlock.java | 24 import android.widget.TextView; 46 private TextView mSuperCollapsedText; 65 mSuperCollapsedText = (TextView) findViewById(R.id.super_collapsed_text); 80 ((TextView) findViewById(R.id.super_collapsed_text)).setText(
|
/developers/build/prebuilts/gradle/AppRestrictions/AppRestrictionsSample/src/main/java/com/example/android/apprestrictions/ |
MainActivity.java | 27 import android.widget.TextView; 54 private TextView mMultiEntryValue; 55 private TextView mChoiceEntryValue; 56 private TextView mBooleanEntryValue; 71 mMultiEntryValue = (TextView) findViewById(R.id.multi_entry_id); 72 mChoiceEntryValue = (TextView) findViewById(R.id.choice_entry_id); 73 mBooleanEntryValue = (TextView) findViewById(R.id.boolean_entry_id);
|
/developers/samples/android/content/multiuser/AppRestrictions/AppRestrictionsSample/src/main/java/com/example/android/apprestrictions/ |
MainActivity.java | 27 import android.widget.TextView; 54 private TextView mMultiEntryValue; 55 private TextView mChoiceEntryValue; 56 private TextView mBooleanEntryValue; 71 mMultiEntryValue = (TextView) findViewById(R.id.multi_entry_id); 72 mChoiceEntryValue = (TextView) findViewById(R.id.choice_entry_id); 73 mBooleanEntryValue = (TextView) findViewById(R.id.boolean_entry_id);
|
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/ |
MainActivity.java | 27 import android.widget.TextView; 54 private TextView mMultiEntryValue; 55 private TextView mChoiceEntryValue; 56 private TextView mBooleanEntryValue; 71 mMultiEntryValue = (TextView) findViewById(R.id.multi_entry_id); 72 mChoiceEntryValue = (TextView) findViewById(R.id.choice_entry_id); 73 mBooleanEntryValue = (TextView) findViewById(R.id.boolean_entry_id);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
DateTileView.java | 22 import android.widget.TextView; 49 private TextView mDateTextView; 50 private TextView mMonthTextView; 51 private TextView mYearTextView; 78 mDateTextView = (TextView) findViewById(R.id.date_tile_day); 79 mMonthTextView = (TextView) findViewById(R.id.date_tile_month); 80 mYearTextView = (TextView) findViewById(R.id.date_tile_year);
|