Searched defs:method (Results 76 - 100 of 137) sorted by last modified time

123456

/frameworks/base/core/java/android/hardware/camera2/dispatch/
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 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 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);
H A DNullDispatcher.java35 public Object dispatch(Method method, Object[] args) { argument
/frameworks/base/core/java/android/provider/
H A DDocumentsProvider.java349 * This method is especially useful if the document can be in multiple parents.
525 * Override this method to return the children documents contained
744 // transport method. We override that, and don't ever delegate to this method.
749 * WARNING: Sub-classes should not override this method. This method is non-final
762 // transport method. We override that, and don't ever delegate to this metohd.
937 public Bundle call(String method, String arg, Bundle extras) { argument
938 if (!method.startsWith("android:")) {
940 return super.call(method, ar
950 callUnchecked(String method, String arg, Bundle extras) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java60 * When you are done using the TextToSpeech instance, call the {@link #shutdown()} method
736 private <R> R runActionNoReconnect(Action<R> action, R errorResult, String method, argument
738 return runAction(action, errorResult, method, false, onlyEstablishedConnection);
741 private <R> R runAction(Action<R> action, R errorResult, String method) { argument
742 return runAction(action, errorResult, method, true, true);
745 private <R> R runAction(Action<R> action, R errorResult, String method, argument
749 Log.w(TAG, method + " failed: not bound to TTS engine");
752 return mServiceConnection.runAction(action, errorResult, method, reconnect,
836 * It is good practice for instance to call this method in the onDestroy() method o
2289 runAction(Action<R> action, R errorResult, String method, boolean reconnect, boolean onlyEstablishedConnection) argument
[all...]
/frameworks/base/core/java/android/text/
H A DLayout.java24 import android.text.method.TextKeyListener;
2039 private char getEllipsisChar(TextUtils.TruncateAt method) { argument
2040 return (method == TextUtils.TruncateAt.END_SMALL) ?
2046 char[] dest, int destoff, TextUtils.TruncateAt method) {
2060 c = getEllipsisChar(method); // ellipsis
2045 ellipsize(int start, int end, int line, char[] dest, int destoff, TextUtils.TruncateAt method) argument
/frameworks/base/core/java/android/text/method/
H A DAllCapsTransformationMethod.java16 package android.text.method;
H A DArrowKeyMovementMethod.java17 package android.text.method;
29 * A movement method that provides cursor movement and selection.
H A DBaseKeyListener.java17 package android.text.method;
29 import android.text.method.TextKeyListener.Capitalize;
H A DBaseMovementMethod.java17 package android.text.method;
147 * {@link #onKeyDown(TextView, Spannable, int, KeyEvent)} calls this method once
149 * {@link #onKeyOther(TextView, Spannable, KeyEvent)} calls this method repeatedly
H A DCharacterPickerDialog.java17 package android.text.method;
H A DDateKeyListener.java17 package android.text.method;
H A DDateTimeKeyListener.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 DDigitsKeyListener.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 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 DLinkMovementMethod.java17 package android.text.method;
30 * A movement method that traverses links in the text buffer and scrolls if necessary.
H A DMetaKeyKeyListener.java17 package android.text.method;
170 * is stored into the text buffer. This method retrieves the meta state
268 * Call this method after you handle a keypress so that the meta
305 * Call this if you are a method that ignores the locked meta state
429 * Call this if you are a method that ignores the locked meta state
512 * Call this method after you handle a keypress so that the meta
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
H A DMultiTapKeyListener.java17 package android.text.method;
25 import android.text.method.TextKeyListener.Capitalize;
224 for (Object method : methods) {
225 content.removeSpan(method);

Completed in 161 milliseconds

123456