Home
last modified time | relevance | path

Searched refs:that (Results 1 – 25 of 727) sorted by relevance

12345678910>>...30

/frameworks/base/tools/aapt/
DSourcePos.cpp19 ErrorPos(const ErrorPos& that);
36 ErrorPos::ErrorPos(const ErrorPos& that) in ErrorPos() argument
37 :file(that.file), in ErrorPos()
38 line(that.line), in ErrorPos()
39 error(that.error), in ErrorPos()
40 fatal(that.fatal) in ErrorPos()
105 SourcePos::SourcePos(const SourcePos& that) in SourcePos() argument
106 : file(that.file), line(that.line) in SourcePos()
/frameworks/base/docs/html/guide/basics/
Dbuilding-blocks.jd11 possible (and quite common) to create multiple threads within that process,
20 <dd>The AndroidManifest.xml file is the control file that tells the system
24 "glue" that actually specifies which Intents your Activities receive.</dd>
27 <dd>An Activity is, fundamentally, an object that has a life cycle. An
28 Activity is a chunk of code that does some work; if necessary, that work
35 <dd>A View is an object that knows how to draw itself to the screen.
43 <dd>An Intent is a simple message object that represents an "intention" to
47 piece of code (in this case, the Browser) that knows how to handle that
53 <dd>A Service is a body of code that runs in the background. It can run in
63 <dd>A Notification is a small icon that appears in the status bar. Users
[all …]
Dappmodel.jd6 the executable image (such as the .exe on Windows) that an application lives in,
12 basic terminology that needs to be understood when implementing the
18 file that an application is distributed in and downloaded by the user when
19 installing that application on their device.</p></li>
22 an "application" that can be launched: usually a task has an icon in the
24 item that can be brought to the foreground in front of other
29 .apk is run in one, dedicated process for that .apk; however, the
31 can be used to modify where that code is run, either for
49 will also run as part of that task.</p>
53 has traversed through in that task and not yet closed, or an activity stack.
[all …]
/frameworks/native/opengl/tests/angeles/
Dlicense-LGPL.txt28 not price. Our General Public Licenses are designed to make sure that
30 for this service if you wish); that you receive source code or can get
31 it if you want it; that you can change the software and use pieces of
32 it in new free programs; and that you are informed that you can do
35 To protect your rights, we need to make restrictions that forbid
41 or for a fee, you must give the recipients all the rights that we gave
42 you. You must make sure that they, too, receive or can get the source
44 complete object files to the recipients, so that they can relink them
52 To protect each distributor, we want to make it very clear that
55 that what they have is not the original version, so that the original
[all …]
/frameworks/base/core/java/android/content/res/
DConfiguration.java958 public int compareTo(Configuration that) { in compareTo() argument
961 float b = that.fontScale; in compareTo()
964 n = this.mcc - that.mcc; in compareTo()
966 n = this.mnc - that.mnc; in compareTo()
969 if (that.locale != null) return 1; in compareTo()
970 } else if (that.locale == null) { in compareTo()
973 n = this.locale.getLanguage().compareTo(that.locale.getLanguage()); in compareTo()
975 n = this.locale.getCountry().compareTo(that.locale.getCountry()); in compareTo()
977 n = this.locale.getVariant().compareTo(that.locale.getVariant()); in compareTo()
980 n = this.touchscreen - that.touchscreen; in compareTo()
[all …]
/frameworks/base/docs/html/sdk/
Dterms.jd30 …ing the SDK. In this case, you agree that use of the SDK constitutes acceptance of the Licensing A…
36 …ent on behalf of your employer or other entity, you represent and warrant that you have full legal…
45 …ou agree that Google or third parties own all legal right, title and interest in and to the SDK, i…
52 …under an open source software license are governed solely by the terms of that open source softwar…
55that the form and nature of the SDK that Google provides may change without prior notice to you an…
61 …3.7 You agree that you will not remove, obscure, or alter any proprietary rights notices (includin…
67that it obtains no right, title or interest from you (or your licensors) under this License Agreem…
70 …4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) th…
73that if you use the SDK to develop applications for general public users, you will protect the pri…
76 …4.4 You agree that you will not engage in any activity with the SDK, including the development or …
[all …]
/frameworks/base/docs/html/tools/projects/
Dindex.jd26 application correctly, so it is highly recommended that you create them with Eclipse and ADT or
35 …of project and the contents are eventually built into an <code>.apk</code> file that you install o…
41 applications that run on a device.</dd>
45 <dd>These projects contain shareable Android source code and resources that you can reference
46 in Android projects. This is useful when you have common code that you want to reuse.
59 …<p>Android projects are the projects that eventually get built into an <code>.apk</code> file that
88 <dd>This is empty. You can use it to store raw asset files. Files that you save here are
104 <dd>For XML files that are compiled into animation objects. See the <a href=
110 <dd>For XML files that describe colors. See the <a href=
116 <dd>For bitmap files (PNG, JPEG, or GIF), 9-Patch image files, and XML files that describe
[all …]
/frameworks/base/docs/html/guide/practices/
Dcompatibility.jd34 more devices that run Android apps, the more users who can access your app. In
35 exchange, however, it also means that your apps will have to cope with that same
38 <p>Fortunately, Android has built-in tools and support that make it easy for
39 your apps to do that, while at the same time letting you maintain control of
41 some minor changes in your app's manifest file, you can ensure that users
61 every class and every API for that API level.</p>
64 corresponding hardware or feature. But that’s not a problem: we also designed
70 available. Android provides tools as a first-class part of the platform that let
71 you manage this. You control the availability of your apps, so that they reach
85 that don’t meet those requirements.</li>
[all …]
Dresponsiveness.jd22 <p>It's possible to write code that wins every performance test in the world,
24 These are the applications that aren't <em>responsive</em> enough &mdash; the
25 ones that feel sluggish, hang or freeze for significant periods, or take too
28 <p>In Android, the system guards against applications that are insufficiently
33 to design responsiveness into your application, so that the system never has
39 process incoming user input events. After a time, the system concludes that the
45 conclude that your application has hung. It's always important to make
51 interface event loop) running and prevents the system from concluding that your code
58 application is not responding and provides guidelines for ensuring that your
80 This means that anything your application is doing in the main thread that
[all …]
Dsecurity.jd26 <p>Android was designed so that most developers will be able to build
29 into the operating system that significantly reduce the frequency and impact of
32 <p>Some of the security features that help developers build secure applications
35 <li>The Android Application Sandbox that isolates data and code execution on a
42 <li>An encrypted filesystem that can be enabled to protect data on lost or
48 and to reduce the likelihood of inadvertently introducing security issues that
52 that can have security implications for your application and its users. As
58 <p>Writing secure code that runs in virtual machines is a well-studied topic
60 rehash these topics, we’d recommend that you familiarize yourself with the
72 programming in other environments, there are two broad issues that may be
[all …]
/frameworks/base/core/java/android/text/format/
DTime.java578 public void set(Time that) { in set() argument
579 this.timezone = that.timezone; in set()
580 this.allDay = that.allDay; in set()
581 this.second = that.second; in set()
582 this.minute = that.minute; in set()
583 this.hour = that.hour; in set()
584 this.monthDay = that.monthDay; in set()
585 this.month = that.month; in set()
586 this.year = that.year; in set()
587 this.weekDay = that.weekDay; in set()
[all …]
/frameworks/base/docs/html/guide/topics/resources/
Dlocalization.jd14 that match the device's locale.</li>
84 For example, if users input data that needs to be formatted or sorted
93 application that uses locale-specific resources in the way described in this
100 data that your Android application needs. An application can include multiple
103 resources that best match the device.</p>
106 of resource-switching and all the types of configurations that you can
140 is missing a string that your application needs, then your application will not run
147 (<code>res/values-en/strings.xml</code>) that defines <code>text_a</code> and
149 resource file (<code>res/values/strings.xml</code>) that includes a
164 <p>To prevent this situation, make sure that a <code>res/values/strings.xml</code>
[all …]
/frameworks/base/docs/html/
Dlicense.jd27 documentation (code comments) extracted from a source code module that
41 <p>You may use the content of this site in any way that is consistent
42 with the specific license that applies to the content, as described
44 ask that you give proper <a href="#attribution">attribution</a>. </p>
50 terms that encourage you to take, modify, reuse, re-purpose, and remix the
62 license, note that proprietary trademarks and brand features are not
63 included in that license.</li>
73 <li>In some cases, a page may include content, such as an image, that is not
74 covered by the license. In that case, we will label the content that is not licensed. </li>
78 slide decks that are not covered.</li>
[all …]
/frameworks/base/docs/html/guide/components/
Dprocesses-and-threads.jd8 <li>Every application runs in its own process and all components of the application run in that
37 for that application (because another component from the application exists), then the component is
38 started within that process and uses the same thread of execution. However, you can arrange for
48 should not change this. However, if you find that you need to control which process a certain
56 &lt;provider&gt;}</a>&mdash;supports an {@code android:process} attribute that can specify a
57 process in which that component should run. You can set this attribute so that each component runs
58 in its own process or so that some components share a process while others do not. You can also set
59 {@code android:process} so that components of different applications run in the same
60 process&mdash;provided that the applications share the same Linux user ID and are signed with the
65 default value that applies to all components.</p>
[all …]
/frameworks/base/docs/html/guide/topics/ui/notifiers/
Dindex.jd6 <p>Several types of situations may arise that require you to notify the user
7 about an event that occurs in your application. Some events require the user to respond
11 should appear to confirm that the save was successful.</li>
13 the application should create a notification that allows the user to respond at
16 performing work that the user must wait for (such as loading a file),
22 <li>A <a href="#Toast">Toast Notification</a>, for brief messages that come
25 that come from the background and request the user's response.</li>
37 <p>A toast notification is a message that pops up on the surface of the window.
59 {@link android.content.Intent} that is defined by the notification (usually to launch an
66 notify the user about an event. If you need to alert the user about an event that occurs
[all …]
/frameworks/base/docs/html/guide/google/play/publishing/
Dmultiple-apks.jd58 <p>Multiple APK support is a feature on Google Play that allows you to publish different APKs
59 for your application that are each targeted to different device configurations. Each APK is a
66 to the success of your application that you make it available to as many devices as possible.
74 <p>Although <strong>we encourage you to develop and publish a single APK</strong> that supports as
89 <p>Currently, these are the only device characteristics that Google Play supports for publishing
122 <strong>Unpublish</strong>. Clicking it in this state unpublishes your application so that none
155 <p>Advanced mode allows you to activate and publish multiple APKs that are each designed for a
157 declarations in each APK that determine whether you're allowed to activate each APK along with
167 <p>The concept for using multiple APKs on Google Play is that you have just one entry in
169 means that:</p>
[all …]
/frameworks/base/docs/html/guide/topics/renderscript/
Dcompute.jd34 level that you write in C (C99 standard). Renderscript gives your apps the ability to run
37 is useful for apps that do image processing, mathematical modeling, or any operations
38 that require lots of mathematical computation.</p>
49 If you have apps that render graphics with Renderscript, we highly
55 application. An application that uses Renderscript is still a traditional Android application that
56 runs in the VM, but you write Renderscript code for the parts of your program that require
62 code is controlled by the higher level Android system that runs in a virtual machine (VM). The
63 Android VM still retains all control of memory management and binds memory that it allocates to
71 <p>When using Renderscript, there are three layers of APIs that enable communication between the
76 that is required by your application.</li>
[all …]
/frameworks/base/docs/html/guide/topics/manifest/
Duses-feature-element.jd24 <li><a href="#permissions">Permissions that Imply Feature Requirements</a></li>
50 <p style="margin-top:1em;">Google Play filters the applications that are visible to users, so
51 that users can see and download only those applications that are compatible with their
60 <p style="margin-top:1em;">By specifying the features that your application requires,
73 <dd>Declares a single hardware or software feature that is used by the
78 application depends. The element offers a <code>required</code> attribute that
83 application describe the device-variable features that it uses.</p>
85 <p>The set of available features that your application declares corresponds to
94 that requires both Bluetooth and camera features in the device would declare
103 <code>&lt;uses-feature&gt;</code> elements for all of the features that your
[all …]
/frameworks/base/docs/html/guide/google/play/licensing/
Doverview.jd29 <p>Google Play Licensing is a network-based service that lets an application query a trusted
61 library sources that you can include in your application project: the Google Market
63 application that
66 current user by simply calling a method and implementing a callback that receives the status
74 <li>Your application provides: its package name, a nonce that is later used to
92 <p>Notice that during a license check, your application does not manage any
101 response data using an RSA key pair that is shared exclusively between the Google Play
108 publish with that account.</p>
112 service makes it possible for the application to detect responses that have been
113 tampered with or that are spoofed.</p>
[all …]
/frameworks/base/docs/html/guide/google/play/billing/
Dbilling_overview.jd42 <p>In-app Billing is a Google Play service that provides checkout processing for
48 handle any financial transactions; that role is provided by Google Play's in-app billing
60 <li><em>In-app products</em> &mdash; Items that a user would purchase one-at-a-time. For example, t…
64 <li><em>Subscriptions</em> &mdash; Items that are sold with a developer-specified, recurring billin…
71 <p>In-app Billing offers two purchase types that you can use when selling in-app products, "managed…
74that can be purchased only once per user account on Google Play. When a user purchases an item tha…
78 …><em>Unmanaged</em> &mdash; Items that do not have their transaction information stored on Google …
85 <p>Your app accesses the In-app Billing service using an API that is exposed by
105 server can be useful if you are selling digital content that needs to be delivered to a user's
137 users' purchases and some sort of user interface that lets users select items to purchase. You do
[all …]
/frameworks/base/docs/html/guide/practices/app-design/
Dresponsiveness.jd22 <p>It's possible to write code that wins every performance test in the world,
24 These are the applications that aren't <em>responsive</em> enough &mdash; the
25 ones that feel sluggish, hang or freeze for significant periods, or take too
28 <p>In Android, the system guards against applications that are insufficiently
33 to design responsiveness into your application, so that the system never has
39 process incoming user input events. After a time, the system concludes that the
45 conclude that your application has hung. It's always important to make
51 interface event loop) running and prevents the system from concluding that your code
58 application is not responding and provides guidelines for ensuring that your
80 This means that anything your application is doing in the main thread that
[all …]
/frameworks/base/docs/html/guide/google/play/
Dfilters.jd9 <li>Google Play applies filters that control which Android-powered devices can access your
11 <li>Filtering is determined by comparing device configurations that you declare in you app's
62 based on which applications are compatible with that device. For example, if an application
64 the app on any device that does not have a camera.</p>
66 <p>Declarations in the manifest file that are compared to the device's configuration is not the
71 This document is updated periodically to reflect any changes that affect the way Google Play
87 the app by clicking a deep link that points directly to the app's ID within Google Play..</p>
99 that does not match all three of these requirements. </p>
103 update that makes the app invisible to the user, the user will not see that an update is
113 Table 1 lists the manifest elements that you should use to trigger
[all …]
/frameworks/base/docs/html/about/versions/
Dapi-levels.jd47 <p>API Level is an integer value that uniquely identifies the framework API
50 <p>The Android platform provides a framework API that applications can use to
58 <li>A set of permissions that applications can request, as well as permission
63 Android application framework API that it delivers. </p>
65 <p>Updates to the framework API are designed so that the new API remains
69 that existing applications can still use them. In a very small number of cases,
75 <p>The framework API that an Android platform delivers is specified using an
171 that it supports</li>
172 <li>It lets applications describe the framework API revision that they
175 device, such that version-incompatible applications are not installed.</li>
[all …]
/frameworks/base/docs/html/guide/topics/security/
Dsecurity.jd27 <p>Android was designed so that most developers will be able to build
30 into the operating system that significantly reduce the frequency and impact of
33 <p>Some of the security features that help developers build secure applications
36 <li>The Android Application Sandbox that isolates data and code execution on a
43 <li>An encrypted filesystem that can be enabled to protect data on lost or
49 and to reduce the likelihood of inadvertently introducing security issues that
53 that can have security implications for your application and its users. As
59 <p>Writing secure code that runs in virtual machines is a well-studied topic
61 rehash these topics, we’d recommend that you familiarize yourself with the
73 programming in other environments, there are two broad issues that may be
[all …]
/frameworks/base/docs/html/training/basics/activity-lifecycle/
Dstopping.jd40 that ensures your users perceive that your app is always alive and doesn't lose their progress.
45 activity in your app that's currently in the foreground is stopped. If the user returns to your
47 <li>The user performs an action in your app that starts a new activity. The current activity
56 which identifies a partial UI obstruction, the stopped state guarantees that the UI is no longer
60 instance in system memory when it is stopped, it's possible that you don't need to implement the
62 android.app.Activity#onStart()} methods at all. For most activities that are relatively simple, the
71 android.app.Activity#onResume()} (4). Notice that no matter what scenario causes the activity to
80 longer visible and should release almost all resources that aren't needed while the user is not
84 you use {@link android.app.Activity#onStop()} to release resources that might leak memory.</p>
91 <p>For example, here's an implementation of {@link android.app.Activity#onStop onStop()} that
[all …]

12345678910>>...30