Home
last modified time | relevance | path

Searched refs:setText (Results 1 – 25 of 118) sorted by relevance

12345

/cts/tests/tests/widget/src/android/widget/cts/util/
DListItemFactory.java59 topButton.setText("top (position " + position + ")"); in twoButtonsSeparatedByFiller()
66 middleFiller.setText("filler"); in twoButtonsSeparatedByFiller()
71 bottomButton.setText("bottom (position " + position + ")"); in twoButtonsSeparatedByFiller()
120 button.setText("left"); in horizontalButtonSlots()
128 button.setText("center"); in horizontalButtonSlots()
136 button.setText("right"); in horizontalButtonSlots()
157 result.setText(text); in button()
177 ((Button) convertView).setText(text); in convertButton()
197 result.setText(text); in text()
217 ((TextView) convertView).setText(text); in convertText()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DClipboardManagerTest.java44 clipboardManager.setText(expected); in testAccessText()
53 clipboardManager.setText(""); in testHasText()
56 clipboardManager.setText("test"); in testHasText()
59 clipboardManager.setText(null); in testHasText()
/cts/tests/tests/widget/src/android/widget/cts/
DMultiAutoCompleteTextViewTest.java95 private void setText(MultiAutoCompleteTextView m, CharSequence c) { in setText() method in MultiAutoCompleteTextViewTest
96 m.setText(c); in setText()
111 setText(mMultiAutoCompleteTextView_country, "Ar"); in testMultiAutoCompleteTextView()
114 setText(mMultiAutoCompleteTextView_country, "Arg"); in testMultiAutoCompleteTextView()
117 setText(mMultiAutoCompleteTextView_country, "Argentina"); in testMultiAutoCompleteTextView()
120 setText(mMultiAutoCompleteTextView_name, "J"); in testMultiAutoCompleteTextView()
123 setText(mMultiAutoCompleteTextView_name, "Ja"); in testMultiAutoCompleteTextView()
126 setText(mMultiAutoCompleteTextView_name, "Jacky"); in testMultiAutoCompleteTextView()
146 mMultiAutoCompleteTextView_country.setText(str); in testPerformValidation()
170 multiAutoCompleteTextView.setText(text); in testPerformFiltering()
[all …]
DEditTextTest.java80 editText.setText("android", BufferType.NORMAL); in testAccessText()
83 editText.setText("", BufferType.SPANNABLE); in testAccessText()
86 editText.setText(null, BufferType.EDITABLE); in testAccessText()
94 editText.setText(string, BufferType.EDITABLE); in testSetSelectionIndex()
124 editText.setText(string, BufferType.EDITABLE); in testSetSelectionStartstop()
162 editText.setText(string, BufferType.EDITABLE); in testSelectAll()
167 editText.setText("", BufferType.EDITABLE); in testSelectAll()
172 editText.setText(null, BufferType.EDITABLE); in testSelectAll()
181 editText.setText("android", BufferType.EDITABLE); in testExtendSelection()
DTextSwitcherTest.java63 tv1.setText(viewText1); in testSetText()
64 tv2.setText(viewText2); in testSetText()
75 textSwitcher.setText(changedText); in testSetText()
81 textSwitcher.setText(changedText); in testSetText()
87 textSwitcher.setText(null); in testSetText()
103 tv1.setText(viewText1); in testSetCurrentText()
104 tv2.setText(viewText2); in testSetCurrentText()
DExpandableListWithHeaders.java46 header.setText("Header View"); in onCreate()
52 footer.setText("Footer View"); in onCreate()
DTextViewTest.java147 mTextView.setText("", BufferType.EDITABLE); in initTextViewForTyping()
167 tv.setText(expected); in testAccessText()
170 tv.setText(null); in testAccessText()
195 mTextView.setText("Hello, Android!"); in testGetLayout()
248 mTextView.setText(LONG_TEXT, BufferType.EDITABLE); in testAccessMovementMethod()
290 mTextView.setText(content); in testLength()
293 mTextView.setText(""); in testLength()
296 mTextView.setText(null); in testLength()
350 mTextView.setText(text1, BufferType.EDITABLE); in testAccessAutoLinkMask()
368 mTextView.setText(text2, BufferType.EDITABLE); in testAccessAutoLinkMask()
[all …]
DAutoCompleteTextViewTest.java155 mAutoCompleteTextView.setText(testString); in testEnoughToFilter()
164 mAutoCompleteTextView.setText(testString); in testEnoughToFilter()
259 autoCompleteTextView.setText(STRING_TEST); in testOnTextChanged()
269 autoCompleteTextView.setText(STRING_CHECK); in testOnTextChanged()
294 mAutoCompleteTextView.setText(STRING_TEST); in testPopupWindow()
390 mAutoCompleteTextView.setText(""); in testOnFilterComplete()
423 mAutoCompleteTextView.setText(""); in testOnFilterComplete()
451 mAutoCompleteTextView.setText("test"); in testPerformFiltering()
467 mAutoCompleteTextView.setText(STRING_TEST); in testPerformFiltering()
485 mAutoCompleteTextView.setText(""); in testPerformFiltering()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioDeviceNotificationsActivity.java50 mConnectView.setText( in onAudioDevicesAdded()
57 mDisconnectView.setText( in onAudioDevicesRemoved()
77 mConnectView.setText(""); in onCreate()
78 mDisconnectView.setText(""); in onCreate()
/cts/tests/tests/text/src/android/text/method/cts/
DReplacementTransformationMethodTest.java56 mEditText.setText("010101"); in testGetTransformation()
81 mEditText.setText("010101"); in testGetTransformationWithAbmornalReplacement()
89 mEditText.setText("010101"); in testGetTransformationWithAbmornalReplacement()
100 mEditText.setText("010101"); in testGetTransformationWithAbmornalOriginal()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCrossProfileTestActivity.java56 textView.setText(R.string.provisioning_byod_cross_profile_app_work); in onCreate()
58 textView.setText(R.string.provisioning_byod_cross_profile_app_personal); in onCreate()
60 textView.setText(R.string.provisioning_byod_cross_profile_app_ctsverifier); in onCreate()
DWorkStatusTestActivity.java56 textView.setText(R.string.provisioning_byod_work_status_icon_activity); in onStart()
58 textView.setText(R.string.provisioning_byod_work_status_toast_activity); in onStart()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DResponderTestActivity.java127 mMyDeviceView.setText("Device Name: " + myDevice.deviceName); in onReceive()
143 mTextView.setText(msg); in onTestMsgReceived()
153 mTextView.setText(getReadyMsgId()); in onTestSuccess()
164 mTextView.setText(reason); in onTestFailed()
DRequesterTestActivity.java174 mTextView.setText(msg); in onTestMsgReceived()
188 mTextView.setText(reason); in onTestFailed()
199 mTextView.setText(R.string.p2p_result_success); in onTestSuccess()
212 mTextView.setText(R.string.p2p_searching_target); in searchTarget()
236 mTextView.setText( in searchTarget()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/flashlight/
DCameraFlashlightActivity.java255 mInstructionTextView.setText(String.format( in updateButtonsAndInstructionLocked()
260 mInstructionTextView.setText(R.string.camera_flashlight_next_text); in updateButtonsAndInstructionLocked()
261 mInstructionButton.setText(R.string.camera_flashlight_next_button); in updateButtonsAndInstructionLocked()
264 mInstructionTextView.setText(R.string.camera_flashlight_failed_text); in updateButtonsAndInstructionLocked()
265 mInstructionButton.setText(R.string.camera_flashlight_done_button); in updateButtonsAndInstructionLocked()
268 mInstructionTextView.setText(R.string.camera_flashlight_passed_text); in updateButtonsAndInstructionLocked()
269 mInstructionButton.setText(R.string.camera_flashlight_done_button); in updateButtonsAndInstructionLocked()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleScannerPowerLevelActivity.java70 mTimerText.setText(min + ":" + sec); in onCreate()
76 mTimerText.setText("Time is up!"); in onCreate()
175 mCountText.get(powerLevelBit).setText(t.toString());
178 .setText(intent.getStringExtra(BleScannerService.EXTRA_MAC_ADDRESS));
180 .setText(intent.getStringExtra(BleScannerService.EXTRA_RSSI));
182 mSetPowerText.get(powerLevelBit).setText("Valid power level");
185 .setText("Unknown BLe advertise tx power: " + powerLevel);
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/
DTest1DetailFragment.java52 ((EditText) rootView.findViewById(R.id.test1TextField)).setText(mItem.mName); in onCreateView()
56 mEditText.setText(""); in onCreateView()
63 mEditText.setText(""); in onCreateView()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DProjectionOffscreenActivity.java105 mStatusView.setText("Running test...");
111 mStatusView.setText("ERROR: Turned on screen too early");
142 mStatusView.setText("Please turn off your screen and turn it back on after " +
166 mStatusView.setText("Waiting for service to bind..."); in onCreate()
203 mStatusView.setText("Failed: took too long to render"); in onImageAvailable()
217 mStatusView.setText("Failed: saw unexpected color"); in onImageAvailable()
221 mStatusView.setText("Success: virtual display rendered expected color"); in onImageAvailable()
/cts/tests/tests/view/src/android/view/cts/
DView_UsingViewsTest.java169 v.setText("Test setDuplicateParentStateEnabled"); in testSetProperties()
279 mSymbolTextView.setText(ARGENTINA_SYMBOL); in testSetFocus()
372 mEditText.setText("Germany"); in testSetupListeners()
383 mEditText.setText(ARGENTINA); in testSetupListeners()
393 mEditText.setText(AMERICA); in testSetupListeners()
403 mEditText.setText(CHINA); in testSetupListeners()
413 mEditText.setText("Unknown"); in testSetupListeners()
465 mSymbolTextView.setText(ARGENTINA_SYMBOL); in showPicture()
468 mSymbolTextView.setText(AMERICA_SYMBOL); in showPicture()
471 mSymbolTextView.setText(CHINA_SYMBOL); in showPicture()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DLlcpVersionActivity.java56 mTextView.setText(R.string.nfc_llcp_version_check_info); in onCreate()
109 mTextView.setText(R.string.nfc_llcp_version_check_failure); in createNdefMessage()
117 mTextView.setText(R.string.nfc_llcp_version_check_success); in createNdefMessage()
/cts/tests/tests/text/src/android/text/util/cts/
DLinkifyTest.java115 tv.setText(text); in testAddLinks2()
123 tv.setText(spannable); in testAddLinks2()
142 tv.setText(text); in testAddLinks3()
151 tv.setText(text); in testAddLinks3()
173 tv.setText(text); in testAddLinks3()
185 tv.setText(text); in testAddLinks4()
209 tv.setText(text); in testAddLinks4()
217 tv.setText(text); in testAddLinks4()
225 tv.setText(text); in testAddLinks4()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DTvAppVerifierActivity.java88 instructions.setText(instructionTextId); in createUserItem()
91 button.setText(buttonTextId); in createUserItem()
104 instructions.setText(stringId); in createAutoItem()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DBaseSensorTestActivity.java267 textAppender.setText(text); in appendText()
528 button.setText(textResId); in enableTestResultButton()
544 textAppender.setText(testName); in logTestStart()
550 textAppender.setText(getString(instructionsResId, params)); in logInstructions()
556 textAppender.setText(getString(messageResId, params)); in logMessage()
624 textAppender.setText(testSummary); in logTestEnd()
655 public void setText(String text) { in setText() method in BaseSensorTestActivity.TextAppender
656 mTextView.setText(text); in setText()
659 public void setText(int textResId) { in setText() method in BaseSensorTestActivity.TextAppender
660 mTextView.setText(textResId); in setText()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DTapTestEmulatorActivity.java32 mTextView.setText("Number of successful taps: 0/50."); in onResume()
57 mTextView.setText("Number of successful taps: " + Integer.toString(mNumTaps) + in onApduSequenceComplete()
DThroughputEmulatorActivity.java54 mTextView.setText("PASS. Total duration: " + Long.toString(duration) + " ms " + in onApduSequenceComplete()
58 mTextView.setText("FAIL. Total duration: " + Long.toString(duration) + " ms " + in onApduSequenceComplete()

12345