Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/compile/libbcc/lib/Renderscript/runtime/
Drs_element.c10 Element_t *element = (Element_t *)e.p; in rsElementGetSubElementCount() local
11 if (element == NULL) { in rsElementGetSubElementCount()
14 return element->mHal.state.fieldsCount; in rsElementGetSubElementCount()
19 Element_t *element = (Element_t *)e.p; in rsElementGetSubElement() local
20 if (element == NULL || index >= element->mHal.state.fieldsCount) { in rsElementGetSubElement()
24 rs_element returnElem = {element->mHal.state.fields[index]}; in rsElementGetSubElement()
30 Element_t *element = (Element_t *)e.p; in rsElementGetSubElementNameLength() local
31 if (element == NULL || index >= element->mHal.state.fieldsCount) { in rsElementGetSubElementNameLength()
34 return element->mHal.state.fieldNameLengths[index]; in rsElementGetSubElementNameLength()
39 Element_t *element = (Element_t *)e.p; in rsElementGetSubElementName() local
[all …]
/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 …]
/frameworks/support/renderscript/v8/rs_support/scriptc/
Drs_element.rsh35 * @param e element to get data from
36 * @return number of sub-elements in this element
43 * sub-element at index
45 * @param e element to get data from
46 * @param index index of the sub-element to return
47 * @return sub-element in this element at given index
54 * sub-element name at index
56 * @param e element to get data from
57 * @param index index of the sub-element to return
58 * @return length of the sub-element name including the null
[all …]
/frameworks/rs/scriptc/
Drs_element.rsh35 * @param e element to get data from
36 * @return number of sub-elements in this element
43 * sub-element at index
45 * @param e element to get data from
46 * @param index index of the sub-element to return
47 * @return sub-element in this element at given index
54 * sub-element name at index
56 * @param e element to get data from
57 * @param index index of the sub-element to return
58 * @return length of the sub-element name including the null
[all …]
/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 …]
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 …]
Dservice-element.jd20 <dd><code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a…
23 <dd><code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html">&lt;intent-filter&gt…
24 <br/><code><a href="{@docRoot}guide/topics/manifest/meta-data-element.html">&lt;meta-data&gt;</a></…
47 …href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code> ele…
48 <code><a href="{@docRoot}guide/topics/manifest/application-element.html#enabled">enabled</a></code>…
50 <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></c…
76 … service (see the <code><a href="{@docRoot}guide/topics/manifest/service-element.html#prmsn">permi…
84 …tead (see the <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;applica…
85 element's <code><a href="{@docRoot}guide/topics/manifest/application-element.html#icon">icon</a></c…
90 …href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code> ele…
[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…
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 …]
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 …]
Dprovider-element.jd30 …<code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></…
34 <dd><code><a href="{@docRoot}guide/topics/manifest/meta-data-element.html">&lt;meta-data&gt;</a></c…
35 <br/><code><a href="{@docRoot}guide/topics/manifest/grant-uri-permission-element.html">&lt;grant-ur…
36 <br/><code><a href="{@docRoot}guide/topics/manifest/path-permission-element.html">&lt;path-permissi…
43 {@code &lt;provider&gt;} element in the manifest file; otherwise, the system is unaware of them
69 Notice that when you define your provider in the <code>&lt;provider&gt;</code> element, you
100 …href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code> ele…
101 <code><a href="{@docRoot}guide/topics/manifest/application-element.html#enabled">enabled</a></code>…
103 <code><a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></c…
127 <code><a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">android:minSdkVersion</a>…
[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 …]
Dapplication-element.jd34 <dd><code><a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a></cod…
37 <dd><code><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></cod…
38 <br/><code><a href="{@docRoot}guide/topics/manifest/activity-alias-element.html">&lt;activity-alias…
39 <br/><code><a href="{@docRoot}guide/topics/manifest/service-element.html">&lt;service&gt;</a></code>
40 <br/><code><a href="{@docRoot}guide/topics/manifest/receiver-element.html">&lt;receiver&gt;</a></co…
41 <br/><code><a href="{@docRoot}guide/topics/manifest/provider-element.html">&lt;provider&gt;</a></co…
42 <br/><code><a href="{@docRoot}guide/topics/manifest/uses-library-element.html">&lt;uses-library&gt;…
45 <dd>The declaration of the application. This element contains subelements
67 <code><a href="{@docRoot}guide/topics/manifest/activity-element.html">&lt;activity&gt;</a></code>
68 element has its own
[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>
/frameworks/base/docs/html/guide/topics/renderscript/
Dreference.jd9 function autoResize(element){
13 newheight = element.contentWindow.document.body.scrollHeight + 20;
14 newwidth = element.contentWindow.document.body.scrollWidth;
15 element.height = (newheight) + "px";
16 element.width = (newwidth) + "px";
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java126 for (T element : array) { in contains()
127 if (element == null) { in contains()
130 if (value != null && element.equals(value)) return true; in contains()
137 for (int element : array) { in contains()
138 if (element == value) { in contains()
161 public static <T> T[] appendElement(Class<T> kind, T[] array, T element) { in appendElement() argument
172 result[end] = element; in appendElement()
187 public static <T> T[] removeElement(Class<T> kind, T[] array, T element) { in removeElement() argument
191 if (array[i] == element) { in removeElement()
/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 …]
/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/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/docs/html/tools/help/uiautomator/
DUiCollection.jd86 …<div class="jd-descrdiv">Searches for child UI element within the constraints of this <code><a hr…
105 …<div class="jd-descrdiv">Searches for child UI element within the constraints of this <code><a hr…
123 …<div class="jd-descrdiv">Searches for child UI element within the constraints of this <code><a hr…
141 … <div class="jd-descrdiv">Counts child UI element instances matching the <code>childPattern</code>
212 …ss="jd-descrdiv">Performs a click at the center of the visible bounds of the UI element represented
231 …ss="jd-descrdiv">Performs a click at the center of the visible bounds of the UI element represented
270 <div class="jd-descrdiv">Clicks the bottom and right corner of the UI element</div>
288 <div class="jd-descrdiv">Clicks the top and left corner of the UI element</div>
306 <div class="jd-descrdiv">Check if UI element exists.</div>
324 <div class="jd-descrdiv">Returns the UI element's <code>bounds</code> property.</div>
[all …]
DUiObject.jd8 <p>A UiObject is a representation of a user interface (UI) element. It is not in any way directly b…
9 UI element as an object reference. A UiObject holds information to help it
10 …locate a matching UI element at runtime based on the <code><a href="UiSelector.html">UiSelector</a…
11 its constructor. Since a UiObject is a representative for a UI element, it can
76 …<div class="jd-descrdiv">Constructs a UiObject to represent a specific UI element matched by the s…
126 …ss="jd-descrdiv">Performs a click at the center of the visible bounds of the UI element represented
145 …ss="jd-descrdiv">Performs a click at the center of the visible bounds of the UI element represented
184 <div class="jd-descrdiv">Clicks the bottom and right corner of the UI element</div>
202 <div class="jd-descrdiv">Clicks the top and left corner of the UI element</div>
220 <div class="jd-descrdiv">Check if UI element exists.</div>
[all …]
/frameworks/base/docs/html/google/play/
Dfilters.jd31 href="{@docRoot}guide/topics/manifest/supports-gl-texture-element.html">&lt;supports-gl-texture&gt;…
33 href="{@docRoot}guide/topics/manifest/supports-screens-element.html">&lt;supports-screens&gt;</a></…
35 href="{@docRoot}guide/topics/manifest/uses-configuration-element.html">&lt;uses-configuration&gt;</…
37 href="{@docRoot}guide/topics/manifest/uses-feature-element.html">&lt;uses-feature&gt;</a></code></l…
39 href="{@docRoot}guide/topics/manifest/uses-library-element.html">&lt;uses-library&gt;</a></code></l…
41 href="{@docRoot}guide/topics/manifest/uses-permission-element.html">&lt;uses-permission&gt;</a></co…
43 href="{@docRoot}guide/topics/manifest/uses-sdk-element.html">&lt;uses-sdk&gt;</code></a></li>
111 filtering, and explains how the filtering for each element works.</p>
122 …nowrap;"><code><a href="{@docRoot}guide/topics/manifest/supports-screens-element.html">&lt;support…
128 setting attributes of the <code>&lt;supports-screens&gt;</code> element. When
[all …]

12345678910>>...12