Home
last modified time | relevance | path

Searched refs:with (Results 1 – 25 of 514) sorted by relevance

12345678910>>...21

/frameworks/base/libs/rs/scriptc/
Drs_types.rsh5 * you may not use this file except in compliance with the License.
173 * Provides two float fields packed into a single 64 bit field with 64 bit
179 * into a single 128 bit field with 128 bit alignment.
184 * Provides four float fields packed into a single 128 bit field with 128 bit
191 * into a single 128 bit field with 128 bit alignment.
196 * into a single 256 bit field with 256 bit alignment.
201 * into a single 256 bit field with 256 bit alignment.
207 * into a single 16 bit field with 16 bit alignment.
212 * into a single 32 bit field with 32 bit alignment.
217 * into a single 32 bit field with 32 bit alignment.
[all …]
/frameworks/base/libs/ui/
DRect.cpp86 bool Rect::intersect(const Rect& with, Rect* result) const in intersect() argument
88 result->left = max(left, with.left); in intersect()
89 result->top = max(top, with.top); in intersect()
90 result->right = min(right, with.right); in intersect()
91 result->bottom = min(bottom, with.bottom); in intersect()
/frameworks/base/docs/html/guide/developing/
Dindex.jd5 provided with the SDK. You can access these tools through an Eclipse plugin called ADT (Android
6 …Development Tools) or from the command line. Developing with Eclipse is the preferred method becau…
9 <p>However, you may choose to develop with another IDE or a simple text editor and invoke the
10 tools on the command line or with scripts. This is a less streamlined way to develop because you
23 <p>The basic steps for developing applications (with or without Eclipse) are shown in figure 1. The
47 <p>Next, you debug your application using a JDWP-compliant debugger along with the debugging
48 and logging tools that are provided with the Android SDK. Eclipse already comes packaged with
50 <a href="{@docRoot}guide/developing/debugging/index.html">Debug your application with the
54 with the Testing and Instrumentation framework</a>.</p>
65 <p>When developing in IDEs or editors other than Eclipse, be familiar with
[all …]
/frameworks/base/docs/html/guide/topics/nfc/
Dindex.jd9 <p>Tags can range in complexity. Simple tags offer just read and write semantics, sometimes with
12 contain operating environments, allowing complex interactions with code executing on the tag.
20 applications of data that is relevant to the application. It also goes over how to work with the
27 Android supports. When you are not working with NDEF data, or when you are working with NDEF
30 certain tag technologies and to open communication with the tag using your own protocol
Dadvanced-nfc.jd8 <li><a href="#tag-tech">Working with Supported Tag Technologies</a>
10 <li><a href="#tech-intent">Working with tag technologies and the ACTION_TECH_DISCOVERED
19 <p>This document describes advanced NFC topics, such as working with various tag technologies,
23 <h2 id="tag-tech">Working with Supported Tag Technologies</h2>
24 <p>When working with NFC tags and Android-powered devices, the main format you use to read
25 and write data on tags is NDEF. When a device scans a tag with NDEF data, Android provides support
29 In these cases, you need to open communication directly with the tag and read and write to it with
30 your own protocol (in raw bytes). Android provides generic support for these use cases with the
34 object with one of classes provided by {@link android.nfc.tech} </p>
119 <h3 id="tech-intent">Working with tag technologies and the ACTION_TECH_DISCOVERED intent</h3>
[all …]
/frameworks/base/docs/html/guide/publishing/
Dapp-signing.jd11 <li>You can sign with a self-signed key</li>
27 <li><a href="#signapp">Sign your application with your private key</a></li>
29 <li><a href="#ExportWizard">Compile and sign with Eclipse ADT</a></li>
46 <p>The Android system requires that all installed applications be digitally signed with a
58 <li>To test and debug your application, the build tools sign your application with a special debug
60 <li>When you are ready to release your application for end-users, you must sign it with a suitable
61 private key. You cannot publish an application that is signed with the debug key generated
90 the build tools use the debug key along with the Jarsigner utility (also included in the JDK) to
97 compile your application in release mode, the build tools use your private key along with the
103 Eclipse with the ADT plugin. Debug signing also happens automatically when you use the Ant build
[all …]
/frameworks/base/docs/html/guide/developing/building/
Dbuilding-cmdline.jd37 …it must be signed before it can install on an emulator or device&mdash;with a debug key when build…
38 in debug mode and with your own private key when building in release mode.</p>
42 When you build in debug mode, the .apk file is automatically signed by the SDK tools with
44 development device. You cannot distribute an application that is signed with a debug key.
46 must manually sign it with your own private key, using Keytool and Jarsigner.</p>
50 you're ready to release your application and share it with end-users. That document describes the
73 application with a debug key and optimize the package with {@code zipalign}.</p>
85 <code>&lt;your_project_name&gt;-debug.apk</code>. The file is already signed with
86 the debug key and has been aligned with
102 additional testing and debugging with the final .apk.</p>
[all …]
/frameworks/base/docs/html/guide/topics/usb/
Dhost.jd14 <a href="#working-d">Working with devices</a>
19 <li><a href="#permission-d">Obtaining permission to communicate with a device</a></li>
21 <li><a href="#communicating-d">Communicating with a device</a></li>
23 <li><a href="#terminating-d">Terminating communication with a device</a></li>
44 <p>Before you begin, it is important to understand the classes that you need to work with. The
59 <td>Allows you to enumerate and communicate with connected USB devices.</td>
81 two-way communication with the device.</td>
94 <td>Represents an asynchronous request to communicate with a device through a {@link
108 when communicating with a USB device. In general, you obtain a {@link
113 android.hardware.usb.UsbDeviceConnection} to communicate with the USB device.</p>
[all …]
Daccessory.jd29 <a href="#working-a">Working with accessories</a>
34 <li><a href="#permission-a">Obtaining permission to communicate with an
37 <li><a href="#communicating-a">Communicating with an accessory</a></li>
39 <li><a href="#terminating-a">Terminating communication with an accessory</a></li>
57 This allows Android-powered devices that cannot act as a USB host to still interact with USB
76 support applications written with the add-on library. This add-on library is a thin wrapper
94 package with the SDK Manager. See <a href=
119 <td>Allows you to enumerate and communicate with connected USB accessories.</td>
147 <p>When you filter for a connected accessory with an intent filter, the {@link
164 working with the USB accesory APIs. The <a href="#manifest-example">manifest and resource file
[all …]
Dadk.jd12 <a href="#getting-started">Getting Started with the ADK</a>
37 <li><a href="#establish">Establish communication with the device</a></li>
52 <li><a href="#establish-adk">Establish communication with the device</a></li>
105 support, which allows external USB hardware (an Android USB accessory) to interact with an
113 connections with external USB devices. Android Open Accessory support overcomes this limitation
114 and allows you to build accessories that can interact with an assortment of Android-powered
139 <a href="http://mbed.org/cookbook/mbed-with-Android-ADK">mbed with the Android ADK</a>.
166 accessory's firmware, and the Android application that interacts with the accessory. The hardware
176 on the board to define the board's functionality and interaction with the attached shield and
189 the board to initiate transactions with USB devices. Describing how to use this entire library
[all …]
/frameworks/base/libs/usb/tests/AccessoryChat/
DREADME.txt3 AccessoryChat - A Java app with a chat-like UI that sends and receives strings
6 accessorychat - A C command-line program that communicates with AccessoryChat.
10 android device with USB host support
/frameworks/base/docs/html/guide/developing/tools/
Dzipalign.jd9 with a particular alignment relative to the start of the file. Specifically,
12 allows all portions to be accessed directly with {@code mmap()} even if they
13 contain binary data with alignment restrictions.
19 this for you. When using Eclipse with the ADT plugin, the Export Wizard
20 will automatically zipalign your .apk after it signs it with your private key.
22 when compiling your application with Ant will also zipalign your .apk,
28 <strong>after</strong> the .apk file has been signed with your private key.
/frameworks/base/docs/html/resources/articles/
Dwikinotes-linkify.jd27 WikiWord (that is, a word with <a title="word with camel case"
45 TextView with content in it, and the <code>Linkify.ALL</code> flag:</p>
52 link actions, and the TextView will be immediately updated with a set
54 actions (e.g. a web URL will start the browser with that URL, a
55 telephone number will bring up the phone dialer with that number ready
59 pre-defined action for that, so it needs to be defined and associated with a
68 description: "Starting with a word boundary (the \b) find at least one
75 <p>We also need to tell Linkify what to do with a match to the
92 <p>Note that the \b's had to be escaped with double backslashes for the Java
102 <code>MyToDoList</code>, Linkify will turn it into an active link with the
[all …]
Dlayout-tricks-efficiency.jd21 with an icon on the left, a title at the top and an optional description
27 two {@link android.widget.TextView}, are positioned with respect to each other,
34 <p>Implementing this layout is straightforward with <code>LinearLayout</code>.
35 The item itself is a horizontal <code>LinearLayout</code> with an
86 the layout with a <code>RelativeLayout</code> remains simple:</p>
140 {@link android.view.View#GONE}. This works perfectly with the <code>LinearLayout</code>
141 implementation but not with the <code>RelativeLayout</code> version:</p>
146 <p>In a <code>RelativeLayout</code>, views are aligned with their parent, with the
147 <code>RelativeLayout</code> itself, or with other views. For instance, we declared that
148 the description is aligned with the bottom of the <code>RelativeLayout</code> and
[all …]
Dtouch-mode.jd10 user interaction with the phone. By itself, the touch mode is something very
12 performed with the touch screen. For example, if you are using an
13 Android-powered device, selecting a widget with the trackball will take you out
14 of touch mode; however, if you touch a button on the screen with your finger,
31 keyboard. Based on the hardware capabilities of the he user can interact with
46 then decided to move the selection with the trackball? Or worse, what should
57 user touches a list after selecting an item with the trackball.</p>
74 problem with new Android developers is to rely on
90 inside a text field on the screen, without first selecting it with the trackball
109 because it breaks consistency with the normal behavior of the Android UI. A game
[all …]
/frameworks/base/docs/html/guide/basics/
Dfixme-gs-core-packages.jd3 <h1>Getting Started with Android</h1>
5 <p>To get started with Android, please read the following sections first:</p>
23 and delete notes, and covers many of the basic concepts with practical
27 command line tools included with the SDK, what they do, and how to use
61 <dd>contains low-level APIs for working with
85 content providers included with the platform.</dd>
87 <dd>provides APIs for interacting with the
90 <dd>includes various APIs for working with
/frameworks/base/opengl/tests/angeles/
DREADME.txt15 flat shaded with three different lights.
17 The original version was made for desktop with OpenGL. It was
33 and a separate source is included for Linux with X11.
41 application with objects generated using procedural
60 the source with PowerVR OpenGL ES SDK.
62 The demo application is briefly tested with a few other OpenGL ES
66 could still have some work to do with compatibility and correct
Dlicense-LGPL.txt43 code. If you link other code with the library, you must provide
45 with the library after making changes to the library and recompiling
48 We protect your rights with a two-step method: (1) we copyright the
64 consistent with the full freedom of use specified in this license.
73 When a program is linked with a library, whether statically or using
78 Public License permits more lax criteria for linking other code with
106 linked with the Library has the freedom and the wherewithal to run
113 be combined with the library in order to run.
125 prepared so as to be conveniently linked with application programs
132 portion of it, either verbatim or with modifications and/or translated
[all …]
/frameworks/base/docs/html/guide/market/billing/
Dbilling_testing.jd10 <li><a href="#billing-testing-static">Testing in-app purchases with static responses</a></li>
50 <h2 id="billing-testing-static">Testing in-app purchases with static responses</h2>
56 <p>To test your implementation with static responses, you make an in-app billing request using a
58 response from Android Market. No money is transferred when you make in-app billing requests with the
60 with a reserved product ID. Figure 1 shows the checkout flow for the reserved item that has the
70 the publisher site to perform static response tests with the reserved product IDs. You can simply
78 <p>When you make an in-app billing request with this product ID, Android Market responds as
85 <p>When you make an in-app billing request with this product ID Android Market responds as
91 <p>When you make an in-app billing request with this product ID, Android Market responds as
103 <p>When you make an in-app billing request with this product ID, Android Market responds as
[all …]
/frameworks/base/docs/html/guide/topics/manifest/
Dcompatible-screens-element.jd23 <dd>Specifies each screen configuration with which the application is compatible. Only one instance
26 specifies a specific screen size-density combination with which the application is compatible.
31 with specific screen configurations and enable filtering for users. Any screen configuration that is
32 <em>not</em> declared in this element is a screen with which the application is <em>not</em>
34 devices with such screens.</p>
38 application, by not allowing users to install your application if they have a device with a screen
40 application absolutely does not work with all screen configurations. Instead of using this element,
68 <dd>Specifies a single screen configuration with which the application is compatible.
107 <p>If your application is compatible with only small and normal screens, regardless
111 configuration with which your application is <em>not</em> compatible. Here's what the manifest
[all …]
/frameworks/base/docs/html/guide/topics/ui/
Ddialogs.jd87 attach it to an Activity with {@link android.app.Dialog#setOwnerActivity(Activity)}.</p>
106 ID, along with the Dialog object you created in {@link android.app.Activity#onCreateDialog(int)
110 {@link android.app.Activity#onPrepareDialog(int,Dialog)} callback methods is with a
121 <p>Then, define the {@link android.app.Activity#onCreateDialog(int)} callback with a
146 with the ID of a dialog:</p>
187 an {@link android.content.DialogInterface.OnCancelListener} with
201 <li>A list of selectable items (with optional checkboxes or radio buttons)</li>
205 Get a Builder with {@link android.app.AlertDialog.Builder#AlertDialog.Builder(Context)} and
207 AlertDialog properties. After you're done with the Builder, retrieve the
208 AlertDialog object with {@link android.app.AlertDialog.Builder#create()}.</p>
[all …]
/frameworks/base/docs/html/guide/appendix/
Dinstall-location.jd14 integrated with the system (most commonly, games).</li>
33 <p>Beginning with API Level 8, you can allow your application to be installed on the
35 for your application with the <a
46 with a value of either "{@code preferExternal}" or "{@code auto}". For example:</p>
71 <li>The unique container in which your application is stored is encrypted with a randomly
78 with a computer or unmounts the SD card via the system settings, the external storage is unmounted
88 storage (even on devices with API Level 8). However, if your application is designed to support an
89 API Level <em>lower than</em> 8, you can choose to support this feature for devices with API Level 8
90 or greater and still be compatible with devices using an API Level lower than 8.</p>
92 <p>To allow installation on external storage and remain compatible with versions lower than API
[all …]
/frameworks/base/docs/html/guide/developing/testing/
Dtesting_otheride.jd11 <a href="#CreateTestProjectCommand">Working with Test Projects</a>
28 <a href="#RunTestsAnt">Quick build and run with Ant</a>
69 If you are developing in Eclipse with ADT, you can set up and run your tests
72 Testing from Eclipse with ADT</a>.
74 <h2 id="CreateTestProjectCommand">Working with Test Projects</h2>
81 <a href="#RunTestsAnt">Quick build and run with Ant</a>.
85 To create a test project with the <code>android</code> tool, enter:
135 This creates a new test project with the appropriate directories and build files. The directory
141 The operation also creates an <code>AndroidManifest.xml</code> file with instrumentation
143 are testing and control it with instrumentation.
[all …]
Dindex.jd5 Whether you are working in Eclipse with ADT or working from the command line, these tools
7 The documents listed below explain how to work with the tools in your development environment.
10 If you aren't yet familiar with the Android testing framework, please read the topic
21 <dt><a href="testing_eclipse.html">Testing from Eclipse, with ADT</a></dt>
/frameworks/base/docs/html/guide/practices/design/
Djni.jd23 <li><a href="#faq_sharing">FAQ: How do I share raw data with native code?</a></li>
30 (written in the Java programming language) to interact with native
46 pointers to pointers to function tables. (In the C++ version, they're classes with a
72 example, a thread started with <code>pthread_create</code> can be attached
73 with the JNI <code>AttachCurrentThread</code> or
92 key with <code>pthread_setspecific</code> to store the JNIEnv in
103 <li> Get the class object reference for the class with <code>FindClass</code></li>
104 <li> Get the field ID for the field with <code>GetFieldID</code></li>
105 <li> Get the contents of the field with something appropriate, such as
119 are only unloaded if all classes associated with a ClassLoader can be garbage collected,
[all …]

12345678910>>...21