Home
last modified time | relevance | path

Searched refs:interface (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/frameworks/base/docs/html/guide/components/
Daidl.jd12 <li><a href="#Implement">Implement the interface</a></li>
13 <li><a href="#Expose">Expose the interface to clients</a></li>
30 worked with. It allows you to define the programming interface that both
40 different applications, you should create your interface by <a
43 implement your interface <a
49 <p>Before you begin designing your AIDL interface, be aware that calls to an AIDL interface are
56 this is your main UI thread, that thread continues to execute in the AIDL interface. If it is
60 interface by <a href="{@docRoot}guide/components/bound-services.html#Binder">implementing a
65 happening at the same time. In other words, an implementation of an AIDL interface must be
70 The implementation of the interface eventually receives this as a regular call from the {@link
[all …]
Dbound-services.jd50 <p>A bound service is the server in a client-server interface. A bound service allows components
67 method returns an {@link android.os.IBinder} object that defines the programming interface that
115 <p>When you implement your bound service, the most important part is defining the interface
117 different ways you can define your service's {@link android.os.IBinder} interface and the following
125 that provides the programming interface that clients can use to interact with the service. There
126 are three ways you can define the interface:</p>
131 (which is common), you should create your interface by extending the {@link android.os.Binder} class
137 application. The only reason you would not create your interface this way is because
141 <dd>If you need your interface to work across different processes, you can create
142 an interface for the service with a {@link android.os.Messenger}. In this manner, the service
[all …]
/frameworks/base/services/jni/
Dcom_android_server_UsbHostManager.cpp80 struct usb_interface_descriptor *interface = (struct usb_interface_descriptor *)desc; in usb_device_added() local
83 interfaceValues.add(interface->bInterfaceNumber); in usb_device_added()
84 interfaceValues.add(interface->bInterfaceClass); in usb_device_added()
85 interfaceValues.add(interface->bInterfaceSubClass); in usb_device_added()
86 interfaceValues.add(interface->bInterfaceProtocol); in usb_device_added()
87 interfaceValues.add(interface->bNumEndpoints); in usb_device_added()
/frameworks/native/cmds/ip-up-vpn/
Dip-up-vpn.c83 const char *interface = env("INTERFACE"); in main() local
114 strncpy(ifr.ifr_name, interface, IFNAMSIZ); in main()
116 ALOGE("Cannot bring up %s: %s", interface, strerror(errno)); in main()
137 fprintf(state, "%s\n", interface); in main()
/frameworks/wilhelm/tests/sandbox/
Dengine.c116 void *interface = NULL; in main() local
118 result = (*engineObject)->GetInterface(engineObject, engine_ids[index], &interface); in main()
140 void *interface = NULL; in main() local
141 result = (*engineObject)->GetInterface(engineObject, engine_ids[index], &interface); in main()
143 printf("interface[%u] %p\n", index, interface); in main()
150 assert(interface_again == interface); in main()
/frameworks/base/docs/html/training/basics/fragments/
Dcommunicating.jd44 <p>To allow a Fragment to communicate up to its Activity, you can define an interface
46 the interface implementation during its onAttach() lifecycle method and can then call
55 // Container Activity must implement this interface
56 public interface OnHeadlineSelectedListener {
65 // the callback interface. If not, it throws an exception
79 onArticleSelected()} method (or other methods in the interface) using the {@code mCallback}
80 instance of the {@code OnHeadlineSelectedListener} interface.</p>
83 item. The fragment uses the callback interface to deliver the event to the parent activity.</p>
98 implement the interface defined in the fragment class.</p>
100 <p>For example, the following activity implements the interface from the above example.</p>
/frameworks/wilhelm/doc/
DREADME.txt1 …nk the OpenSLES_IID.c file into your project. This file contains unique interface IDs for all Open…
2 have been automatically generated. Application developers should not edit these interface IDs.
/frameworks/av/media/libeffects/preprocessing/
DAndroid.mk15 external/webrtc/src/modules/interface \
16 external/webrtc/src/modules/audio_processing/interface \
/frameworks/base/tools/aidl/
Dgenerate_java_binder.cpp250 generate_method(const method_type* method, Class* interface, in generate_method() argument
289 interface->elements.push_back(decl); in generate_method()
523 Class* interface = new Class; in generate_binder_interface_class() local
524 interface->comment = gather_comments(iface->comments_token->extra); in generate_binder_interface_class()
525 interface->modifiers = PUBLIC; in generate_binder_interface_class()
526 interface->what = Class::INTERFACE; in generate_binder_interface_class()
527 interface->type = interfaceType; in generate_binder_interface_class()
528 interface->interfaces.push_back(IINTERFACE_TYPE); in generate_binder_interface_class()
534 interface->elements.push_back(stub); in generate_binder_interface_class()
552 generate_method(method_item, interface, stub, proxy, method_item->assigned_id); in generate_binder_interface_class()
[all …]
/frameworks/av/media/mtp/
DMtpDevice.cpp67 struct usb_interface_descriptor *interface = (struct usb_interface_descriptor *)desc; in open() local
69 if (interface->bInterfaceClass == USB_CLASS_STILL_IMAGE && in open()
70 interface->bInterfaceSubClass == 1 && // Still Image Capture in open()
71 interface->bInterfaceProtocol == 1) // Picture Transfer Protocol (PIMA 15470) in open()
78 } else if (interface->bInterfaceClass == 0xFF && in open()
79 interface->bInterfaceSubClass == 0xFF && in open()
80 interface->bInterfaceProtocol == 0) { in open()
81 char* interfaceName = usb_device_get_string(device, interface->iInterface); in open()
157 if (usb_device_claim_interface(device, interface->bInterfaceNumber)) { in open()
163 MtpDevice* mtpDevice = new MtpDevice(device, interface->bInterfaceNumber, in open()
[all …]
/frameworks/volley/
Dproguard-project.txt16 # and specify the fully qualified class name to the JavaScript interface
18 #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
/frameworks/av/cmds/stagefright/
Daudioloop.cpp54 client.interface(), in main()
66 client.interface(), in main()
Drecord.cpp201 client.interface(), meta, false /* createEncoder */, source);
228 client.interface(), enc_meta, true /* createEncoder */, decoder);
329 OMXCodec::Create(client.interface(), encMeta, true, audioSource); in main()
/frameworks/base/docs/html/guide/topics/ui/controls/
Dspinner.jd109 android.widget.AdapterView.OnItemSelectedListener} interface and the corresponding {@link
111 For example, here's an implementation of the interface in an {@link android.app.Activity}:</p>
124 // Another interface callback
135 <p>Then you need to specify the interface implementation by calling {@link
144 android.widget.AdapterView.OnItemSelectedListener} interface with your {@link
146 <code>this</code> as the interface instance.</p>
/frameworks/base/docs/html/training/backward-compatible-ui/
Dindex.jd49 <dd>Learn how to create an implementation of your interface that uses newer APIs.</dd>
52 <dd>Learn how to create a custom implementation of your interface that uses older APIs.</dd>
55 …<dd>Learn how to choose an implementation to use at runtime, and begin using the interface in your…
/frameworks/av/include/media/stagefright/
DOMXClient.h32 sp<IOMX> interface() { in interface() function
/frameworks/base/docs/html/guide/topics/ui/accessibility/
Dservices.jd47 <p>An accessibility service is an application that provides user interface enhancements to
50 might need additional or alternative interface feedback.</p>
216 user interface control in an application for which your accessibility service is providing feedback.
242 <p>The Android system provides information to accessibility services about the user interface
245 detail about a user interface control selected by the user, offered limited contextual
249 <p>An example of an interface where context is critical is a calendar or day planner. If the
252 the resulting feedback is confusing. In this case, the context of a user interface control is
256 obtain about an user interface interaction by composing accessibility events based on the view
257 hierarchy. A view hierarchy is the set of user interface components that contain the component (its
258 parents) and the user interface elements that may be contained by that component (its children). In
[all …]
Dapps.jd59 when you create your user interface with the components provided by the Android framework. If you
63 <li>Add descriptive text to user interface controls in your application using the
68 <li>Make sure that all user interface elements that can accept input (touches or typing) can be
97 <p>Many user interface controls depend on visual cues to indicate their meaning and usage. For
113 in your application's user interface, and add descriptions to any other input controls that might
118 English language interface:</p>
139 <p>Focus navigation allows users with disabilities to step through user interface controls using a
148 that all user interface (UI) input controls in your application can be reached and activated
158 <p>A user interface element is reachable using directional controls when its
161 on the element using the directional controls and then interact with it. The user interface controls
[all …]
Dchecklist.jd55 <li><strong>Describe user interface controls:</strong> Provide content
57 interface components that do not have visible text, particularly
67 … keyboards and navigation gestures). In a few cases, you may need to make user interface components
72 <a href="{@docRoot}guide/topics/ui/custom-components.html">custom interface controls</a> for
100 <li><strong>Framework-provided controls:</strong> Use Android's built-in user interface
103 interface controls that fade out or disappear after a certain amount of time. If this behavior
104 is important to your application, provide an alternative interface for these functions.</li>
/frameworks/base/docs/html/training/design-navigation/
Ddescendant-lateral.jd55 …gation can be provided using lists, tabs, and other user interface patterns. <em>User interface pa…
66 …ion interface. Examples of such targets include buttons, fixed-size list views, or text links, alt…
70 …alt="Example button-based navigation interface with relevant screen map excerpt. Also shows dashbo…
72 <p class="img-caption"><strong>Figure 3.</strong> Example button-based navigation interface with re…
89 …scrolling lists are often the most straightforward and familiar kind of interface. For more visual…
153 …alt="Example horizontal paging navigation interface with relevant screen map excerpt" id="figure-p…
155 <p class="img-caption"><strong>Figure 6.</strong> Example horizontal paging navigation interface wi…
169 …rn can be used along with tabs above the content region to maximize the interface's intuitiveness.…
/frameworks/base/docs/html/guide/topics/ui/
Dindex.jd3interface is everything that the user can see and interact with. Android provides a variety of pre…
48 small phones to large TV sets. This class shows you how to implement a user interface that's
Doverview.jd5 <p>All user interface elements in an Android app are built using {@link android.view.View} and
9 order to define the layout of the interface.</p>
18 <p>The user interface for each component of your app is defined using a hierarchy of {@link
/frameworks/base/docs/html/training/
Dbuilding-graphics.jd10 If you want to go beyond the basic user interface to create a beautiful visual experience,
/frameworks/base/docs/html/training/multiscreen/
Dadaptui.jd153 your interface that's implemented as a pane on some screen configurations and
179 by defining an interface that abstracts all the ways in which the fragment
181 implements that interface:</p>
191 public interface OnHeadlineSelectedListener {
225 <p>If you are using separate activities to implement separate parts of your interface,
228 interface consistent.</p>
/frameworks/base/docs/html/tools/help/
Dhierarchy-viewer.jd7 interface. It provides a visual representation of the layout's View hierarchy

12345678910>>...12