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

12345678910

/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"),
H A DViewBindingAdapter.java31 @BindingMethod(type = View.class, attribute = "android:backgroundTint", method = "setBackgroundTintList"),
32 @BindingMethod(type = View.class, attribute = "android:fadeScrollbars", method = "setScrollbarFadingEnabled"),
33 @BindingMethod(type = View.class, attribute = "android:getOutline", method = "setOutlineProvider"),
34 @BindingMethod(type = View.class, attribute = "android:nextFocusForward", method = "setNextFocusForwardId"),
35 @BindingMethod(type = View.class, attribute = "android:nextFocusLeft", method = "setNextFocusLeftId"),
36 @BindingMethod(type = View.class, attribute = "android:nextFocusRight", method = "setNextFocusRightId"),
37 @BindingMethod(type = View.class, attribute = "android:nextFocusUp", method = "setNextFocusUpId"),
38 @BindingMethod(type = View.class, attribute = "android:nextFocusDown", method = "setNextFocusDownId"),
39 @BindingMethod(type = View.class, attribute = "android:requiresFadingEdge", method = "setVerticalFadingEdgeEnabled"),
40 @BindingMethod(type = View.class, attribute = "android:scrollbarDefaultDelayBeforeFade", method
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
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/support/v7/appcompat/tests/src/android/support/v7/app/
H A DMenuBuilderTest.java36 // Manufacturer has modified ROM and added a public method setOptionalIconsVisible
38 // because it had no such public method (it was package local)
39 Method method = MenuBuilder.class
41 assertNotNull(method);
42 assertTrue(Modifier.isPublic(method.getModifiers()));
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DModelClass.java240 * @param name The name of the method to find.
241 * @param args The types that the method should accept.
251 for (ModelMethod method : methods) {
252 if (method.isPublic() && (!staticOnly || method.isStatic()) &&
253 name.equals(method.getName()) && method.acceptsArguments(args)) {
254 matching.add(method);
263 * @param name The name of the method to find.
264 * @param numParameters The number of parameters that the method shoul
[all...]
/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/base/core/java/android/view/inputmethod/
H A DInputConnectionInspector.java136 final Method method = clazz.getMethod("getSelectedText", int.class);
137 return !Modifier.isAbstract(method.getModifiers());
145 final Method method = clazz.getMethod("setComposingRegion", int.class, int.class);
146 return !Modifier.isAbstract(method.getModifiers());
154 final Method method = clazz.getMethod("commitCorrection", CorrectionInfo.class);
155 return !Modifier.isAbstract(method.getModifiers());
163 final Method method = clazz.getMethod("requestCursorUpdates", int.class);
164 return !Modifier.isAbstract(method.getModifiers());
172 final Method method = clazz.getMethod("deleteSurroundingTextInCodePoints", int.class,
174 return !Modifier.isAbstract(method
[all...]
/frameworks/av/services/audioflinger/
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/base/core/tests/utillib/src/android/test/
H A DBandwidthTestCase.java46 Method method = null;
54 method = testClass.getMethod(fName, (Class[]) null);
59 if (!Modifier.isPublic(method.getModifiers())) {
65 if (method.isAnnotationPresent(FlakyTest.class)) {
66 runCount = method.getAnnotation(FlakyTest.class).tolerance();
67 } else if (method.isAnnotationPresent(RepetitiveTest.class)) {
68 runCount = method.getAnnotation(RepetitiveTest.class).numIterations();
72 if (method.isAnnotationPresent(UiThreadTest.class)) {
75 final Method testMethod = method;
89 } else if (method
[all...]

Completed in 4058 milliseconds

12345678910