/aosp12/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
H A D | PhoneCallDetailsViews.java | 21 import android.widget.TextView; 32 public final TextView callLocationAndDate; 37 public final TextView callAccountLabel; 43 TextView callLocationAndDate, in PhoneCallDetailsViews() 45 TextView voicemailTranscriptionView, in PhoneCallDetailsViews() 46 TextView voicemailTranscriptionBrandingView, in PhoneCallDetailsViews() 48 TextView callAccountLabel) { in PhoneCallDetailsViews() 85 new TextView(context), in createForTest() 87 new TextView(context), in createForTest() 88 new TextView(context), in createForTest() [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/ |
H A D | VoicemailErrorAlert.java | 24 import android.widget.TextView; 42 private final TextView header; 43 private final TextView details; 44 private final TextView primaryAction; 121 TextView tosTitle = (TextView) view.findViewById(R.id.tos_message_title); in getTosView() 123 TextView tosDetails = (TextView) view.findViewById(R.id.tos_message_details); in getTosView() 129 TextView primaryButton = (TextView) view.findViewById(R.id.voicemail_tos_button_decline); in getTosView() 133 TextView secondaryButton = (TextView) view.findViewById(R.id.voicemail_tos_button_accept); in getTosView() 153 TextView[] buttons = new TextView[] {primaryAction, secondaryAction}; in bindActions() 154 TextView[] raisedButtons = new TextView[] {primaryActionRaised, secondaryActionRaised}; in bindActions() [all …]
|
/aosp12/frameworks/base/core/java/android/text/method/ |
H A D | BaseMovementMethod.java | 24 import android.widget.TextView; 36 public void initialize(TextView widget, Spannable text) { in initialize() 276 protected boolean up(TextView widget, Spannable buffer) { in up() 324 protected boolean top(TextView widget, Spannable buffer) { in top() 402 private int getTopLine(TextView widget) { in getTopLine() 406 private int getBottomLine(TextView widget) { in getBottomLine() 410 private int getInnerWidth(TextView widget) { in getInnerWidth() 414 private int getInnerHeight(TextView widget) { in getInnerHeight() 418 private int getCharacterWidth(TextView widget) { in getCharacterWidth() 422 private int getScrollBoundsLeft(TextView widget) { in getScrollBoundsLeft() [all …]
|
H A D | ScrollingMovementMethod.java | 23 import android.widget.TextView; 30 protected boolean left(TextView widget, Spannable buffer) { in left() 35 protected boolean right(TextView widget, Spannable buffer) { in right() 40 protected boolean up(TextView widget, Spannable buffer) { in up() 45 protected boolean down(TextView widget, Spannable buffer) { in down() 50 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp() 60 protected boolean top(TextView widget, Spannable buffer) { in top() 65 protected boolean bottom(TextView widget, Spannable buffer) { in bottom() 75 protected boolean lineEnd(TextView widget, Spannable buffer) { in lineEnd() 80 protected boolean home(TextView widget, Spannable buffer) { in home() [all …]
|
H A D | MovementMethod.java | 22 import android.widget.TextView; 36 public void initialize(TextView widget, Spannable text); in initialize() 37 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event); in onKeyDown() 38 public boolean onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event); in onKeyUp() 45 public boolean onKeyOther(TextView view, Spannable text, KeyEvent event); in onKeyOther() 47 public void onTakeFocus(TextView widget, Spannable text, int direction); in onTakeFocus() 48 public boolean onTrackballEvent(TextView widget, Spannable text, MotionEvent event); in onTrackballEvent() 49 public boolean onTouchEvent(TextView widget, Spannable text, MotionEvent event); in onTouchEvent() 50 public boolean onGenericMotionEvent(TextView widget, Spannable text, MotionEvent event); in onGenericMotionEvent()
|
H A D | ArrowKeyMovementMethod.java | 26 import android.widget.TextView; 42 private static int getPageHeight(TextView widget) { in getPageHeight() 69 protected boolean left(TextView widget, Spannable buffer) { in left() 79 protected boolean right(TextView widget, Spannable buffer) { in right() 89 protected boolean up(TextView widget, Spannable buffer) { in up() 99 protected boolean down(TextView widget, Spannable buffer) { in down() 109 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp() 157 protected boolean top(TextView widget, Spannable buffer) { in top() 215 protected boolean home(TextView widget, Spannable buffer) { in home() 220 protected boolean end(TextView widget, Spannable buffer) { in end() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | CreateViewTest.java | 26 import android.widget.TextView; 77 TextView text = new TextView(mContext); in testLayout4() 83 TextView text = new TextView(mContext); in testLayout5() 94 TextView one = new TextView(mContext); in testLayout6() 98 TextView two = new TextView(mContext); in testLayout6() 102 TextView three = new TextView(mContext); in testLayout6() 106 TextView four = new TextView(mContext); in testLayout6() 110 TextView five = new TextView(mContext); in testLayout6() 114 TextView six = new TextView(mContext); in testLayout6()
|
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | WifiStatusTest.java | 37 import android.widget.TextView; 56 private TextView mWifiState; 59 private TextView mRSSI; 60 private TextView mBSSID; 61 private TextView mSSID; 62 private TextView mHiddenSSID; 63 private TextView mIPAddr; 64 private TextView mMACAddr; 65 private TextView mNetworkId; 66 private TextView mTxLinkSpeed; [all …]
|
/aosp12/packages/apps/Settings/src/com/android/settings/datausage/ |
H A D | DataUsageSummaryPreference.java | 37 import android.widget.TextView; 174 TextView usageTitle = getUsageTitle(holder); in onBindViewHolder() 175 TextView carrierInfo = getCarrierInfo(holder); in onBindViewHolder() 177 TextView limitInfo = getDataLimits(holder); in onBindViewHolder() 191 TextView cycleTime = getCycleTime(holder); in onBindViewHolder() 240 TextView usageNumberField = getDataUsed(holder); in updateDataUsageLabels() 280 TextView cycleTime = getCycleTime(holder); in updateCycleTimeText() 302 private void updateCarrierInfo(TextView carrierInfo) { 378 return (TextView) holder.findViewById(R.id.usage_title); in getUsageTitle() 417 protected TextView getLabel1(PreferenceViewHolder holder) { in getLabel1() [all …]
|
/aosp12/packages/apps/CertInstaller/src/com/android/certinstaller/ |
H A D | ViewHelper.java | 20 import android.widget.TextView; 34 TextView v = (TextView) mView.findViewById(R.id.error); in showError() 40 return ((TextView) mView.findViewById(viewId)).getText().toString(); in getText() 45 TextView v = (TextView) mView.findViewById(viewId); in setText() 50 TextView v = (TextView) mView.findViewById(viewId); in setText()
|
/aosp12/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
H A D | MainActivity.java | 31 import android.widget.TextView; 39 TextView mDimenWidthView; 40 TextView mDimenHeightView; 42 TextView mWallOffXView; 43 TextView mWallOffYView; 45 TextView mPaddingLeftView; 46 TextView mPaddingRightView; 47 TextView mPaddingTopView; 48 TextView mPaddingBottomView; 50 TextView mDispOffXView; [all …]
|
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/projection/ |
H A D | ProjectionFragment.java | 26 import android.widget.TextView; 43 private TextView mCurrentProjectionStatus; 44 private TextView mCurrentProjectionPackage; 73 TextView detailPackage = detailLayout.findViewById(R.id.projection_detail_package); in onProjectionStatusChanged() 76 TextView detailState = detailLayout.findViewById(R.id.projection_detail_state); in onProjectionStatusChanged() 79 TextView detailTransport = in onProjectionStatusChanged() 89 TextView deviceId = deviceLayout.findViewById(R.id.projection_device_id); in onProjectionStatusChanged() 92 TextView deviceName = deviceLayout.findViewById(R.id.projection_device_name); in onProjectionStatusChanged() 98 TextView transportView = new TextView(mActivity); in onProjectionStatusChanged() 104 TextView deviceProjecting = in onProjectionStatusChanged() [all …]
|
/aosp12/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/ |
H A D | AddressView.java | 9 import android.widget.TextView; 12 private TextView mNameView; 13 private TextView mStreetView; 14 private TextView mCityStateZipView; 15 private TextView mCountryView; 22 mNameView = (TextView) view.findViewById(R.id.name); in AddressView() 23 mStreetView = (TextView) view.findViewById(R.id.street); in AddressView() 24 mCityStateZipView = (TextView) view.findViewById(R.id.cityStateZip); in AddressView() 25 mCountryView = (TextView) view.findViewById(R.id.country); in AddressView()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListItemFactory.java | 26 import android.widget.TextView; 62 final TextView middleFiller = new TextView(context); in twoButtonsSeparatedByFiller() 156 TextView result = new Button(context); in button() 196 TextView result = new TextView(context); in text() 218 ((TextView) convertView).setText(text); in convertText() 247 TextView t1 = new TextView(context); in doubleText() 256 TextView t2 = new TextView(context); in doubleText() 281 TextView t1 = (TextView) ((LinearLayout) convertView).getChildAt(0); in convertDoubleText() 282 TextView t2 = (TextView) ((LinearLayout) convertView).getChildAt(1); in convertDoubleText()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
H A D | SummaryPreferenceTest.java | 24 import android.widget.TextView; 57 final TextView textView1 = (TextView) mHolder.findViewById(android.R.id.text1); in disableChart_shouldNotRender() 60 final TextView textView2 = (TextView) mHolder.findViewById(android.R.id.text2); in disableChart_shouldNotRender() 72 final TextView textView1 = (TextView) mHolder.findViewById(android.R.id.text1); in enableChart_shouldRender() 75 final TextView textView2 = (TextView) mHolder.findViewById(android.R.id.text2); in enableChart_shouldRender()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | TextViewActions.java | 27 import android.widget.TextView; 198 TextView.class)); in longPressAndDragOnText() 300 TextView.class)); in doubleTapAndDragOnText() 322 TextView.class)); in mouseDragOnText() 344 TextView.class)); in mouseDoubleClickAndDragOnText() 366 TextView.class)); in mouseLongClickAndDragOnText() 388 TextView.class)); in mouseTripleClickAndDragOnText() 458 TextView.class)); in dragOnText() 466 private final TextView mTextView; 470 public CurrentHandleCoordinates(TextView textView) { in CurrentHandleCoordinates() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | TextViewTest.java | 37 import android.widget.TextView.BufferType; 64 private TextView mTextView; 76 mTextView = new TextView(mActivity); in testArray() 107 mTextView = new TextView(mActivity); in testHyphenationWidth() 159 mTextView = new TextView(mActivity); in testCopyShouldNotThrowException() 169 mTextView = new TextView(mActivity); in testCutShouldNotThrowException() 178 mTextView = new TextView(mActivity); in testUseDynamicLayout() 203 mTextView = new TextView(mActivity); in testUseDynamicLayout_SPANNABLE() 229 mTextView = new TextView(mActivity); in testUseDynamicLayout_EDITABLE() 282 mTextView = new TextView(mActivity); in setSetImeConsumesInput_recoveryToVisible() [all …]
|
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
H A D | NetworkListAdapter.java | 27 import android.widget.TextView; 189 public TextView netId; 190 public TextView netType; 191 public TextView netState; 192 public TextView connected; 193 public TextView available; 194 public TextView roaming; 195 public TextView netIface; 198 public TextView dns; 199 public TextView domains; [all …]
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/ |
H A D | FontScalePreviewFragment.java | 25 import android.widget.TextView; 59 TextView title = ((TextView) view.findViewById(R.id.preview_title)); in onCreateView() 64 TextView subtitle = ((TextView) view.findViewById(R.id.preview_subtitle)); in onCreateView() 69 TextView sampleContent = ((TextView) view.findViewById(R.id.preview_content)); in onCreateView() 82 TextView sampleText = (TextView) v; in onLayoutChange()
|
/aosp12/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/span/ |
H A D | LinkSpanTest.java | 28 import android.widget.TextView; 39 final TextView textView = new TextView(context); in onClick_shouldCallListenerOnContext() 51 final TextView textView = new TextView(application); in onClick_contextDoesNotImplementOnClickListener_shouldBeNoOp() 64 final TextView textView = new TextView(wrapperContext); in onClick_contextWrapsOnClickListener_shouldCallWrappedListener() 76 final TextView textView = new TextView(context); in onClick_shouldClearSelection()
|
/aosp12/frameworks/base/tools/aapt2/integration-tests/NamespaceTest/LibTwo/src/com/android/aapt/namespace/libtwo/ |
H A D | TextView.java | 22 public class TextView extends android.widget.TextView { class 26 public TextView(Context context) { in TextView() method in TextView 30 public TextView(Context context, AttributeSet attrs) { in TextView() method in TextView 34 public TextView(Context context, AttributeSet attrs, int defStyleAttr) { in TextView() method in TextView 38 public TextView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in TextView() method in TextView 41 final TypedArray ta = context.getTheme().obtainStyledAttributes(attrs, R.styleable.TextView, in TextView()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppTransferActivity.java | 50 import android.widget.TextView; 80 private TextView mPercentView; 84 private TextView mLine1View, mLine2View, mLine3View, mLine5View; 262 mLine1View = (TextView) mView.findViewById(R.id.line1_view); in customizeViewContent() 265 mLine2View = (TextView) mView.findViewById(R.id.line2_view); in customizeViewContent() 268 mLine3View = (TextView) mView.findViewById(R.id.line3_view); in customizeViewContent() 272 mLine5View = (TextView) mView.findViewById(R.id.line5_view); in customizeViewContent() 281 mLine1View = (TextView) mView.findViewById(R.id.line1_view); in customizeViewContent() 284 mLine2View = (TextView) mView.findViewById(R.id.line2_view); in customizeViewContent() 287 mLine3View = (TextView) mView.findViewById(R.id.line3_view); in customizeViewContent() [all …]
|
/aosp12/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A D | ObjectViewer.java | 35 import android.widget.TextView; 120 TextView view = (TextView)findViewById(R.id.name); in onResume() 123 view = (TextView)findViewById(R.id.format); in onResume() 125 view = (TextView)findViewById(R.id.size); in onResume() 133 view = (TextView)findViewById(R.id.width); in onResume() 135 view = (TextView)findViewById(R.id.height); in onResume() 137 view = (TextView)findViewById(R.id.depth); in onResume() 139 view = (TextView)findViewById(R.id.sequence); in onResume() 141 view = (TextView)findViewById(R.id.created); in onResume() 144 view = (TextView)findViewById(R.id.modified); in onResume() [all …]
|
/aosp12/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/synthetic/ |
H A D | MemoryActivity.java | 26 import android.widget.TextView; 35 private TextView mTextStatus; 36 private TextView mTextMin; 37 private TextView mTextMax; 38 private TextView mTextTypical; 59 mTextStatus = (TextView) findViewById(R.id.textView_status); in onCreate() 60 mTextMin = (TextView) findViewById(R.id.textView_min); in onCreate() 61 mTextMax = (TextView) findViewById(R.id.textView_max); in onCreate() 62 mTextTypical = (TextView) findViewById(R.id.textView_typical); in onCreate()
|
/aosp12/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | EnvReverbTest.java | 30 import android.widget.TextView; 58 TextView mSendLevelDisplay; 72 TextView textView; in onCreate() 114 textView = (TextView)findViewById(R.id.rvbParam1Value); in onCreate() 120 textView = (TextView)findViewById(R.id.rvbParam2Value); in onCreate() 126 textView = (TextView)findViewById(R.id.rvbParam3Value); in onCreate() 132 textView = (TextView)findViewById(R.id.rvbParam4Value); in onCreate() 138 textView = (TextView)findViewById(R.id.rvbParam5Value); in onCreate() 144 textView = (TextView)findViewById(R.id.rvbParam6Value); in onCreate() 150 textView = (TextView)findViewById(R.id.rvbParam7Value); in onCreate() [all …]
|