Searched refs:method (Results 1 - 25 of 112) sorted by relevance

12345

/frameworks/base/core/java/android/text/method/
H A DTransformationMethod2.java16 package android.text.method;
H A DDateKeyListener.java17 package android.text.method;
H A DDateTimeKeyListener.java17 package android.text.method;
H A DTimeKeyListener.java17 package android.text.method;
H A DTransformationMethod.java17 package android.text.method;
40 * This method is called when the TextView that uses this
H A DHideReturnsTransformationMethod.java17 package android.text.method;
27 * This transformation method causes any carriage return characters (\r)
H A DKeyListener.java17 package android.text.method;
44 * return any other value, a soft input method will be created when the
47 * not be used, instead the soft input method will take care of managing
H A DSingleLineTransformationMethod.java17 package android.text.method;
29 * This transformation method causes any newline characters (\n) to be
H A DAllCapsTransformationMethod.java16 package android.text.method;
H A DMovementMethod.java17 package android.text.method;
28 * the movement method for purposes of content navigation. The framework automatically
29 * selects an appropriate movement method based on the content of the {@link TextView}.
53 * Returns true if this movement method allows arbitrary selection
54 * of any text; false if it has no selection (like a movement method
/frameworks/base/tools/aidl/
H A Daidl_language_y.y154 p->next = (interface_item_type*)$2.method;
157 $$.interface_item = (interface_item_type*)$2.method;
161 fprintf(stderr, "%s:%d: syntax error before ';' (expected method declaration)\n",
169 method_type *method = (method_type*)malloc(sizeof(method_type));
170 method->interface_item.item_type = METHOD_TYPE;
171 method->interface_item.next = NULL;
172 method->type = $1.type;
173 method->oneway = false;
174 memset(&method->oneway_token, 0, sizeof(buffer_type));
175 method
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DInputBindResult.java23 * Bundle of information returned by input method manager about a successful
24 * binding to an input method.
30 * The input method service.
32 public final IInputMethodSession method; field in class:InputBindResult
35 * The ID for this input method, as found in InputMethodInfo; null if
36 * no input method will be bound.
46 method = _method;
52 method = IInputMethodSession.Stub.asInterface(source.readStrongBinder());
59 return "InputBindResult{" + method + " " + id
70 dest.writeStrongInterface(method);
[all...]
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DDynamicProxy.java25 * Contains a utility method for adapting a given interface against a real implementation.
34 * proxy object implementing that interface, which will forward all method calls made on the
50 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
53 .getMethod(method.getName(), method.getParameterTypes())
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/
H A DHasClassAnnotationTest.java39 Method method = aClass.getMethod("testSomeTest");
41 TestMethod testMethod = new TestMethod(method, aClass);
H A DHasMethodAnnotationTest.java42 Method method = aClass.getMethod(methodName);
43 TestMethod testMethod = new TestMethod(method, aClass);
H A DHasAnnotationTest.java46 Method method = aClass.getMethod(methodName);
47 TestMethod testMethod = new TestMethod(method, aClass);
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java41 * Injects instrumentation into this test case. This method is
51 * Injects instrumentation into this test case. This method is
73 * Utility method for launching an activity.
101 * Utility method for launching an activity with a specific Intent.
127 * Note, in most cases it is simpler to annotate the test method with
128 * {@link android.test.UiThreadTest}, which will run the entire test method on the UI thread.
129 * Use this method if you need to switch in and out of the UI thread to perform your test.
131 * @param r runnable containing test code in the {@link Runnable#run()} method
157 Method method = null;
163 method
[all...]
/frameworks/base/core/java/android/widget/
H A DEditText.java24 import android.text.method.ArrowKeyMovementMethod;
25 import android.text.method.MovementMethod;
32 * with a key listener and a movement method wouldn't do!
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestRunner.java52 for (String method: methodNames) {
53 suite.addTest(TestSuite.createTest(testClass, method));
/frameworks/base/test-runner/src/android/test/
H A DActivityInstrumentationTestCase2.java31 * <li>You can run any test method on the UI thread (see {@link android.test.UiThreadTest}).</li>
80 * For each test method invocation, the Activity will not actually be created until the first
81 * time this method is called.
89 * If your test method is annotated with {@link android.test.UiThreadTest}, then your Activity
90 * will be started automatically just before your test method is run. You still call this
91 * method in order to get the Activity under test.
114 * Call this method before the first call to {@link #getActivity} to inject a customized Intent
121 * If your test method is annotated with {@link android.test.UiThreadTest}, then you must call
124 * <p>The default Intent (if this method is not called) is:
136 * Call this method befor
[all...]
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
H A DAssignableFromTest.java54 Method method = aClass.getMethod("testX");
55 return new TestMethod(method, aClass);
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
H A DTestDelegates.java36 * {@link LayoutlibDelegate}, and look for a matching method in the delegate (named the same
38 * If the original native method is not static, then we make sure the delegate method also
86 // with @LayoutlibDelegate, look for a matching method in the delegate class.
87 // The annotation is automatically added by layoutlib_create when it replace a method
99 // if the method is not static, then the class is added as the first parameter
120 // try to load the method with the given parameter types.
124 // check that the method has the annotation
127 "Delegate method %1$s for class %2$s does not have the @LayoutlibDelegate annotation",
132 // check that the method i
171 getMethodName(Method method) argument
175 getMethodName(Method method, Class<?>[] parameters) argument
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DClassTest.java69 Method method = helloClass.getDeclaredMethod("method", (Class[]) null);
71 method.invoke(new ClassTest(), (Object[]) null);
75 method = helloClass.getDeclaredMethod("methodWithArgs", Object.class);
79 Object ret = method.invoke(new ClassTest(), invokeArgs);
84 method = helloClass.getDeclaredMethod("privateMethod", (Class[]) null);
86 method.invoke(new ClassTest(), (Object[]) null);
89 // call to the private method is being made from the same class.
113 helloClass.getMethod("method", (Class[]) null);
118 helloClass.getMethod("method", argType
140 public void method() { method in class:ClassTest
[all...]
/frameworks/base/core/jni/
H A Dandroid_nio_utils.cpp82 static jmethodID findStaticMethod(JNIEnv* env, jclass c, const char method[], argument
84 jmethodID m = env->GetStaticMethodID(c, method, params);
85 LOG_FATAL_IF(!m, "Unable to find method %s", method);
/frameworks/base/core/java/android/accounts/
H A DAbstractAccountAuthenticator.java280 private void handleException(IAccountAuthenticatorResponse response, String method, argument
284 Log.v(TAG, method + "(" + data + ")", e);
289 Log.v(TAG, method + "(" + data + ")", e);
292 method + " not supported");
295 Log.v(TAG, method + "(" + data + ")", e);
298 method + " not supported");
300 Log.w(TAG, method + "(" + data + ")", e);
302 method + " failed");

Completed in 408 milliseconds

12345