Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/
DSurroundingTextTest.java97 private void verifySurroundingTextNotEquals(SurroundingText text1, SurroundingText text2) { in verifySurroundingTextNotEquals() argument
98 assertThat(text1.isEqualTo(text2)).isFalse(); in verifySurroundingTextNotEquals()
99 assertThat(text1).isNotEqualTo(text2); in verifySurroundingTextNotEquals()
100 assertThat(text1.equals(text2)).isFalse(); in verifySurroundingTextNotEquals()
101 assertThat(text1.hashCode()).isNotEqualTo(text2.hashCode()); in verifySurroundingTextNotEquals()
102 assertThat(text1 == text2).isFalse(); in verifySurroundingTextNotEquals()
118 SurroundingText text1, SurroundingText text2, boolean equals, boolean isSameInstance) { in verifySurroundingTextEquals() argument
119 assertThat(text1.isEqualTo(text2)).isTrue(); in verifySurroundingTextEquals()
121 assertThat(text1).isEqualTo(text2); in verifySurroundingTextEquals()
122 assertThat(text1.equals(text2)).isTrue(); in verifySurroundingTextEquals()
[all …]
/frameworks/base/tests/graphics/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/base/core/java/android/app/smartspace/
DSmartspaceUtils.java39 public static boolean isEqual(@Nullable Text text1, @Nullable Text text2) { in isEqual() argument
40 if (text1 == null && text2 == null) return true; in isEqual()
41 if (text1 == null || text2 == null) return false; in isEqual()
42 return text1.equals(text2); in isEqual()
/frameworks/base/core/java/com/android/internal/app/
DMediaRouteChooserDialog.java244 TextView text2 = (TextView)view.findViewById(android.R.id.text2); in getView() local
248 text2.setVisibility(View.GONE); in getView()
249 text2.setText(""); in getView()
251 text2.setVisibility(View.VISIBLE); in getView()
252 text2.setText(description); in getView()
DResolverListAdapter.java894 public TextView text2;
902 text2 = (TextView) view.findViewById(com.android.internal.R.id.text2);
913 text2.setText(subLabel);
915 text2.setVisibility(View.VISIBLE);
917 text2.setVisibility(View.GONE);
/frameworks/base/core/tests/coretests/src/android/widget/
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()
/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.java76 mText2 = findViewById(com.android.internal.R.id.text2); in onFinishInflate()
/frameworks/minikin/tests/unittest/
DLayoutCacheTest.cpp73 auto text2 = utf8ToUtf16("ANDROID"); in TEST() local
85 layoutCache.getOrCreate(text2, Range(0, text2.size()), paint, false /* LTR */, in TEST()
101 layoutCache.getOrCreate(text2, Range(0, text2.size()), paint, false /* LTR */, in TEST()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/ui/
DRemoteViewsFactory.kt57 remoteViews.setTextViewText(android.R.id.text2, secondaryText) in <lambda>()
65 remoteViews.setTextViewText(android.R.id.text2, entryInfo.subTitle) in <lambda>()
/frameworks/base/libs/hwui/tests/common/scenes/
DTvApp.cpp120 const char* text, const char* text2) { in createInfoNode() argument
122 [text, text2](RenderProperties& props, Canvas& canvas) { in createInfoNode()
132 TestUtils::drawUtf8ToCanvas(&canvas, text2, paint, 10, 54); in createInfoNode()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/android/layoutlib/test/myapplication/
DR$id.class ... tabHost public static final int text1 public static final int text2 public static final int text3 public static final int textView ...
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DCameraBrowser.java82 TextView textView2 = (TextView)view.findViewById(android.R.id.text2); in getView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/permission/
DMediaProjectionPermissionDialogDelegateTest.kt86 .findViewById<TextView>(android.R.id.text2) in showDialog_forceShowPartialScreenShareFalse()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageLogActivity.java135 holder.state = (TextView) convertView.findViewById(android.R.id.text2); in getView()
DUsageStatsActivity.java268 holder.usageTime = (TextView) convertView.findViewById(android.R.id.text2); in getView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSlicePermissionActivity.java94 TextView t2 = dialog.getWindow().getDecorView().findViewById(R.id.text2); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DShutdownUi.java126 TextView messageView = d.findViewById(R.id.text2); in showShutdownUi()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/permission/
DBaseMediaProjectionPermissionDialogDelegate.kt185 val errorTextView = view.requireViewById<TextView>(android.R.id.text2) in getDropDownView()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserListAdapterTest.kt205 id = R.id.text2 in createSelectableTargetInfo()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodMenuController.java301 final TextView secondTextView = view.findViewById(android.R.id.text2); in getView()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenDurationDialog.java224 row.findViewById(android.R.id.text2).setVisibility(View.GONE); in setupUi()
DEnableZenModeDialog.java364 tag.line2 = (TextView) row.findViewById(android.R.id.text2); in updateUi()
/frameworks/opt/chips/src/com/android/ex/chips/
DDropdownChipLayouter.java424 return android.R.id.text2; in getDestinationTypeResId()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java1002 String text2 = "123456789012345678901234567890123456789012345678901234567890" + in testFragmentText() local
1005 ted = SmsMessage.calculateLength(text2, false, true); in testFragmentText()
1010 ArrayList<String> fragments = android.telephony.SmsMessage.fragmentText(text2); in testFragmentText()

12