Searched defs:method (Results 1 - 25 of 96) sorted by relevance

1234

/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 DHideReturnsTransformationMethod.java17 package android.text.method;
20 * This transformation method causes any carriage return characters (\r)
H A DSingleLineTransformationMethod.java17 package android.text.method;
20 * This transformation method causes any newline characters (\n) to be
H A DTimeKeyListener.java17 package android.text.method;
H A DDialerKeyListener.java17 package android.text.method;
52 * Overrides the superclass's lookup method to prefer the number field
H A DKeyListener.java17 package android.text.method;
50 * return any other value, a soft input method will be created when the
53 * not be used, instead the soft input method will take care of managing
H A DTransformationMethod.java17 package android.text.method;
39 * This method is called when the TextView that uses this
H A DAllCapsTransformationMethod.java16 package android.text.method;
H A DBaseKeyListener.java17 package android.text.method;
22 import android.text.method.TextKeyListener.Capitalize;
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/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestCaseFilter.java31 public boolean accept(Method method) { argument
32 return ((method.getParameterTypes().length == 0) &&
33 (method.getName().startsWith("test")) &&
34 (method.getReturnType().getSimpleName().equals("void")));
H A DTestCaseCollector.java46 * The class name may be in "<class name>#<method name>" format
60 * The class name may be in "<class name>#<method name>" format
76 * Adds class to test by providing class name and method name in separate strings
89 for (Method method : methods) {
90 if (mFilter.accept(method)) {
91 addSingleTestMethod(clazz, method.getName());
105 protected void addSingleTestMethod(Class<?> clazz, String method) { argument
111 testCase.setName(method);
134 * Determine if a class and its method should be accepted into test suite
140 * Determine that based on the method signatur
143 accept(Method method) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/dispatch/
H A DBroadcastDispatcher.java49 public Object dispatch(Method method, Object[] args) throws Throwable { argument
54 Object localResult = dispatchTarget.dispatch(method, args);
H A DDispatchable.java21 * Dynamically dispatch a method and its argument to some object.
23 * <p>This can be used to intercept method calls and do work around them, redirect work,
28 * Dispatch the method and arguments to this object.
29 * @param method a method defined in class {@code T}
30 * @param args arguments corresponding to said {@code method}
31 * @return the object returned when invoking {@code method}
32 * @throws Throwable any exception that might have been raised while invoking the method
34 public Object dispatch(Method method, Object[] args) throws Throwable; argument
H A DNullDispatcher.java35 public Object dispatch(Method method, Object[] args) { argument
H A DArgumentReplacingDispatcher.java47 * <p>For example, if a method {@code onAction(T1 a, Integer b, T2 c)} is invoked, and we wanted
51 * <p>If a method dispatched has less arguments than {@code argumentIndex}, it is
67 public Object dispatch(Method method, Object[] args) throws Throwable { argument
74 return mTarget.dispatch(method, args);
H A DDuckTypingDispatcher.java27 * <p>For example, if two types have identical method names and arguments, but
52 public Object dispatch(Method method, Object[] args) { argument
53 return mDuck.invoke(method.getName(), args);
H A DHandlerDispatcher.java33 * <p>Any exceptions thrown on the handler while trying to invoke a method
49 * @param dispatchTarget the destination whose method calls will be redirected into the handler
60 public Object dispatch(final Method method, final Object[] args) throws Throwable { argument
65 mDispatchTarget.dispatch(method, args);
72 Log.wtf(TAG, "IllegalAccessException while invoking " + method, e);
75 Log.wtf(TAG, "IllegalArgumentException while invoking " + method, e);
H A DInvokeDispatcher.java37 public Object dispatch(Method method, Object[] args) { argument
39 return method.invoke(mTarget, args);
46 Log.wtf(TAG, "IllegalAccessException while invoking " + method, e);
49 Log.wtf(TAG, "IllegalArgumentException while invoking " + method, e);
/frameworks/volley/src/com/android/volley/toolbox/
H A DJsonObjectRequest.java38 * @param method the HTTP method to use
45 public JsonObjectRequest(int method, String url, JSONObject jsonRequest, argument
47 super(method, url, (jsonRequest == null) ? null : jsonRequest.toString(), listener,
H A DStringRequest.java34 * Creates a new request with the given method.
36 * @param method the request {@link Method} to use
41 public StringRequest(int method, String url, Listener<String> listener, argument
43 super(method, url, errorListener);
/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
88 // with @LayoutlibDelegate, look for a matching method in the delegate class.
89 // The annotation is automatically added by layoutlib_create when it replace a method
101 // if the method is not static, then the class is added as the first parameter
122 // try to load the method with the given parameter types.
129 String.format("Delegate method %1$s.%2$s does not match the " +
130 "corresponding framework method which returns %3$s",
136 // check that the method ha
186 getMethodName(Method method) argument
190 getMethodName(Method method, Class<?>[] parameters) argument
[all...]
/frameworks/volley/tests/src/com/android/volley/mock/
H A DMockHttpURLConnection.java50 public void setRequestMethod(String method) { argument
51 mRequestMethod = method;

Completed in 183 milliseconds

1234