Home
last modified time | relevance | path

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

123456789

/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/support/renderscript/v8/rs_support/scriptc/
Drs_element.rsh31 * structure with multiple sub elements, such as a collection of
33 * elements or the number of sub-elements otherwise.
36 * @return number of sub-elements in this element
42 * For complex elements, this function will return the
53 * For complex elements, this function will return the length of
65 * For complex elements, this function will return the
79 * For complex elements, some sub-elements could be statically
/frameworks/rs/scriptc/
Drs_element.rsh31 * structure with multiple sub elements, such as a collection of
33 * elements or the number of sub-elements otherwise.
36 * @return number of sub-elements in this element
42 * For complex elements, this function will return the
53 * For complex elements, this function will return the length of
65 * For complex elements, this function will return the
79 * For complex elements, some sub-elements could be statically
/frameworks/base/tools/aidl/
Dgenerate_java_rpc.cpp266 this->elements.push_back(this->processMethod); in DoneWithMethods()
311 this->elements.push_back(new Field(PRIVATE, this->broker)); in RpcProxyClass()
314 this->elements.push_back(new Field(PRIVATE, this->endpoint)); in RpcProxyClass()
336 this->elements.push_back(ctor); in generate_ctor()
350 this->elements.push_back(get); in generate_get_endpoint_info()
385 this->elements.push_back(new Field(PRIVATE, this->_listener)); in EventListenerClass()
406 this->elements.push_back(ctor); in generate_ctor()
488 this->elements.push_back(ctor); in generate_ctor()
525 this->elements.push_back(new Field(PRIVATE, this->methodId)); in ResultDispatcherClass()
527 this->elements.push_back(new Field(PRIVATE, this->callback)); in ResultDispatcherClass()
[all …]
Dgenerate_java_binder.cpp38 this->elements.push_back(descriptor); in StubClass()
50 this->elements.push_back(ctor); in StubClass()
62 this->elements.push_back(asBinder); in StubClass()
79 this->elements.push_back(onTransact); in StubClass()
143 this->elements.push_back(m); in make_as_interface()
171 this->elements.push_back(new Field(PRIVATE, mRemote)); in ProxyClass()
180 this->elements.push_back(ctor); in ProxyClass()
189 this->elements.push_back(asBinder); in ProxyClass()
269 stubClass->elements.push_back(transactCode); in generate_method()
289 interface->elements.push_back(decl); in generate_method()
[all …]
/frameworks/native/opengl/libs/GLES_trace/tools/
Dgenapi.py218 elements = decl.strip().split(' ')
220 if len(elements) > 1:
221 name = " ".join(elements[-1:]).strip() # last element is the name
222 dataType = " ".join(elements[:-1]).strip() # everything else is the data type
238 dataType = elements[0]
/frameworks/base/docs/html/design/patterns/
Dpure-android.jd16 <h4>Don't mimic UI elements from other platforms</h4>
17 <p>Platforms typically provide a carefully designed set of UI elements that are themed in a very
19 use gradients in their title bars. In some cases, elements may have the same purpose, but are
21 <p>As you build your app for Android, don't carry over themed UI elements from other platforms and
24 section in this styleguide to learn about Android's most important UI elements
26 sense of how elements are applied in the context of an app. If you want to customize the theme of UI
27 elements, customize carefully according to your specific branding - and not according to the
35 Sampling of UI elements from Android, iOS and Windows Phone 7.
Dwidgets.jd11 <p>Information widgets typically display a few crucial information elements that are important to a…
18 …<p>As the name implies, collection widgets specialize on displaying multitude elements of the same…
43 …types described above, many widgets in reality are hybrids that combine elements of different type…
44 …idget planning, center your widget around one of the base types and add elements of other types if…
46 …ack is currently playing. It essentially combines a control widget with elements of an information…
97 … of the of the widget's size, the user can still scroll all information elements into view. Inform…
113 …idget configuration light and don't present more than 2-3 configuration elements. Use dialog-style…
/frameworks/base/docs/html/guide/topics/manifest/
Dsupports-gl-texture-element.jd17 Google Play uses <code>&lt;supports-gl-texture&gt;</code> elements as
50 <code>&lt;supports-gl-texture&gt;</code> elements. For example:</p>
55 <p>Declared <code>&lt;supports-gl-texture&gt;</code> elements are informational,
56 meaning that the Android system itself does not examine the elements at install
160 <code>&lt;supports-gl-texture&gt;</code> elements in its manifest <br/>with...</li>
167 <code>&lt;supports-gl-texture&gt;</code> elements. It extracts the
168 format descriptors from the elements and stores them internally as
183 <p>If an application does not declare any <code>&lt;supports-gl-texture&gt;</code> elements,
Dmanifest-intro.jd68 in the alphabetical list of elements that follows the diagram, or on any
129 All the elements that can appear in the manifest file are listed below
130 in alphabetical order. These are the only legal elements; you cannot
131 add your own elements or attributes.
166 Some conventions and rules apply generally to all elements and attributes
175 elements are required, they each must be present and can occur only once.
181 If an element contains anything at all, it contains other elements.
190 elements can be intermixed in any sequence. (An
211 <dd>Many elements correspond to Java objects, including elements for the
335 elements. A component may have any number of filters, each one describing
[all …]
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,
/frameworks/base/test-runner/src/junit/runner/
DClassPathTestCollector.java25 return result.elements(); in collectTests()
35 Enumeration e= roots.elements(); in collectFilesInRoots()
/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/resources/
Dmore-resources.jd64 <dt>elements:</dt>
82 </dd> <!-- end elements and attributes -->
160 <dt>elements:</dt>
179 </dd> <!-- end elements and attributes -->
226 other words, it provides consistency for the real-world sizes of your UI elements across different
274 <dt>elements:</dt>
294 </dd> <!-- end elements and attributes -->
370 <dt>elements:</dt>
390 </dd> <!-- end elements and attributes -->
476 <dt>elements:</dt>
[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>
232 <h4>Custom View elements</h4>
235 elements and apply them to your layout the same as a standard layout
241 </dd> <!-- end elements and attributes -->
/frameworks/base/core/java/android/text/
DHtml.java166 String elements = " "; in withinHtml() local
175 elements = "align=\"center\" " + elements; in withinHtml()
177 elements = "align=\"right\" " + elements; in withinHtml()
179 elements = "align=\"left\" " + elements; in withinHtml()
184 out.append("<div " + elements + ">"); in withinHtml()
/frameworks/base/docs/html/design/building-blocks/
Dindex.jd21 Your inventory of ready-to-use elements for creating outstanding apps.
/frameworks/base/docs/html/design/style/
Dmetrics-grids.jd44 <p>If you design your elements to be at least 48dp high and wide you can guarantee that:</p>
49 targetability of UI elements on the other.</li>
/frameworks/base/samples/training/network-usage/
DREADME.txt8 -- Parses the XML feed, combines feed elements with HTML markup, and displays the resulting HTML in…
/frameworks/base/graphics/java/android/graphics/
DBitmap.java365 int elements = dst.remaining(); in copyPixelsToBuffer() local
377 long bufferSize = (long)elements << shift; in copyPixelsToBuffer()
401 int elements = src.remaining(); in copyPixelsFromBuffer() local
413 long bufferBytes = (long) elements << shift; in copyPixelsFromBuffer()
/frameworks/compile/mclinker/lib/Support/Unix/
DPathV3.inc204 // idx does not stay at the end, but all elements had beed put into cache.
222 // 1. All elements have been put into cache, and iterator stays at the end
224 // 2. Some but not all elements had beed put into cache, and we stoped.

123456789