Searched refs:text2 (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DMarqueeActivity.java45 final TextView text2 = new TextView(this);
46 text2.setText("This is a marquee inside a TextView");
47 text2.setSingleLine(true);
48 text2.setHorizontalFadingEdgeEnabled(true);
49 text2.setEllipsize(TextUtils.TruncateAt.MARQUEE);
52 linearLayout.addView(text2, params);
59 text2.setVisibility(View.INVISIBLE);
60 Animation animation = AnimationUtils.loadAnimation(text2.getContext(),
64 text2.startAnimation(animation);
/frameworks/base/core/java/android/widget/
H A DTwoLineListItem.java31 * and {@link android.R.id#text2 text2}. There is an optional third View element with the
69 mText2 = (TextView) findViewById(com.android.internal.R.id.text2);
81 * Returns a handle to the item with ID text2.
82 * @return A handle to the item with ID text2.
H A DSuggestionsAdapter.java300 mText2 = (TextView) v.findViewById(com.android.internal.R.id.text2);
321 CharSequence text2 = getStringOrNull(cursor, mText2UrlCol);
322 if (text2 != null) {
323 text2 = formatUrl(text2);
325 text2 = getStringOrNull(cursor, mText2Col);
330 if (TextUtils.isEmpty(text2)) {
341 setViewText(views.mText2, text2);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java56 mTo = new int[]{com.android.internal.R.id.text1, com.android.internal.R.id.text2};
200 assertEquals(com.android.internal.R.id.text2, viewIds[1]);
228 singleTo = new int[]{com.android.internal.R.id.text2};
237 assertEquals(com.android.internal.R.id.text2, viewIds[0]);
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialogFragment.java201 public TextView text2; field in class:MediaRouteChooserDialogFragment.ViewHolder
401 holder.text2 = (TextView) convertView.findViewById(R.id.text2);
446 holder.text2.setVisibility(View.GONE);
448 holder.text2.setVisibility(View.VISIBLE);
449 holder.text2.setText(status);
H A DResolverActivity.java643 TextView text2 = (TextView)view.findViewById(com.android.internal.R.id.text2);
647 text2.setVisibility(View.VISIBLE);
648 text2.setText(info.extendedInfo);
650 text2.setVisibility(View.GONE);
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DCameraBrowser.java82 TextView textView2 = (TextView)view.findViewById(android.R.id.text2);
/frameworks/base/core/java/android/app/
H A DNotification.java1437 contentView.setTextViewText(R.id.text2, mContentText);
1438 contentView.setViewVisibility(R.id.text2, View.VISIBLE);
1441 contentView.setViewVisibility(R.id.text2, View.GONE);
1444 contentView.setViewVisibility(R.id.text2, View.GONE);
1831 contentView.setViewVisibility(R.id.text2, View.GONE);
1902 contentView.setViewVisibility(R.id.text2, View.GONE);
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientAlternatesAdapter.java279 TextView destinationType = (TextView) view.findViewById(android.R.id.text2);
H A DBaseRecipientAdapter.java926 * By default {@link android.R.id#text2} is returned.
929 return android.R.id.text2;
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsTest.java858 String text2 = "123456789012345678901234567890123456789012345678901234567890" +
861 ted = SmsMessage.calculateLength(text2, false);
866 ArrayList<String> fragments = android.telephony.SmsMessage.fragmentText(text2);
874 String text2 = "123456789012345678901234567890123456789012345678901234567890" +
877 ted = SmsMessage.calculateLength(text2, false);
882 ArrayList<String> fragments = android.telephony.SmsMessage.fragmentText(text2);
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java2537 final TextView secondTextView = (TextView)view.findViewById(android.R.id.text2);

Completed in 5170 milliseconds