Searched refs:methods (Results 1 - 25 of 39) 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.cpp361 static JNINativeMethod methods[] = { member in namespace:android
408 int result = AndroidRuntime::registerNativeMethods(env, "android/graphics/Matrix", methods,
409 sizeof(methods) / sizeof(methods[0]));
H A DPath.cpp267 static JNINativeMethod methods[] = { member in namespace:android
308 int result = AndroidRuntime::registerNativeMethods(env, "android/graphics/Path", methods,
309 sizeof(methods) / sizeof(methods[0]));
H A DPaint.cpp832 static JNINativeMethod methods[] = { member in namespace:android
937 int result = AndroidRuntime::registerNativeMethods(env, "android/graphics/Paint", methods,
938 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...]
/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
155 methods, NELEM(methods));
H A Dandroid_opengl_GLES10Ext.cpp216 static JNINativeMethod methods[] = { variable
225 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods));
H A Dandroid_os_FileUtils.cpp159 static const JNINativeMethod methods[] = { member in namespace:android
189 methods, NELEM(methods));
H A DBindTest.cpp210 static VMMethod methods[] = { variable
229 jamvm_registerClass("BindTest", 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.java156 * This annotation can be used to mark fields and methods to be dumped by
157 * the view server. Only non-void methods with no arguments can be annotated
325 * This annotation can be used to mark fields and methods to be dumped when
333 * When retrieveReturn is true, we need to retrieve second level methods
337 * @return true if we need the second level methods
430 * and obtain the traces. Both methods must be invoked on the
619 startSection("methods", out);
1414 Method[] methods = map.get(klass);
1415 if (methods != null) {
1416 return methods;
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DGpsXtraDownloader.java29 import org.apache.http.client.methods.HttpGet;
30 import org.apache.http.client.methods.HttpUriRequest;
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DCookiesTest.java33 import org.apache.http.client.methods.HttpGet;
H A DDefaultHttpClientTest.java33 import org.apache.http.client.methods.HttpGet;
H A DAbstractProxyTest.java34 import org.apache.http.client.methods.HttpGet;
/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
81 List<Method> methods = Arrays.asList(testCaseClass.getMethods());
82 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) {
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DBandwidthTestUtil.java28 import org.apache.http.client.methods.HttpPost;

Completed in 560 milliseconds

12