Home
last modified time | relevance | path

Searched refs:objects (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/tests/CoreTests/android/core/
DHeapTest.java49 private static void makeRefs(Object objects[], SoftReference<Object> refs[]) { in makeRefs() argument
50 for (int i = 0; i < objects.length; i++) { in makeRefs()
51 objects[i] = (Object) new byte[8 * 1024]; in makeRefs()
52 refs[i] = new SoftReference<Object>(objects[i]); in makeRefs()
71 private static void clearRefs(Object objects[], int skip) { in clearRefs() argument
72 for (int i = 0; i < objects.length; i += skip) { in clearRefs()
73 objects[i] = null; in clearRefs()
77 private static void clearRefs(Object objects[]) { in clearRefs() argument
78 clearRefs(objects, 1); in clearRefs()
81 private static <T> void checkRefs(T objects[], SoftReference<T> refs[]) { in checkRefs() argument
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
DAppearAnimationUtils.java64 public void startAnimation2d(View[][] objects, final Runnable finishListener) { in startAnimation2d() argument
65 startAnimation2d(objects, finishListener, this); in startAnimation2d()
68 public void startAnimation(View[] objects, final Runnable finishListener) { in startAnimation() argument
69 startAnimation(objects, finishListener, this); in startAnimation()
72 public <T> void startAnimation2d(T[][] objects, final Runnable finishListener, in startAnimation2d() argument
74 AppearAnimationProperties properties = getDelays(objects); in startAnimation2d()
75 startAnimations(properties, objects, finishListener, creator); in startAnimation2d()
78 public <T> void startAnimation(T[] objects, final Runnable finishListener, in startAnimation() argument
80 AppearAnimationProperties properties = getDelays(objects); in startAnimation()
81 startAnimations(properties, objects, finishListener, creator); in startAnimation()
[all …]
/frameworks/base/core/java/android/widget/
DArrayAdapter.java162 public ArrayAdapter(@NonNull Context context, @LayoutRes int resource, @NonNull T[] objects) { in ArrayAdapter() argument
163 this(context, resource, 0, Arrays.asList(objects)); in ArrayAdapter()
176 @IdRes int textViewResourceId, @NonNull T[] objects) { in ArrayAdapter() argument
177 this(context, resource, textViewResourceId, Arrays.asList(objects)); in ArrayAdapter()
189 @NonNull List<T> objects) { in ArrayAdapter() argument
190 this(context, resource, 0, objects); in ArrayAdapter()
203 @IdRes int textViewResourceId, @NonNull List<T> objects) { in ArrayAdapter() argument
204 this(context, resource, textViewResourceId, objects, false); in ArrayAdapter()
208 @IdRes int textViewResourceId, @NonNull List<T> objects, boolean objsFromResources) { in ArrayAdapter() argument
212 mObjects = objects; in ArrayAdapter()
/frameworks/base/core/java/android/metrics/
DMetricsReader.java86 Object[] objects; in read() local
88 objects = (Object[]) data; in read()
91 objects = new Object[1]; in read()
92 objects[0] = data; in read()
94 final LogMaker log = new LogMaker(objects) in read()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DListViewAddRemoveNoTransition.java84 List<String> objects) { in StableArrayAdapter() argument
85 super(context, textViewResourceId, objects); in StableArrayAdapter()
86 for (int i = 0; i < objects.size(); ++i) { in StableArrayAdapter()
87 mIdMap.put(objects.get(i), i); in StableArrayAdapter()
DListViewAddRemove.java149 List<String> objects) { in StableArrayAdapter() argument
150 super(context, textViewResourceId, objects); in StableArrayAdapter()
151 for (int i = 0; i < objects.size(); ++i) { in StableArrayAdapter()
152 mIdMap.put(objects.get(i), i); in StableArrayAdapter()
/frameworks/native/opengl/libs/EGL/
Degl_display.cpp85 objects.insert(object); in addObject()
90 objects.erase(object); in removeObject()
95 if (objects.find(object) != objects.end()) { in getObject()
283 size_t count = objects.size(); in terminate()
285 for (auto o : objects) { in terminate()
290 objects.clear(); in terminate()
/frameworks/wilhelm/src/
DAndroid.mk100 objects/C3DGroup.cpp \
101 objects/CAudioPlayer.cpp \
102 objects/CAudioRecorder.cpp \
103 objects/CEngine.cpp \
104 objects/COutputMix.cpp \
105 objects/CMediaPlayer.cpp \
DREADME.txt14 objects/ OpenSL ES and OpenMAX AL objects aka classes
/frameworks/native/opengl/specs/
DEGL_ANDROID_native_fence_sync.txt39 This extension enables the creation of EGL fence sync objects that are
41 using a file descriptor. These EGL fence sync objects have nearly
48 objects must have a signal status like that of an EGLSyncKHR object that
227 1. Should EGLSyncKHR objects that wrap native fence objects use the
232 We don't want to require all EGL fence sync objects to wrap native fence
233 objects, so we need some way to tell the EGL implementation at sync object
237 that might be added for fence sync objects, but there may be things that
238 get added that don't make sense in the context of native fence objects.
260 behavior of EGL native fence sync objects, so it is left as an attribute
266 - Reworded the extension to refer to "native fence" objects rather than
[all …]
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DCallbackTest.java274 final CallbackBindingObject[] objects = new CallbackBindingObject[] { in testArrayAccess() local
279 mBinding.setObjArr(objects); in testArrayAccess()
284 verifyZeroInteractions(objects); in testArrayAccess()
286 verify(objects[1]).onClick(mBinding.view7); in testArrayAccess()
288 verify(objects[2]).onLongClick(mBinding.view7); in testArrayAccess()
289 verifyZeroInteractions(objects[0]); in testArrayAccess()
/frameworks/native/libs/binder/
DParcel.cpp472 const binder_size_t *objects = parcel->mObjects; in appendFrom() local
496 size_t off = objects[i]; in appendFrom()
526 binder_size_t *objects = in appendFrom() local
528 if (objects == (binder_size_t*)0) { in appendFrom()
531 mObjects = objects; in appendFrom()
538 size_t off = objects[i] - offset + startPos; in appendFrom()
639 const binder_size_t* Parcel::objects() const in objects() function in android::Parcel
1338 binder_size_t* objects = (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t)); in writeObject() local
1339 if (objects == NULL) return NO_MEMORY; in writeObject()
1340 mObjects = objects; in writeObject()
[all …]
/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/
DListFragment.java64 List<EmojiRepo.EmojiData> objects) { in MyArrayAdapter() argument
65 super(context, resource, textViewResourceId, objects); in MyArrayAdapter()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListWithMailMessages.java118 List<MailMessage> objects) { in MyAdapter() argument
119 super(context, resource, objects); in MyAdapter()
/frameworks/base/core/tests/coretests/src/android/widget/
DListViewTest.java133 public Adapter(Context context, int resource, List<T> objects) { in Adapter() argument
134 super(context, resource, objects); in Adapter()
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect130 mTempIns = null; // make Java objects eligible for garbage collection
166 mTempIns = null; // make Java objects eligible for garbage collection
207 mTempIns = null; // make Java objects eligible for garbage collection
248 mTempIns = null; // make Java objects eligible for garbage collection
284 mTempIns = null; // make Java objects eligible for garbage collection
325 mTempIns = null; // make Java objects eligible for garbage collection
366 mTempIns = null; // make Java objects eligible for garbage collection
402 mTempIns = null; // make Java objects eligible for garbage collection
443 mTempIns = null; // make Java objects eligible for garbage collection
484 mTempIns = null; // make Java objects eligible for garbage collection
[all …]
/frameworks/rs/script_api/
Drs_object_info.spec21 or Sampler object. These objects are created from Java. You can't create them from a
64 Samplers objects define how Allocations can be read as structure within a kernel.
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DYearPickerView.java105 public YearAdapter(Context context, int resource, List<String> objects) { in YearAdapter() argument
106 super(context, resource, objects); in YearAdapter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcher.java160 View[] objects = new View[count]; in startAppearAnimation() local
162 objects[i] = mUserSwitcher.getChildAt(i); in startAppearAnimation()
166 mAppearAnimationUtils.startAnimation(objects, new Runnable() { in startAppearAnimation()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagCommonKinds.inc34 "cannot link shared objects with -static option.\nShared object `%0': %1",
35 "cannot link shared objects with -static option.\nShared object `%0': %1")
99 "objects",
101 "objects")
/frameworks/support/media-compat/
Dproguard-rules.pro15 # Prevent Parcelable objects from being removed or renamed.
/frameworks/base/keystore/java/android/security/
DCredentials.java131 public static byte[] convertToPem(Certificate... objects) in convertToPem() argument
136 for (Certificate o : objects) { in convertToPem()
/frameworks/support/v7/preference/
Dproguard-rules.pro15 # Preference objects are inflated via reflection
/frameworks/native/cmds/lshal/
DListCommand.h52 pid_t serverPid, std::map<uint64_t, Pids> *objects) const;
/frameworks/native/libs/binder/include/binder/
DIPCThreadState.h115 const binder_size_t* objects, size_t objectsSize,

123