Searched defs:object (Results 51 - 75 of 116) sorted by relevance

12345

/frameworks/base/core/java/android/util/
H A DArrayMap.java30 * avoid having to create an extra object for every entry put in to the map, and it
657 * <p>This implementation returns false if the object is not a map, or
663 public boolean equals(Object object) { argument
664 if (this == object) {
667 if (object instanceof Map) {
668 Map<?, ?> map = (Map<?, ?>) object;
856 * the {@link java.util.Map.Entry Map.Entry} object returned by its iterator is a single
857 * object that exists for the entire iterator, so you can <b>not</b> hold on to it
H A DArraySet.java336 * Adds the specified object to this set. The set is not modified if it
337 * already contains the object.
339 * @param value the object to add.
342 * when the class of the object is inappropriate for this set.
442 * Removes the specified object from this set.
444 * @param object the object to remove.
448 public boolean remove(Object object) { argument
449 final int index = indexOf(object);
562 * <p>This implementation returns false if the object i
569 equals(Object object) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java46 * <p>However the TextView is referenced, it will be filled with the toString() of each object in
188 * Adds the specified object at the end of the array.
190 * @param object The object to add at the end of the array.
192 public void add(@Nullable T object) { argument
195 mOriginalValues.add(object);
197 mObjects.add(object);
245 * Inserts the specified object at the specified index in the array.
247 * @param object The object t
250 insert(@ullable T object, int index) argument
266 remove(@ullable T object) argument
[all...]
H A DDayPickerPagerAdapter.java187 public boolean isViewFromObject(View view, Object object) { argument
188 final ViewHolder holder = (ViewHolder) object;
272 public void destroyItem(ViewGroup container, int position, Object object) { argument
273 final ViewHolder holder = (ViewHolder) object;
280 public int getItemPosition(Object object) { argument
281 final ViewHolder holder = (ViewHolder) object;
294 SimpleMonthView getView(Object object) { argument
295 if (object == null) {
298 final ViewHolder holder = (ViewHolder) object;
/frameworks/base/core/java/com/android/internal/transition/
H A DEpicenterTranslateClipReveal.java289 public State get(View object) { argument
291 if (!object.getClipBounds(tempRect)) {
296 tempState.trans = object.getTranslationX();
300 tempState.trans = object.getTranslationY();
308 public void set(View object, State value) { argument
310 if (object.getClipBounds(tempRect)) {
318 object.setClipBounds(tempRect);
322 object.setTranslationX(value.trans);
324 object.setTranslationY(value.trans);
/frameworks/base/core/jni/
H A Dandroid_net_LocalSocketImpl.cpp55 socket_connect_local(JNIEnv *env, jobject object, argument
88 socket_bind_local (JNIEnv *env, jobject object, jobject fileDescriptor, argument
118 * fields in the LocalSocketImpl object. Returns 0 on success
240 static int socket_write_all(JNIEnv *env, jobject object, int fd, argument
250 object, field_outboundFileDescriptors);
320 static jint socket_read (JNIEnv *env, jobject object, jobject fileDescriptor) argument
338 err = socket_read_all(env, object, fd, &buf, 1);
353 static jint socket_readba (JNIEnv *env, jobject object, argument
388 ret = socket_read_all(env, object,
398 static void socket_write (JNIEnv *env, jobject object, argument
420 socket_writeba(JNIEnv *env, jobject object, jbyteArray buffer, jint off, jint len, jobject fileDescriptor) argument
458 socket_get_peer_credentials(JNIEnv *env, jobject object, jobject fileDescriptor) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DPerformanceCollectorTest.java484 private Object readPrivateField(String fieldName, Object object) throws Exception { argument
485 Field f = object.getClass().getDeclaredField(fieldName);
487 return f.get(object);
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.cpp37 "State object lifecycle not managed correctly");
42 "State object lifecycle not managed correctly");
214 DecStrongTask(VirtualLightRefBase* object) : mObject(object) {} argument
226 void RenderState::postDecStrong(VirtualLightRefBase* object) { argument
228 object->decStrong(nullptr);
230 mRenderThread.queue(new DecStrongTask(object));
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java180 static SerializedFrame wrapObject(Object object, FrameManager frameManager) { argument
181 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE);
183 result.setObjectValue(object);
250 protected void setGenericObjectValue(Object object) { argument
251 serializeObjectValue(object);
254 private final void serializeObjectValue(Object object) { argument
257 mObjectOut.writeObject(object);
261 throw new RuntimeException("Could not serialize object " + object + " in "
272 throw new RuntimeException("Could not deserialize object i
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_util.h37 // Wrapper around a java object pointer, which includes the environment
38 // pointer in which the object "lives". This is used for passing down Java
40 // While an instance of this class does not own the underlying java object, it
50 // Creates a wrapper around the given object in the given JNI environment.
51 JavaObject(jobject object, JNIEnv* env);
62 // Access to the object (non-const as JNI functions are non-const).
63 jobject object() const {
67 // Resets this object to the NULL JavaObject.
77 // The object pointer (not owned).
80 // The reference count of this object
114 RegisterObject(T* object, bool owns) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DRationalTest.java391 private static void assertValueEquals(Rational object, float expected) { argument
392 assertEquals("Checking floatValue() for " + object + ";",
393 expected, object.floatValue());
396 private static void assertValueEquals(Rational object, double expected) { argument
397 assertEquals("Checking doubleValue() for " + object + ";",
398 expected, object.doubleValue());
401 private static void assertValueEquals(Rational object, long expected) { argument
402 assertEquals("Checking longValue() for " + object + ";",
403 expected, object.longValue());
406 private static void assertValueEquals(Rational object, in argument
411 assertValueEquals(Rational object, short expected) argument
416 assertFinite(Rational object, boolean expected) argument
420 assertInfinite(Rational object, boolean expected) argument
424 assertNaN(Rational object, boolean expected) argument
428 assertZero(Rational object, boolean expected) argument
432 assertAction(String action, T object, boolean expected, boolean actual) argument
498 mutateField(T object, String name, int value) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DRestrictedLockUtils.java720 public boolean equals(Object object) { argument
721 if (object == this) return true;
722 if (!(object instanceof EnforcedAdmin)) return false;
723 EnforcedAdmin other = (EnforcedAdmin) object;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DUploadedTexture.java97 public boolean equals(Object object) { argument
98 if (!(object instanceof BorderKey)) return false;
99 BorderKey o = (BorderKey) object;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrame.java132 public boolean equals(Object object) { argument
133 return object instanceof Frame && ((Frame)object).mBackingStore == mBackingStore;
/frameworks/native/libs/binder/
H A DBinder.cpp157 const void* objectID, void* object, void* cleanupCookie,
175 e->mObjects.attach(objectID, object, cleanupCookie, func);
259 // the BpRefBase object holding it (when it is constructed), to the
260 // owner of the BpRefBase object when it first acquires that BpRefBase.
156 attachObject( const void* objectID, void* object, void* cleanupCookie, object_cleanup_func func) argument
H A DBpBinder.cpp45 const void* objectID, void* object, void* cleanupCookie,
49 e.object = object;
54 ALOGE("Trying to attach object ID %p to binder ObjectManager %p with object %p, but object ID already in use",
55 objectID, this, object);
66 return mObjects.valueAt(i).object;
81 e.func(mObjects.keyAt(i), e.object, e.cleanupCookie);
124 // we're returning a reference to a non-static object her
44 attach( const void* objectID, void* object, void* cleanupCookie, IBinder::object_cleanup_func func) argument
286 attachObject( const void* objectID, void* object, void* cleanupCookie, object_cleanup_func func) argument
[all...]
H A DProcessState.cpp80 void ProcessState::setContextObject(const sp<IBinder>& object) argument
82 setContextObject(object, String16("default"));
90 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) argument
93 mContexts.add(name, object);
99 sp<IBinder> object(
103 //printf("Getting context object %s for %p\n", String8(name).string(), caller.get());
105 if (object != NULL) return object;
122 object = reply.readStrongBinder();
128 if (object !
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl_display.cpp72 void egl_display_t::addObject(egl_object_t* object) { argument
74 objects.add(object);
77 void egl_display_t::removeObject(egl_object_t* object) { argument
79 objects.remove(object);
82 bool egl_display_t::getObject(egl_object_t* object) const {
84 if (objects.indexOf(object) >= 0) {
85 if (object->getDisplay() == this) {
86 object->incRef();
281 // this marks all object handles are "terminated"
/frameworks/support/design/tests/src/android/support/design/widget/
H A DTabLayoutWithViewPagerTest.java108 public void destroyItem(ViewGroup container, int position, Object object) { argument
110 container.removeView(((ViewHolder) object).view);
114 public int getItemPosition(Object object) { argument
115 return ((ViewHolder) object).position;
119 public boolean isViewFromObject(View view, Object object) { argument
120 return ((ViewHolder) object).view == view;
/frameworks/support/v4/java/android/support/v4/util/
H A DSimpleArrayMap.java525 * <p>This implementation returns false if the object is not a Map or
531 public boolean equals(Object object) { argument
532 if (this == object) {
535 if (object instanceof SimpleArrayMap) {
536 SimpleArrayMap<?, ?> map = (SimpleArrayMap<?, ?>) object;
560 } else if (object instanceof Map) {
561 Map<?, ?> map = (Map<?, ?>) object;
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityWindowInfoCompat.java261 * @param object The info to wrap.
262 * @return A wrapper for if the object is not null, null otherwise.
264 static AccessibilityWindowInfoCompat wrapNonNullInstance(Object object) { argument
265 if (object != null) {
266 return new AccessibilityWindowInfoCompat(object);
427 * <strong>Note:</strong> You must not touch the object after calling this function.
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DMenuWrapperICS.java34 MenuWrapperICS(Context context, SupportMenu object) { argument
35 super(context, object);
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DOverlayListView.java51 * Adds an object to the overlay layer.
53 * @param object An object to be added.
55 public void addOverlayObject(OverlayObject object) { argument
56 mOverlayObjects.add(object);
63 for (OverlayObject object : mOverlayObjects) {
64 if (!object.isAnimationStarted()) {
65 object.startAnimation(getDrawingTime());
74 for (OverlayObject object : mOverlayObjects) {
75 object
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp103 sp<RefBase> object; local
104 if (buffer->meta()->findObject("format", &object)) {
105 setFormat(static_cast<MetaData*>(object.get()));
148 sp<RefBase> object; local
149 if ((*buffer)->meta()->findObject("format", &object)) {
150 setFormat(static_cast<MetaData*>(object.get()));
192 sp<RefBase> object; local
193 if (buffer->meta()->findObject("format", &object)) {
194 setFormat(static_cast<MetaData*>(object.get()));
601 sp<RefBase> object; local
[all...]
/frameworks/base/core/java/android/os/
H A DHandler.java44 * a {@link Message} object containing a bundle of data that will be
77 * @param msg A {@link android.os.Message Message} object
414 * Posts a message to an object that implements Runnable.
656 * 'object' that are in the message queue. If <var>object</var> is null,
659 public final void removeMessages(int what, Object object) { argument
660 mQueue.removeMessages(this, what, object);
682 * whose obj is 'object' in the message queue.
684 public final boolean hasMessages(int what, Object object) { argument
685 return mQueue.hasMessages(this, what, object);
[all...]

Completed in 5804 milliseconds

12345