Home
last modified time | relevance | path

Searched refs:text2 (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMarqueeActivity.java45 final TextView text2 = new TextView(this); in onCreate() local
46 text2.setText("This is a marquee inside a TextView"); in onCreate()
47 text2.setSingleLine(true); in onCreate()
48 text2.setHorizontalFadingEdgeEnabled(true); in onCreate()
49 text2.setEllipsize(TextUtils.TruncateAt.MARQUEE); in onCreate()
52 linearLayout.addView(text2, params); in onCreate()
59 text2.setVisibility(View.INVISIBLE); in onCreate()
60 Animation animation = AnimationUtils.loadAnimation(text2.getContext(), in onCreate()
64 text2.startAnimation(animation); in onCreate()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
DInstanceAdapter.java36 public void setInstanceAttr1(TextView view, String text, String text2) { in setInstanceAttr1() argument
37 view.setText(String.format(format, text, text2, "foo", "bar")); in setInstanceAttr1()
47 String text1, String text2) { in setInstanceAttr4() argument
48 view.setText(String.format(format, oldText1, oldText2, text1, text2)); in setInstanceAttr4()
62 … public void setInstanceAttr8(TestComponent component, TextView view, String text, String text2) { in setInstanceAttr8() argument
63 view.setText(String.format(format, text, text2, component == null ? "null" : "component", in setInstanceAttr8()
/frameworks/base/core/java/com/android/internal/app/
DMediaRouteChooserDialog.java219 TextView text2 = (TextView)view.findViewById(android.R.id.text2); in getView() local
223 text2.setVisibility(View.GONE); in getView()
224 text2.setText(""); in getView()
226 text2.setVisibility(View.VISIBLE); in getView()
227 text2.setText(description); in getView()
DResolverActivity.java1813 holder.text2.setVisibility(View.VISIBLE); in onBindView()
1814 holder.text2.setText(info.getExtendedInfo()); in onBindView()
1816 holder.text2.setVisibility(View.GONE); in onBindView()
1894 public TextView text2; field in ResolverActivity.ViewHolder
1900 text2 = (TextView) view.findViewById(com.android.internal.R.id.text2); in ViewHolder()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DAppCompatButtonTest.java49 final String text2 = mResources.getString(R.string.sample_text2); in testAllCaps() local
61 assertEquals("Button starts in all caps off", text2, in testAllCaps()
72 assertEquals("Button is now in all caps on", text2.toUpperCase(), in testAllCaps()
DAppCompatTextViewTest.java56 final String text2 = mResources.getString(R.string.sample_text2); in testAllCaps() local
67 text2, textView2.getLayout().getText().toString()); in testAllCaps()
78 text2.toUpperCase(), textView2.getLayout().getText().toString()); in testAllCaps()
/frameworks/base/core/tests/coretests/src/android/widget/
DSimpleCursorAdapterTest.java58 mTo = new int[]{com.android.internal.R.id.text1, com.android.internal.R.id.text2}; in setUp()
202 assertEquals(com.android.internal.R.id.text2, viewIds[1]); in testChangeNullToMapped()
230 singleTo = new int[]{com.android.internal.R.id.text2}; in testChangeMapping()
239 assertEquals(com.android.internal.R.id.text2, viewIds[0]); in testChangeMapping()
DTextViewActivityTest.java252 final String text2 = "Toolbar disappears after typing text."; in testToolbarAppearsAfterSelection() local
253 onView(withId(R.id.textview)).perform(replaceText(text2)); in testToolbarAppearsAfterSelection()
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java308 mText2 = v.findViewById(com.android.internal.R.id.text2); in ChildViewCache()
329 CharSequence text2 = getStringOrNull(cursor, mText2UrlCol); in bindView() local
330 if (text2 != null) { in bindView()
331 text2 = formatUrl(context, text2); in bindView()
333 text2 = getStringOrNull(cursor, mText2Col); in bindView()
338 if (TextUtils.isEmpty(text2)) { in bindView()
349 setViewText(views.mText2, text2); in bindView()
DTwoLineListItem.java74 mText2 = findViewById(com.android.internal.R.id.text2); in onFinishInflate()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteChooserDialog.java288 TextView text2 = (TextView) view.findViewById(R.id.mr_chooser_route_desc); in getView() local
296 text2.setVisibility(View.VISIBLE); in getView()
297 text2.setText(description); in getView()
300 text2.setVisibility(View.GONE); in getView()
301 text2.setText(""); in getView()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java265 mText2 = (TextView) v.findViewById(android.R.id.text2); in ChildViewCache()
286 CharSequence text2 = getStringOrNull(cursor, mText2UrlCol); in bindView() local
287 if (text2 != null) { in bindView()
288 text2 = formatUrl(text2); in bindView()
290 text2 = getStringOrNull(cursor, mText2Col); in bindView()
295 if (TextUtils.isEmpty(text2)) { in bindView()
306 setViewText(views.mText2, text2); in bindView()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DNotificationCompatImplBase.java374 contentView.setTextViewText(R.id.text2, contentText); in applyStandardTemplate()
375 contentView.setViewVisibility(R.id.text2, View.VISIBLE); in applyStandardTemplate()
378 contentView.setViewVisibility(R.id.text2, View.GONE); in applyStandardTemplate()
442 outerView.setViewVisibility(R.id.text2, View.GONE); in hideNormalContent()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DCameraBrowser.java82 TextView textView2 = (TextView)view.findViewById(android.R.id.text2); in getView()
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
DCursorFragment.java62 new int[] { android.R.id.text1, android.R.id.text2 }, 0); in onActivityCreated()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageLogActivity.java134 holder.state = (TextView) convertView.findViewById(android.R.id.text2); in getView()
DUsageStatsActivity.java172 holder.usageTime = (TextView) convertView.findViewById(android.R.id.text2); in getView()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java953 String text2 = "123456789012345678901234567890123456789012345678901234567890" + in testFragmentText() local
956 ted = SmsMessage.calculateLength(text2, false, true); in testFragmentText()
961 ArrayList<String> fragments = android.telephony.SmsMessage.fragmentText(text2); in testFragmentText()
/frameworks/opt/chips/src/com/android/ex/chips/
DDropdownChipLayouter.java424 return android.R.id.text2; in getDestinationTypeResId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java759 tag.line2 = (TextView) row.findViewById(android.R.id.text2); in bind()
/frameworks/support/api/
D22.2.1.txt5968 field public static int text2;
D23.0.0.txt6758 field public static int text2;
D23.2.1.txt7492 field public static int text2;
D23.2.0.txt7491 field public static int text2;
D23.1.1.txt7049 field public static int text2;

12