HomeSort by relevance Sort by last modified time
    Searched refs:textView (Results 76 - 100 of 384) sorted by null

1 2 34 5 6 7 8 91011>>

  /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);
  /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 34 import android.widget.TextView;
82 final TextView textView = (TextView) getActivity().findViewById(R.id.text);
83 makeTextViewVisibleAndSetText(textView, getString(R.string.a_b));
99 TextUtils.equals(getString(R.string.a_b), textView.getText()));
103 final TextView textView = (TextView) getActivity().findViewById(R.id.text);
108 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/support/v7/appcompat/tests/src/android/support/v7/widget/
AppCompatTextViewAutoSizeTest.java 80 final AppCompatTextView textView = (AppCompatTextView) mActivity
82 assertTrue(textView instanceof CustomTextViewWithTransformationMethod);
85 assertEquals(1, textView.getMaxLines());
87 assertEquals(TextViewCompat.AUTO_SIZE_TEXT_TYPE_UNIFORM, textView.getAutoSizeTextType());
88 assertTrue(textView.getTransformationMethod() instanceof SingleLineTransformationMethod);
  /packages/apps/Launcher3/src/com/android/launcher3/views/
DoubleShadowBubbleTextView.java 26 import android.widget.TextView;
101 public boolean skipDoubleShadow(TextView textView) {
102 int textAlpha = Color.alpha(textView.getCurrentTextColor());
106 textView.getPaint().clearShadowLayer();
109 textView.getPaint().setShadowLayer(ambientShadowBlur, 0, 0,
113 textView.getPaint().setShadowLayer(keyShadowBlur, 0.0f, keyShadowOffset,
  /packages/apps/TV/src/com/android/tv/license/
LicenseDialogFragment.java 28 import android.widget.TextView;
72 TextView textView = new TextView(getActivity());
74 textView.setText(licenseText != null ? licenseText : "");
75 textView.setMovementMethod(new ScrollingMovementMethod());
80 textView.setPadding(
82 return textView;
88 // Ensure the dialog is fullscreen, even if the TextView doesn't have its content yet.
  /frameworks/base/core/tests/coretests/src/android/widget/
TextViewActivityTest.java 83 * Tests the TextView widget from an Activity
109 onView(withId(R.id.textview)).perform(replaceText(helloWorld));
111 onView(withId(R.id.textview)).check(matches(withText(helloWorld)));
116 onView(withId(R.id.textview)).perform(replaceText(helloWorld));
117 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(helloWorld.indexOf("world")));
120 onView(withId(R.id.textview)).perform(pressKey(KeyEvent.KEYCODE_FORWARD_DEL));
121 onView(withId(R.id.textview)).check(matches(withText("Hello orld!")));
129 onView(withId(R.id.textview)).perform(replaceText(text));
131 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(0));
132 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(0))
    [all...]
  /external/python/cpython2/Lib/idlelib/
textView.py 17 the textview window is closed.
35 self.textView.focus_set()
39 self.textView.insert(0.0, text)
40 self.textView.config(state=DISABLED)
54 self.textView = Text(frameText, wrap=WORD, highlightthickness=0,
56 self.scrollbarView.config(command=self.textView.yview)
57 self.textView.config(yscrollcommand=self.scrollbarView.set)
60 self.textView.pack(side=LEFT,expand=TRUE,fill=BOTH)
  /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 34 import android.widget.TextView;
37 * A collection of actions on a {@link android.widget.TextView}.
44 * Returns an action that clicks on text at an index on the TextView.<br>
48 * <li>must be a TextView displayed on screen
51 * @param index The index of the TextView's text to click on.
73 * Returns an action that clicks by mouse on text at an index on the TextView.<br>
77 * <li>must be a TextView displayed on screen
80 * @param index The index of the TextView's text to click on.
87 * Returns an action that clicks by mouse on text at an index on the TextView.<br>
91 * <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;
147 TextView textView = (TextView) layout.findViewById(R.id.count);
149 textView.setText(Integer.toString(mUnreadCounts[position]));
150 textView.setVisibility(View.VISIBLE);
159 textView.setVisibility(View.INVISIBLE);
164 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);

Completed in 5091 milliseconds

1 2 34 5 6 7 8 91011>>