Home
last modified time | relevance | path

Searched refs:E (Results 1 – 25 of 125) sorted by relevance

12345

/frameworks/base/core/java/com/google/android/collect/
DSets.java66 public static <E> HashSet<E> newHashSet(E... elements) { in newHashSet()
68 HashSet<E> set = new HashSet<E>(capacity); in newHashSet()
78 public static <E> SortedSet<E> newSortedSet() { in newSortedSet()
79 return new TreeSet<E>(); in newSortedSet()
89 public static <E> SortedSet<E> newSortedSet(E... elements) { in newSortedSet()
90 SortedSet<E> set = new TreeSet<E>(); in newSortedSet()
98 public static <E> ArraySet<E> newArraySet() { in newArraySet()
99 return new ArraySet<E>(); in newArraySet()
105 public static <E> ArraySet<E> newArraySet(E... elements) { in newArraySet()
107 ArraySet<E> set = new ArraySet<E>(capacity); in newArraySet()
DLists.java36 public static <E> ArrayList<E> newArrayList() { in newArrayList()
37 return new ArrayList<E>(); in newArrayList()
58 public static <E> ArrayList<E> newArrayList(E... elements) { in newArrayList()
60 ArrayList<E> list = new ArrayList<E>(capacity); in newArrayList()
/frameworks/base/core/java/com/android/internal/app/
DProcessMap.java22 public class ProcessMap<E> {
23 final ArrayMap<String, SparseArray<E>> mMap
24 = new ArrayMap<String, SparseArray<E>>();
26 public E get(String name, int uid) { in get()
27 SparseArray<E> uids = mMap.get(name); in get()
32 public E put(String name, int uid, E value) { in put()
33 SparseArray<E> uids = mMap.get(name); in put()
35 uids = new SparseArray<E>(2); in put()
43 SparseArray<E> uids = mMap.get(name); in remove()
52 public ArrayMap<String, SparseArray<E>> getMap() { in getMap()
/frameworks/support/v4/java/android/support/v4/util/
DCircularArray.java20 public class CircularArray<E>
22 private E[] mElements;
37 mElements = (E[])a; in doubleCapacity()
66 mElements = (E[]) new Object[arrayCapacity]; in CircularArray()
69 public final void addFirst(E e) { in addFirst()
77 public final void addLast(E e) { in addLast()
85 public final E popFirst() { in popFirst()
87 E result = mElements[mHead]; in popFirst()
93 public final E popLast() { in popLast()
96 E result = mElements[t]; in popLast()
[all …]
DLongSparseArray.java43 public class LongSparseArray<E> implements Cloneable {
79 public LongSparseArray<E> clone() { in clone()
80 LongSparseArray<E> clone = null; in clone()
82 clone = (LongSparseArray<E>) super.clone(); in clone()
95 public E get(long key) { in get()
104 public E get(long key, E valueIfKeyNotFound) { in get()
110 return (E) mValues[i]; in get()
178 public void put(long key, E value) { in put()
256 public E valueAt(int index) { in valueAt()
261 return (E) mValues[index]; in valueAt()
[all …]
DSparseArrayCompat.java23 public class SparseArrayCompat<E> implements Cloneable {
59 public SparseArrayCompat<E> clone() { in clone()
60 SparseArrayCompat<E> clone = null; in clone()
62 clone = (SparseArrayCompat<E>) super.clone(); in clone()
75 public E get(int key) { in get()
84 public E get(int key, E valueIfKeyNotFound) { in get()
90 return (E) mValues[i]; in get()
171 public void put(int key, E value) { in put()
249 public E valueAt(int index) { in valueAt()
254 return (E) mValues[index]; in valueAt()
[all …]
/frameworks/compile/slang/BitWriter_2_9/
DValueEnumerator.cpp37 E = M->global_end(); I != E; ++I) in ValueEnumerator() local
41 for (Module::const_iterator I = M->begin(), E = M->end(); I != E; ++I) { in ValueEnumerator() local
47 for (Module::const_alias_iterator I = M->alias_begin(), E = M->alias_end(); in ValueEnumerator() local
48 I != E; ++I) in ValueEnumerator()
56 E = M->global_end(); I != E; ++I) in ValueEnumerator() local
61 for (Module::const_alias_iterator I = M->alias_begin(), E = M->alias_end(); in ValueEnumerator() local
62 I != E; ++I) in ValueEnumerator()
73 for (Module::const_iterator F = M->begin(), E = M->end(); F != E; ++F) { in ValueEnumerator() local
75 for (Function::const_arg_iterator I = F->arg_begin(), E = F->arg_end(); in ValueEnumerator() local
76 I != E; ++I) in ValueEnumerator()
[all …]
/frameworks/compile/slang/BitWriter_3_2/
DValueEnumerator.cpp37 E = M->global_end(); I != E; ++I) in ValueEnumerator() local
41 for (Module::const_iterator I = M->begin(), E = M->end(); I != E; ++I) { in ValueEnumerator() local
47 for (Module::const_alias_iterator I = M->alias_begin(), E = M->alias_end(); in ValueEnumerator() local
48 I != E; ++I) in ValueEnumerator()
56 E = M->global_end(); I != E; ++I) in ValueEnumerator() local
61 for (Module::const_alias_iterator I = M->alias_begin(), E = M->alias_end(); in ValueEnumerator() local
62 I != E; ++I) in ValueEnumerator()
73 for (Module::const_iterator F = M->begin(), E = M->end(); F != E; ++F) { in ValueEnumerator() local
75 for (Function::const_arg_iterator I = F->arg_begin(), E = F->arg_end(); in ValueEnumerator() local
76 I != E; ++I) in ValueEnumerator()
[all …]
/frameworks/compile/slang/BitWriter_2_9_func/
DValueEnumerator.cpp37 E = M->global_end(); I != E; ++I) in ValueEnumerator() local
41 for (Module::const_iterator I = M->begin(), E = M->end(); I != E; ++I) { in ValueEnumerator() local
47 for (Module::const_alias_iterator I = M->alias_begin(), E = M->alias_end(); in ValueEnumerator() local
48 I != E; ++I) in ValueEnumerator()
56 E = M->global_end(); I != E; ++I) in ValueEnumerator() local
61 for (Module::const_alias_iterator I = M->alias_begin(), E = M->alias_end(); in ValueEnumerator() local
62 I != E; ++I) in ValueEnumerator()
73 for (Module::const_iterator F = M->begin(), E = M->end(); F != E; ++F) { in ValueEnumerator() local
75 for (Function::const_arg_iterator I = F->arg_begin(), E = F->arg_end(); in ValueEnumerator() local
76 I != E; ++I) in ValueEnumerator()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DUnmodifiableSparseArray.java24 final class UnmodifiableSparseArray<E> {
27 private final SparseArray<E> mArray;
29 public UnmodifiableSparseArray(SparseArray<E> array) { in UnmodifiableSparseArray()
37 public E get(int key) { in get()
41 public E get(int key, E valueIfKeyNotFound) { in get()
49 public E valueAt(int index) { in valueAt()
53 public int indexOfValue(E value) { in indexOfValue()
/frameworks/compile/slang/
Dslang_rs_check_ast.cpp30 for (clang::Stmt::child_iterator I = S->child_begin(), E = S->child_end(); in VisitStmt() local
31 I != E; in VisitStmt()
39 void RSCheckAST::WarnOnSetElementAt(clang::CallExpr *E) { in WarnOnSetElementAt() argument
41 Decl = clang::dyn_cast_or_null<clang::FunctionDecl>(E->getCalleeDecl()); in WarnOnSetElementAt()
49 Expr = E->getArg(1); in WarnOnSetElementAt()
125 Context->ReportWarning(E->getLocStart(), in WarnOnSetElementAt()
137 void RSCheckAST::VisitCallExpr(clang::CallExpr *E) { in VisitCallExpr() argument
138 WarnOnSetElementAt(E); in VisitCallExpr()
140 for (clang::CallExpr::arg_iterator AI = E->arg_begin(), AE = E->arg_end(); in VisitCallExpr()
223 E = DS->decl_end(); in VisitDeclStmt() local
[all …]
Dslang_rs_exportable.cpp29 bool RSExportable::equals(const RSExportable *E) const { in equals()
30 return ((E == NULL) ? false : (mK == E->mK)); in equals()
Dstrip_unknown_attributes.cpp27 for (llvm::Function::arg_iterator I = F.arg_begin(), E = F.arg_end(); in runOnFunction() local
28 I != E; ++I) { in runOnFunction()
47 for (llvm::Module::iterator I = M.begin(), E = M.end(); I != E; ++I) { in runOnModule() local
Dslang_rs_reflection_cpp.cpp181 E = mRSContext->export_foreach_end(); in genTypeInstancesUsedInForEach() local
182 I != E; I++) { in genTypeInstancesUsedInForEach()
203 E = mTypesToCheck.end(); in genFieldsForAllocationTypeVerification() local
204 I != E; I++) { in genFieldsForAllocationTypeVerification()
218 E = mRSContext->export_vars_end(); in genFieldsToStoreExportVariableValues() local
219 I != E; I++) { in genFieldsToStoreExportVariableValues()
244 E = mRSContext->export_foreach_end(); in genForEachDeclarations() local
245 I != E; I++) { in genForEachDeclarations()
297 E = mRSContext->export_funcs_end(); in genExportFunctionDeclarations() local
298 I != E; I++) { in genExportFunctionDeclarations()
[all …]
/frameworks/base/core/java/android/util/
DLongSparseArray.java52 public class LongSparseArray<E> implements Cloneable {
87 public LongSparseArray<E> clone() { in clone()
88 LongSparseArray<E> clone = null; in clone()
90 clone = (LongSparseArray<E>) super.clone(); in clone()
103 public E get(long key) { in get()
112 public E get(long key, E valueIfKeyNotFound) { in get()
118 return (E) mValues[i]; in get()
186 public void put(long key, E value) { in put()
255 public E valueAt(int index) { in valueAt()
260 return (E) mValues[index]; in valueAt()
[all …]
DSparseArray.java52 public class SparseArray<E> implements Cloneable {
87 public SparseArray<E> clone() { in clone()
88 SparseArray<E> clone = null; in clone()
90 clone = (SparseArray<E>) super.clone(); in clone()
103 public E get(int key) { in get()
112 public E get(int key, E valueIfKeyNotFound) { in get()
118 return (E) mValues[i]; in get()
199 public void put(int key, E value) { in put()
268 public E valueAt(int index) { in valueAt()
273 return (E) mValues[index]; in valueAt()
[all …]
DArraySet.java48 public final class ArraySet<E> implements Collection<E>, Set<E> {
77 MapCollections<E, E> mCollections;
312 public E valueAt(int index) { in valueAt()
313 return (E)mArray[index]; in valueAt()
334 public boolean add(E value) { in add()
385 public void addAll(ArraySet<? extends E> array) { in addAll()
422 public E removeAt(int index) { in removeAt()
467 return (E)old; in removeAt()
521 E mine = valueAt(i); in equals()
584 private MapCollections<E, E> getCollection() { in getCollection()
[all …]
/frameworks/base/core/java/android/os/
DRemoteCallbackList.java49 public class RemoteCallbackList<E extends IInterface> {
57 final E mCallback;
60 Callback(E callback, Object cookie) { in Callback()
77 public boolean register(E callback) { in register()
107 public boolean register(E callback, Object cookie) { in register()
141 public boolean unregister(E callback) { in unregister()
175 public void onCallbackDied(E callback) { in onCallbackDied()
192 public void onCallbackDied(E callback, Object cookie) { in onCallbackDied()
270 public E getBroadcastItem(int index) { in getBroadcastItem()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DPositionMap.java25 class PositionMap<E> implements Cloneable {
61 public PositionMap<E> clone() { in clone()
62 PositionMap<E> clone = null; in clone()
64 clone = (PositionMap<E>) super.clone(); in clone()
77 public E get(int key) { in get()
86 public E get(int key, E valueIfKeyNotFound) { in get()
92 return (E) mValues[i]; in get()
144 public void removeKeyRange(ArrayList<E> removedItems, int keyStart, int count) { in removeKeyRange()
181 public void put(int key, E value) { in put()
259 public E valueAt(int index) { in valueAt()
[all …]
/frameworks/base/core/java/android/text/
DSpanSet.java30 public class SpanSet<E> {
31 private final Class<? extends E> classType;
34 E[] spans;
39 SpanSet(Class<? extends E> type) { in SpanSet()
46 final E[] allSpans = spanned.getSpans(start, limit, classType); in init()
51 spans = (E[]) Array.newInstance(classType, length); in init()
59 final E span = allSpans[i]; in init()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DSparseWeakArray.java44 public class SparseWeakArray<E> {
72 public E get(long key) { in get()
80 public E get(long key, E valueIfKeyNotFound) { in get()
86 return (E) mValues[i].get(); in get()
151 public void put(long key, E value) { in put()
208 public E valueAt(int index) { in valueAt()
213 return (E) mValues[index].get(); in valueAt()
221 public void setValueAt(int index, E value) { in setValueAt()
250 public int indexOfValue(E value) { in indexOfValue()
281 public void append(long key, E value) { in append()
/frameworks/native/opengl/tests/testPauseResume/
DREADME24 E/AndroidRuntime( 1466): FATAL EXCEPTION: GLThread 9
25 E/AndroidRuntime( 1466): java.lang.RuntimeException: createContext failed: EGL_BAD_ALLOC
26 E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfa…
27 E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfa…
28 E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:…
29 E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.j…
30 E/AndroidRuntime( 1466): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:110…
/frameworks/opt/bitmap/src/com/android/bitmap/view/
DBitmapDrawableImageView.java61 public <E extends BasicBitmapDrawable> E getTypedDrawable() { in getTypedDrawable()
63 return (E) mDrawable; in getTypedDrawable()
73 public <E extends BasicBitmapDrawable> void setTypedDrawable(E drawable) { in setTypedDrawable()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DPredicatesTest.java68 private static <E> ArrayList<E> newArrayList(E... elements) { in newArrayList()
69 ArrayList<E> list = new ArrayList<E>(); in newArrayList()
/frameworks/base/media/tests/contents/media_api/music/
Dtest_amr_ietf.amr3 Up_i���VS��uP<Y���P~�o�^�����8 j�9�E�#��<���� �^ 'G/5��Ͳ���\�ϴ��P<'f�:F)^�/ ��a�'J_�…
4 a�� ��� 0�@<@P7��h�T����~�2)J�Ű΄УE?���<jT<��h�w���J1nj�$� �pX�av���<0F=�{�KT�:���c*��e���V�
5 �T�c�<(E���A��&��B��T�-nAd�Ѵ%��<=�@
6 ]�is��n�,�U����!������<x@0�E�ȍ:�_K�.LJ�:����<$9(6pT��s:����A�I�uNiS��vp<ۘ��R�����`…
41 ��w�&��C��[�<{s6g����{(��Z�1��W�X~m�����<"/�mu����؟jR�Ӧi6f|�{T�b��E�<yl>{5�p�Y��̗�*���b1���…
43 …b�:�\W�C���E�M�������<�y:��!�R�.UCR�p��.�2�}`����<�)��)�l��T�h���~\�(�_��<������K�…
54 …J�ڢ����C��0*h��j@<"/q�ץ�w��[���W�ڼ�U�qԖ?�<F{t��y���ԛS��]�����ڵ��E�<H9�#U%�����|[YV8…
69 ��KO�ngQl/���E����<(>חMh��֯4�I���gl�c�|�����<��׭x �撋�@�kH��A�kr�6(� E�� <BN��������M��AA.��…
87 ��, ���hìE������^��p<�g��`�Z��� �D6�ϖ�����~E�<�vm%a�����U��,X�I�ˋ�� Z�2�<������멸��-N7q:�…
105 …�Cm4�|p�:�� }�a=��<~AVx 5��ɚ�8�%��rmG5ݥZ�hu��<0S�r�kE�+jآ�/T����?�Djo���<8@9NN��ZE�E%�1�x*z�
[all …]

12345