Home
last modified time | relevance | path

Searched refs:TextView (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleScannerPowerLevelActivity.java27 import android.widget.TextView;
40 private Map<Integer, TextView> mMacText;
41 private Map<Integer, TextView> mCountText;
42 private Map<Integer, TextView> mRssiText;
43 private Map<Integer, TextView> mSetPowerText;
58 mRssiText = new HashMap<Integer, TextView>(); in onCreate()
59 mCountText = new HashMap<Integer, TextView>(); in onCreate()
61 mMacText = new HashMap<Integer, TextView>(); in onCreate()
62 mSetPowerText = new HashMap<Integer, TextView>(); in onCreate()
69 (TextView)findViewById(R.id.ble_ultra_low_mac)); in onCreate()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DTextSwitcherTest.java28 import android.widget.TextView;
90 TextView tv1 = new TextView(mActivity); in testSetText()
91 TextView tv2 = new TextView(mActivity); in testSetText()
97 TextView tvChild1 = (TextView) mTextSwitcher.getChildAt(0); in testSetText()
98 TextView tvChild2 = (TextView) mTextSwitcher.getChildAt(1); in testSetText()
130 TextView tv1 = new TextView(mActivity); in testSetCurrentText()
131 TextView tv2 = new TextView(mActivity); in testSetCurrentText()
137 TextView tvChild1 = (TextView) mTextSwitcher.getChildAt(0); in testSetCurrentText()
138 TextView tvChild2 = (TextView) mTextSwitcher.getChildAt(1); in testSetCurrentText()
165 TextView tv1 = new TextView(mActivity); in testAddView()
[all …]
DTextViewIsHorizontallyScrollableTest.java25 import android.widget.TextView;
53 final TextView textView = mViewGroup.findViewById( in testIsHorizontallyScrollingDefaultIsFalse()
61 final TextView textView = mViewGroup.findViewById( in testIsHorizontallyScrollingSameAsGiven()
70 final TextView textView = mViewGroup.findViewById( in testIsHorizontallyScrollingTrueToFalse()
81 final TextView textViewTrue = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML()
87 final TextView textViewFalse = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML()
94 final TextView textViewDefault = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML_returnTrueWhenSingleLineIsTrue()
98 final TextView textViewTrue = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML_returnTrueWhenSingleLineIsTrue()
102 final TextView textViewFalse = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML_returnTrueWhenSingleLineIsTrue()
109 final TextView textViewDefault = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML_returnGivenValueWhenSingleLineIsFalse()
[all …]
DTextViewSearchResultHighlightTest.java38 import android.widget.TextView;
65 private void setTextAndMeasure(TextView view, String text) { in setTextAndMeasure()
73 private Canvas prepareMockCanvas(TextView textView) { in prepareMockCanvas()
106 TextView textView = new TextView(mContext); in setAndGetNull()
113 TextView textView = new TextView(mContext); in setAndGet()
121 TextView textView = new TextView(mContext); in setAndGetColor()
128 TextView textView = new TextView(mContext); in setAndGetFocusedColor()
135 TextView textView = new TextView(mContext); in setAndGetFocusedIndex()
143 new TextView(mContext).setSearchResultHighlights(1, 2, 3); in invalidArg_oddNumberRange()
148 new TextView(mContext).setSearchResultHighlights(2, 1); in invalidArg_reversedRange()
[all …]
DViewFlipperTest.java30 import android.widget.TextView;
106 TextView iv1 = (TextView) mActivity.findViewById(R.id.viewflipper_textview1); in testViewFlipper()
107 TextView iv2 = (TextView) mActivity.findViewById(R.id.viewflipper_textview2); in testViewFlipper()
125 TextView iv1 = (TextView) mActivity.findViewById(R.id.viewflipper_textview1); in testViewFlipper()
126 TextView iv2 = (TextView) mActivity.findViewById(R.id.viewflipper_textview2); in testViewFlipper()
138 TextView iv1 = (TextView) mActivity.findViewById(R.id.viewflipper_textview1); in testViewFlipper()
139 TextView iv2 = (TextView) mActivity.findViewById(R.id.viewflipper_textview2); in testViewFlipper()
DSimpleExpandableListAdapterTest.java29 import android.widget.TextView;
183 assertTrue(result instanceof TextView); in testGetChildView()
184 assertEquals("child00", ((TextView) result).getText().toString()); in testGetChildView()
187 assertTrue(result instanceof TextView); in testGetChildView()
188 assertEquals("child30", ((TextView) result).getText().toString()); in testGetChildView()
198 assertTrue(result instanceof TextView); in testGetChildView()
199 assertEquals("child00", ((TextView) result).getText().toString()); in testGetChildView()
204 ((TextView) result.findViewById(android.R.id.text1)).getText().toString()); in testGetChildView()
207 View convertView = new TextView(mContext); in testGetChildView()
211 assertEquals("child20", ((TextView) result).getText().toString()); in testGetChildView()
[all …]
DSimpleAdapterTest.java43 import android.widget.TextView;
174 assertTrue(result instanceof TextView); in testGetView()
175 assertEquals("01", ((TextView) result).getText().toString()); in testGetView()
178 assertTrue(result instanceof TextView); in testGetView()
179 assertEquals("191", ((TextView) result).getText().toString()); in testGetView()
183 TextView convertView = (TextView) result; in testGetView()
185 assertEquals("01", ((TextView) result).getText().toString()); in testGetView()
190 assertEquals("101", ((TextView) result).getText().toString()); in testGetView()
204 assertEquals("01", ((TextView) result).getText().toString()); in testGetView()
228 ((TextView) result.findViewById(android.R.id.text1)).getText().toString()); in testSetDropDownViewResource()
[all …]
DTabHost_TabSpecTest.java38 import android.widget.TextView;
91 TextView tvTitle = (TextView) currentTabView.findViewById(idTitle); in testSetIndicator1()
100 tvTitle = (TextView) currentTabView.findViewById(idTitle); in testSetIndicator1()
118 TextView tvTitle = (TextView) currentTabView.findViewById(idTitle); in testSetIndicator2()
130 tvTitle = (TextView) currentTabView.findViewById(idTitle); in testSetIndicator2()
141 tvTitle = (TextView) currentTabView.findViewById(idTitle); in testSetIndicator2()
152 tvTitle = (TextView) currentTabView.findViewById(idTitle); in testSetIndicator2()
167 TextView currentView = (TextView) mTabHost.getCurrentView(); in testSetContent1()
189 TextView currentView = (TextView) mTabHost.getCurrentView(); in testSetContent2()
226 final TextView tv = new TextView(mActivity); in createTabContent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralAttributesActivity.java21 import android.widget.TextView;
33 private TextView mInChanMasksTx;
34 private TextView mInPosMasksTx;
35 private TextView mInEncodingsTx;
36 private TextView mInRatesTx;
38 private TextView mOutChanMaskTx;
39 private TextView mOutPosMasksTx;
40 private TextView mOutEncodingsTx;
41 private TextView mOutRatesTx;
43 private TextView mTestStatusTx;
[all …]
DUSBAudioPeripheralButtonsActivity.java25 import android.widget.TextView;
38 private TextView mBtnALabelTxt;
39 private TextView mBtnBLabelTxt;
40 private TextView mBtnCLabelTxt;
42 private TextView mBtnAStatusTxt;
43 private TextView mBtnBStatusTxt;
44 private TextView mBtnCStatusTxt;
70 mBtnALabelTxt = (TextView)findViewById(R.id.uap_buttonsBtnALabelTx); in onCreate()
71 mBtnBLabelTxt = (TextView)findViewById(R.id.uap_buttonsBtnBLabelTx); in onCreate()
72 mBtnCLabelTxt = (TextView)findViewById(R.id.uap_buttonsBtnCLabelTx); in onCreate()
[all …]
DMidiTestActivityBase.java34 import android.widget.TextView;
71 protected TextView mUSBIInputDeviceLbl;
72 protected TextView mUSBOutputDeviceLbl;
73 protected TextView mUSBTestStatusTxt;
75 protected TextView mVirtInputDeviceLbl;
76 protected TextView mVirtOutputDeviceLbl;
77 protected TextView mVirtTestStatusTxt;
79 protected TextView mBTInputDeviceLbl;
80 protected TextView mBTOutputDeviceLbl;
81 protected TextView mBTTestStatusTxt;
[all …]
DAudioColdStartBaseActivity.java23 import android.widget.TextView;
58 TextView mAttributesTxt;
59 TextView mOpenTimeTxt;
60 TextView mStartTimeTxt;
61 TextView mLatencyTxt;
62 TextView mResultsTxt;
143 mAttributesTxt = ((TextView) findViewById(R.id.coldstart_attributesTxt)); in onCreate()
144 mOpenTimeTxt = ((TextView) findViewById(R.id.coldstart_openTimeTxt)); in onCreate()
145 mStartTimeTxt = ((TextView) findViewById(R.id.coldstart_startTimeTxt)); in onCreate()
146 mLatencyTxt = (TextView) findViewById(R.id.coldstart_coldLatencyTxt); in onCreate()
[all …]
DAudioOutputDeviceNotificationsActivity.java25 import android.widget.TextView;
37 TextView mConnectView;
38 TextView mDisconnectView;
39 TextView mInfoView;
83 mConnectView = (TextView) findViewById(R.id.audio_dev_notification_connect_msg); in onCreate()
84 mDisconnectView = (TextView) findViewById(R.id.audio_dev_notification_disconnect_msg); in onCreate()
86 mInfoView = (TextView) findViewById(R.id.info_text); in onCreate()
DAudioInputDeviceNotificationsActivity.java25 import android.widget.TextView;
37 TextView mConnectView;
38 TextView mDisconnectView;
39 TextView mInfoView;
83 mConnectView = (TextView) findViewById(R.id.audio_dev_notification_connect_msg); in onCreate()
84 mDisconnectView = (TextView) findViewById(R.id.audio_dev_notification_disconnect_msg); in onCreate()
86 mInfoView = (TextView) findViewById(R.id.info_text); in onCreate()
/cts/tests/tests/widget/src/android/widget/cts/util/
DListItemFactory.java26 import android.widget.TextView;
62 final TextView middleFiller = new TextView(context); in twoButtonsSeparatedByFiller()
155 TextView result = new Button(context); in button()
195 TextView result = new TextView(context); in text()
217 ((TextView) convertView).setText(text); in convertText()
246 TextView t1 = new TextView(context); in doubleText()
255 TextView t2 = new TextView(context); in doubleText()
279 TextView t1 = (TextView) ((LinearLayout) convertView).getChildAt(0); in convertDoubleText()
280 TextView t2 = (TextView) ((LinearLayout) convertView).getChildAt(1); in convertDoubleText()
/cts/common/device-side/interactive/automation/src/main/java/com/android/interactive/steps/settings/password/
DIsItPossibleToSetNoScreenLockOrPasswordStepAutomation.java19 import android.widget.TextView;
33 .className(TextView.class).text("Continue without Pixel Imprint")).click(); in automate()
37 .className(TextView.class).text("None")).exists()) { in automate()
43 .className(TextView.class).text("None")).click(); in automate()
47 .className(TextView.class).text("None")).exists(); in automate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodTestActivityWithPrepare.java22 import android.widget.TextView;
31 private TextView mLogView;
32 private TextView mInstructionsView;
51 protected TextView getLogView() { in getLogView()
55 protected TextView getInstructionsView() { in getInstructionsView()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Dialogs/
DRobustnessResultDialog.java25 import android.widget.TextView;
45 … mTextViews.put(ResultType.WAYPOINT, (TextView) mRootView.findViewById(R.id.tvWaypointResult)); in onCreateDialog()
46 mTextViews.put(ResultType.PATH, (TextView) mRootView.findViewById(R.id.tvPathResult)); in onCreateDialog()
47 mTextViews.put(ResultType.TIME, (TextView) mRootView.findViewById(R.id.tvTimeResult)); in onCreateDialog()
48 … mTextViews.put(ResultType.ROTATION, (TextView) mRootView.findViewById(R.id.tvRotationResult)); in onCreateDialog()
/cts/tests/fragment/src/android/fragment/cts/
DLoaderActivity.java24 import android.widget.TextView;
33 public TextView textView;
34 public TextView textViewB;
42 textView = (TextView) findViewById(R.id.textA); in onCreate()
45 textViewB = new TextView(this); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DHeartRateMonitorTestActivity.java27 import android.widget.TextView;
41 private TextView mSensorText;
50 mSensorText = (TextView) findViewById(R.id.sensor_value); in onCreate()
102 TextView sensorText = (TextView) findViewById(R.id.sensor_value); in updateWidgets()
103 TextView sensorAccuracyText = (TextView) findViewById(R.id.sensor_accuracy_value); in updateWidgets()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DPartialNotImportantActivityTest.java28 import android.widget.TextView;
75 final AtomicReference<TextView> childRef = new AtomicReference<>(); in testAddAndRemoveNoImportantChild()
78 final TextView child = new TextView(activity); in testAddAndRemoveNoImportantChild()
90 final TextView child = childRef.get(); in testAddAndRemoveNoImportantChild()
119 final AtomicReference<TextView> childRef = new AtomicReference<>(); in testAddAndRemoveImportantChild()
122 final TextView text = newImportantView(activity, "Important I am"); in testAddAndRemoveImportantChild()
132 final TextView child = childRef.get(); in testAddAndRemoveImportantChild()
164 final AtomicReference<TextView> childRef = new AtomicReference<>(); in testAddImportantChildAfterSessionStarted()
174 final TextView child = newImportantView(activity, "Important I am"); in testAddImportantChildAfterSessionStarted()
182 final TextView child = childRef.get(); in testAddImportantChildAfterSessionStarted()
/cts/tests/app/app/src/android/app/stubs/
DActivityManagerStubFooActivity.java21 import android.widget.TextView;
28 final TextView tv = new TextView(this); in onCreate()
DMockApplicationActivity.java21 import android.widget.TextView;
28 TextView textView = new TextView(this); in onCreate()
DActivityManagerStubCrashActivity.java21 import android.widget.TextView;
28 final TextView tv = new TextView(this); in onCreate()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DDummyActivity.java21 import android.widget.TextView;
27 TextView text = new TextView(this); in onCreate()

12345678910>>...15