/frameworks/base/core/java/android/text/method/ |
H A D | TransformationMethod2.java | 16 package android.text.method;
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | UiAutomatorTestCaseFilter.java | 31 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 D | ExpandableListViewBindingAdapter.java | 23 @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 D | TabWidgetBindingAdapter.java | 22 @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 D | VideoViewBindingAdapter.java | 24 @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 D | ProgressBarBindingAdapter.java | 22 @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 D | CheckedTextViewBindingAdapter.java | 22 @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 D | LinearLayoutBindingAdapter.java | 22 @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 D | ToolbarBindingAdapter.java | 23 @BindingMethod(type = Toolbar.class, attribute = "android:onMenuItemClick", method = "setOnMenuItemClickListener"), 24 @BindingMethod(type = Toolbar.class, attribute = "android:onNavigationClick", method = "setNavigationOnClickListener"),
|
H A D | ZoomControlsBindingAdapter.java | 23 @BindingMethod(type = ZoomControls.class, attribute = "android:onZoomIn", method = "setOnZoomInClickListener"), 24 @BindingMethod(type = ZoomControls.class, attribute = "android:onZoomOut", method = "setOnZoomOutClickListener"),
|
H A D | AbsSeekBarBindingAdapter.java | 22 @BindingMethod(type = android.widget.AbsSeekBar.class, attribute = "android:thumbTint", method = "setThumbTintList"),
|
H A D | ActionMenuViewBindingAdapter.java | 23 @BindingMethod(type = ActionMenuView.class, attribute = "android:onMenuItemClick", method = "setOnMenuItemClickListener"),
|
H A D | ChronometerBindingAdapter.java | 23 @BindingMethod(type = Chronometer.class, attribute = "android:onChronometerTick", method = "setOnChronometerTickListener"),
|
H A D | FrameLayoutBindingAdapter.java | 22 @BindingMethod(type = android.widget.FrameLayout.class, attribute = "android:foregroundTint", method = "setForegroundTintList"),
|
H A D | SpinnerBindingAdapter.java | 22 @BindingMethod(type = android.widget.Spinner.class, attribute = "android:popupBackground", method = "setPopupBackgroundDrawable"),
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
H A D | CallbackWrapper.java | 35 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 D | AndroidTestingRunner.java | 52 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 D | MockAnswerUtil.java | 32 * 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 D | ModelClass.java | 243 * @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 D | Callable.java | 39 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 D | Dispatchable.java | 21 * 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 D | InvokeDispatcher.java | 37 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 D | BindingMethod.java | 41 * @return The method to call to set the attribute value. 43 String method(); method in interface:BindingMethod
|
/frameworks/av/include/media/ |
H A D | LinearMap.h | 39 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 D | LinearMap.h | 39 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...] |