Searched refs:textView (Results 76 - 100 of 135) sorted by relevance

123456

/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DAnimatedRecyclerView.java131 vh.textView.animate().translationX(0f).alpha(1f)
141 vh.textView.setTranslationX(0f);
142 vh.textView.setAlpha(1f);
161 info.text = ((MyViewHolder) viewHolder).textView.getText();
169 info.text = ((MyViewHolder) viewHolder).textView.getText();
231 * (vh.textView.getTranslationX() / vh.textView.getWidth()));
234 vh.textView.setText(finalText);
237 vh.textView.setText(pre.text);
275 mStartRatio = mViewHolder.textView
733 public TextView textView; field in class:AnimatedRecyclerView.MyViewHolder
[all...]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DAnimatedRecyclerView.java131 vh.textView.animate().translationX(0f).alpha(1f)
141 vh.textView.setTranslationX(0f);
142 vh.textView.setAlpha(1f);
161 info.text = ((MyViewHolder) viewHolder).textView.getText();
169 info.text = ((MyViewHolder) viewHolder).textView.getText();
231 * (vh.textView.getTranslationX() / vh.textView.getWidth()));
234 vh.textView.setText(finalText);
237 vh.textView.setText(pre.text);
275 mStartRatio = mViewHolder.textView
733 public TextView textView; field in class:AnimatedRecyclerView.MyViewHolder
[all...]
/frameworks/base/core/tests/coretests/src/android/view/
H A DPopupWindowVisibility.java62 AutoCompleteTextView textView = findViewById(R.id.auto);
63 textView.setAdapter(autoAdapter);
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
H A DR$id.classR.java package com.android.layoutlib.test.myapplication public final com.android. ...
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DErrorFragment.java229 private static FontMetricsInt getFontMetricsInt(TextView textView) { argument
231 paint.setTextSize(textView.getTextSize());
232 paint.setTypeface(textView.getTypeface());
236 private static void setTopMargin(TextView textView, int topMargin) { argument
237 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) textView.getLayoutParams();
239 textView.setLayoutParams(lp);
H A DErrorSupportFragment.java232 private static FontMetricsInt getFontMetricsInt(TextView textView) { argument
234 paint.setTextSize(textView.getTextSize());
235 paint.setTypeface(textView.getTypeface());
239 private static void setTopMargin(TextView textView, int topMargin) { argument
240 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) textView.getLayoutParams();
242 textView.setLayoutParams(lp);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DAbstractDetailsDescriptionPresenter.java143 private FontMetricsInt getFontMetricsInt(TextView textView) { argument
145 paint.setTextSize(textView.getTextSize());
146 paint.setTypeface(textView.getTypeface());
236 private void setTopMargin(TextView textView, int topMargin) { argument
237 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) textView.getLayoutParams();
239 textView.setLayoutParams(lp);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSuggestionsPopupWindowTest.java74 final TextView textView = (TextView) getActivity().findViewById(R.id.textview);
75 textView.post(
77 final Spannable text = (Spannable) textView.getText();
95 final TextView textView = (TextView) getActivity().findViewById(R.id.textview);
96 textView.post(() -> textView.onTextContextMenuItem(TextView.ID_REPLACE));
147 final TextView textView = (TextView) getActivity().findViewById(R.id.textview);
148 textView.post(() -> textView.onTextContextMenuItem(TextView.ID_REPLACE));
275 final TextView textView
[all...]
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
H A DDeviceDiscoveryService.java315 private void bind(TextView textView, DeviceFilterPair device) { argument
316 textView.setText(device.getDisplayName());
317 textView.setBackgroundColor(
321 textView.setCompoundDrawablesWithIntrinsicBounds(
326 textView.setOnClickListener((view) -> {
334 final TextView textView = new TextView(DeviceDiscoveryService.this);
335 textView.setTextColor(Color.BLACK);
337 textView.setPadding(padding, padding, padding, padding);
338 textView.setCompoundDrawablePadding(padding);
339 return textView;
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
H A DPicker.java367 final TextView textView; field in class:Picker.ViewHolder
369 ViewHolder(View v, TextView textView) { argument
371 this.textView = textView;
394 TextView textView;
396 textView = (TextView) v.findViewById(mTextViewResourceId);
398 textView = (TextView) v;
400 ViewHolder vh = new ViewHolder(v, textView);
406 if (holder.textView != null && mData != null) {
407 holder.textView
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewPropertyAlphaActivity.java77 TextView textView = findViewById(R.id.spantext);
78 if (textView != null) {
93 textView.setText(text);
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DDataBindingUtilTest.java37 assertEquals(binding, DataBindingUtil.findBinding(binding.textView));
45 assertEquals(innerBinding, DataBindingUtil.findBinding(innerBinding.textView));
51 assertNull(DataBindingUtil.getBinding(binding.textView));
H A DLeakTest.java96 assertEquals("hello world", binding.textView.getText().toString());
107 assertEquals("goodbye world", binding.textView.getText().toString());
H A DTwoWayBindingAdapterTest.java236 makeVisible(mBinder.textView, mBinder.numberPicker);
237 assertTrue(focusOn(mBinder.textView));
261 assertTrue(focusOn(mBinder.textView));
361 makeVisible(mBinder.textView);
366 assertEquals("", mBinder.textView.getText().toString());
367 mBinder.textView.setText("Hello World");
379 assertEquals("Hello World", mBinder.textView.getText().toString());
564 makeVisible(mBinder.included.editText1, mBinder.textView);
569 assertEquals("", mBinder.textView.getText().toString());
584 assertEquals("Hello World", mBinder.textView
[all...]
/frameworks/base/apct-tests/perftests/core/src/android/widget/
H A DTextViewAutoSizeLayoutPerfTest.java91 TextView textView = new TextView(activity);
94 textView.requestLayout();
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DLoginActivityFromResources.java67 TextView textView = (TextView) view;
68 CharSequence text = textView.getText();
H A DLoginActivity.java81 TextView textView = (TextView) view;
82 CharSequence text = textView.getText();
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DGridWidgetTest.java4655 View textView;
4658 textView = mGridView.findViewHolderForAdapterPosition(0).itemView.findViewById(R.id.t1);
4659 rect.set(0, 0, textView.getWidth(), textView.getHeight());
4660 mGridView.offsetDescendantRectToMyCoords(textView, rect);
4665 textView = mGridView.findViewHolderForAdapterPosition(1).itemView.findViewById(R.id.t1);
4666 assertTrue(textView.getPaddingTop() > 0);
4667 rect.set(0, textView.getPaddingTop(), textView.getWidth(), textView
[all...]
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
H A DBlasBenchmark.java246 TextView textView = new TextView(this);
247 textView.setTextSize(20);
248 textView.setText("BLAS BenchMark Running.");
249 setContentView(textView);
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DTestUtilsActions.java162 TextView textView = (TextView) view;
163 textView.setText(text);
310 TextView textView = (TextView) view;
311 TextViewCompat.setCompoundDrawablesRelative(textView, start, top, end, bottom);
/frameworks/support/wear/src/android/support/wear/widget/drawer/
H A DWearableActionDrawerView.java357 public final TextView textView; field in class:WearableActionDrawerView.TitleViewHolder
362 textView = (TextView) view.findViewById(R.id.wearable_support_action_drawer_title);
410 holder.textView.setText(title);
411 holder.textView.setContentDescription(title);
418 holder.textView.setText(mTitle);
451 public final TextView textView; field in class:WearableActionDrawerView.ActionItemViewHolder
458 textView = (TextView) view.findViewById(R.id.wearable_support_action_drawer_item_text);
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java72 * AutoCompleteTextView textView = (AutoCompleteTextView)
74 * textView.setAdapter(adapter);
1390 final AutoCompleteTextView textView = mViewReference.get();
1391 if (textView != null && textView.mAdapter != null) {
1396 textView.post(updateRunnable);
1403 final AutoCompleteTextView textView = mViewReference.get();
1404 if (textView == null) {
1407 final ListAdapter adapter = textView.mAdapter;
1411 textView
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DSegmentedButtons.java73 protected void setSelectedStyle(TextView textView, boolean selected) { argument
74 textView.setTypeface(selected ? MEDIUM : REGULAR);
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/widget/
H A DEmojiInputFilterTest.java54 final TextView textView = mock(TextView.class);
58 mInputFilter = new EmojiInputFilter(textView);
/frameworks/support/wear/src/android/support/wear/internal/widget/drawer/
H A DMultiPageUi.java146 final TextView textView =
149 textView.setText(mAdapter.getItemText(position));

Completed in 1656 milliseconds

123456