/external/chromium_org/chromeos/ime/ |
ibus_text_unittest.cc | 34 IBusText text2; local 35 text2.CopyFrom(text); 37 EXPECT_EQ(text.text(), text2.text()); 39 text2.underline_attributes().size()); 42 text2.underline_attributes()[i].type); 44 text2.underline_attributes()[i].start_index); 46 text2.underline_attributes()[i].end_index); 49 EXPECT_EQ(text.selection_start(), text2.selection_start()); 50 EXPECT_EQ(text.selection_end(), text2.selection_end());
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
MarqueeActivity.java | 45 final TextView text2 = new TextView(this); local 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);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
nodenormalize01.java | 83 Text text2; local 102 text2 = newDoc.createTextNode("text2"); 112 appendedChild = element2.appendChild(text2); 116 text2 = (Text) text2.cloneNode(false); 119 appendedChild = element3.appendChild(text2); 122 text2 = (Text) text2.cloneNode(false); 125 appendedChild = element4.appendChild(text2); [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
NodeNormalize.java | 100 Text text2; local 120 text2 = newDoc.createTextNode("text2"); 130 element2.appendChild(text2); 134 text2 = (Text) text2.cloneNode(false); 137 element3.appendChild(text2); 140 text2 = (Text) text2.cloneNode(false); 143 element4.appendChild(text2); [all...] |
/external/llvm/test/MC/X86/AlignedBundling/ |
different-sections.s | 16 .section text2, "x" 17 # CHECK: section text2
|
switch-section-locked-error.s | 14 .section text2, "x"
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TwoLineListItemTest.java | 95 TextView text2 = new TextView(mActivity); local 96 text2.setId(com.android.internal.R.id.text2); 100 twoLineListItem.addView(text2, params); 106 assertSame(text2, twoLineListItem.getText2());
|
/external/chromium_org/mojo/public/tests/ |
bindings_handle_passing_unittest.cc | 31 std::string text2; variable 33 EXPECT_TRUE(ReadTextMessage(request.pipe().get(), &text2)); 40 if (!text2.empty()) { 42 EXPECT_TRUE(WriteTextMessage(pipe1_.get(), text2)); 103 std::string text2; variable 104 EXPECT_TRUE(ReadTextMessage(response.pipe().get(), &text2)); 109 EXPECT_EQ(std::string(kText2), text2); variable
|
/packages/apps/Calendar/src/com/android/calendar/ |
EmailAddressAdapter.java | 57 TextView text2 = (TextView)view.findViewById(R.id.text2); local 59 text2.setText(emailAddress);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
DefaultSuggestionView.java | 71 mText2 = (TextView) findViewById(R.id.text2); 91 CharSequence text2 = suggestion.getSuggestionText2Url(); local 92 if (text2 != null) { 93 text2 = formatUrl(text2); 95 text2 = formatText(suggestion.getSuggestionText2(), suggestion); 98 if (TextUtils.isEmpty(text2)) { 108 setText2(text2); 113 Log.d(TAG, "bindAsSuggestion(), text1=" + text1 + ",text2=" + text2 + ",q='" [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
DefaultSoftKeyboard.java | 640 TextView text2 = (TextView)mSubView.findViewById(R.id.alt); local 645 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); 647 text2.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); 651 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); 653 text2.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); 657 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); 659 text2.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); 663 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_on)); 665 text2.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); 669 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_lock)) [all...] |
/cts/tests/tests/text/src/android/text/util/cts/ |
Rfc822TokenizerTest.java | 85 String text2 = token1 + "\",\"" + token2 + ";" + token3 + " <;>" + token4 + ","; local 86 final int TOKEN_END_POS_2 = text2.indexOf(token2) + token2.length(); 87 final int TOKEN_END_POS_4 = text2.indexOf(token4) + token4.length(); 88 assertEquals(TOKEN_END_POS_2, rfc822Tokenizer.findTokenEnd(text2, 0)); 89 assertEquals(TOKEN_END_POS_4, rfc822Tokenizer.findTokenEnd(text2, TOKEN_END_POS_2 + 1));
|
/external/google-diff-match-patch/name/fraser/neil/plaintext/ |
diff_match_patch.java | 134 * @param text2 New string to be diffed. 137 public LinkedList<Diff> diff_main(String text1, String text2) { 138 return diff_main(text1, text2, true); 145 * @param text2 New string to be diffed. 151 public LinkedList<Diff> diff_main(String text1, String text2, 154 if (text1 == null || text2 == null) { 160 if (text1.equals(text2)) { 167 int commonlength = diff_commonPrefix(text1, text2); 170 text2 = text2.substring(commonlength) 1955 String text2; local [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
SelectAccountDialogFragment.java | 62 final TextView text2 = (TextView)resultView.findViewById(android.R.id.text2); 67 text2.setText("Type: " + account.type);
|
/external/chromium/webkit/glue/ |
regular_expression_unittest.cc | 62 WebUChar text2[] = {L' ', L'\x6240', L'\x6709', L'\x7f51', L'\x9875'}; local 68 MATCH_DESC(text2, 1, 4), 82 WebUChar text2[] = {L' ', L' ', L':', L' ', L' ', L' ', L' ', L':', L' ', L' '}; local 90 MATCH_DESC(text2, 2, 6),
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
AccountsListAdapter.java | 90 final TextView text2 = (TextView) resultView.findViewById(android.R.id.text2); local 100 text2.setText(account.name); 101 text2.setEllipsize(TruncateAt.MIDDLE);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
ExpandableList3.java | 67 new int[] { android.R.id.text1, android.R.id.text2 }, 71 new int[] { android.R.id.text1, android.R.id.text2 }
|
/frameworks/base/core/java/com/android/internal/app/ |
MediaRouteChooserDialog.java | 219 TextView text2 = (TextView)view.findViewById(android.R.id.text2); local 223 text2.setVisibility(View.GONE); 224 text2.setText(""); 226 text2.setVisibility(View.VISIBLE); 227 text2.setText(description);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouteChooserDialog.java | 203 TextView text2 = (TextView)view.findViewById(android.R.id.text2); local 207 text2.setVisibility(View.GONE); 208 text2.setText(""); 210 text2.setVisibility(View.VISIBLE); 211 text2.setText(description);
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
QuickContactListFragment.java | 113 final TextView text2 = (TextView) resultView.findViewById( 114 android.R.id.text2); 148 if (text2 != null) { 150 text2.setText(subtitle); 152 text2.setVisibility(View.GONE); 154 text2.setVisibility(View.VISIBLE);
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
BaseInputConnectionTest.java | 133 final Editable text2 = mConnection.getEditable(); local 135 assertEquals(strLength, text2.length()); 136 assertEquals(str.toString(), text2.toString()); 161 return text2.toString().equals(mView.getText().toString()); 167 int end = text2.length();
|
/external/chromium_org/content/browser/accessibility/ |
browser_accessibility_win_unittest.cc | 230 AccessibilityNodeData text2; local 231 text2.id = 2; 232 text2.role = blink::WebAXRoleStaticText; 233 text2.SetName("new text"); 234 text2.SetName("old text"); 237 param.nodes.push_back(text2); 238 param.id = text2.id; 428 AccessibilityNodeData text2; local 429 text2.id = 12; 430 text2.role = blink::WebAXRoleStaticText 496 AccessibilityNodeData text2; local [all...] |
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
WiFiDirectServicesList.java | 50 ((TextView) v.findViewById(android.R.id.text2)).setText("Connecting"); 81 .findViewById(android.R.id.text2);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
reapits.c | 353 UChar text2[50]; local 357 u_uastrncpy(text2, "abcccxd", sizeof(text2)/2); 375 uregex_setText(re, text2, -1, &status); 407 UChar text2[50]; local 412 u_uastrncpy(text2, "abcccxd", sizeof(text2)/2); 424 uregex_setText(re, text2, 7, &status); 426 TEST_ASSERT(result == text2); 431 uregex_setText(re, text2, 4, &status) 774 UChar text2[80]; local 846 UChar text2[80]; \/* "No match Here" *\/ local 1008 UChar text2[80]; local 1504 UText text2 = UTEXT_INITIALIZER; local 1551 UText text2 = UTEXT_INITIALIZER; local 1791 UChar text2[80]; local 1839 UChar text2[80]; local 1922 UChar text2[80]; local [all...] |
/external/icu4c/test/cintltst/ |
reapits.c | 394 UChar text2[50]; local 398 u_uastrncpy(text2, "abcccxd", sizeof(text2)/2); 416 uregex_setText(re, text2, -1, &status); 448 UChar text2[50]; local 453 u_uastrncpy(text2, "abcccxd", sizeof(text2)/2); 465 uregex_setText(re, text2, 7, &status); 467 TEST_ASSERT(result == text2); 472 uregex_setText(re, text2, 4, &status) 815 UChar text2[80]; local 887 UChar text2[80]; \/* "No match Here" *\/ local 1049 UChar text2[80]; local 1546 UText text2 = UTEXT_INITIALIZER; local 1593 UText text2 = UTEXT_INITIALIZER; local 1833 UChar text2[80]; local 1881 UChar text2[80]; local 1964 UChar text2[80]; local [all...] |