/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
H A D | AssignableFromTest.java | 54 Method method = aClass.getMethod("testX"); 55 return new TestMethod(method, aClass);
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/ |
H A D | HasAnnotationTest.java | 46 Method method = aClass.getMethod(methodName); 47 TestMethod testMethod = new TestMethod(method, aClass);
|
/frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
H A D | PropertyValuesHolder_Delegate.java | 66 // Encode the number of arguments in the method name 73 // The method was already registered 78 Method method = null; 84 method = targetClass.getDeclaredMethod(methodName, args); 89 if (method != null) { 91 ID_TO_METHOD.put(methodId, method); 103 Method method = ID_TO_METHOD.get(methodID); 104 assert method != null; 107 method.setAccessible(true); 108 method [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | MethodCallExpr.java | 132 ModelMethod method = target.getResolvedType().getMethod(mName, args, isStatic, 134 if (method == null) { 142 String message = "cannot find method '" + mName + "(" + argTypes + ")' in class " + 145 L.e(e, "cannot find method %s(%s) in class %s", mName, argTypes, 149 if (!isStatic && method.isStatic()) { 150 // found a static method on an instance. Use class instead 161 if (method.isStatic()) { 164 mGetter = new Callable(Type.METHOD, method.getName(), null, method.getReturnType(args), 165 method [all...] |
H A D | MethodBaseExpr.java | 80 // Look for a signature matching the abstract method 85 for (ModelMethod method : methods) { 86 if (acceptsParameters(method, listenerParameters) && 87 method.getReturnType(null).equals(listenerMethod.getReturnType(null))) { 111 "Listener class %s with method %s did not match signature of any method %s", 115 private boolean acceptsParameters(ModelMethod method, ModelClass[] listenerParameters) { argument 116 ModelClass[] parameters = method.getParameterTypes();
|
H A D | LambdaExpr.java | 88 .checkNotNull(mCallbackWrapper, "Cannot find the callback method for %s", this); 134 public void setup(ModelClass klass, ModelMethod method, int callbackId) { argument 136 mCallbackWrapper = getModel().callbackWrapper(klass, method); 138 final ModelClass[] parameterTypes = method.getParameterTypes();
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | CompoundButtonBindingAdapter.java | 28 @BindingMethod(type = CompoundButton.class, attribute = "android:buttonTint", method = "setButtonTintList"), 29 @BindingMethod(type = CompoundButton.class, attribute = "android:onCheckedChanged", method = "setOnCheckedChangeListener"),
|
H A D | NumberPickerBindingAdapter.java | 30 @BindingMethod(type = NumberPicker.class, attribute = "android:format", method = "setFormatter"), 31 @BindingMethod(type = NumberPicker.class, attribute = "android:onScrollStateChange", method = "setOnScrollListener"),
|
H A D | ViewGroupBindingAdapter.java | 31 @BindingMethod(type = android.view.ViewGroup.class, attribute = "android:alwaysDrawnWithCache", method = "setAlwaysDrawnWithCacheEnabled"), 32 @BindingMethod(type = android.view.ViewGroup.class, attribute = "android:animationCache", method = "setAnimationCacheEnabled"), 33 @BindingMethod(type = android.view.ViewGroup.class, attribute = "android:splitMotionEvents", method = "setMotionEventSplittingEnabled"),
|
H A D | RadioGroupBindingAdapter.java | 26 @InverseBindingMethod(type = RadioGroup.class, attribute = "android:checkedButton", method = "getCheckedRadioButtonId"),
|
H A D | AdapterViewBindingAdapter.java | 30 @BindingMethod(type = AdapterView.class, attribute = "android:onItemClick", method = "setOnItemClickListener"), 31 @BindingMethod(type = AdapterView.class, attribute = "android:onItemLongClick", method = "setOnItemLongClickListener"),
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
H A D | DataConnectionTest.java | 172 Method method = StateMachine.class.getDeclaredMethod("getCurrentState"); 173 method.setAccessible(true); 174 return (IState) method.invoke(mDc); 180 Method method = DataConnection.class.getDeclaredMethod("getSuggestedRetryDelay", cArgs); 181 method.setAccessible(true); 182 return (long) method.invoke(mDc, ar); 282 Method method = DataConnection.class.getDeclaredMethod("getNetworkCapabilities"); 283 method.setAccessible(true); 284 return (NetworkCapabilities) method.invoke(mDc);
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
H A D | MainActivityTest.java | 47 Method method = targetClass.getDeclaredMethod(methodName, paramClasses); 48 method.setAccessible(true); 49 return method.invoke(target, params);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/ |
H A D | BaseDataBinderTest.java | 81 final Method[] method = {null}; 88 method[0] = mBinderClass.getMethod("inflate", LayoutInflater.class); 89 mBinder = (T) method[0].invoke(null, getActivity().getLayoutInflater());
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/ |
H A D | SetterStore.java | 154 for (HashMap<String, InverseDescription> method : mStore.inverseMethods.values()) { 155 for (InverseDescription inverseDescription : method.values()) { 178 public void addRenamedMethod(String attribute, String declaringClass, String method, argument 187 declaredOn.getQualifiedName().toString(), method); 193 String method, TypeElement declaredOn) { 202 declaredOn.getQualifiedName().toString(), method, event); 512 for (MethodDescription method : methods.values()) { 513 if (!method.isStatic) { 514 adapters.add(method.type); 518 for (MethodDescription method 192 addInverseMethod(String attribute, String event, String declaringClass, String method, TypeElement declaredOn) argument 600 createMultiAttributeSetter(MethodDescription method, String[] allAttributes, ModelClass[] attributeValues, MultiValueAdapterKey adapter) argument 1069 MultiValueAdapterKey(ProcessingEnvironment processingEnv, ExecutableElement method, String[] attributes, boolean takesComponent, boolean requireAll) argument 1126 public final String method; field in class:SetterStore.MethodDescription 1134 MethodDescription(String type, String method) argument 1143 MethodDescription(ExecutableElement method, int numAttributes, boolean takesComponent) argument 1184 InverseDescription(String type, String method, String event) argument 1189 InverseDescription(ExecutableElement method, String event, boolean takesComponent) argument 1645 setBindingAdapterCall(String method) argument 1687 setBindingAdapterCall(String method) argument 1706 ViewGetterCall(InverseDescription inverseDescription, ModelMethod method, BindingSetterCall eventCall) argument 1744 setBindingAdapterCall(String method) argument 1797 setBindingAdapterCall(String method) argument [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | MovementMethod.java | 17 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/packages/SettingsLib/src/com/android/settingslib/widget/ |
H A D | LinkTextView.java | 20 import android.text.method.LinkMovementMethod;
|
/frameworks/base/tools/aapt2/compile/ |
H A D | Pseudolocalizer_test.cpp | 31 Pseudolocalizer::Method method) { 32 Pseudolocalizer pseudo(method); 42 Pseudolocalizer::Method method) { 43 Pseudolocalizer pseudo(method); 29 SimpleHelper(const char* input, const char* expected, Pseudolocalizer::Method method) argument 40 CompoundHelper( const char* in1, const char* in2, const char* in3, const char* expected, Pseudolocalizer::Method method) argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/text/ |
H A D | AllCapsTransformationMethod.java | 24 import android.text.method.TransformationMethod;
|
/frameworks/base/core/java/android/widget/ |
H A D | EditText.java | 24 import android.text.method.ArrowKeyMovementMethod; 25 import android.text.method.MovementMethod; 32 * with a key listener and a movement method wouldn't do! 63 * You add a text watcher using the {@link TextView#addTextChangedListener} method.
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/ |
H A D | JavaMethod.java | 30 public JavaMethod(Method method) { argument 31 mMethod = method;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
H A D | ANQPMatcherTest.java | 161 * Verify that a realm and method match will be returned when the specified realm and EAP 162 * method matches a realm in the NAI Realm ANQP element. 173 EAPMethod method = new EAPMethod(eapMethodID, new HashMap<Integer, Set<AuthParam>>()); 175 Arrays.asList(new String[] {realm}), Arrays.asList(new EAPMethod[] {method})); 185 * method, and the authentication parameter matches a realm with the associated EAP method and 202 EAPMethod method = new EAPMethod(eapMethodID, authMap); 204 Arrays.asList(new String[] {realm}), Arrays.asList(new EAPMethod[] {method})); 213 * Verify that a mismatch (AuthMatch.NONE) will be returned when the specified EAP method 214 * doesn't match with the corresponding EAP method i [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_util.cpp | 137 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "booleanValue", "()Z"); local 138 result = MakeIntValue(env->CallBooleanMethod(object, method) == JNI_TRUE ? 1 : 0); 140 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "intValue", "()I"); local 141 result = MakeIntValue(env->CallIntMethod(object, method)); 143 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "floatValue", "()F"); local 144 result = MakeFloatValue(env->CallFloatMethod(object, method));
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AppCompatTextViewAutoSizeHelper.java | 597 Method method = mMethodByNameCache.get(methodName); 598 if (method == null) { 599 method = TextView.class.getDeclaredMethod(methodName); 600 if (method != null) { 601 method.setAccessible(true); 603 mMethodByNameCache.put(methodName, method); 607 if (method != null) { 608 method.invoke(mTextView); 749 Method method = mMethodByNameCache.get(methodName); 750 if (method [all...] |
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
H A D | remote_method.h | 26 // Evaluates to true if the method type is <any>(Void), false otherwise. 33 // Utility to determine if a method is of type <any>(Void). 38 // Utility to determine if a method is not of type <any>(Void). 79 // Utility class to invoke a method with arguments packed in a tuple. 83 // Utility class to invoke a method with arguments packed in a tuple. 90 UnpackArguments(Class& instance, MethodType method, Message& message, argument 93 method_(method), 120 // Returns an error code from a remote method to the client. May be called 121 // either during dispatch of the remote method handler or at a later time if the 129 // Returns a value from a remote method t [all...] |