Home
last modified time | relevance | path

Searched refs:methods (Results 1 – 25 of 375) sorted by relevance

12345678910>>...15

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
DModelClass.java249 ModelMethod[] methods = getDeclaredMethods(); in getMethods() local
251 for (ModelMethod method : methods) { in getMethods()
268 ModelMethod[] methods = getDeclaredMethods(); in getMethods() local
270 for (ModelMethod method : methods) { in getMethods()
291 ModelMethod[] methods = getMethods(name, args, staticOnly); in getMethod() local
293 methods.length); in getMethod()
294 for (ModelMethod method : methods) { in getMethod()
297 if (methods.length == 0) { in getMethod()
300 ModelMethod bestMethod = methods[0]; in getMethod()
301 for (int i = 1; i < methods.length; i++) { in getMethod()
[all …]
/frameworks/base/tools/apilint/
Dapilint.py125 self.methods = []
197 clazz.methods.append(Method(clazz, line, raw, blame))
296 for m in clazz.methods:
318 for m in clazz.methods:
334 for m in clazz.methods:
338 if len(clazz.methods) == 1 and clazz.name.startswith("On"):
339 m = clazz.methods[0]
406 methods = [ m.name for m in clazz.methods ]
407 eq = "equals" in methods
408 hc = "hashCode" in methods
[all …]
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DHttpClientStack.java27 import org.apache.http.client.methods.HttpDelete;
28 import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;
29 import org.apache.http.client.methods.HttpGet;
30 import org.apache.http.client.methods.HttpHead;
31 import org.apache.http.client.methods.HttpOptions;
32 import org.apache.http.client.methods.HttpPost;
33 import org.apache.http.client.methods.HttpPut;
34 import org.apache.http.client.methods.HttpTrace;
35 import org.apache.http.client.methods.HttpUriRequest;
/frameworks/volley/src/test/java/com/android/volley/toolbox/
DHttpClientStackTest.java23 import org.apache.http.client.methods.HttpDelete;
24 import org.apache.http.client.methods.HttpGet;
25 import org.apache.http.client.methods.HttpHead;
26 import org.apache.http.client.methods.HttpOptions;
27 import org.apache.http.client.methods.HttpPost;
28 import org.apache.http.client.methods.HttpPut;
29 import org.apache.http.client.methods.HttpTrace;
30 import org.apache.http.client.methods.HttpUriRequest;
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/dual/jni/
Dnative.cpp33 static const JNINativeMethod methods[] = { variable
66 methods, sizeof(methods) / sizeof(methods[0]))) { in registerNatives()
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/64/jni/
Dnative.cpp33 static const JNINativeMethod methods[] = { variable
66 methods, sizeof(methods) / sizeof(methods[0]))) { in registerNatives()
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/32/jni/
Dnative.cpp33 static const JNINativeMethod methods[] = { variable
66 methods, sizeof(methods) / sizeof(methods[0]))) { in registerNatives()
/frameworks/base/cmds/ime/src/com/android/commands/ime/
DIme.java105 List<InputMethodInfo> methods; in runList() local
108 methods = mImm.getEnabledInputMethodList(); in runList()
116 methods = mImm.getInputMethodList(); in runList()
124 if (methods != null) { in runList()
126 for (int i=0; i<methods.size(); i++) { in runList()
127 InputMethodInfo imi = methods.get(i); in runList()
/frameworks/base/core/jni/android/graphics/
DPorterDuff.cpp61 static const JNINativeMethod methods[] = { variable
66 … return RegisterMethodsOrDie(env, "android/graphics/PorterDuffXfermode", methods, NELEM(methods)); in register_android_graphics_PorterDuff()
DPathMeasure.cpp146 static const JNINativeMethod methods[] = { variable
159 return RegisterMethodsOrDie(env, "android/graphics/PathMeasure", methods, NELEM(methods)); in register_android_graphics_PathMeasure()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
DJavaClass.java243 Method[] methods = mClass.getDeclaredMethods(); in getDeclaredMethods() local
244 if (methods == null) { in getDeclaredMethods()
247 ModelMethod[] classMethods = new ModelMethod[methods.length]; in getDeclaredMethods()
248 for (int i = 0; i < methods.length; i++) { in getDeclaredMethods()
249 classMethods[i] = new JavaMethod(methods[i]); in getDeclaredMethods()
/frameworks/base/core/java/android/view/
DViewDebug.java1068 Method[] methods = map.get(klass); in getExportedPropertyMethods() local
1069 if (methods != null) { in getExportedPropertyMethods()
1070 return methods; in getExportedPropertyMethods()
1073 methods = klass.getDeclaredMethodsUnchecked(false); in getExportedPropertyMethods()
1076 for (final Method method : methods) { in getExportedPropertyMethods()
1094 methods = foundMethods.toArray(new Method[foundMethods.size()]); in getExportedPropertyMethods()
1095 map.put(klass, methods); in getExportedPropertyMethods()
1097 return methods; in getExportedPropertyMethods()
1171 final Method[] methods = getExportedPropertyMethods(klass); in exportMethods() local
1172 int count = methods.length; in exportMethods()
[all …]
/frameworks/base/tools/layoutlib/create/
DREADME.txt92 - specific methods to override (see method stubs details below).
93 - specific methods for which to delegate calls.
94 - specific methods to remove based on their return type.
110 changed from protected/private to public. The code of the methods is then kept as-is, except for
111 native methods which are replaced by a stub. Methods that are to be overridden are also replaced by
118 methods and types. Note that other classes are not transformed and keep referencing the original
134 ReplaceMethodCallsAdapter replaces calls to certain methods. This is different from the
137 This is useful for methods in the Java namespace where we cannot add delegates. The configuration
149 As indicated above, all native and overridden methods are replaced by a stub. We don't have the
173 some specific methods that are stubbed out and change their return value.
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiTestUtil.java43 Method[] methods = clazz.getDeclaredMethods(); in getTestMethod() local
44 for (Method method : methods) { in getTestMethod()
/frameworks/support/core-ui/
DNOTICES.md8 - Several public methods that are only meant to be called by app developers (and not internally by
9 the helper itself) became final. Any code that depends on overriding these methods should be
/frameworks/base/core/jni/
Dandroid_util_MemoryIntArray.cpp188 static const JNINativeMethod methods[] = { variable
199 return RegisterMethodsOrDie(env, "android/util/MemoryIntArray", methods, NELEM(methods)); in register_android_util_MemoryIntArray()
Dandroid_os_MemoryFile.cpp140 static const JNINativeMethod methods[] = { variable
154 return RegisterMethodsOrDie(env, "android/os/MemoryFile", methods, NELEM(methods)); in register_android_os_MemoryFile()
Dandroid_opengl_EGLExt.cpp152 static const JNINativeMethod methods[] = { variable
160 …err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods)); in register_android_opengl_jni_EGLExt()
/frameworks/base/docs/html/training/basics/activity-lifecycle/
Dindex.jd43 focus. During this process, the Android system calls a series of lifecycle methods on the
46 lifecycle methods on your activity as it moves into the background (where the activity is no
49 <p>Within the lifecycle callback methods, you can declare how your activity behaves when the
55 <p>This class explains important lifecycle callback methods that each {@link
Dstarting.jd39 callback methods that correspond to specific stages of its
40 lifecycle. There is a sequence of callback methods that start up an activity and a sequence of
41 callback methods that tear down an activity.</p>
43 <p>This lesson provides an overview of the most important lifecycle methods and shows you how to
50 <p>During the life of an activity, the system calls a core set of lifecycle methods in
56 <p>As the user begins to leave the activity, the system calls other methods that move the activity
72 lifecycle methods. However, it's important that you understand each one and implement those that
73 ensure your app behaves the way users expect. Implementing your activity lifecycle methods properly
88 methods.</p>
225 calls the {@link android.app.Activity#onStart()} and {@link android.app.Activity#onResume()} methods
[all …]
/frameworks/base/docs/html/wear/preview/features/
Dime.jd22 <p>Wear 2.0 supports input methods beyond voice by extending the Android
24 keyboards and other input methods to be used for text entry. The IMF APIs used
30 methods for Wear.</p>
33 <p><b>Figure 1</b>. Sample input methods </p>
53 methods beyond voice, add the following to your app's manifest:
98 Input methods on Wear consume most of the screen, leaving very little of the
/frameworks/base/docs/html/training/keyboard-input/
Dcommands.jd23 or directly handle the keyboard input yourself, you can do so by implementing callback methods
31 should generally override the callback methods in your extension of these classes as
77 query the {@link android.view.KeyEvent} that's passed to the callback method. Several methods
80 the exact modifier key you care about is being pressed with methods such as
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmGenerator.java118 Set<String> methods = mDelegateMethods.get(className); in AsmGenerator() local
119 if (methods == null) { in AsmGenerator()
120 methods = new HashSet<>(); in AsmGenerator()
121 mDelegateMethods.put(className, methods); in AsmGenerator()
123 methods.add(DelegateClassAdapter.ALL_NATIVES); in AsmGenerator()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DTestCaseCollector.java88 Method[] methods = clazz.getMethods(); in addTestClass() local
89 for (Method method : methods) { in addTestClass()
/frameworks/base/docs/html/distribute/monetize/
Dpayments.jd3 page.metaDescription=Users can purchase instantly with a choice of payment methods.
16 payment methods.
94 of their available payment methods. They sign into their PayPal account and
126 The payment methods available to users may vary based on location, carrier

12345678910>>...15