Home
last modified time | relevance | path

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

12345678910>>...95

/cts/tests/tests/text/src/android/text/method/cts/
DReplacementTransformationMethodTest.java17 package android.text.method.cts;
22 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;
DLinkMovementMethodTest.java17 package android.text.method.cts;
27 import android.text.method.LinkMovementMethod;
28 import android.text.method.MovementMethod;
98 LinkMovementMethod method = new LinkMovementMethod(); in testOnTakeFocus() local
104 method.onTakeFocus(null, spannable, View.FOCUS_UP); in testOnTakeFocus()
116 method.onTakeFocus(null, spannable, View.FOCUS_RIGHT); in testOnTakeFocus()
121 method.onTakeFocus(null, spannable, View.FOCUS_UP); in testOnTakeFocus()
126 method.onTakeFocus(null, spannable, 0); in testOnTakeFocus()
132 method.onTakeFocus(new TextView(getActivity()), null, View.FOCUS_RIGHT); in testOnTakeFocus()
228 LinkMovementMethod method = new LinkMovementMethod(); in testOnKeyUp() local
[all …]
DScrollingMovementMethodTest.java17 package android.text.method.cts;
27 import android.text.method.MovementMethod;
28 import android.text.method.ScrollingMovementMethod;
91 final ScrollingMovementMethod method = new ScrollingMovementMethod(); in testOnTouchEventHorizontalMotion() local
112 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
122 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
131 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
139 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
149 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
161 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
[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()
DCtsActivity.java17 package android.text.method.cts;
20 import android.text.method.ArrowKeyMovementMethod;
21 import android.text.method.LinkMovementMethod;
22 import android.text.method.ScrollingMovementMethod;
/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
/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
/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/signature-tools/src/signature/model/impl/
DSigMethod.java50 public static String toString(IMethod method) { in toString() argument
52 builder.append(Modifier.toString(method.getModifiers())); in toString()
53 builder.append(method.getReturnType()); in toString()
55 if (method.getTypeParameters() != null in toString()
56 && !method.getTypeParameters().isEmpty()) { in toString()
60 .separate(method.getTypeParameters(), ", ")); in toString()
63 builder.append(method.getName()); in toString()
65 builder.append(method.getParameters().isEmpty() ? "" : ModelUtil in toString()
66 .separate(method.getParameters(), ", ")); in toString()
68 if (method.getExceptions() != null in toString()
[all …]
/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 …]
DT_invoke_virtual_range_24.d18 .method public abstract test()V
19 .end method
27 .method public <init>()V
32 .end method
34 .method public test()V
36 .end method
38 .method public run()V
43 .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 …]
/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 …]
DT_rsub_int_2.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
/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/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/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DXmlReport.java102 for (ApiMethod method : apiClass.getMethods()) { in printXmlReport()
103 out.println("<method name=\"" + method.getName() in printXmlReport()
104 + "\" returnType=\"" + method.getReturnType() in printXmlReport()
105 + "\" deprecated=\"" + method.isDeprecated() in printXmlReport()
106 + "\" static=\"" + method.isStaticMethod() in printXmlReport()
107 + "\" final=\"" + method.isFinalMethod() in printXmlReport()
108 + "\" visibility=\"" + method.getVisibility() in printXmlReport()
109 + "\" abstract=\"" + method.isAbstractMethod() in printXmlReport()
110 + "\" covered=\"" + method.isCovered() + "\">"); in printXmlReport()
111 if (method.isDeprecated()) { in printXmlReport()
[all …]
/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
/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

12345678910>>...95