Home
last modified time | relevance | path

Searched refs:mMethod (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/text/src/android/text/method/cts/
DTransformationMethodTest.java62 private TransformationMethod mMethod; field in TransformationMethodTest
79 mMethod = mock(TransformationMethod.class); in setup()
80 when(mMethod.getTransformation(any(), any())).then(returnsFirstArg()); in setup()
85 mEditText.setTransformationMethod(mMethod); in setup()
104 reset(mMethod); in testGetTransformation()
105 when(mMethod.getTransformation(any(), any())).then(returnsFirstArg()); in testGetTransformation()
108 verify(mMethod, atLeastOnce()).getTransformation(any(), any()); in testGetTransformation()
114 reset(mMethod); in testOnFocusChanged()
118 verify(mMethod, atLeastOnce()).onFocusChanged(any(), any(), anyBoolean(), anyInt(), any()); in testOnFocusChanged()
121 reset(mMethod); in testOnFocusChanged()
[all …]
DPasswordTransformationMethodTest.java96 private PasswordTransformationMethod mMethod; field in PasswordTransformationMethodTest
115 mMethod = spy(new PasswordTransformationMethod()); in setup()
121 editText.setTransformationMethod(mMethod); in setup()
187 mTransformedText = mMethod.getTransformation(mEditText.getText(), mEditText)); in testTextChangedCallBacks()
189 reset(mMethod); in testTextChangedCallBacks()
200 verify(mMethod, atLeastOnce()).beforeTextChanged(any(), anyInt(), anyInt(), anyInt()); in testTextChangedCallBacks()
201 verify(mMethod, atLeastOnce()).onTextChanged(any(), anyInt(), anyInt(), anyInt()); in testTextChangedCallBacks()
202 verify(mMethod, atLeastOnce()).afterTextChanged(any()); in testTextChangedCallBacks()
204 reset(mMethod); in testTextChangedCallBacks()
211 verify(mMethod, atLeastOnce()).beforeTextChanged(any(), anyInt(), anyInt(), anyInt()); in testTextChangedCallBacks()
[all …]
DLinkMovementMethodTest.java76 private LinkMovementMethod mMethod; field in LinkMovementMethodTest
95 mMethod = new LinkMovementMethod(); in setup()
179 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown()
189 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown()
199 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown()
208 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown()
218 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown()
232 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, event)); in testOnKeyDown()
240 mMethod.onKeyDown(null, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown_nullViewParam()
247 mMethod.onKeyDown(mView, null, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown_nullSpannableParam()
[all …]
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/
DMethodAnalyzer.java43 private final MethodProfile mMethod; field in MethodAnalyzer
57 mMethod = methodProfile; in MethodAnalyzer()
72 mMethod.annotationManagement.addAnnotation(annotationClass); in visitAnnotation()
74 return new AnnotationAnalyzer(mMethod.annotationManagement, packageClass.getSecond()); in visitAnnotation()
118 mMethod.addApiConstructorCall(callMethod); in handleMethodCall()
120 mMethod.addApiMethodCall(callMethod); in handleMethodCall()
123 mMethod.addCommonMethodCall(callMethod); in handleMethodCall()
DTarJan.java42 final MethodProfile mMethod; field in TarJan.Node
48 mMethod = method; in Node()
95 mComponentNodes.get(mNewNodeIndex).add(w.mMethod); in tarjan()
/cts/libs/webkit-shared/src/android/webkit/cts/
DHttpRequest.java42 private String mMethod; field in HttpRequest
59 mMethod = apacheRequest.getRequestLine().getMethod(); in HttpRequest()
90 mMethod = in.readString(); in HttpRequest()
100 out.writeString(mMethod); in writeToParcel()
126 return mMethod; in getMethod()
/cts/tools/cts-api-coverage/src/com/android/cts/ctsprofiles/
DMethodProfile.java30 private final String mMethod; field in MethodProfile
73 mMethod = methodName; in MethodProfile()
78 return mMethod; in getMethodName()
111 mClass.getPackageName(), mClass.getClassName(), mMethod, mParams); in getMethodSignatureWithClass()
157 if (mClass.isJunit3Class() && mMethod.startsWith("test")) { in isJunit3Method()
/cts/tests/tests/os/src/android/os/cts/
DHwBinderTest.java65 mMethod = method; in MarshalCase()
70 private DoMarshalCase mMethod; field in HwBinderTest.MarshalCase
78 mMethod.test(blob, offset); in test()