Home
last modified time | relevance | path

Searched refs:mEditText (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DView_UsingViewsTest.java74 private EditText mEditText; field in View_UsingViewsTest
91 mEditText = (EditText) mActivity.findViewById(R.id.entry); in setUp()
127 mEditText.setDrawingCacheEnabled(true); in testSetProperties()
128 assertTrue(mEditText.isDrawingCacheEnabled()); in testSetProperties()
131 assertEquals(View.DRAWING_CACHE_QUALITY_AUTO, mEditText.getDrawingCacheQuality()); in testSetProperties()
132 mEditText.setDrawingCacheQuality(View.DRAWING_CACHE_QUALITY_LOW); in testSetProperties()
133 assertEquals(View.DRAWING_CACHE_QUALITY_LOW, mEditText.getDrawingCacheQuality()); in testSetProperties()
134 mEditText.setDrawingCacheQuality(View.DRAWING_CACHE_QUALITY_HIGH); in testSetProperties()
135 assertEquals(View.DRAWING_CACHE_QUALITY_HIGH, mEditText.getDrawingCacheQuality()); in testSetProperties()
137 mEditText.setDrawingCacheBackgroundColor(Color.GREEN); in testSetProperties()
[all …]
/cts/tests/tests/text/src/android/text/method/cts/
DReplacementTransformationMethodTest.java37 private EditText mEditText; field in ReplacementTransformationMethodTest
46 mEditText = new EditText(getActivity()); in setUp()
55 mEditText.setTransformationMethod(method); in testGetTransformation()
56 mEditText.setText("010101"); in testGetTransformation()
80 mEditText.setTransformationMethod(method); in testGetTransformationWithAbmornalReplacement()
81 mEditText.setText("010101"); in testGetTransformationWithAbmornalReplacement()
88 mEditText.setTransformationMethod(method); in testGetTransformationWithAbmornalReplacement()
89 mEditText.setText("010101"); in testGetTransformationWithAbmornalReplacement()
99 mEditText.setTransformationMethod(method); in testGetTransformationWithAbmornalOriginal()
100 mEditText.setText("010101"); in testGetTransformationWithAbmornalOriginal()
DPasswordTransformationMethodTest.java56 private EditText mEditText; field in PasswordTransformationMethodTest
97 mEditText = (EditText) getActivity().findViewById(EDIT_TXT_ID); in setUp()
98 assertTrue(mEditText.isFocused()); in setUp()
117 mTransformedText = mMethod.getTransformation(mEditText.getText(), mEditText); in testTextChangedCallBacks()
139 mEditText.append(" "); in testTextChangedCallBacks()
167 CharSequence transformed = method.getTransformation(null, mEditText); in testGetTransformation()
189 assertTrue(mEditText.isFocused()); in testOnFocusChanged()
191 assertFalse(mEditText.isFocused()); in testOnFocusChanged()
196 assertFalse(mEditText.isFocused()); in testOnFocusChanged()
198 assertTrue(mEditText.isFocused()); in testOnFocusChanged()
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/
DTest1DetailFragment.java34 private EditText mEditText; field in Test1DetailFragment
55 mEditText = (EditText) rootView.findViewById(R.id.test1TextField); in onCreateView()
56 mEditText.setText(""); in onCreateView()
60 final String savedInput = mEditText.getText().toString(); in onCreateView()
63 mEditText.setText(""); in onCreateView()
67 imm.hideSoftInputFromWindow(mEditText.getWindowToken(), 0); in onCreateView()
DTest3DetailFragment.java41 private EditText mEditText; field in Test3DetailFragment
92 mEditText = (EditText) rootView.findViewById(R.id.test3TextField); in onCreateView()
99 imm.hideSoftInputFromWindow(mEditText.getWindowToken(), 0); in onCreateView()
105 CharSequence inputText = mEditText.getText(); in onCreateView()
114 mEditText.setText(""); in onCreateView()