Home
last modified time | relevance | path

Searched refs:elements (Results 1 – 25 of 149) sorted by relevance

123456

/frameworks/base/core/java/com/google/android/collect/
DSets.java64 public static <E> HashSet<E> newHashSet(E... elements) { in newHashSet() argument
65 int capacity = elements.length * 4 / 3 + 1; in newHashSet()
67 Collections.addAll(set, elements); in newHashSet()
87 public static <E> SortedSet<E> newSortedSet(E... elements) { in newSortedSet() argument
89 Collections.addAll(set, elements); in newSortedSet()
DLists.java58 public static <E> ArrayList<E> newArrayList(E... elements) { in newArrayList() argument
59 int capacity = (elements.length * 110) / 100 + 5; in newArrayList()
61 Collections.addAll(list, elements); in newArrayList()
/frameworks/base/docs/html/guide/topics/views/
Dui-xml.jd8 <li>You can declare UI elements statically, in XML. Android provides a straightforward XML vocabula…
9 <li>You can instantiate screen elements dynamically, at runtime, through code in your application. …
12 …or languages. Additionally, declaring in XML makes it easier to see the elements and structure of …
14 …declare your application's default layouts in XML, including the screen elements that will appear …
18 <p>In general, the XML vocabulary for declaring UI elements closely follows the structure and namin…
30 <p>To learn more about the available XML elements and attributes, as well as the format of the XML …
35 <p>Using Android's XML vocabulary, you can quickly design UI layouts and the screen elements they c…
37 …out objects or controls as child elements of the root element, if needed. In the example below, th…
45 …em initializes run-time objects corresponding to the elements in your layout. It parses the elemen…
52 <p>Also note that Android draws elements in the order in which they
[all …]
/frameworks/base/tools/aidl/
Dgenerate_java.cpp75 this->elements.push_back(descriptor); in StubClass()
87 this->elements.push_back(ctor); in StubClass()
99 this->elements.push_back(asBinder); in StubClass()
116 this->elements.push_back(onTransact); in StubClass()
180 this->elements.push_back(m); in make_as_interface()
208 this->elements.push_back(new Field(PRIVATE, mRemote)); in ProxyClass()
217 this->elements.push_back(ctor); in ProxyClass()
226 this->elements.push_back(asBinder); in ProxyClass()
332 stubClass->elements.push_back(transactCode); in generate_method()
352 interface->elements.push_back(decl); in generate_method()
[all …]
DAST.cpp749 N = this->elements.size(); in GatherTypes()
751 this->elements[i]->GatherTypes(types); in GatherTypes()
799 N = this->elements.size(); in Write()
801 this->elements[i]->Write(to); in Write()
/frameworks/base/docs/html/guide/topics/manifest/
Dsupports-gl-texture-element.jd24 style="color:#669999;">&lt;supports-gl-texture&gt;</code> elements</p>
32 Android Market uses <code>&lt;supports-gl-texture&gt;</code> elements as
52 <code>&lt;supports-gl-texture&gt;</code> elements. For example:</p>
57 <p>Declared <code>&lt;supports-gl-texture&gt;</code> elements are informational,
58 meaning that the Android system itself does not examine the elements at install
162 <code>&lt;supports-gl-texture&gt;</code> elements in its manifest <br/>with...</li>
169 <code>&lt;supports-gl-texture&gt;</code> elements. It extracts the
170 format descriptors from the elements and stores them internally as
185 <p>If an application does not declare any <code>&lt;supports-gl-texture&gt;</code> elements,
Dcompatible-screens-element.jd25 contain multiple <code>&lt;screen&gt;</code> elements. Each <code>&lt;screen&gt;</code> element
59 other manifest elements.</p>
63 <dt>child elements:</dt>
108 of screen density, then you must specify eight different {@code &lt;screen&gt;} elements,
Dmanifest-intro.jd68 in the alphabetical list of elements that follows the diagram, or on any
128 All the elements that can appear in the manifest file are listed below
129 in alphabetical order. These are the only legal elements; you cannot
130 add your own elements or attributes.
165 Some conventions and rules apply generally to all elements and attributes
174 elements are required, they each must be present and can occur only once.
180 If an element contains anything at all, it contains other elements.
189 elements can be intermixed in any sequence. (An
210 <dd>Many elements correspond to Java objects, including elements for the
334 elements. A component may have any number of filters, each one describing
[all …]
/frameworks/base/test-runner/src/junit/runner/
DClassPathTestCollector.java25 return result.elements(); in collectTests()
35 Enumeration e= roots.elements(); in collectFilesInRoots()
/frameworks/base/docs/html/guide/tutorials/views/
Dhello-relativelayout.jd6 <p>A {@link android.widget.RelativeLayout} is a ViewGroup that allows you to layout child elements
7 in positions relative to the parent or siblings elements.</p>
50 usual width and height, which are required for all elements). When using relative layout,
Dhello-linearlayout.jd6 <p>A {@link android.widget.LinearLayout} is a GroupView that will lay child View elements
101 …its child elements vertically. The first child is another LinearLayout that uses a horizontal layo…
103 elements.</p>
Dhello-tabwidget.jd50 …A TabHost requires two descendant elements: a {@link android.widget.TabWidget} and a {@link androi…
51 …In order to properly layout these elements, we've put them inside a vertical {@link android.widget…
55 …<p>Notice that the TabWidget and the FrameLayout elements have specific <code>android</code> names…
60 …make these child views as large as complex as you'd like &mdash; instead of the TextView elements,
92 our content is an ID reference to the TextView elements we inserted in the FrameLayout.</p>
Dhello-timepicker.jd55 // capture our View elements
76 <p>We start by instantiating variables for our View elements and time fields.
78 …e>onCreate()</code> method, we get prepared by setting the layout and capturing the View elements.
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DPredicatesTest.java68 private static <E> ArrayList<E> newArrayList(E... elements) { in newArrayList() argument
70 Collections.addAll(list, elements); in newArrayList()
/frameworks/compile/slang/tests/F_large_array/
Dstderr.txt.expect1 large_array.rs:5:15: error: array is too large (4294967296 elements)
/frameworks/base/docs/html/guide/topics/ui/
Dlayout-objects.jd29 All child elements of the FrameLayout are pinned to the top left corner of the screen; you cannot
70 …ng two forms represent a {@link android.widget.LinearLayout LinearLayout} with a set of elements: a
72 elements are set to <var>wrap_content</var>. The gravity, by default, is left.
83 elements in a form shouldn't have to jump up and down to read element text in
84 neighboring elements. This can be turned off by setting
150 align two elements by right border, or make one below another, centered in
152 is centered in the screen, other elements aligning themselves to that element
157 Note that the attributes that refer to relative elements (e.g., <var>layout_toLeft</var>)
205 for all the elements in this screen, because all elements are children of a RelativeLayout
218 <p>These objects all hold child UI elements. Some provide their own form of a visible UI, while oth…
[all …]
Ddeclaring-layout.jd32 It defines the layout structure and holds all the elements that appear to the user.
35 <li><strong>Declare UI elements in XML</strong>. Android provides a straightforward XML
37 <li><strong>Instantiate layout elements at runtime</strong>. Your
41 …declare your application's default layouts in XML, including the screen elements that will appear …
63 <p>In general, the XML vocabulary for declaring UI elements closely follows the structure and namin…
78 <p>To learn more about the available XML elements and attributes, as well as the format of the XML …
83 …ayouts and the screen elements they contain, in the same way you create web pages in HTML &mdash; …
85 …root element, you can add additional layout objects or widgets as child elements to gradually buil…
/frameworks/base/core/java/android/text/
DHtml.java158 String elements = " "; in withinHtml() local
167 elements = "align=\"center\" " + elements; in withinHtml()
169 elements = "align=\"right\" " + elements; in withinHtml()
171 elements = "align=\"left\" " + elements; in withinHtml()
176 out.append("<div " + elements + ">"); in withinHtml()
/frameworks/base/docs/html/guide/topics/resources/
Dmore-resources.jd64 <dt>elements:</dt>
82 </dd> <!-- end elements and attributes -->
160 <dt>elements:</dt>
179 </dd> <!-- end elements and attributes -->
272 <dt>elements:</dt>
292 </dd> <!-- end elements and attributes -->
368 <dt>elements:</dt>
388 </dd> <!-- end elements and attributes -->
474 <dt>elements:</dt>
493 </dd> <!-- end elements and attributes -->
[all …]
Dstyle-resource.jd55 <dt>elements:</dt>
64 <dd>Defines a single style. Contains {@code &lt;item&gt;} elements.
91 </dd> <!-- end elements and attributes -->
Danimation-resource.jd99 group animation elements together inside the <code>&lt;set&gt;</code> element, including other
100 <code>&lt;set&gt;</code> elements.
104 <dt>elements:</dt>
108 <dd>A container that holds other animation elements (<code>&lt;objectAnimator&gt;</code>,
109 <code>&lt;valueAnimator&gt;</code>, or other <code>&lt;set&gt;</code> elements). Represents
293 </dd> <!-- end elements and attributes -->
406 a group (or groups) of other animation elements (even nested <code>&lt;set&gt;</code> elements).
410 <dt>elements:</dt>
414 <dd>A container that holds other animation elements
416 <code>&lt;rotate&gt;</code>) or other <code>&lt;set&gt;</code> elements. Represents an {@link
[all …]
Dlayout-resource.jd62 <dt>elements:</dt>
67 <dd>A container for other {@link android.view.View} elements. There are many
69 specify the layout of the child elements in different ways. Different kinds of
139 elements per file.</dd>
234 <h4>Custom View elements</h4>
237 elements and apply them to your layout the same as a standard layout
243 </dd> <!-- end elements and attributes -->
Dstring-resource.jd65 <dt>elements:</dt>
86 </dd> <!-- end elements and attributes -->
163 <dt>elements:</dt>
171 <dd>Defines an array of strings. Contains one or more {@code &lt;item>} elements.
189 </dd> <!-- end elements -->
278 <dt>elements:</dt>
288 something. Contains one or more {@code &lt;item>} elements.
333 </dd> <!-- end elements -->
434 <p>Supported HTML elements include:</p>
/frameworks/base/graphics/java/android/graphics/
DBitmap.java331 int elements = dst.remaining(); in copyPixelsToBuffer() local
343 long bufferSize = (long)elements << shift; in copyPixelsToBuffer()
367 int elements = src.remaining(); in copyPixelsFromBuffer() local
379 long bufferBytes = (long)elements << shift; in copyPixelsFromBuffer()
/frameworks/base/docs/html/guide/appendix/
Dmarket-filters.jd109 <p>Most Market filters are triggered by elements within an application's
113 Table 1 lists the manifest elements that you should use to trigger Android
116 <p id="table1" class="table-caption"><strong>Table 1.</strong> Manifest elements that
231 <code>&lt;uses-permission&gt;</code> elements as feature requirements equivalent
232 to those declared in <code>&lt;uses-feature&gt;</code> elements. See <a
281 <code>&lt;uses-permission&gt;</code> elements. However, it does read the
282 elements to determine whether the application has hardware feature requirements
284 elements. For example, if an application requests the <code>CAMERA</code>
330 <p>In addition to the manifest elements in <a href="#table1">table 1</a>, Android Market can also
331 filter applications based on the advanced manifest elements in table 2.</p>
[all …]

123456