| /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
| CustomizeTileView.java | 20 import android.widget.TextView; 28 private TextView mAppLabel; 39 mAppLabel = (TextView) view.findViewById(R.id.tile_label); 59 public TextView getAppLabel() {
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
| SpTexts.java | 25 import android.widget.TextView; 34 private final ArrayMap<TextView, Integer> mTexts = new ArrayMap<>(); 40 public int add(final TextView text) { 66 private void setTextSizeH(TextView text, int sp) {
|
| /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
| TextViewTarget.java | 20 import android.widget.TextView; 30 private TextView mTextView = null; 38 if (view instanceof TextView) { 39 mTextView = (TextView)view; 41 throw new IllegalArgumentException("View must be a TextView!");
|
| /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
| GlyphCacheActivity.java | 25 import android.widget.TextView; 54 private TextView createTextView() { 55 TextView textview = new TextView(this); local 56 textview.setTextSize(6 + (int) (Math.random() * 5) * 10); 57 textview.setTextColor(0xff << 24 | (int) (Math.random() * 255) << 16 | 59 textview.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, 63 textview.setText(createString(numChars)); 65 return textview; [all...] |
| /frameworks/base/tests/Split/src/java/com/android/example/split/ |
| ActivityMain.java | 21 import android.widget.TextView;
|
| /frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
| RvArrayAdapter.java | 22 import android.widget.TextView; 29 private final TextView mTextView; 33 mTextView = (TextView) v.findViewById(android.R.id.text1); 36 public TextView getTextView() {
|
| /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
| AutoContextTest.java | 21 import android.widget.TextView;
|
| /frameworks/support/compat/jellybean-mr2/android/support/v4/widget/ |
| TextViewCompatJbMr2.java | 23 import android.widget.TextView; 27 public static void setCompoundDrawablesRelative(@NonNull TextView textView, 30 textView.setCompoundDrawablesRelative(start, top, end, bottom); 33 public static void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, 36 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, end, bottom); 39 public static void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, 42 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, end, bottom) [all...] |
| /frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
| StringPresenter.java | 20 import android.widget.TextView; 29 TextView tv = new TextView(parent.getContext()); 41 ((TextView) viewHolder.view).setText(item.toString());
|
| /packages/apps/TV/src/com/android/tv/dvr/ui/ |
| EmptyItemPresenter.java | 24 import android.widget.TextView; 44 TextView view = new TextView(parent.getContext()); 60 ((TextView) viewHolder.view).setText(
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
| HeartRateMonitorTestActivity.java | 27 import android.widget.TextView; 41 private TextView mSensorText; 50 mSensorText = (TextView) findViewById(R.id.sensor_value); 102 TextView sensorText = (TextView) findViewById(R.id.sensor_value); 103 TextView sensorAccuracyText = (TextView) findViewById(R.id.sensor_accuracy_value);
|
| /developers/build/prebuilts/gradle/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/ |
| MainActivity.java | 27 import android.widget.TextView; 54 private TextView mMultiEntryValue; 55 private TextView mChoiceEntryValue; 56 private TextView mBooleanEntryValue; 71 mMultiEntryValue = (TextView) findViewById(R.id.multi_entry_id); 72 mChoiceEntryValue = (TextView) findViewById(R.id.choice_entry_id); 73 mBooleanEntryValue = (TextView) findViewById(R.id.boolean_entry_id);
|
| /developers/build/prebuilts/gradle/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/fragments/ |
| DataFragment.java | 28 import android.widget.TextView; 38 private TextView mIntroText; 47 mIntroText = (TextView) view.findViewById(R.id.intro); 81 holder.text1 = (TextView) convertView.findViewById(android.R.id.text1); 82 holder.text2 = (TextView) convertView.findViewById(android.R.id.text2); 94 TextView text1; 95 TextView text2;
|
| /developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/ |
| MainActivity.java | 27 import android.widget.TextView; 54 private TextView mMultiEntryValue; 55 private TextView mChoiceEntryValue; 56 private TextView mBooleanEntryValue; 71 mMultiEntryValue = (TextView) findViewById(R.id.multi_entry_id); 72 mChoiceEntryValue = (TextView) findViewById(R.id.choice_entry_id); 73 mBooleanEntryValue = (TextView) findViewById(R.id.boolean_entry_id);
|
| /developers/samples/android/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/fragments/ |
| DataFragment.java | 28 import android.widget.TextView; 38 private TextView mIntroText; 47 mIntroText = (TextView) view.findViewById(R.id.intro); 81 holder.text1 = (TextView) convertView.findViewById(android.R.id.text1); 82 holder.text2 = (TextView) convertView.findViewById(android.R.id.text2); 94 TextView text1; 95 TextView text2;
|
| /development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/ |
| MainActivity.java | 27 import android.widget.TextView; 54 private TextView mMultiEntryValue; 55 private TextView mChoiceEntryValue; 56 private TextView mBooleanEntryValue; 71 mMultiEntryValue = (TextView) findViewById(R.id.multi_entry_id); 72 mChoiceEntryValue = (TextView) findViewById(R.id.choice_entry_id); 73 mBooleanEntryValue = (TextView) findViewById(R.id.boolean_entry_id);
|
| /development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/fragments/ |
| DataFragment.java | 28 import android.widget.TextView; 38 private TextView mIntroText; 47 mIntroText = (TextView) view.findViewById(R.id.intro); 81 holder.text1 = (TextView) convertView.findViewById(android.R.id.text1); 82 holder.text2 = (TextView) convertView.findViewById(android.R.id.text2); 94 TextView text1; 95 TextView text2;
|
| /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
| GuidanceStylingRelativeLayout.java | 11 import android.widget.TextView; 48 TextView mTitleView = (TextView) getRootView().findViewById(R.id.guidance_title); 49 TextView mBreadcrumbView = (TextView) getRootView().findViewById(R.id.guidance_breadcrumb); 50 TextView mDescriptionView = (TextView) getRootView().findViewById(
|
| GuidanceStylist.java | 28 import android.widget.TextView; 134 private TextView mTitleView; 135 private TextView mDescriptionView; 136 private TextView mBreadcrumbView; 156 mTitleView = (TextView) guidanceView.findViewById(R.id.guidance_title); 157 mBreadcrumbView = (TextView) guidanceView.findViewById(R.id.guidance_breadcrumb); 158 mDescriptionView = (TextView) guidanceView.findViewById(R.id.guidance_description); 224 public TextView getTitleView() { 232 public TextView getDescriptionView() { 240 public TextView getBreadcrumbView() [all...] |
| /packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
| DateTileView.java | 25 import android.widget.TextView; 53 private TextView mDateTextView; 54 private TextView mMonthTextView; 55 private TextView mYearTextView; 82 mDateTextView = (TextView) findViewById(R.id.date_tile_day); 83 mMonthTextView = (TextView) findViewById(R.id.date_tile_month); 84 mYearTextView = (TextView) findViewById(R.id.date_tile_year);
|
| /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
| CallListAdapter.java | 28 import android.widget.TextView; 93 TextView phoneNumber = (TextView) convertView.findViewById(R.id.phoneNumber); 94 TextView duration = (TextView) convertView.findViewById(R.id.duration); 95 TextView state = (TextView) convertView.findViewById(R.id.callState);
|
| /frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
| BiDiTestGridLayoutCodeLtr.java | 30 import android.widget.TextView; 86 TextView c = new TextView(context); 92 TextView c = new TextView(context); 98 TextView c = new TextView(context); 109 TextView c = new TextView(context); 114 TextView c = new EditText(context) [all...] |
| BiDiTestGridLayoutCodeRtl.java | 30 import android.widget.TextView; 86 TextView c = new TextView(context); 92 TextView c = new TextView(context); 98 TextView c = new TextView(context); 109 TextView c = new TextView(context); 114 TextView c = new EditText(context) [all...] |
| /packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/ |
| IntegrationTestUtils.java | 29 import android.widget.TextView; 75 /** Returns the result of running {@link TextView#getText()} on the ui thread. */ 76 public CharSequence getText(final TextView view) throws Throwable { 138 * Gets all {@link TextView} objects whose {@link TextView#getText()} contains the given text as 141 public List<TextView> getTextViewsWithString(final Activity activity, final String text) 147 * Gets all {@link TextView} objects whose {@link TextView#getText()} contains the given text as 150 public List<TextView> getTextViewsWithString(final View rootView, final String text) 152 return runOnUiThreadAndGetTheResult(new Callable<List<TextView>>() { [all...] |
| /packages/apps/DeskClock/src/com/android/deskclock/timer/ |
| TimerView.java | 25 import android.widget.TextView; 32 private TextView mHoursTens, mHoursOnes; 33 private TextView mMinutesTens, mMinutesOnes; 34 private TextView mSeconds; 60 mHoursTens = (TextView) findViewById(R.id.hours_tens); 62 mHoursOnes = (TextView) findViewById(R.id.hours_ones); 65 mMinutesTens = (TextView) findViewById(R.id.minutes_tens); 68 mMinutesOnes = (TextView) findViewById(R.id.minutes_ones); 71 mSeconds = (TextView) findViewById(R.id.seconds); 77 * @param textView view to measure and onb to which add start paddin [all...] |