Searched refs:methods (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/base/core/jni/android/graphics/
H A DPorterDuff.cpp41 static JNINativeMethod methods[] = { member in namespace:android
47 "android/graphics/PorterDuffXfermode", methods,
48 sizeof(methods) / sizeof(methods[0]));
H A DRasterizer.cpp40 static JNINativeMethod methods[] = { member in namespace:android
45 int result = AndroidRuntime::registerNativeMethods(env, "android/graphics/Rasterizer", methods,
46 sizeof(methods) / sizeof(methods[0]));
H A DPathMeasure.cpp120 static JNINativeMethod methods[] = { member in namespace:android
133 int result = AndroidRuntime::registerNativeMethods(env, "android/graphics/PathMeasure", methods,
134 sizeof(methods) / sizeof(methods[0]));
H A DMatrix.cpp362 static JNINativeMethod methods[] = { member in namespace:android
407 int result = AndroidRuntime::registerNativeMethods(env, "android/graphics/Matrix", methods,
408 sizeof(methods) / sizeof(methods[0]));
H A DPath.cpp259 static JNINativeMethod methods[] = { member in namespace:android
300 int result = AndroidRuntime::registerNativeMethods(env, "android/graphics/Path", methods,
301 sizeof(methods) / sizeof(methods[0]));
H A DPaint.cpp522 static JNINativeMethod methods[] = { member in namespace:android
614 int result = AndroidRuntime::registerNativeMethods(env, "android/graphics/Paint", methods,
615 sizeof(methods) / sizeof(methods[0]));
/frameworks/base/tests/CoreTests/android/core/
H A DClassTest.java154 Method[] methods = Button.class.getMethods();
157 for (int i = 0; i < methods.length; i++) {
158 String signature = methods[i].toString();
186 // Check if we also reflect methods from interfaces
189 Method[] methods = MyInterface.class.getMethods();
190 assertTrue("Interface method must be there", hasMethod(methods, ".foo("));
192 methods = MyOtherInterface.class.getMethods();
193 assertTrue("Interface method must be there", hasMethod(methods, ".foo("));
194 assertTrue("Interface method must be there", hasMethod(methods, ".bar("));
196 methods
206 hasMethod(Method[] methods, String signature) argument
[all...]
H A DSSLPerformanceTest.java30 import org.apache.http.client.methods.HttpGet;
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmGenerator.java49 /** The set of methods to stub out. */
51 /** All classes to output as-is, except if they have native methods. */
65 /** A map { FQCN => set { method names } } of methods to rewrite as delegates.
82 // Create the map/set of methods to change to delegates
91 Set<String> methods = mDelegateMethods.get(className);
92 if (methods == null) {
93 methods = new HashSet<String>();
94 mDelegateMethods.put(className, methods);
96 methods.add(methodName);
100 Set<String> methods
[all...]
/frameworks/base/cmds/ime/src/com/android/commands/ime/
H A DIme.java105 List<InputMethodInfo> methods;
108 methods = mImm.getEnabledInputMethodList();
116 methods = mImm.getInputMethodList();
124 if (methods != null) {
126 for (int i=0; i<methods.size(); i++) {
127 InputMethodInfo imi = methods.get(i);
238 System.err.println("The list command prints all enabled input methods. Use");
239 System.err.println("the -a option to see all input methods. Use");
/frameworks/base/core/jni/
H A Dandroid_os_MemoryFile.cpp139 static const JNINativeMethod methods[] = { member in namespace:android
162 methods, NELEM(methods));
H A Dandroid_opengl_GLES10Ext.cpp239 static JNINativeMethod methods[] = { variable
248 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods));
H A Dandroid_os_FileUtils.cpp170 static const JNINativeMethod methods[] = { member in namespace:android
204 methods, NELEM(methods));
H A DBindTest.cpp210 static VMMethod methods[] = { variable
229 jamvm_registerClass("BindTest", methods);
H A Dandroid_util_Process.cpp885 static const JNINativeMethod methods[] = { variable
925 methods, NELEM(methods));
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
H A DTestDelegates.java30 * Tests that native delegate classes implement all the required methods.
33 * have their native methods reimplemented through a delegate.
35 * Since the reimplemented methods are not native anymore, we look for the annotation
54 final String[] methods = CreateInfo.DELEGATE_METHODS;
55 final int count = methods.length;
57 String methodName = methods[i];
85 // loop on the methods of the original class, and for the ones that are annotated
91 // look for methods that are delegated: they have the LayoutlibDelegate annotation
149 // This looks for all methods in the delegate class, and if they have the
156 // look for methods tha
[all...]
/frameworks/base/core/java/android/view/
H A DViewDebug.java106 * when it is set, we dump interested fields and methods for the view on focus
162 * This annotation can be used to mark fields and methods to be dumped by
163 * the view server. Only non-void methods with no arguments can be annotated
331 * This annotation can be used to mark fields and methods to be dumped when
339 * When retrieveReturn is true, we need to retrieve second level methods
343 * @return true if we need the second level methods
1325 Method[] methods = map.get(klass);
1326 if (methods != null) {
1327 return methods;
1331 methods
[all...]
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DCookiesTest.java27 import org.apache.http.client.methods.HttpGet;
H A DHttpsThroughHttpProxyTest.java30 import org.apache.http.client.methods.HttpGet;
/frameworks/base/services/java/com/android/server/location/
H A DGpsXtraDownloader.java30 import org.apache.http.client.methods.HttpGet;
31 import org.apache.http.client.methods.HttpUriRequest;
/frameworks/base/services/jni/
H A Dcom_android_server_LightsService.cpp55 err = module->methods->open(module, name, &device);
/frameworks/base/tests/SslLoad/src/com/android/sslload/
H A DSslLoad.java41 import org.apache.http.client.methods.HttpGet;
/frameworks/base/core/java/android/text/method/
H A DMultiTapKeyListener.java215 KeyListener[] methods = content.getSpans(0, content.length(),
217 for (Object method : methods) {
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestGrouping.java41 * or entire packages. By default sub-packages are included recursively, but methods are
79 List<Method> methods = Arrays.asList(testCaseClass.getMethods());
80 return select(methods, new TestMethodPredicate());
/frameworks/base/test-runner/src/android/test/
H A DTestRunner.java332 Method[] methods = getAllTestMethods(clazz);
333 for (Method m : methods) {
607 Method[] methods = getAllTestMethods(clazz);
609 String[] onScreenTestNames = new String[methods.length];
611 for (Method m : methods) {

Completed in 1048 milliseconds

12