Home
last modified time | relevance | path

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

1234567891011

/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.java138 public ArrayAdapter(@NonNull Context context, @LayoutRes int resource, @NonNull T[] objects) { in ArrayAdapter() argument
139 this(context, resource, 0, Arrays.asList(objects)); in ArrayAdapter()
152 @IdRes int textViewResourceId, @NonNull T[] objects) { in ArrayAdapter() argument
153 this(context, resource, textViewResourceId, Arrays.asList(objects)); in ArrayAdapter()
165 @NonNull List<T> objects) { in ArrayAdapter() argument
166 this(context, resource, 0, objects); in ArrayAdapter()
179 @IdRes int textViewResourceId, @NonNull List<T> objects) { in ArrayAdapter() argument
183 mObjects = objects; in ArrayAdapter()
/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.java148 List<String> objects) { in StableArrayAdapter() argument
149 super(context, textViewResourceId, objects); in StableArrayAdapter()
150 for (int i = 0; i < objects.size(); ++i) { in StableArrayAdapter()
151 mIdMap.put(objects.get(i), i); in StableArrayAdapter()
/frameworks/base/docs/html/training/graphics/opengl/
Dprojection.jd37 <p>In the OpenGL ES environment, projection and camera views allow you to display drawn objects in a
38 way that more closely resembles how you see physical objects with your eyes. This simulation of
42 <li><em>Projection</em> - This transformation adjusts the coordinates of drawn objects based on
44 this calculation, objects drawn by OpenGL ES are skewed by the unequal proportions of the view
52 <li><em>Camera View</em> - This transformation adjusts the coordinates of drawn objects based on a
55 drawn objects. A camera view transformation might be calculated only once when you establish your
96 drawing objects typically results in a very empty display. In general, you must also apply a camera
102 <p>Complete the process of transforming your drawn objects by adding a camera view transformation as
135 // the coordinates of the objects that use this vertex shader
152 <p>Next, modify the {@code draw()} method of your graphic objects to accept the combined
[all …]
Dmotion.jd36 <p>Drawing objects on screen is a pretty basic feature of OpenGL, but you can do this with other
38 {@link android.graphics.drawable.Drawable} objects. OpenGL ES provides additional capabilities for
39 moving and transforming drawn objects in three dimensions or in other unique ways to create
96 <p>Unless you have objects changing without any user interaction, it’s usually a good idea have this
Dindex.jd41 setup, drawing objects, moving drawn elements and responding to touch input.</p>
67 objects.</dd>
70 <dd>Learn how to do basic movement and animation of drawn objects with OpenGL.</dd>
/frameworks/wilhelm/src/
DAndroid.mk100 objects/C3DGroup.c \
101 objects/CAudioPlayer.c \
102 objects/CAudioRecorder.c \
103 objects/CEngine.c \
104 objects/COutputMix.c \
105 objects/CMediaPlayer.c \
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/native/opengl/libs/EGL/
Degl_display.cpp74 objects.add(object); in addObject()
79 objects.remove(object); in removeObject()
84 if (objects.indexOf(object) >= 0) { in getObject()
274 size_t count = objects.size(); in terminate()
277 egl_object_t* o = objects.itemAt(i); in terminate()
282 objects.clear(); in terminate()
/frameworks/base/docs/html/guide/topics/ui/
Doverview.jd6 {@link android.view.ViewGroup} objects. A {@link android.view.View} is an object that draws
8 object that holds other {@link android.view.View} (and {@link android.view.ViewGroup}) objects in
19 android.view.View} and {@link android.view.ViewGroup} objects, as shown in figure 1. Each view group
29 <p>To declare your layout, you can instantiate {@link android.view.View} objects in code and start
67 android.view.ViewGroup} objects. Android provides several app components that offer
/frameworks/native/libs/binder/
DParcel.cpp498 const binder_size_t *objects = parcel->mObjects; in appendFrom() local
522 size_t off = objects[i]; in appendFrom()
552 binder_size_t *objects = in appendFrom() local
554 if (objects == (binder_size_t*)0) { in appendFrom()
557 mObjects = objects; in appendFrom()
564 size_t off = objects[i] - offset + startPos; in appendFrom()
657 const binder_size_t* Parcel::objects() const in objects() function in android::Parcel
1346 binder_size_t* objects = (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t)); in writeObject() local
1347 if (objects == NULL) return NO_MEMORY; in writeObject()
1348 mObjects = objects; in writeObject()
[all …]
/frameworks/base/docs/html/training/multiple-threads/
Dcommunicate-ui.jd33 from the task to objects running on the user interface (UI) thread. This feature allows your
37 Every app has its own special thread that runs UI objects such as {@link android.view.View}
38 objects; this thread is called the UI thread. Only objects running on the UI thread have access
39 to other objects on that thread. Because tasks that you run on a thread from a thread pool
40 <em>aren't</em> running on your UI thread, they don't have access to UI objects. To move data
73 for a thread it's managing; all of the {@link android.os.Handler} objects for a particular
Ddefine-runnable.jd36 run it. One or more {@link java.lang.Runnable} objects that perform a particular operation are
69 directly modify UI objects such as {@link android.view.View} objects. To communicate with
/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/base/docs/html/training/wearables/data-layer/
Dindex.jd19 for your handheld and wearable apps. The API consists of a set of data objects that the system can
41 …ocRoot}reference/com/google/android/gms/wearable/Asset.html"><code>Asset</code></a> objects are for
72 objects attached to
74 objects. The Channel API saves disk space unlike the
111 <dd>Data items are objects that are stored in a replicated data store that is automatically
/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/rs/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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcher.java157 View[] objects = new View[count]; in startAppearAnimation() local
159 objects[i] = mUserSwitcher.getChildAt(i); in startAppearAnimation()
163 mAppearAnimationUtils.startAnimation(objects, new Runnable() { in startAppearAnimation()
/frameworks/base/docs/html/guide/topics/ui/layout/
Dgrid.jd3 parent.link=layout-objects.html
30 <p>{@link android.widget.TableRow} objects are the child views of a TableLayout
33 composed of a variety of View objects, like ImageView or TextView objects.
/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")

1234567891011