Home
last modified time | relevance | path

Searched refs:textView (Results 1 – 25 of 40) sorted by relevance

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTextViewTest.java57 private TextView textView; field in ShadowTextViewTest
64 textView = new TextView(activity); in setUp()
65 activity.setContentView(textView); in setUp()
72 textView.setOnEditorActionListener(actionListener); in shouldTriggerTheImeListener()
74 textView.onEditorAction(EditorInfo.IME_ACTION_GO); in shouldTriggerTheImeListener()
76 assertThat(actionListener.textView).isSameAs(textView); in shouldTriggerTheImeListener()
84 textView.setOnEditorActionListener(actionListener); in shouldCreateGetterForEditorActionListener()
86 assertThat(shadowOf(textView).getOnEditorActionListener()).isSameAs(actionListener); in shouldCreateGetterForEditorActionListener()
92 textView.setAutoLinkMask(Linkify.ALL); in testGetUrls()
93 textView.setText("here's some text http://google.com/\nblah\thttp://another.com/123?456 blah"); in testGetUrls()
[all …]
DViewInnerTextTest.java28 top.addView(textView("blah")); in testInnerText()
30 top.addView(textView("a b c")); in testInnerText()
35 innerLayout.addView(textView("d e f")); in testInnerText()
36 innerLayout.addView(textView("g h i")); in testInnerText()
37 innerLayout.addView(textView("")); in testInnerText()
38 innerLayout.addView(textView(null)); in testInnerText()
39 innerLayout.addView(textView("jkl!")); in testInnerText()
41 top.addView(textView("mnop")); in testInnerText()
49 top.addView(textView("blah", View.VISIBLE)); in shouldOnlyIncludeViewTextViewsText()
50 top.addView(textView("blarg", View.GONE)); in shouldOnlyIncludeViewTextViewsText()
[all …]
DShadowCountingAdapter.java38 TextView textView = new TextView(ApplicationProvider.getApplicationContext()); in getView() local
39 textView.setText("Item " + position); in getView()
40 return textView; in getView()
DShadowHtmlTest.java36 TextView textView = new TextView(context); in shouldBeAbleToGetTextFromTextViewAfterUsingSetTextWithHtmlDotFromHtml() local
37 textView.setText(Html.fromHtml("<b>some</b> html text")); in shouldBeAbleToGetTextFromTextViewAfterUsingSetTextWithHtmlDotFromHtml()
38 assertThat(textView.getText().toString()).isEqualTo("some html text"); in shouldBeAbleToGetTextFromTextViewAfterUsingSetTextWithHtmlDotFromHtml()
DShadowTabHostTest.java128 TextView textView = (TextView) tabHost.getCurrentView(); in shouldRetrieveTheCurrentViewFromTabContentFactory() local
130 assertThat(textView.getText().toString()).isEqualTo("The Text of Foo"); in shouldRetrieveTheCurrentViewFromTabContentFactory()
142 TextView textView = (TextView) tabHost.getCurrentView(); in shouldRetrieveTheCurrentViewFromViewId() local
144 assertThat(textView.getText().toString()).isEqualTo("Main Layout"); in shouldRetrieveTheCurrentViewFromViewId()
DShadowLayoutInflaterTest.java66 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnDefaultScreenSize() local
67 assertThat(textView.getText().toString()).isEqualTo("default"); in testChoosesLayoutBasedOnDefaultScreenSize()
74 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnScreenSize() local
75 assertThat(textView.getText().toString()).isEqualTo("xlarge"); in testChoosesLayoutBasedOnScreenSize()
82 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnQualifiers() local
83 assertThat(textView.getText().toString()).isEqualTo("land"); in testChoosesLayoutBasedOnQualifiers()
DShadowViewGroupTest.java226 TextView textView = new TextView(context); in dump_shouldDumpStructure() local
227 textView.setText("Here's some text!"); in dump_shouldDumpStructure()
228 textView.setVisibility(View.INVISIBLE); in dump_shouldDumpStructure()
229 child3.addView(textView); in dump_shouldDumpStructure()
DShadowTabSpecTest.java85 TextView textView = (TextView) shadowFoo.getContentView(); in shouldSetTheContentView() local
88 assertThat(textView.getText().toString()).isEqualTo("The Text of Foo"); in shouldSetTheContentView()
/external/python/cpython2/Lib/idlelib/
DtextView.py35 self.textView.focus_set()
39 self.textView.insert(0.0, text)
40 self.textView.config(state=DISABLED)
55 self.textView = Text(frameText, wrap=WORD, highlightthickness=0,
57 self.scrollbarView.config(command=self.textView.yview)
58 self.textView.config(yscrollcommand=self.scrollbarView.set)
61 self.textView.pack(side=LEFT,expand=TRUE,fill=BOTH)
DaboutDialog.py7 from idlelib import textView
137 textView.view_text(self, title, text)
141 textView.view_file(self, title, fn, encoding)
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DLogFragment.java40 TextView textView; field in LogFragment
68 textView = (TextView) activity.findViewById(R.id.txt_log); in onResume()
69 textView.setMovementMethod(new ScrollingMovementMethod()); in onResume()
70 textView.setText(logger.getLogText()); in onResume()
81 textView.append(msg + "\n"); in appendLogText()
DMidiFragment.java36 private TextView textView; field in MidiFragment
54 textView = (TextView) view.findViewById(R.id.txt_box_midi); in onCreateView()
58 textView.setMovementMethod(new ScrollingMovementMethod()); in onCreateView()
70 textView.setText(logger.getLogText()); in onResume()
111 textView.append(msg + "\n");
DAudioFragment.java65 private TextView textView; field in AudioFragment
92 textView = (TextView) view.findViewById(R.id.txt_box_audio); in onCreateView()
93 textView.setMovementMethod(new ScrollingMovementMethod()); in onCreateView()
121 textView.setText(logger.getLogText()); in onResume()
208 textView.append(msg + "\n");
DAboutFragment.java48 TextView textView = (TextView) getActivity().findViewById(R.id.txt_build_info); in onResume() local
55 textView.setText(text); in onResume()
/external/replicaisland/src/com/replica/replicaisland/
DConversationDialogActivity.java85 private void formatPages(Conversation conversation, TextView textView) { in formatPages() argument
87 final int maxWidth = textView.getWidth(); in formatPages()
88 final int maxHeight = textView.getHeight(); in formatPages()
89 paint.setTextSize(textView.getTextSize()); in formatPages()
90 paint.setTypeface(textView.getTypeface()); in formatPages()
204 TextView textView = (TextView)findViewById(R.id.typewritertext); in processText() local
205 formatPages(mConversation, textView); in processText()
/external/tensorflow/tensorflow/lite/java/ovic/demo/app/
DOvicBenchmarkerActivity.java69 private TextView textView = null; field in OvicBenchmarkerActivity
79 textView = (TextView) findViewById(R.id.textView); in onCreate()
191 if (textView != null) { in benchmarkSession()
193 textView.setText( in benchmarkSession()
202 textView.setText("Benchmarker failed to run on more than one images."); in benchmarkSession()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DQualifiersTest.java83 TextView textView = view.findViewById(R.id.text1); in inflateLayout_defaultsTo_sw320dp() local
84 assertThat(textView.getText()).isEqualTo("320"); in inflateLayout_defaultsTo_sw320dp()
92 TextView textView = view.findViewById(R.id.text1); in inflateLayout_overridesTo_sw720dp() local
93 assertThat(textView.getText()).isEqualTo("720"); in inflateLayout_overridesTo_sw720dp()
/external/droiddriver/src/io/appium/droiddriver/instrumentation/
DViewElement.java146 TextView textView = (TextView) view; in call() local
147 if (textView.hasSelection()) { in call()
148 attribs.put(Attribute.SELECTION_START, textView.getSelectionStart()); in call()
149 attribs.put(Attribute.SELECTION_END, textView.getSelectionEnd()); in call()
/external/google-breakpad/src/client/mac/sender/
Dcrash_report_sender.h104 - (BOOL)control:(NSControl *)control textView:(NSTextView *)textView
/external/walt/ios/WALT/
DDebugLogController.m25 self.textView.text = [[WALTLogger sessionLogger] stringValue];
30 self.textView.text = [[WALTLogger sessionLogger] stringValue];
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DTriggerManager.java177 TextView textView = new TextView(TriggerManager.this); in getView() local
178 textView.setText(trigger.getEventName() + " " + trigger.getScript().getName()); in getView()
179 return textView; in getView()
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_textview.py7 from idlelib import textView as tv
86 self.assertIn('Test', view.textView.get('1.0', '1.end'))
/external/clang/tools/clang-format-vs/ClangFormat/
DClangFormatPackage.cs314 IVsTextView textView; in GetCurrentView()
315 textManager.GetActiveView(1, null, out textView); in GetCurrentView()
319 var userData = (IVsUserData)textView; in GetCurrentView()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DResourceLoaderTest.java79 TextView textView = view.findViewById(android.R.id.text1); in checkForPollutionHelper() local
80 assertThat(textView.getText().toString()).isEqualTo("default"); in checkForPollutionHelper()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNotification.java133 TextView textView = (TextView) findView(view, resourceName); in findText() local
134 return textView.getText(); in findText()

12