Home
last modified time | relevance | path

Searched refs:element (Results 1 – 25 of 207) sorted by relevance

123456789

/frameworks/base/core/java/android/util/
DFinitePool.java62 T element; in acquire() local
65 element = mRoot; in acquire()
66 mRoot = element.getNextPoolable(); in acquire()
69 element = mManager.newInstance(); in acquire()
72 if (element != null) { in acquire()
73 element.setNextPoolable(null); in acquire()
74 element.setPooled(false); in acquire()
75 mManager.onAcquired(element); in acquire()
78 return element; in acquire()
81 public void release(T element) { in release() argument
[all …]
DPoolableManager.java25 void onAcquired(T element); in onAcquired() argument
26 void onReleased(T element); in onReleased() argument
/frameworks/base/docs/html/guide/topics/manifest/
Dmanifest-intro.jd65 every element that it can contain. Each element, along with all of its
67 information about any element, click on the element name in the diagram,
69 other mention of the element name.
75 <a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a>
77 …<a href="{@docRoot}guide/topics/manifest/uses-permission-element.html">&lt;uses-permission /&gt;</…
78 <a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission /&gt;</a>
79 …<a href="{@docRoot}guide/topics/manifest/permission-tree-element.html">&lt;permission-tree /&gt;</…
80 …<a href="{@docRoot}guide/topics/manifest/permission-group-element.html">&lt;permission-group /&gt;…
81 …<a href="{@docRoot}guide/topics/manifest/instrumentation-element.html">&lt;instrumentation /&gt;</…
82 <a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html">&lt;uses-sdk /&gt;</a>
[all …]
Dservice-element.jd19 <dd><code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a…
22 <dd><code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt…
23 <br/><code><a href="{@docRoot}guide/topics/manifest/meta-data-element.html">&lt;meta-data&gt;</a></…
46 …href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code> ele…
47 <code><a href="{@docRoot}guide/topics/manifest/application-element.html#enabled">enabled</a></code>…
49 <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></c…
75 … service (see the <code><a href="{@docRoot}guide/topics/manifest/service-element.html#prmsn">permi…
83 …tead (see the <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;applica…
84 element's <code><a href="{@docRoot}guide/topics/manifest/application-element.html#icon">icon</a></c…
89 …href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code> ele…
[all …]
Dreceiver-element.jd19 <dd><code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a…
22 <dd><code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt…
23 <br/><code><a href="{@docRoot}guide/topics/manifest/meta-data-element.html">&lt;meta-data&gt;</a></…
33 declare it in the manifest file with this element. The other is to create
48 …href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code> ele…
49 <code><a href="{@docRoot}guide/topics/manifest/application-element.html#enabled">enabled</a></code>…
51 <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></c…
78 (see the <code><a href="{@docRoot}guide/topics/manifest/receiver-element.html#prmsn">permission</a>…
85 instead (see the <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;appli…
86 element's <code><a href="{@docRoot}guide/topics/manifest/application-element.html#icon">icon</a></c…
[all …]
Dpermission-group-element.jd14 <dd><code><a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a></cod…
19 …a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a></code> ele…
23 Note that this element does not declare a permission itself, only a category in
25 …="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a></code> element f…
50 <code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a></cod…
51 element's
52 <code><a href="{@docRoot}guide/topics/manifest/permission-element.html#pgroup">&lt;permissionGroup&…
61 <dd><code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a><…
62 <br/><code><a href="{@docRoot}guide/topics/manifest/permission-tree-element.html">&lt;permission-tr…
63 <br/><code><a href="{@docRoot}guide/topics/manifest/uses-permission-element.html">&lt;uses-permissi…
Dcompatible-screens-element.jd20 href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a></code></dd>
24 of the {@code &lt;compatible-screens&gt;} element is allowed in the manifest, but it can
25 contain multiple <code>&lt;screen&gt;</code> elements. Each <code>&lt;screen&gt;</code> element
29 element (neither at install-time nor at runtime). This element is informational only and may be used
32 <em>not</em> declared in this element is a screen with which the application is <em>not</em>
37 element</strong>. Using this element can dramatically reduce the potential user base for your
40 application absolutely does not work with all screen configurations. Instead of using this element,
46 should use the <a href="{@docRoot}guide/topics/manifest/supports-screens-element.html">{@code
47 &lt;supports-screens&gt;}</a> element. For example, if you want your application to be available
49 href="{@docRoot}guide/topics/manifest/supports-screens-element.html">{@code
[all …]
Dintent-filter-element.jd15 <dd><code><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></cod…
16 <br/><code><a href="{@docRoot}guide/topics/manifest/activity-alias-element.html">&lt;activity-alias…
17 <br/><code><a href="{@docRoot}guide/topics/manifest/service-element.html">&lt;service&gt;</a></code>
18 <br/><code><a href="{@docRoot}guide/topics/manifest/receiver-element.html">&lt;receiver&gt;</a></co…
21 <dd><code><a href="{@docRoot}guide/topics/manifest/action-element.html">&lt;action&gt;</a></code></…
24 <dd><code><a href="{@docRoot}guide/topics/manifest/category-element.html">&lt;category&gt;</a></cod…
25 <br/><code><a href="{@docRoot}guide/topics/manifest/data-element.html">&lt;data&gt;</a></code></dd>
37 <code><a href="{@docRoot}guide/topics/manifest/action-element.html">&lt;action&gt;</a></code>,
38 <code><a href="{@docRoot}guide/topics/manifest/category-element.html">&lt;category&gt;</a></code>, …
39 <code><a href="{@docRoot}guide/topics/manifest/data-element.html">&lt;data&gt;</a></code> subelemen…
[all …]
Dapplication-element.jd32 <dd><code><a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a></cod…
35 <dd><code><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></cod…
36 <br/><code><a href="{@docRoot}guide/topics/manifest/activity-alias-element.html">&lt;activity-alias…
37 <br/><code><a href="{@docRoot}guide/topics/manifest/service-element.html">&lt;service&gt;</a></code>
38 <br/><code><a href="{@docRoot}guide/topics/manifest/receiver-element.html">&lt;receiver&gt;</a></co…
39 <br/><code><a href="{@docRoot}guide/topics/manifest/provider-element.html">&lt;provider&gt;</a></co…
40 <br/><code><a href="{@docRoot}guide/topics/manifest/uses-library-element.html">&lt;uses-library&gt;…
43 <dd>The declaration of the application. This element contains subelements
65 <code><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></code>
66 element has its own
[all …]
Dactivity-alias-element.jd19 <dd><code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a…
22 <dd><code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt…
23 <br/><code><a href="{@docRoot}guide/topics/manifest/meta-data-element.html">&lt;meta-data&gt;</a></…
46 attributes are a subset of <code><a href="{@docRoot}guide/topics/manifest/activity-element.html">&l…
60 …href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code> ele…
61 <code><a href="{@docRoot}guide/topics/manifest/application-element.html#enabled">enabled</a></code>…
63 <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></c…
87 …e><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></code> elem…
88 <code><a href="{@docRoot}guide/topics/manifest/activity-element.html#icon">icon</a></code> attribut…
92 …e><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></code> elem…
[all …]
Dgrant-uri-permission-element.jd13 <dd><code><a href="{@docRoot}guide/topics/manifest/provider-element.html">&lt;provider&gt;</a></cod…
25 If a content provider's <code><a href="{@docRoot}guide/topics/manifest/provider-element.html#gprmns…
28 can be granted only to data subsets that are specified by this element.
35 …f="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt;</a></code> el…
36 <code><a href="{@docRoot}guide/topics/manifest/provider-element.html#gprmsn">grantUriPermissions</a…
85 <code><a href="{@docRoot}guide/topics/manifest/provider-element.html#gprmns">grantUriPermissions</a…
87 <code><a href="{@docRoot}guide/topics/manifest/provider-element.html">&lt;provider&gt;</a></code>
88 element</dd>
Dprovider-element.jd26 <dd><code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a…
29 <dd><code><a href="{@docRoot}guide/topics/manifest/meta-data-element.html">&lt;meta-data&gt;</a></c…
30 <br/><code><a href="{@docRoot}guide/topics/manifest/grant-uri-permission-element.html">&lt;grant-ur…
31 <br/><code><a href="{@docRoot}guide/topics/manifest/path-permission-element.html">&lt;path-permissi…
86 …href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code> ele…
87 <code><a href="{@docRoot}guide/topics/manifest/application-element.html#enabled">enabled</a></code>…
89 <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></c…
104 <code><a href="{@docRoot}guide/topics/manifest/provider-element.html#prmsn">permission</a></code> a…
111 <code><a href="{@docRoot}guide/topics/manifest/provider-element.html#rprmsn">readPermission</a></co…
112 <code><a href="{@docRoot}guide/topics/manifest/provider-element.html#wprmsn">writePermission</a></c…
[all …]
Dmanifest-element.jd25 <dd><code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a…
28 <dd><code><a href="{@docRoot}guide/topics/manifest/instrumentation-element.html">&lt;instrumentatio…
29 <br/><code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a>…
30 <br/><code><a href="{@docRoot}guide/topics/manifest/permission-group-element.html">&lt;permission-g…
31 <br/><code><a href="{@docRoot}guide/topics/manifest/permission-tree-element.html">&lt;permission-tr…
32 <br/><code><a href="{@docRoot}guide/topics/manifest/uses-configuration-element.html">&lt;uses-confi…
33 <br/><code><a href="{@docRoot}guide/topics/manifest/uses-permission-element.html">&lt;uses-permissi…
34 <br/><code><a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html">&lt;uses-sdk&gt;</a></co…
38 <dd>The root element of the AndroidManifest.xml file. It must
39 …href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code> ele…
[all …]
Dpermission-tree-element.jd13 <dd><code><a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a></cod…
28 Note that this element does not declare a permission itself, only a
30 <code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a></cod…
31 element for information on declaring permissions.
61 <dd><code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a><…
62 <br/><code><a href="{@docRoot}guide/topics/manifest/permission-group-element.html">&lt;permission-g…
63 <br/><code><a href="{@docRoot}guide/topics/manifest/uses-permission-element.html">&lt;uses-permissi…
Duses-permission-element.jd33 href="{@docRoot}guide/topics/manifest/uses-feature-element.html#permissions-features">
34 <code>&lt;uses-feature&gt;</code></a> element.</p>
43 <dd><code><a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a></cod…
62 application with the <code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;pe…
63 element, a permission defined by another application, or one of the
77 …<li><code><a href="{@docRoot}guide/topics/manifest/permission-element.html">&lt;permission&gt;</a>…
78 …<li><code><a href="{@docRoot}guide/topics/manifest/uses-feature-element.html">&lt;uses-feature&gt;…
/frameworks/base/tools/preload/
Dsorttable.js374 function dean_addEvent(element, type, handler) { argument
375 if (element.addEventListener) {
376 element.addEventListener(type, handler, false);
381 if (!element.events) element.events = {};
383 var handlers = element.events[type];
385 handlers = element.events[type] = {};
387 if (element["on" + type]) {
388 handlers[0] = element["on" + type];
394 element["on" + type] = handleEvent;
400 function removeEvent(element, type, handler) { argument
[all …]
/frameworks/base/docs/html/guide/practices/
Dscreen-compat-mode.jd19 <li><a href="{@docRoot}guide/topics/manifest/supports-screens-element.html">{@code
70 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
72 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
74 href="{@docRoot}guide/topics/manifest/supports-screens-element.html#resizeable">{@code
120 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code android:minSdkVersion}</a>
121 and <a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
124 href="{@docRoot}guide/topics/manifest/supports-screens-element.html">{@code
125 &lt;supports-screens&gt;}</a> element.</li>
128 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code android:minSdkVersion}</a>
129 or <a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
[all …]
Dscreens-distribution.jd59 href="{@docRoot}guide/topics/manifest/compatible-screens-element.html">{@code
60 &lt;compatible-screens>}</a> element to manage the distribution of your application based on
65 <p>The <a href="{@docRoot}guide/topics/manifest/compatible-screens-element.html">{@code
66 &lt;compatible-screens>}</a> element must contain one or more {@code &lt;screen&gt;} elements. Each
67 {@code &lt;screen&gt;} element specifies a screen configuration with which your application is
69 Each {@code &lt;screen&gt;} element <strong>must include both attributes</strong> to specify an
70 individual screen configuration&mdash;if either attribute is missing, then the element is invalid
102 href="{@docRoot}guide/topics/manifest/compatible-screens-element.html">{@code
103 &lt;compatible-screens>}</a> element for the reverse scenario (when your application is not
105 href="{@docRoot}guide/topics/manifest/supports-screens-element.html">{@code
[all …]
/frameworks/base/docs/html/guide/topics/resources/
Dlayout-resource.jd37 &lt;<a href="#viewgroup-element"><em>ViewGroup</em></a> xmlns:android="http://schemas.android.com/a…
42 &lt;<a href="#view-element"><em>View</em></a>
47 &lt;<a href="#requestfocus-element">requestFocus</a>/&gt;
49 &lt;<a href="#viewgroup-element"><em>ViewGroup</em></a> &gt;
50 &lt;<a href="#view-element"><em>View</em></a> /&gt;
52 &lt;<a href="#include-element">include</a> layout="@layout/<i>layout_resource</i>"/&gt;
55 <p class="note"><strong>Note:</strong> The root element can be either a
57 href="#merge-element">{@code &lt;merge&gt;}</a> element, but there must be only
58 one root element and it must contain the {@code xmlns:android} attribute with the {@code android}
66 <dt id="viewgroup-element"><code>&lt;ViewGroup&gt;</code></dt>
[all …]
Dmore-resources.jd37 under one {@code &lt;resources>} element.</p>
43 The filename is arbitrary. The {@code &lt;bool>} element's {@code name} will be used as the resource
56 &lt;<a href="#bool-resources-element">resources</a>&gt;
57 &lt;<a href="#bool-element">bool</a>
68 <dt id="bool-resources-element"><code>&lt;resources&gt;</code></dt>
72 <dt id="bool-element"><code>&lt;bool&gt;</code></dt>
133 under one {@code &lt;resources>} element.</p>
139 The filename is arbitrary. The {@code &lt;color>} element's {@code name} will be used as the
152 &lt;<a href="#color-resources-element">resources</a>>
153 &lt;<a href="#color-element">color</a>
[all …]
Dstyle-resource.jd26 under one {@code &lt;resources>} element.</p>
32 The filename is arbitrary. The element's {@code name} will be used as the resource ID.</dd>
43 &lt;<a href="#resources-element">resources</a>>
44 &lt;<a href="#style-element">style</a>
47 &lt;<a href="#item-element">item</a>
59 <dt id="resources-element"><code>&lt;resources&gt;</code></dt>
63 <dt id="style-element"><code>&lt;style&gt;</code></dt>
78 <dt id="item-element"><code>&lt;item&gt;</code></dt>
80 <code>&lt;style&gt;</code> element.</p>
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java127 for (T element : array) { in contains()
128 if (element == null) { in contains()
131 if (value != null && element.equals(value)) return true; in contains()
138 for (int element : array) { in contains()
139 if (element == value) { in contains()
/frameworks/base/core/java/com/android/internal/os/
DPowerProfile.java172 String element = parser.getName(); in readPowerValuesFromXml() local
173 if (element == null) break; in readPowerValuesFromXml()
175 if (parsingArray && !element.equals(TAG_ARRAYITEM)) { in readPowerValuesFromXml()
180 if (element.equals(TAG_ARRAY)) { in readPowerValuesFromXml()
184 } else if (element.equals(TAG_ITEM) || element.equals(TAG_ARRAYITEM)) { in readPowerValuesFromXml()
194 if (element.equals(TAG_ITEM)) { in readPowerValuesFromXml()
/frameworks/base/core/java/android/view/
DVelocityTracker.java41 public void onAcquired(VelocityTracker element) {
44 public void onReleased(VelocityTracker element) {
45 element.clear();
88 public void setNextPoolable(VelocityTracker element) { in setNextPoolable() argument
89 mNext = element; in setNextPoolable()
/frameworks/base/docs/html/guide/appendix/
Dmarket-filters.jd32 href="{@docRoot}guide/topics/manifest/supports-gl-texture-element.html">&lt;supports-gl-texture&gt;…
34 href="{@docRoot}guide/topics/manifest/supports-screens-element.html">&lt;supports-screens&gt;</a></…
36 href="{@docRoot}guide/topics/manifest/uses-configuration-element.html">&lt;uses-configuration&gt;</…
38 href="{@docRoot}guide/topics/manifest/uses-feature-element.html">&lt;uses-feature&gt;</a></code></l…
40 href="{@docRoot}guide/topics/manifest/uses-library-element.html">&lt;uses-library&gt;</a></code></l…
42 href="{@docRoot}guide/topics/manifest/uses-permission-element.html">&lt;uses-permission&gt;</a></co…
44 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html">&lt;uses-sdk&gt;</code></a></li>
114 Market filtering, and explains how the filtering for each element works.</p>
125 …nowrap;"><code><a href="{@docRoot}guide/topics/manifest/supports-screens-element.html">&lt;support…
131 setting attributes of the <code>&lt;supports-screens&gt;</code> element. When
[all …]

123456789