Home
last modified time | relevance | path

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

12345678

/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/core/java/android/widget/
DArrayAdapter.java127 public ArrayAdapter(Context context, int resource, T[] objects) { in ArrayAdapter() argument
128 init(context, resource, 0, Arrays.asList(objects)); in ArrayAdapter()
140 public ArrayAdapter(Context context, int resource, int textViewResourceId, T[] objects) { in ArrayAdapter() argument
141 init(context, resource, textViewResourceId, Arrays.asList(objects)); in ArrayAdapter()
152 public ArrayAdapter(Context context, int resource, List<T> objects) { in ArrayAdapter() argument
153 init(context, resource, 0, objects); in ArrayAdapter()
165 public ArrayAdapter(Context context, int resource, int textViewResourceId, List<T> objects) { in ArrayAdapter() argument
166 init(context, resource, textViewResourceId, objects); in ArrayAdapter()
308 private void init(Context context, int resource, int textViewResourceId, List<T> objects) { in init() argument
312 mObjects = objects; in init()
/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/native/libs/binder/
DParcel.cpp368 const size_t *objects = parcel->mObjects; in appendFrom() local
386 size_t off = objects[i]; in appendFrom()
415 size_t *objects = in appendFrom() local
417 if (objects == (size_t*)0) { in appendFrom()
420 mObjects = objects; in appendFrom()
427 size_t off = objects[i] - offset + startPos; in appendFrom()
515 const size_t* Parcel::objects() const in objects() function in android::Parcel
890 size_t* objects = (size_t*)realloc(mObjects, newSize*sizeof(size_t)); in writeObject() local
891 if (objects == NULL) return NO_MEMORY; in writeObject()
892 mObjects = objects; in writeObject()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DObjects.java58 public static int hashCode(Object... objects) { in hashCode() argument
59 return Arrays.hashCode(objects); in hashCode()
/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
91 drawing objects typically results in a very empty display. In general, you must also apply a camera
97 <p>Complete the process of transforming your drawn objects by adding a camera view transformation as
123 previews sections, modify the {@code draw()} method of your graphic objects to accept the combined
143 your graphic objects are drawn in correct proportions and should look like this:</p>
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
90 <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.mk101 objects/C3DGroup.c \
102 objects/CAudioPlayer.c \
103 objects/CAudioRecorder.c \
104 objects/CEngine.c \
105 objects/COutputMix.c \
106 objects/CMediaPlayer.c \
DREADME.txt14 objects/ OpenSL ES and OpenMAX AL objects aka classes
/frameworks/base/docs/html/tools/debugging/
Ddebugging-ui.jd98 of Activity objects for a device or emulator, click the arrow on the left. This displays a
99 list of the Activity objects whose UI is currently visible on the device or emulator. The
100 objects are listed by their Android component name. The list includes both your application
101 Activity and system Activity objects. A screenshot of this window appears in
119 The View Hierarchy window displays the View objects that form the UI of the
121 View objects within the context of the entire View tree. For each View object, the View
136 View objects and see the relationships between View objects in your UI.
139 scroll wheel. To move around in the pane or reveal View objects that are not currently
244 speed of this View relative to other View objects in the tree. The three dots
252 the View objects in the tree. For example, a green dot for the measure time means
[all …]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DTextureBase.java33 protected Boolean doInBackground(TextureBase... objects) { in doInBackground() argument
34 TextureBase tex = objects[0]; in doInBackground()
/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.cpp75 objects.add(object); in addObject()
80 objects.remove(object); in removeObject()
85 if (objects.indexOf(object) >= 0) { in getObject()
269 size_t count = objects.size(); in terminate()
272 egl_object_t* o = objects.itemAt(i); in terminate()
277 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/base/docs/html/tools/testing/
Dservice_testing.jd50 Android provides a testing framework for Service objects that can run them in
51 isolation and provides mock objects. The test case class for Service objects is
56 This document describes techniques for testing Service objects. If you aren't familiar with the
81 Service under test. It also provides mock application and Context objects that isolate your
88 allows you to set up your test environment, particularly your mock objects, before the Service
109 objects are described in <a href="#MockObjects">Mock object classes</a>.
119 (or both) for the test environment. These objects isolate the test environment from the
120 rest of the system. If you don't provide your own instances of these objects before you
/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.java131 public Adapter(Context context, int resource, List<T> objects) { in Adapter() argument
132 super(context, resource, objects); in Adapter()
/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/opt/datetimepicker/src/com/android/datetimepicker/date/
DYearPickerView.java107 public YearAdapter(Context context, int resource, List<String> objects) { in YearAdapter() argument
108 super(context, resource, objects); in YearAdapter()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagCommonKinds.inc9 …Engine::Error, "cannot link shared objects with -static option.\nShared object `%0': %1", "cannot …
24 …t which does not support shared objects", "can not enable --as-needed on the target which does not…
/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/base/keystore/java/android/security/
DCredentials.java127 public static byte[] convertToPem(Certificate... objects) in convertToPem() argument
132 for (Certificate o : objects) { in convertToPem()

12345678