| /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
| NoVariablesTest.java | 32 assertEquals(expectedValue, mBinder.textView.getText().toString());
|
| ReadComplexTernaryTest.java | 21 assertEquals("?", mBinder.textView.getText().toString());
|
| BasicBindingTest.java | 25 import android.widget.TextView; 98 assertEquals("XY", mBinder.textView.getText().toString()); 116 assertEquals("QR", mBinder.textView.getText().toString()); 137 assertNotNull(binding.textView); 152 assertNotNull(binding.textView); 153 assertNotSame(binding.textView, mBinder.textView); 161 assertTrue(binding.empty instanceof TextView); 172 assertEquals(text, mBinder.textView.getText().toString());
|
| /packages/apps/Launcher2/src/com/android/launcher2/ |
| AddAdapter.java | 26 import android.widget.TextView; 84 TextView textView = (TextView) convertView; 85 textView.setTag(item); 86 textView.setText(item.text); 87 textView.setCompoundDrawablesWithIntrinsicBounds(item.image, null, null, null);
|
| /frameworks/base/core/tests/coretests/src/android/widget/ |
| TextViewActivityTest.java | 73 * Tests the TextView widget from an Activity 93 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); 95 onView(withId(R.id.textview)).check(matches(withText(helloWorld))); 100 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); 101 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(helloWorld.indexOf("world"))); 104 onView(withId(R.id.textview)).perform(pressKey(KeyEvent.KEYCODE_FORWARD_DEL)); 105 onView(withId(R.id.textview)).check(matches(withText("Hello orld!"))); 112 onView(withId(R.id.textview)).perform(replaceText(text)); 114 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(0)); 115 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(0)) [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
| WorkStatusTestActivity.java | 24 import android.widget.TextView; 54 TextView textView = (TextView) findViewById(R.id.text); 56 textView.setText(R.string.provisioning_byod_work_status_icon_activity); 58 textView.setText(R.string.provisioning_byod_work_status_toast_activity);
|
| /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
| AccessibilityEndToEndActivity.java | 27 import android.widget.TextView; 42 TextView textView = (TextView) View 44 textView.setText((String) getItem(position)); 45 return textView;
|
| AccessibilityTextActionTest.java | 30 import android.widget.TextView; 67 final TextView textView = (TextView) getActivity().findViewById(R.id.text); 68 makeTextViewVisibleAndSetText(textView, getString(R.string.a_b)); 84 TextUtils.equals(getString(R.string.a_b), textView.getText())); 88 final TextView textView = (TextView) getActivity().findViewById(R.id.text); 93 textView.setVisibility(View.VISIBLE) [all...] |
| /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
| HtmlTest.java | 8 import android.widget.TextView; 28 TextView textView = new TextView(context); 29 textView.setText(Html.fromHtml("<b>some</b> html text")); 30 assertThat(textView.getText().toString(), equalTo("<b>some</b> html text"));
|
| /frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
| ScrollViewButtonsAndLabels.java | 25 import android.widget.TextView; 80 TextView textView = new TextView(this); 81 textView.setText("Text View " + i); 82 mLinearLayout.addView(textView, p);
|
| /frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
| EqualizerTest.java | 30 import android.widget.TextView; 71 TextView textView; 100 textView = (TextView)findViewById(R.id.eqParam1Value); 101 mParameters[0] = new BandLevelParam(mEqualizer, 0, bandLevelRange[0], bandLevelRange[1], seekBar, textView); 111 textView = (TextView)findViewById(R.id.eqParam2Value); 112 mParameters[1] = new BandLevelParam(mEqualizer, 1, bandLevelRange[0], bandLevelRange[1], seekBar, textView); 122 textView = (TextView)findViewById(R.id.eqParam3Value) [all...] |
| /frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
| TextViewAssertions.java | 33 import android.widget.TextView; 42 * A collection of assertions on a {@link android.widget.TextView}. 106 if (view instanceof TextView) { 107 TextView textView = (TextView) view; 108 int selectionStart = textView.getSelectionStart(); 109 int selectionEnd = textView.getSelectionEnd(); 117 throw new AssertionFailedError("TextView not found"); 139 * Returns a {@link ViewAssertion} that asserts that the TextView does not contain styled text [all...] |
| TextViewActions.java | 32 import android.widget.TextView; 35 * A collection of actions on a {@link android.widget.TextView}. 42 * Returns an action that clicks on text at an index on the TextView.<br> 46 * <li>must be a TextView displayed on screen 49 * @param index The index of the TextView's text to click on. 57 * Returns an action that clicks by mouse on text at an index on the TextView.<br> 61 * <li>must be a TextView displayed on screen 64 * @param index The index of the TextView's text to click on. 71 * Returns an action that clicks by mouse on text at an index on the TextView.<br> 75 * <li>must be a TextView displayed on scree [all...] |
| /frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
| HorizontalGridTestActivity.java | 31 import android.widget.TextView; 133 TextView textView = new TextView(parent.getContext()); 134 textView.setTextColor(Color.BLACK); 135 textView.setFocusable(true); 136 textView.setFocusableInTouchMode(true); 137 textView.setOnFocusChangeListener(mItemFocusChangeListener); 138 textView.setOnClickListener(mItemClickListener); 139 return new ViewHolder(textView); [all...] |
| /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/ |
| TermsListAdapter.java | 28 import android.widget.TextView; 116 TextView textView = groupView.findViewById(R.id.header_text); 117 textView.setText(heading); 143 TextView textView = view.findViewById(R.id.disclaimer_content); 145 textView.setText(content); 146 textView.setContentDescription( 149 textView.setMovementMethod(LinkMovementMethod.getInstance()); // makes html links clickable 150 mContextMenuMaker.registerWithActivity(textView); [all...] |
| /prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/ |
| textView.py | 29 self.textView.focus_set() 33 self.textView.insert(0.0, text) 34 self.textView.config(state=DISABLED) 48 self.textView = Text(frameText, wrap=WORD, highlightthickness=0, 50 self.scrollbarView.config(command=self.textView.yview) 51 self.textView.config(yscrollcommand=self.scrollbarView.set) 54 self.textView.pack(side=LEFT,expand=TRUE,fill=BOTH) 84 root.title('textView test') 85 filename = './textView.py'
|
| /prebuilts/gdb/linux-x86/lib/python2.7/idlelib/ |
| textView.py | 29 self.textView.focus_set() 33 self.textView.insert(0.0, text) 34 self.textView.config(state=DISABLED) 48 self.textView = Text(frameText, wrap=WORD, highlightthickness=0, 50 self.scrollbarView.config(command=self.textView.yview) 51 self.textView.config(yscrollcommand=self.scrollbarView.set) 54 self.textView.pack(side=LEFT,expand=TRUE,fill=BOTH) 84 root.title('textView test') 85 filename = './textView.py'
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
| textView.py | 29 self.textView.focus_set() 33 self.textView.insert(0.0, text) 34 self.textView.config(state=DISABLED) 48 self.textView = Text(frameText, wrap=WORD, highlightthickness=0, 50 self.scrollbarView.config(command=self.textView.yview) 51 self.textView.config(yscrollcommand=self.scrollbarView.set) 54 self.textView.pack(side=LEFT,expand=TRUE,fill=BOTH) 84 root.title('textView test') 85 filename = './textView.py'
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
| textView.py | 29 self.textView.focus_set() 33 self.textView.insert(0.0, text) 34 self.textView.config(state=DISABLED) 48 self.textView = Text(frameText, wrap=WORD, highlightthickness=0, 50 self.scrollbarView.config(command=self.textView.yview) 51 self.textView.config(yscrollcommand=self.scrollbarView.set) 54 self.textView.pack(side=LEFT,expand=TRUE,fill=BOTH) 84 root.title('textView test') 85 filename = './textView.py'
|
| /packages/apps/Dialer/java/com/android/contacts/common/list/ |
| ViewPagerTabs.java | 33 import android.widget.TextView; 158 TextView textView = (TextView) layout.findViewById(R.id.count); 160 textView.setText(Integer.toString(mUnreadCounts[position])); 161 textView.setVisibility(View.VISIBLE); 170 textView.setVisibility(View.INVISIBLE); 175 final TextView textView = new TextView(getContext()) [all...] |
| /cts/tests/tests/toast/src/android/widget/toast/cts/ |
| BaseToastTest.java | 26 import android.widget.TextView; 86 TextView textView = new TextView(mContext); 87 textView.setText(BaseToastTest.class.getName()); 91 windowManager.addView(textView, params);
|
| /developers/build/prebuilts/gradle/DirectShare/Application/src/main/java/com/example/android/directshare/ |
| SelectContactActivity.java | 29 import android.widget.TextView; 80 TextView textView = (TextView) view; 82 ContactViewBinder.bind(contact, textView); 83 return textView;
|
| /developers/samples/android/content/DirectShare/Application/src/main/java/com/example/android/directshare/ |
| SelectContactActivity.java | 29 import android.widget.TextView; 80 TextView textView = (TextView) view; 82 ContactViewBinder.bind(contact, textView); 83 return textView;
|
| /development/samples/browseable/DirectShare/src/com.example.android.directshare/ |
| SelectContactActivity.java | 29 import android.widget.TextView; 80 TextView textView = (TextView) view; 82 ContactViewBinder.bind(contact, textView); 83 return textView;
|
| /frameworks/base/apct-tests/perftests/core/src/android/widget/ |
| TextViewSetTextLocalePerfTest.java | 71 TextView textView = new TextView(mActivityRule.getActivity()); 76 textView.setTextLocale(mFirstLocale); 77 textView.setTextLocale(mSecondLocale);
|