/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleScannerPowerLevelActivity.java | 35 import android.widget.TextView; 42 private Map<Integer, TextView> mMacText; 43 private Map<Integer, TextView> mCountText; 44 private Map<Integer, TextView> mRssiText; 45 private Map<Integer, TextView> mSetPowerText; 60 mRssiText = new HashMap<Integer, TextView>(); in onCreate() 61 mCountText = new HashMap<Integer, TextView>(); in onCreate() 63 mMacText = new HashMap<Integer, TextView>(); in onCreate() 64 mSetPowerText = new HashMap<Integer, TextView>(); in onCreate() 71 (TextView)findViewById(R.id.ble_ultra_low_mac)); in onCreate() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextSwitcherTest.java | 27 import android.widget.TextView; 81 TextView tv1 = new TextView(mActivity); in testSetText() 82 TextView tv2 = new TextView(mActivity); in testSetText() 88 TextView tvChild1 = (TextView) mTextSwitcher.getChildAt(0); in testSetText() 89 TextView tvChild2 = (TextView) mTextSwitcher.getChildAt(1); in testSetText() 121 TextView tv1 = new TextView(mActivity); in testSetCurrentText() 122 TextView tv2 = new TextView(mActivity); in testSetCurrentText() 128 TextView tvChild1 = (TextView) mTextSwitcher.getChildAt(0); in testSetCurrentText() 129 TextView tvChild2 = (TextView) mTextSwitcher.getChildAt(1); in testSetCurrentText() 156 TextView tv1 = new TextView(mActivity); in testAddView() [all …]
|
D | TextViewIsHorizontallyScrollableTest.java | 25 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 …]
|
D | SimpleExpandableListAdapterTest.java | 29 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 …]
|
D | ViewFlipperTest.java | 29 import android.widget.TextView; 97 TextView iv1 = (TextView) mActivity.findViewById(R.id.viewflipper_textview1); in testViewFlipper() 98 TextView iv2 = (TextView) mActivity.findViewById(R.id.viewflipper_textview2); in testViewFlipper() 116 TextView iv1 = (TextView) mActivity.findViewById(R.id.viewflipper_textview1); in testViewFlipper() 117 TextView iv2 = (TextView) mActivity.findViewById(R.id.viewflipper_textview2); in testViewFlipper() 129 TextView iv1 = (TextView) mActivity.findViewById(R.id.viewflipper_textview1); in testViewFlipper() 130 TextView iv2 = (TextView) mActivity.findViewById(R.id.viewflipper_textview2); in testViewFlipper()
|
D | SimpleAdapterTest.java | 43 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 …]
|
D | TabHost_TabSpecTest.java | 37 import android.widget.TextView; 82 TextView tvTitle = (TextView) currentTabView.findViewById(idTitle); in testSetIndicator1() 91 tvTitle = (TextView) currentTabView.findViewById(idTitle); in testSetIndicator1() 109 TextView tvTitle = (TextView) currentTabView.findViewById(idTitle); in testSetIndicator2() 121 tvTitle = (TextView) currentTabView.findViewById(idTitle); in testSetIndicator2() 132 tvTitle = (TextView) currentTabView.findViewById(idTitle); in testSetIndicator2() 143 tvTitle = (TextView) currentTabView.findViewById(idTitle); in testSetIndicator2() 158 TextView currentView = (TextView) mTabHost.getCurrentView(); in testSetContent1() 180 TextView currentView = (TextView) mTabHost.getCurrentView(); in testSetContent2() 217 final TextView tv = new TextView(mActivity); in createTabContent()
|
D | TextViewTest.java | 142 import android.widget.TextView; 143 import android.widget.TextView.BufferType; 182 private TextView mTextView; 183 private TextView mSecondTextView; 250 new TextView(mActivity); in verifyConstructor() 251 new TextView(mActivity, null); in verifyConstructor() 252 new TextView(mActivity, null, android.R.attr.textViewStyle); in verifyConstructor() 253 new TextView(mActivity, null, 0, android.R.style.Widget_DeviceDefault_TextView); in verifyConstructor() 254 new TextView(mActivity, null, 0, android.R.style.Widget_DeviceDefault_Light_TextView); in verifyConstructor() 255 new TextView(mActivity, null, 0, android.R.style.Widget_Material_TextView); in verifyConstructor() [all …]
|
D | CursorAdapterTest.java | 40 import android.widget.TextView; 214 TextView textView = new TextView(mContext); in testGetView() 234 TextView retView = (TextView) cursorAdapter.getView(0, null, mParent); in testGetView() 239 retView = (TextView) cursorAdapter.getView(1, textView, mParent); in testGetView() 251 TextView textView = (TextView) cursorAdapter.newDropDownView(mContext, mCursor, mParent); in testNewDropDownView() 261 TextView textView = new TextView(mContext); in testGetDropDownView() 268 TextView retView = (TextView) cursorAdapter.getDropDownView(0, null, mParent); in testGetDropDownView() 273 retView = (TextView) cursorAdapter.getDropDownView(1, textView, mParent); in testGetDropDownView() 433 if (view instanceof TextView) { in bindView() 435 TextView textView = (TextView) view; in bindView() [all …]
|
D | TabWidgetTest.java | 35 import android.widget.TextView; 124 mTabWidget.addView(new TextView(mActivity)); in testTabCount() 134 TextView tab0 = (TextView) mTabWidget.getChildTabViewAt(0).findViewById(android.R.id.title); in testTabViews() 139 TextView toAdd = new TextView(mActivity); in testTabViews() 150 TextView tv0 = new TextView(mActivity); in testChildDrawableStateChanged() 151 TextView tv1 = new TextView(mActivity); in testChildDrawableStateChanged() 171 mTabWidget.addView(new TextView(mActivity)); in testSetCurrentTab() 188 mTabWidget.addView(new TextView(mActivity)); in testFocusCurrentTab() 227 mTabWidget.addView(new TextView(mActivity)); in testSetEnabled() 228 mTabWidget.addView(new TextView(mActivity)); in testSetEnabled() [all …]
|
D | CursorTreeAdapterTest.java | 42 import android.widget.TextView; 478 TextView retView; in testGetGroupView() 479 TextView textView = new TextView(mContext); in testGetGroupView() 501 retView = (TextView) adapter.getGroupView(1, true, null, mParent); in testGetGroupView() 506 retView = (TextView) adapter.getGroupView(0, true, textView, mParent); in testGetGroupView() 591 TextView retView; in testGetChildView() 592 TextView textView = new TextView(mContext); in testGetChildView() 622 retView = (TextView) adapter.getChildView(1, 0, true, null, mParent); in testGetChildView() 627 retView = (TextView) adapter.getChildView(0, 1, true, textView, mParent); in testGetChildView() 662 if (view instanceof TextView) { in bindChildView() [all …]
|
D | LinearLayoutTest.java | 45 import android.widget.TextView; 189 TextView weight02 = (TextView) parent.findViewById(R.id.weight_0_2); in testAccessWeightSum() 190 TextView weight05 = (TextView) parent.findViewById(R.id.weight_0_5); in testAccessWeightSum() 191 TextView weight03 = (TextView) parent.findViewById(R.id.weight_0_3); in testAccessWeightSum() 345 TextView topView = (TextView) mActivity.findViewById(R.id.gravity_top); in testLayoutHorizontal() 346 TextView centerView = (TextView) mActivity.findViewById(R.id.gravity_center_vertical); in testLayoutHorizontal() 347 TextView bottomView = (TextView) mActivity.findViewById(R.id.gravity_bottom); in testLayoutHorizontal() 403 TextView leftView = (TextView) mActivity.findViewById(R.id.gravity_left); in testLayoutVertical() 404 TextView centerView = (TextView) mActivity.findViewById(R.id.gravity_center_horizontal); in testLayoutVertical() 405 TextView rightView = (TextView) mActivity.findViewById(R.id.gravity_right); in testLayoutVertical() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | USBAudioPeripheralButtonsActivity.java | 26 import android.widget.TextView; 42 private TextView mBtnALabelTxt; 43 private TextView mBtnBLabelTxt; 44 private TextView mBtnCLabelTxt; 46 private TextView mBtnAStatusTxt; 47 private TextView mBtnBStatusTxt; 48 private TextView mBtnCStatusTxt; 74 mBtnALabelTxt = (TextView)findViewById(R.id.uap_buttonsBtnALabelTx); in onCreate() 75 mBtnBLabelTxt = (TextView)findViewById(R.id.uap_buttonsBtnBLabelTx); in onCreate() 76 mBtnCLabelTxt = (TextView)findViewById(R.id.uap_buttonsBtnCLabelTx); in onCreate() [all …]
|
D | ProAudioActivity.java | 34 import android.widget.TextView; 71 TextView mInputDeviceTxt; 72 TextView mOutputDeviceTxt; 73 TextView mRoundTripLatencyTxt; 74 TextView mRoundTripConfidenceTxt; 75 TextView mHDMISupportLbl; 275 ((TextView)findViewById(R.id.proAudioHasProAudioLbl)).setText("" + mClaimsProAudio); in onCreate() 285 ((TextView)findViewById(R.id.proAudioHasLLALbl)).setText("" + mClaimsLowLatencyAudio); in onCreate() 288 ((TextView)findViewById(R.id.proAudioHasMIDILbl)).setText("" + mClaimsMIDI); in onCreate() 291 ((TextView)findViewById(R.id.proAudioMidiHasUSBHostLbl)).setText("" + mClaimsUSBHostMode); in onCreate() [all …]
|
D | NDKMidiActivity.java | 38 import android.widget.TextView; 96 private TextView mUSBIInputDeviceLbl; 97 private TextView mUSBOutputDeviceLbl; 98 private TextView mUSBTestStatusTxt; 100 private TextView mVirtInputDeviceLbl; 101 private TextView mVirtOutputDeviceLbl; 102 private TextView mVirtTestStatusTxt; 104 private TextView mBTInputDeviceLbl; 105 private TextView mBTOutputDeviceLbl; 106 private TextView mBTTestStatusTxt; [all …]
|
D | AudioInputDeviceNotificationsActivity.java | 33 import android.widget.TextView; 42 TextView mConnectView; 43 TextView mDisconnectView; 75 mConnectView = (TextView)findViewById(R.id.audio_dev_notification_connect_msg); in onCreate() 76 mDisconnectView = (TextView)findViewById(R.id.audio_dev_notification_disconnect_msg); in onCreate() 78 ((TextView)findViewById(R.id.info_text)).setText(mContext.getResources().getString( in onCreate()
|
D | AudioOutputDeviceNotificationsActivity.java | 33 import android.widget.TextView; 42 TextView mConnectView; 43 TextView mDisconnectView; 75 mConnectView = (TextView)findViewById(R.id.audio_dev_notification_connect_msg); in onCreate() 76 mDisconnectView = (TextView)findViewById(R.id.audio_dev_notification_disconnect_msg); in onCreate() 78 ((TextView)findViewById(R.id.info_text)).setText(mContext.getResources().getString( in onCreate()
|
D | MidiActivity.java | 42 import android.widget.TextView; 101 private TextView mUSBIInputDeviceLbl; 102 private TextView mUSBOutputDeviceLbl; 103 private TextView mUSBTestStatusTxt; 105 private TextView mVirtInputDeviceLbl; 106 private TextView mVirtOutputDeviceLbl; 107 private TextView mVirtTestStatusTxt; 109 private TextView mBTInputDeviceLbl; 110 private TextView mBTOutputDeviceLbl; 111 private TextView mBTTestStatusTxt; [all …]
|
D | USBAudioPeripheralActivity.java | 25 import android.widget.TextView; 53 private TextView mProfileNameTx; 54 private TextView mProfileDescriptionTx; 56 private TextView mPeripheralNameTx; 79 mProfileNameTx = (TextView)findViewById(R.id.uap_profileNameTx); in connectPeripheralStatusWidgets() 81 (TextView)findViewById(R.id.uap_profileDescriptionTx); in connectPeripheralStatusWidgets() 82 mPeripheralNameTx = (TextView)findViewById(R.id.uap_peripheralNameTx); in connectPeripheralStatusWidgets()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListItemFactory.java | 26 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/tests/tests/text/src/android/text/style/cts/ |
D | TextAppearanceSpanTest.java | 37 import android.widget.TextView; 450 final TextView tv = new TextView(mContext); in testSameAsTextView_TextColor() 461 final TextView tv = new TextView(mContext); in testSameAsTextView_TextColorLink() 472 final TextView tv = new TextView(mContext); in testSameAsTextView_TextSize() 523 final TextView textView0 = new TextView(mContext); in testSameAsTextView_Typeface() 524 final TextView textView1 = new TextView(mContext); in testSameAsTextView_Typeface() 539 final TextView textView0 = new TextView(mContext); in testSameAsTextView_TypefaceWithStyle() 540 final TextView textView1 = new TextView(mContext); in testSameAsTextView_TypefaceWithStyle() 555 final TextView textView0 = new TextView(mContext); in testSameAsTextView_TypefaceWithWeight() 556 final TextView textView1 = new TextView(mContext); in testSameAsTextView_TypefaceWithWeight() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | TvAppVerifierActivity.java | 25 import android.widget.TextView; 83 TextView instructions = (TextView) item.findViewById(R.id.instructions); in createUserItem() 99 TextView instructions = (TextView) item.findViewById(R.id.instructions); in createUserItem() 115 TextView instructions = (TextView) item.findViewById(R.id.instructions); in createAutoItem() 132 TextView instructions = (TextView) item.findViewById(R.id.instructions); in createButtonItem()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | HeartRateMonitorTestActivity.java | 27 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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Dialogs/ |
D | RobustnessResultDialog.java | 25 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/ |
D | LoaderActivity.java | 24 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()
|