Home
last modified time | relevance | path

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

12345678

/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/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteDialogHelper.java64 public static <E> boolean listUnorderedEquals(List<E> list1, List<E> list2) {
65 HashSet<E> set1 = new HashSet<>(list1);
66 HashSet<E> set2 = new HashSet<>(list2);
79 public static <E> Set<E> getItemsAdded(List<E> before, List<E> after) {
80 HashSet<E> set = new HashSet<>(after);
94 public static <E> Set<E> getItemsRemoved(List<E> before, List<E> after) {
95 HashSet<E> set = new HashSet<>(before);
108 public static <E> HashMap<E, Rect> getItemBoundMap(ListView listView,
109 ArrayAdapter<E> adapter) {
110 HashMap<E, Rect> itemBoundMap = new HashMap<>();
[all …]
/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()
42 public E remove(String name, int uid) { in remove()
43 SparseArray<E> uids = mMap.get(name); in remove()
[all …]
/frameworks/base/core/java/android/util/
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()
140 public E removeReturnOld(int key) { in removeReturnOld()
145 final E old = (E) mValues[i]; in removeReturnOld()
223 public void put(int key, E value) { in put()
[all …]
DArraySet.java46 public final class ArraySet<E> implements Collection<E>, Set<E> {
76 MapCollections<E, E> mCollections;
251 public ArraySet(ArraySet<E> set) { in ArraySet()
259 public ArraySet(Collection<E> set) { in ArraySet()
323 public E valueAt(int index) { in valueAt()
324 return (E)mArray[index]; in valueAt()
345 public boolean add(E value) { in add()
397 public void append(E value) { in append()
425 public void addAll(ArraySet<? extends E> array) { in addAll()
462 public E removeAt(int index) { in removeAt()
[all …]
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 …]
/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/BitWriter_2_9/
DValueEnumerator.cpp38 for (llvm::Module::const_global_iterator I = M.global_begin(), E = M.global_end(); in ValueEnumerator() local
39 I != E; ++I) in ValueEnumerator()
43 for (llvm::Module::const_iterator I = M.begin(), E = M.end(); I != E; ++I) { in ValueEnumerator() local
49 for (llvm::Module::const_alias_iterator I = M.alias_begin(), E = M.alias_end(); in ValueEnumerator() local
50 I != E; ++I) in ValueEnumerator()
57 for (llvm::Module::const_global_iterator I = M.global_begin(), E = M.global_end(); in ValueEnumerator() local
58 I != E; ++I) in ValueEnumerator()
63 for (llvm::Module::const_alias_iterator I = M.alias_begin(), E = M.alias_end(); in ValueEnumerator() local
64 I != E; ++I) in ValueEnumerator()
155 E = Map.end(); I != E; ++I) { in print() local
[all …]
/frameworks/compile/slang/BitWriter_2_9_func/
DValueEnumerator.cpp38 for (llvm::Module::const_global_iterator I = M.global_begin(), E = M.global_end(); in ValueEnumerator() local
39 I != E; ++I) in ValueEnumerator()
43 for (llvm::Module::const_iterator I = M.begin(), E = M.end(); I != E; ++I) { in ValueEnumerator() local
49 for (llvm::Module::const_alias_iterator I = M.alias_begin(), E = M.alias_end(); in ValueEnumerator() local
50 I != E; ++I) in ValueEnumerator()
57 for (llvm::Module::const_global_iterator I = M.global_begin(), E = M.global_end(); in ValueEnumerator() local
58 I != E; ++I) in ValueEnumerator()
63 for (llvm::Module::const_alias_iterator I = M.alias_begin(), E = M.alias_end(); in ValueEnumerator() local
64 I != E; ++I) in ValueEnumerator()
155 E = Map.end(); I != E; ++I) { in print() local
[all …]
/frameworks/compile/slang/BitWriter_3_2/
DValueEnumerator.cpp38 for (llvm::Module::const_global_iterator I = M.global_begin(), E = M.global_end(); in ValueEnumerator() local
39 I != E; ++I) in ValueEnumerator()
43 for (llvm::Module::const_iterator I = M.begin(), E = M.end(); I != E; ++I) { in ValueEnumerator() local
49 for (llvm::Module::const_alias_iterator I = M.alias_begin(), E = M.alias_end(); in ValueEnumerator() local
50 I != E; ++I) in ValueEnumerator()
57 for (llvm::Module::const_global_iterator I = M.global_begin(), E = M.global_end(); in ValueEnumerator() local
58 I != E; ++I) in ValueEnumerator()
63 for (llvm::Module::const_alias_iterator I = M.alias_begin(), E = M.alias_end(); in ValueEnumerator() local
64 I != E; ++I) in ValueEnumerator()
155 E = Map.end(); I != E; ++I) { in print() local
[all …]
/frameworks/support/v4/java/android/support/v4/util/
DCircularArray.java21 public final class CircularArray<E> {
22 private E[] mElements;
37 mElements = (E[]) a; in doubleCapacity()
74 mElements = (E[]) new Object[arrayCapacity]; in CircularArray()
81 public void addFirst(E e) { in addFirst()
93 public void addLast(E e) { in addLast()
106 public E popFirst() { in popFirst()
110 E result = mElements[mHead]; in popFirst()
121 public E popLast() { in popLast()
126 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/
Dslang_rs_check_ast.cpp33 for (clang::Stmt::child_iterator I = S->child_begin(), E = S->child_end(); in VisitStmt() local
34 I != E; in VisitStmt()
42 void RSCheckAST::WarnOnSetElementAt(clang::CallExpr *E) { in WarnOnSetElementAt() argument
44 Decl = clang::dyn_cast_or_null<clang::FunctionDecl>(E->getCalleeDecl()); in WarnOnSetElementAt()
52 Expr = E->getArg(1); in WarnOnSetElementAt()
128 Context->ReportWarning(E->getLocStart(), in WarnOnSetElementAt()
140 void RSCheckAST::VisitCallExpr(clang::CallExpr *E) { in VisitCallExpr() argument
141 WarnOnSetElementAt(E); in VisitCallExpr()
143 for (clang::CallExpr::arg_iterator AI = E->arg_begin(), AE = E->arg_end(); in VisitCallExpr()
249 E = DS->decl_end(); in VisitDeclStmt() local
[all …]
Dslang_backend.cpp167 I = mTargetOpts.Features.begin(), E = mTargetOpts.Features.end(); in CreateCodeGenPasses() local
168 I != E; in CreateCodeGenPasses()
271 for (PragmaList::const_iterator I = mPragmas->begin(), E = mPragmas->end(); in HandleTranslationUnit() local
272 I != E; in HandleTranslationUnit()
295 for (llvm::Module::iterator I = mpModule->begin(), E = mpModule->end(); in HandleTranslationUnit() local
296 I != E; in HandleTranslationUnit()
317 for (llvm::Module::iterator I = mpModule->begin(), E = mpModule->end(); in HandleTranslationUnit() local
318 I != E; in HandleTranslationUnit()
376 for (clang::DeclGroupRef::iterator I = D.begin(), E = D.end(); in HandleTopLevelDecl() local
379 I != E; I++) { in HandleTopLevelDecl()
[all …]
Dslang_rs_reflection_cpp.cpp186 E = mRSContext->export_foreach_end(); in genTypeInstancesUsedInForEach() local
187 I != E; I++) { in genTypeInstancesUsedInForEach()
208 E = mTypesToCheck.end(); in genFieldsForAllocationTypeVerification() local
209 I != E; I++) { in genFieldsForAllocationTypeVerification()
223 E = mRSContext->export_vars_end(); in genFieldsToStoreExportVariableValues() local
224 I != E; I++) { in genFieldsToStoreExportVariableValues()
249 E = mRSContext->export_foreach_end(); in genForEachDeclarations() local
250 I != E; I++) { in genForEachDeclarations()
300 E = mRSContext->export_funcs_end(); in genExportFunctionDeclarations() local
301 I != E; I++) { in genExportFunctionDeclarations()
[all …]
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
/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()
106 public boolean register(E callback, Object cookie) { in register()
140 public boolean unregister(E callback) { in unregister()
174 public void onCallbackDied(E callback) { in onCallbackDied()
191 public void onCallbackDied(E callback, Object cookie) { in onCallbackDied()
269 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/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/base/core/java/android/text/
DSpanSet.java31 public class SpanSet<E> {
32 private final Class<? extends E> classType;
35 E[] spans;
40 SpanSet(Class<? extends E> type) { in SpanSet()
47 final E[] allSpans = spanned.getSpans(start, limit, classType); in init()
52 spans = (E[]) Array.newInstance(classType, length); in init()
61 final E span = allSpans[i]; in init()
/frameworks/base/core/tests/utiltests/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 …]

12345678