/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowTextViewTest.java | 57 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).isSameInstanceAs(textView); in shouldTriggerTheImeListener() 84 textView.setOnEditorActionListener(actionListener); in shouldCreateGetterForEditorActionListener() 86 assertThat(shadowOf(textView).getOnEditorActionListener()).isSameInstanceAs(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 …]
|
D | ViewInnerTextTest.java | 28 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 …]
|
D | ShadowCountingAdapter.java | 38 TextView textView = new TextView(ApplicationProvider.getApplicationContext()); in getView() local 39 textView.setText("Item " + position); in getView() 40 return textView; in getView()
|
D | ShadowHtmlTest.java | 36 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()
|
D | ShadowTabHostTest.java | 128 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()
|
/external/setupdesign/main/src/com/google/android/setupdesign/util/ |
D | TextViewPartnerStyler.java | 35 @NonNull TextView textView, @NonNull TextPartnerConfigs textPartnerConfigs) { in applyPartnerCustomizationStyle() 37 if (textView == null || textPartnerConfigs == null) { in applyPartnerCustomizationStyle() 41 Context context = textView.getContext(); in applyPartnerCustomizationStyle() 49 textView.setTextColor(textColor); in applyPartnerCustomizationStyle() 56 && !PartnerStyleHelper.useDynamicColor(textView)) { in applyPartnerCustomizationStyle() 61 textView.setLinkTextColor(linkTextColor); in applyPartnerCustomizationStyle() 72 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in applyPartnerCustomizationStyle() 84 textView.setTypeface(font); in applyPartnerCustomizationStyle() 92 final ViewGroup.LayoutParams lp = textView.getLayoutParams(); in applyPartnerCustomizationStyle() 117 textView.setLayoutParams(lp); in applyPartnerCustomizationStyle() [all …]
|
/external/llvm-project/clang/tools/clang-format-vs/ClangFormat/ |
D | Vsix.cs | 22 IVsTextView textView; in GetCurrentView() 23 textManager.GetActiveView(1, null, out textView); in GetCurrentView() 27 return VsToWpfTextView(textView); in GetCurrentView() 32 var textView = GetDocumentView(document); in IsDocumentDirty() 33 var textDocument = GetTextDocument(textView); in IsDocumentDirty() 39 var textView = GetVsTextViewFrompPath(document.FullName); in GetDocumentView() 40 return VsToWpfTextView(textView); in GetDocumentView() 43 public static IWpfTextView VsToWpfTextView(IVsTextView textView) in VsToWpfTextView() argument 45 var userData = (IVsUserData)textView; in VsToWpfTextView()
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | DebugTextViewHelper.java | 37 private final TextView textView; field in DebugTextViewHelper 47 public DebugTextViewHelper(SimpleExoPlayer player, TextView textView) { in DebugTextViewHelper() argument 50 this.textView = textView; in DebugTextViewHelper() 76 textView.removeCallbacks(this); in stop() 108 textView.setText(getDebugString()); in updateAndPost() 109 textView.removeCallbacks(this); in updateAndPost() 110 textView.postDelayed(this, REFRESH_INTERVAL_MS); in updateAndPost()
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | ApiCompatibilityUtils.java | 194 public static Drawable[] getCompoundDrawablesRelative(TextView textView) { in getCompoundDrawablesRelative() argument 196 return textView.getCompoundDrawablesRelative(); in getCompoundDrawablesRelative() 198 return textView.getCompoundDrawables(); in getCompoundDrawablesRelative() 206 public static void setCompoundDrawablesRelative(TextView textView, Drawable start, Drawable top, in setCompoundDrawablesRelative() argument 212 boolean isRtl = isLayoutRtl(textView); in setCompoundDrawablesRelative() 213 textView.setCompoundDrawables(isRtl ? end : start, top, isRtl ? start : end, bottom); in setCompoundDrawablesRelative() 215 textView.setCompoundDrawablesRelative(start, top, end, bottom); in setCompoundDrawablesRelative() 217 textView.setCompoundDrawables(start, top, end, bottom); in setCompoundDrawablesRelative() 225 public static void setCompoundDrawablesRelativeWithIntrinsicBounds(TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds() argument 229 boolean isRtl = isLayoutRtl(textView); in setCompoundDrawablesRelativeWithIntrinsicBounds() [all …]
|
/external/python/cpython2/Lib/idlelib/ |
D | textView.py | 35 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)
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | LogFragment.java | 41 TextView textView; field in LogFragment 69 textView = (TextView) activity.findViewById(R.id.txt_log); in onResume() 70 textView.setMovementMethod(new ScrollingMovementMethod()); in onResume() 71 textView.setText(logger.getLogText()); in onResume() 82 textView.append(msg + "\n"); in appendLogText()
|
D | MidiFragment.java | 37 private TextView textView; field in MidiFragment 55 textView = (TextView) view.findViewById(R.id.txt_box_midi); in onCreateView() 59 textView.setMovementMethod(new ScrollingMovementMethod()); in onCreateView() 71 textView.setText(logger.getLogText()); in onResume() 112 textView.append(msg + "\n");
|
D | AboutFragment.java | 50 TextView textView = (TextView) getActivity().findViewById(R.id.txt_build_info); in onResume() local 57 textView.setText(text); in onResume()
|
D | AudioFragment.java | 66 private TextView textView; field in AudioFragment 93 textView = (TextView) view.findViewById(R.id.txt_box_audio); in onCreateView() 94 textView.setMovementMethod(new ScrollingMovementMethod()); in onCreateView() 122 textView.setText(logger.getLogText()); in onResume() 209 textView.append(msg + "\n");
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | ConversationDialogActivity.java | 85 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/ |
D | OvicBenchmarkerActivity.java | 70 private TextView textView = null; field in OvicBenchmarkerActivity 80 textView = (TextView) findViewById(R.id.textView); in onCreate() 193 if (textView != null) { in benchmarkSession() 195 textView.setText( in benchmarkSession() 204 textView.setText("Benchmarker failed to run on more than one images."); in benchmarkSession()
|
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/ |
D | MainActivity.java | 213 TextView view = holder.textView; in onBindViewHolder() 286 public final TextView textView; field in MainActivity.QueueItemViewHolder 289 public QueueItemViewHolder(TextView textView) { in QueueItemViewHolder() argument 290 super(textView); in QueueItemViewHolder() 291 this.textView = textView; in QueueItemViewHolder() 292 textView.setOnClickListener(this); in QueueItemViewHolder()
|
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/views/ |
D | ControlBarItemToggleView.kt | 34 textView.text = getText(textRes) in <lambda>() 58 fun getText() = textView.text.toString() in getText() 61 textView.text = text in getText()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | QualifiersTest.java | 83 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/downloader/src/example/java/com/google/android/downloader/example/ |
D | DownloaderTestActivity.java | 76 private TextView textView; field in DownloaderTestActivity 136 textView = findViewById(R.id.log_text); in onStart() 253 textView.setText(""); in clearDownloads() 257 String existingText = textView.getText().toString(); in appendLog() 259 textView.setText(existingText); in appendLog()
|
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
D | CachedTextViewLog.java | 31 public CachedTextViewLog(Activity activity, TextView textView) { in CachedTextViewLog() argument 33 mTextView = textView; in CachedTextViewLog()
|
/external/google-breakpad/src/client/mac/sender/ |
D | crash_report_sender.h | 104 - (BOOL)control:(NSControl *)control textView:(NSTextView *)textView
|
/external/walt/ios/WALT/ |
D | DebugLogController.m | 25 self.textView.text = [[WALTLogger sessionLogger] stringValue]; 30 self.textView.text = [[WALTLogger sessionLogger] stringValue];
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
D | TriggerManager.java | 177 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/ |
D | test_textview.py | 7 from idlelib import textView as tv 86 self.assertIn('Test', view.textView.get('1.0', '1.end'))
|