Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A 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()
/aosp12/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DDefaultSuggestionView.java71 mText2 = (TextView) findViewById(R.id.text2); in onFinishInflate()
91 CharSequence text2 = suggestion.getSuggestionText2Url(); in bindAsSuggestion() local
92 if (text2 != null) { in bindAsSuggestion()
93 text2 = formatUrl(text2); in bindAsSuggestion()
95 text2 = formatText(suggestion.getSuggestionText2(), suggestion); in bindAsSuggestion()
98 if (TextUtils.isEmpty(text2)) { in bindAsSuggestion()
108 setText2(text2); in bindAsSuggestion()
113 Log.d(TAG, "bindAsSuggestion(), text1=" + text1 + ",text2=" + text2 + ",q='" + in bindAsSuggestion()
H A DBaseSuggestionView.java58 mText2 = (TextView) findViewById(R.id.text2); in onFinishInflate()
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialog.java227 TextView text2 = (TextView)view.findViewById(android.R.id.text2); in getView() local
231 text2.setVisibility(View.GONE); in getView()
232 text2.setText(""); in getView()
234 text2.setVisibility(View.VISIBLE); in getView()
235 text2.setText(description); in getView()
H A DResolverListAdapter.java677 public TextView text2;
684 text2 = (TextView) view.findViewById(com.android.internal.R.id.text2);
695 text2.setText(subLabel);
697 text2.setVisibility(View.VISIBLE);
699 text2.setVisibility(View.GONE);
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
H A DSelectAccountDialogFragment.java62 final TextView text2 = (TextView)resultView.findViewById(android.R.id.text2); in onCreateDialog()
67 text2.setText("Type: " + account.type); in onCreateDialog()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DAccountsListAdapter.java93 final TextView text2 = (TextView) resultView.findViewById(android.R.id.text2); in getView() local
97 text2.setText(mAccounts.get(position).getNameLabel()); in getView()
H A DAccountSelectionUtil.java119 final TextView text2 = (TextView) convertView.findViewById(android.R.id.text2); in getSelectAccountDialog()
128 text2.setText(account.name); in getSelectAccountDialog()
/aosp12/frameworks/base/core/java/android/widget/
H A 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()
H A DTwoLineListItem.java76 mText2 = findViewById(com.android.internal.R.id.text2); in onFinishInflate()
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java59 mTo = new int[]{com.android.internal.R.id.text1, com.android.internal.R.id.text2}; in setUp()
203 assertEquals(com.android.internal.R.id.text2, viewIds[1]); in testChangeNullToMapped()
231 singleTo = new int[]{com.android.internal.R.id.text2}; in testChangeMapping()
240 assertEquals(com.android.internal.R.id.text2, viewIds[0]); in testChangeMapping()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DGlobalSearchSupport.java77 String text2; field in GlobalSearchSupport.SearchSuggestion
103 list.add(text2); // text2 in asList()
125 list.add(text2); in addColumnValue()
155 text2 = null; in reset()
266 suggestion.text2 = shortenSnippet(c.getString(6)); in addSearchSuggestionsBasedOnFilter()
/aosp12/frameworks/minikin/tests/unittest/
H A DLayoutCacheTest.cpp67 auto text2 = utf8ToUtf16("ANDROID"); in TEST() local
79 layoutCache.getOrCreate(text2, Range(0, text2.size()), paint, false /* LTR */, in TEST()
95 layoutCache.getOrCreate(text2, Range(0, text2.size()), paint, false /* LTR */, in TEST()
H A DBoundsCacheTest.cpp70 auto text2 = utf8ToUtf16("αβγδζ"); in TEST() local
82 boundsCache.getOrCreate(text2, Range(0, text2.size()), paint, false /* LTR */, in TEST()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/
H A DSummaryPreferenceTest.java60 final TextView textView2 = (TextView) mHolder.findViewById(android.R.id.text2); in disableChart_shouldNotRender()
75 final TextView textView2 = (TextView) mHolder.findViewById(android.R.id.text2); in enableChart_shouldRender()
/aosp12/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
H A DNavigatorTest.java286 AccessibilityNodeInfo text2 = createNodeByText("Test Item 2"); in testFindRotateTargetDoesNotSkipOffscreenNode() local
291 assertThat(target.node).isEqualTo(text2); in testFindRotateTargetDoesNotSkipOffscreenNode()
297 target = mNavigator.findRotateTarget(text2, direction, 1); in testFindRotateTargetDoesNotSkipOffscreenNode()
506 AccessibilityNodeInfo text2 = createNodeByText("Test Item 2"); in testFindRotateTargetInScrollableContainer1() local
512 assertThat(target.node).isEqualTo(text2); in testFindRotateTargetInScrollableContainer1()
519 assertThat(target.node).isEqualTo(text2); in testFindRotateTargetInScrollableContainer1()
525 assertThat(target.node).isEqualTo(text2); in testFindRotateTargetInScrollableContainer1()
571 AccessibilityNodeInfo text2 = createNodeByText("Test Item 2"); in testFindRotateTargetInScrollableContainer2() local
577 assertThat(target.node).isEqualTo(text2); in testFindRotateTargetInScrollableContainer2()
584 assertThat(target.node).isEqualTo(text2); in testFindRotateTargetInScrollableContainer2()
[all …]
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DCustomContactListFilterActivity.java590 final TextView text2 = (TextView)convertView.findViewById(android.R.id.text2);
598 text2.setText(account.mAccountInfo.getTypeLabel());
604 text2.setTextColor(textColor);
618 final TextView text2 = (TextView)convertView.findViewById(android.R.id.text2);
631 text2.setVisibility(View.GONE);
636 text2.setVisibility(View.GONE);
/aosp12/frameworks/base/libs/hwui/tests/common/scenes/
H A DTvApp.cpp115 const char* text, const char* text2) { in createInfoNode() argument
117 [text, text2](RenderProperties& props, Canvas& canvas) { in createInfoNode()
127 TestUtils::drawUtf8ToCanvas(&canvas, text2, paint, 10, 54); in createInfoNode()
/aosp12/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/android/layoutlib/test/myapplication/
H A DR$id.class ... tabHost public static final int text1 public static final int text2 public static final int text3 public static final int textView ...
/aosp12/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSuggestionData.java143 public SuggestionData setText2(String text2) { in setText2() argument
144 mText2 = text2; in setText2()
/aosp12/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
H A DRoutineWatchEvaluatorTest.java251 int expectedLength, String text1, String text2) { in assertMaximumMatchedWordSequenceLength() argument
253 List<String> wordList2 = RoutineWatchEvaluator.splitTextToWords(text2); in assertMaximumMatchedWordSequenceLength()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
H A DConversationListPreferenceControllerTest.java232 String text2 = "two two"; in testCompareSpans() local
233 SpannableStringBuilder builder2 = new SpannableStringBuilder(text2); in testCompareSpans()
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
H A DProgressBarPreferenceTest.java103 return (TextView) mViewHolder.findViewById(android.R.id.text2); in getMaxLabel()
/aosp12/packages/apps/Settings/src/com/android/settings/
H A DSummaryPreference.java100 ((TextView) holder.findViewById(android.R.id.text2)).setText(mEndLabel); in onBindViewHolder()
/aosp12/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DCameraBrowser.java82 TextView textView2 = (TextView)view.findViewById(android.R.id.text2); in getView()

12