Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 2148) sorted by relevance

12345678910>>...86

/cts/tests/tests/text/src/android/text/method/cts/
DReplacementTransformationMethodTest.java17 package android.text.method.cts;
21 import android.text.method.ReplacementTransformationMethod;
50 MyReplacementTransformationMethod method = in testGetTransformation() local
52 CharSequence result = method.getTransformation("010101", null); in testGetTransformation()
55 mEditText.setTransformationMethod(method); in testGetTransformation()
61 ReplacementTransformationMethod method = new MyReplacementTransformationMethod(ORIGINAL, in testGetTransformationWithAbnormalCharSequence() local
65 method.getTransformation(null, null); in testGetTransformationWithAbnormalCharSequence()
71 assertEquals("", method.getTransformation("", null).toString()); in testGetTransformationWithAbnormalCharSequence()
76 ReplacementTransformationMethod method = in testGetTransformationWithAbmornalReplacement() local
78 assertEquals("333333", method.getTransformation("010101", null).toString()); in testGetTransformationWithAbmornalReplacement()
[all …]
DKeyListenerCtsActivity.java17 package android.text.method.cts;
24 import android.text.method.BaseKeyListener;
25 import android.text.method.DateKeyListener;
26 import android.text.method.DateTimeKeyListener;
27 import android.text.method.DigitsKeyListener;
28 import android.text.method.MultiTapKeyListener;
29 import android.text.method.NumberKeyListener;
30 import android.text.method.QwertyKeyListener;
31 import android.text.method.TextKeyListener;
32 import android.text.method.TimeKeyListener;
DScrollingMovementMethodTest.java17 package android.text.method.cts;
25 import android.text.method.MovementMethod;
26 import android.text.method.ScrollingMovementMethod;
92 final ScrollingMovementMethod method = new ScrollingMovementMethod(); in testOnTouchEventHorizontalMotion() local
113 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
123 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
132 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
140 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
150 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
162 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
[all …]
DLinkMovementMethodTest.java17 package android.text.method.cts;
27 import android.text.method.LinkMovementMethod;
28 import android.text.method.MovementMethod;
100 LinkMovementMethod method = new LinkMovementMethod(); in testOnTakeFocus() local
106 method.onTakeFocus(null, spannable, View.FOCUS_UP); in testOnTakeFocus()
118 method.onTakeFocus(null, spannable, View.FOCUS_RIGHT); in testOnTakeFocus()
123 method.onTakeFocus(null, spannable, View.FOCUS_UP); in testOnTakeFocus()
128 method.onTakeFocus(null, spannable, 0); in testOnTakeFocus()
134 method.onTakeFocus(new TextViewNoIme(getActivity()), null, View.FOCUS_RIGHT); in testOnTakeFocus()
230 LinkMovementMethod method = new LinkMovementMethod(); in testOnKeyUp() local
[all …]
DSingleLineTransformationMethodTest.java17 package android.text.method.cts;
21 import android.text.method.SingleLineTransformationMethod;
47 MySingleLineTranformationMethod method = new MySingleLineTranformationMethod(); in testGetReplacement() local
48 TextMethodUtils.assertEquals(new char[] { ' ', '\uFEFF' }, method.getReplacement()); in testGetReplacement()
49 TextMethodUtils.assertEquals(new char[] { '\n', '\r' }, method.getOriginal()); in testGetReplacement()
53 SingleLineTransformationMethod method = SingleLineTransformationMethod.getInstance(); in testGetTransformation() local
54 CharSequence result = method.getTransformation("hello\nworld\r", null); in testGetTransformation()
DHideReturnsTransformationMethodTest.java17 package android.text.method.cts;
20 import android.text.method.HideReturnsTransformationMethod;
33 MyHideReturnsTranformationMethod method = new MyHideReturnsTranformationMethod(); in testGetOriginal() local
34 TextMethodUtils.assertEquals(new char[] { '\r' }, method.getOriginal()); in testGetOriginal()
46 MyHideReturnsTranformationMethod method = new MyHideReturnsTranformationMethod(); in testGetReplacement() local
47 TextMethodUtils.assertEquals(new char[] { '\uFEFF' }, method.getReplacement()); in testGetReplacement()
/cts/tests/tests/jni/libjnitest/
Dmacroized_tests.c191 jmethodID method = findAppropriateMethod(env, &msg, ct, in help_CallBooleanMethod() local
194 if (method == NULL) { in help_CallBooleanMethod()
202 result = CALL(CallBooleanMethod, o, method); in help_CallBooleanMethod()
206 result = CALL(CallBooleanMethodA, o, method, NULL); in help_CallBooleanMethod()
210 result = CALL(CallBooleanMethodV, o, method, args); in help_CallBooleanMethod()
215 method); in help_CallBooleanMethod()
220 method, NULL); in help_CallBooleanMethod()
225 method, args); in help_CallBooleanMethod()
229 result = CALL(CallStaticBooleanMethod, StaticFromNative, method); in help_CallBooleanMethod()
233 result = CALL(CallStaticBooleanMethodA, StaticFromNative, method, in help_CallBooleanMethod()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/
DTSuper.d19 .method public <init>()V
24 .end method
26 .method public toInt()I
30 .end method
32 .method public toInt(F)I
36 .end method
38 .method public native toIntNative()I
39 .end method
41 .method public static toIntStatic()I
45 .end method
[all …]
DT_invoke_super_24.d18 .method public abstract test()V
19 .end method
28 .method public <init>()V
33 .end method
35 .method public test()V
37 .end method
46 .method public <init>()V
51 .end method
53 .method public run()V
58 .end method
DT_invoke_super_27.d18 .method public testDefault()V
21 .end method
26 .method public testDefault()V
29 .end method
36 .method public abstract testDefault()V
37 .end method
46 .method public <init>()V
51 .end method
53 .method public run()V
57 .end method
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/
DTSuper.d19 .method public <init>()V
24 .end method
26 .method public toInt()I
30 .end method
32 .method public toInt(F)I
36 .end method
38 .method public native toIntNative()I
39 .end method
41 .method public static toIntStatic()I
45 .end method
[all …]
DT_invoke_super_range_24.d18 .method public abstract test()V
19 .end method
28 .method public <init>()V
33 .end method
35 .method public test()V
37 .end method
46 .method public <init>()V
51 .end method
53 .method public run()V
58 .end method
DT_invoke_super_range_27.d18 .method public testDefault()V
21 .end method
26 .method public testDefault()V
29 .end method
36 .method public abstract testDefault()V
37 .end method
46 .method public <init>()V
51 .end method
53 .method public run()V
57 .end method
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/
DTSuper.d19 .method public <init>()V
24 .end method
28 .method public toInt()I
32 .end method
34 .method public toInt(F)I
38 .end method
40 .method public native toIntNative()I
41 .end method
43 .method public static toIntStatic()I
47 .end method
[all …]
DT_invoke_virtual_27.d18 .method public testDefault()V
21 .end method
26 .method public testDefault()V
29 .end method
36 .method public abstract testDefault()V
37 .end method
46 .method public <init>()V
51 .end method
53 .method public run()V
57 .end method
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual_range/d/
DTSuper.d19 .method public <init>()V
24 .end method
28 .method public toInt()I
32 .end method
34 .method public toInt(F)I
38 .end method
40 .method public native toIntNative()I
41 .end method
43 .method public static toIntStatic()I
47 .end method
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/d/
DT_rsub_int_1.d20 .method public <init>()V
25 .end method
27 .method public run(I)I
32 .end method
34 .method public run1(I)I
39 .end method
41 .method public run2(I)I
46 .end method
48 .method public run3(I)I
53 .end method
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/d/
DT_rsub_int_lit8_1.d20 .method public <init>()V
25 .end method
27 .method public run(I)I
32 .end method
34 .method public run1(I)I
39 .end method
41 .method public run2(I)I
46 .end method
48 .method public run3(I)I
53 .end method
[all …]
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DXmlReport.java108 for (ApiMethod method : apiClass.getMethods()) { in printXmlReport()
110method.getCoveredWith().stream().collect(Collectors.joining(",")); in printXmlReport()
111 out.println("<method name=\"" + method.getName() in printXmlReport()
112 + "\" returnType=\"" + method.getReturnType() in printXmlReport()
113 + "\" deprecated=\"" + method.isDeprecated() in printXmlReport()
114 + "\" static=\"" + method.isStaticMethod() in printXmlReport()
115 + "\" final=\"" + method.isFinalMethod() in printXmlReport()
116 + "\" visibility=\"" + method.getVisibility() in printXmlReport()
117 + "\" abstract=\"" + method.isAbstractMethod() in printXmlReport()
118 + "\" covered=\"" + method.isCovered() in printXmlReport()
[all …]
/cts/tests/signature/tests/src/android/signature/cts/tests/
DJDiffClassDescriptionTest.java152 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( in testStaticMethod() local
154 clz.addMethod(method); in testStaticMethod()
156 assertEquals(method.toSignatureString(), "public static void staticMethod()"); in testStaticMethod()
161 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( in testSyncMethod() local
163 clz.addMethod(method); in testSyncMethod()
165 assertEquals(method.toSignatureString(), "public synchronized void syncMethod()"); in testSyncMethod()
170 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( in testPackageProtectMethod() local
172 clz.addMethod(method); in testPackageProtectMethod()
174 assertEquals(method.toSignatureString(), "boolean packageProtectedMethod()"); in testPackageProtectMethod()
179 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( in testPrivateMethod() local
[all …]
/cts/tests/tests/media/src/android/media/cts/
DRemoteControllerTest.java136 for (Method method : listener.getClass().getDeclaredMethods()) {
137 if (!methodMap.containsKey(method.getName())) {
138 methodMap.put(method.getName(), new ArrayList<Method>());
140 methodMap.get(method.getName()).add(method);
143 for (Method method : OnClientUpdateListener.class.getDeclaredMethods()) {
144 assertTrue("Method not found: " + method.getName(),
145 methodMap.containsKey(method.getName()));
146 List<Method> implementedMethodList = methodMap.get(method.getName());
147 assertTrue("Method signature changed: " + method,
148 matchMethod(method, implementedMethodList));
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static/d/
DT_invoke_static_24.d18 .method public abstract test()V
19 .end method
28 .method public <init>()V
33 .end method
35 .method public test()V
37 .end method
46 .method public <init>()V
51 .end method
53 .method public run()V
58 .end method
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static_range/d/
DT_invoke_static_range_24.d18 .method public abstract test()V
19 .end method
28 .method public <init>()V
33 .end method
35 .method public test()V
37 .end method
46 .method public <init>()V
51 .end method
53 .method public run()V
58 .end method
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct_range/d/
DT_invoke_direct_range_26.d18 .method public abstract test()V
19 .end method
28 .method public <init>()V
33 .end method
35 .method public test()V
37 .end method
46 .method public <init>()V
51 .end method
53 .method public run()V
58 .end method
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct/d/
DT_invoke_direct_26.d18 .method public abstract test()V
19 .end method
28 .method public <init>()V
33 .end method
35 .method public test()V
37 .end method
46 .method public <init>()V
51 .end method
53 .method public run()V
58 .end method

12345678910>>...86