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

1234567891011>>

/frameworks/base/core/java/android/text/method/
H A DTransformationMethod2.java16 package android.text.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")));
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DExpandableListViewBindingAdapter.java23 @BindingMethod(type = ExpandableListView.class, attribute = "android:onChildClick", method = "setOnChildClickListener"),
24 @BindingMethod(type = ExpandableListView.class, attribute = "android:onGroupClick", method = "setOnGroupClickListener"),
25 @BindingMethod(type = ExpandableListView.class, attribute = "android:onGroupCollapse", method = "setOnGroupCollapseListener"),
26 @BindingMethod(type = ExpandableListView.class, attribute = "android:onGroupExpand", method = "setOnGroupExpandListener"),
H A DTabWidgetBindingAdapter.java22 @BindingMethod(type = android.widget.TabWidget.class, attribute = "android:divider", method = "setDividerDrawable"),
23 @BindingMethod(type = android.widget.TabWidget.class, attribute = "android:tabStripEnabled", method = "setStripEnabled"),
24 @BindingMethod(type = android.widget.TabWidget.class, attribute = "android:tabStripLeft", method = "setLeftStripDrawable"),
25 @BindingMethod(type = android.widget.TabWidget.class, attribute = "android:tabStripRight", method = "setRightStripDrawable"),
H A DVideoViewBindingAdapter.java24 @BindingMethod(type = VideoView.class, attribute = "android:onCompletion", method = "setOnCompletionListener"),
25 @BindingMethod(type = VideoView.class, attribute = "android:onError", method = "setOnErrorListener"),
26 @BindingMethod(type = VideoView.class, attribute = "android:onInfo", method = "setOnInfoListener"),
27 @BindingMethod(type = VideoView.class, attribute = "android:onPrepared", method = "setOnPreparedListener"),
H A DProgressBarBindingAdapter.java22 @BindingMethod(type = android.widget.ProgressBar.class, attribute = "android:indeterminateTint", method = "setIndeterminateTintList"),
23 @BindingMethod(type = android.widget.ProgressBar.class, attribute = "android:progressTint", method = "setProgressTintList"),
24 @BindingMethod(type = android.widget.ProgressBar.class, attribute = "android:secondaryProgressTint", method = "setSecondaryProgressTintList"),
H A DCheckedTextViewBindingAdapter.java22 @BindingMethod(type = android.widget.CheckedTextView.class, attribute = "android:checkMark", method = "setCheckMarkDrawable"),
23 @BindingMethod(type = android.widget.CheckedTextView.class, attribute = "android:checkMarkTint", method = "setCheckMarkTintList"),
H A DLinearLayoutBindingAdapter.java22 @BindingMethod(type = android.widget.LinearLayout.class, attribute = "android:divider", method = "setDividerDrawable"),
23 @BindingMethod(type = android.widget.LinearLayout.class, attribute = "android:measureWithLargestChild", method = "setMeasureWithLargestChildEnabled"),
H A DToolbarBindingAdapter.java23 @BindingMethod(type = Toolbar.class, attribute = "android:onMenuItemClick", method = "setOnMenuItemClickListener"),
24 @BindingMethod(type = Toolbar.class, attribute = "android:onNavigationClick", method = "setNavigationOnClickListener"),
H A DZoomControlsBindingAdapter.java23 @BindingMethod(type = ZoomControls.class, attribute = "android:onZoomIn", method = "setOnZoomInClickListener"),
24 @BindingMethod(type = ZoomControls.class, attribute = "android:onZoomOut", method = "setOnZoomOutClickListener"),
H A DAbsSeekBarBindingAdapter.java22 @BindingMethod(type = android.widget.AbsSeekBar.class, attribute = "android:thumbTint", method = "setThumbTintList"),
H A DActionMenuViewBindingAdapter.java23 @BindingMethod(type = ActionMenuView.class, attribute = "android:onMenuItemClick", method = "setOnMenuItemClickListener"),
H A DChronometerBindingAdapter.java23 @BindingMethod(type = Chronometer.class, attribute = "android:onChronometerTick", method = "setOnChronometerTickListener"),
H A DFrameLayoutBindingAdapter.java22 @BindingMethod(type = android.widget.FrameLayout.class, attribute = "android:foregroundTint", method = "setForegroundTintList"),
H A DSpinnerBindingAdapter.java22 @BindingMethod(type = android.widget.Spinner.class, attribute = "android:popupBackground", method = "setPopupBackgroundDrawable"),
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
H A DCallbackWrapper.java35 public final ModelMethod method; field in class:CallbackWrapper
43 public CallbackWrapper(ModelClass klass, ModelMethod method) { argument
45 this.method = method;
46 this.key = uniqueKey(klass, method);
76 public static String uniqueKey(ModelClass klass, ModelMethod method) { argument
77 String base = klass.getCanonicalName() + "#" + method.getName();
78 for (ModelClass param : method.getParameterTypes()) {
97 return Math.min(method.getMinApi(), klass.getMinApi());
/frameworks/base/tests/testables/src/android/testing/
H A DAndroidTestingRunner.java52 protected Statement methodInvoker(FrameworkMethod method, Object test) { argument
53 method = looperWrap(method, test, method);
54 final Statement statement = super.methodInvoker(method, test);
55 return shouldRunOnUiThread(method) ? new UiThreadStatement(statement, true) : statement;
58 protected Statement withBefores(FrameworkMethod method, Object target, Statement statement) { argument
59 List befores = looperWrap(method, target,
61 return befores.isEmpty() ? statement : new RunBefores(method, statement,
65 protected Statement withAfters(FrameworkMethod method, Objec argument
72 withPotentialTimeout(FrameworkMethod method, Object test, Statement next) argument
85 looperWrap(FrameworkMethod method, Object test, List<FrameworkMethod> methods) argument
99 looperWrap(FrameworkMethod method, Object test, FrameworkMethod base) argument
109 shouldRunOnUiThread(FrameworkMethod method) argument
[all...]
/frameworks/base/tests/utils/testutils/java/android/app/test/
H A DMockAnswerUtil.java32 * Answer that calls the method in the Answer called "answer" that matches the type signature of
33 * the method being answered. An error will be thrown at runtime if the signature does not match
39 Method method = invocation.getMethod();
41 Method implementation = getClass().getMethod("answer", method.getParameterTypes());
42 if (!implementation.getReturnType().equals(method.getReturnType())) {
43 throw new RuntimeException("Found answer method does not have expected return "
44 + "type. Expected: " + method.getReturnType() + ", got "
51 throw new RuntimeException("Error invoking answer method", e);
56 throw new RuntimeException("Could not find answer method with the expected args "
57 + Arrays.toString(method
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DModelClass.java243 * @param name The name of the method to find.
244 * @param args The types that the method should accept.
247 * @param allowProtected true if the method can be protected as well as public.
256 for (ModelMethod method : methods) {
257 if ((method.isPublic() || (allowProtected && method.isProtected())) &&
258 (!staticOnly || method.isStatic()) &&
259 name.equals(method.getName()) && method.acceptsArguments(args)) {
260 matching.add(method);
[all...]
H A DCallable.java39 public final ModelMethod method; field in class:Callable
46 int parameterCount, int flags, ModelMethod method) {
53 this.method = method;
89 ", method=" + method +
45 Callable(Type type, String name, String setterName, ModelClass resolvedType, int parameterCount, int flags, ModelMethod method) argument
/frameworks/base/core/java/android/hardware/camera2/dispatch/
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 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/data-binding/baseLibrary/src/main/java/android/databinding/
H A DBindingMethod.java41 * @return The method to call to set the attribute value.
43 String method(); method in interface:BindingMethod
/frameworks/av/include/media/
H A DLinearMap.h39 The method findX() can be used to retrieve an x value from a given y value and is
226 T findX(T y, FindMethod *method = NULL, double extrapolation = 0.0, T startValue = 0) const {
227 return findU(y, mX, mY, method, extrapolation, startValue);
233 T findY(T x, FindMethod *method = NULL, double extrapolation = 0.0, T startValue = 0) const {
234 return findU(x, mY, mX, method, extrapolation, startValue);
289 // method: [out] how the returned value was computed.
298 // whether there are samples in history by the method hasData().
301 T findU(T v, T *uArray, T *vArray, FindMethod *method, argument
304 if (method != NULL) {
305 *method
[all...]
/frameworks/av/media/libmedia/include/media/
H A DLinearMap.h39 The method findX() can be used to retrieve an x value from a given y value and is
226 T findX(T y, FindMethod *method = NULL, double extrapolation = 0.0, T startValue = 0) const {
227 return findU(y, mX, mY, method, extrapolation, startValue);
233 T findY(T x, FindMethod *method = NULL, double extrapolation = 0.0, T startValue = 0) const {
234 return findU(x, mY, mX, method, extrapolation, startValue);
289 // method: [out] how the returned value was computed.
298 // whether there are samples in history by the method hasData().
301 T findU(T v, T *uArray, T *vArray, FindMethod *method, argument
304 if (method != NULL) {
305 *method
[all...]

Completed in 1117 milliseconds

1234567891011>>