Searched refs:object (Results 26 - 50 of 132) sorted by relevance

123456

/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DBaseFragmentPagerAdapter.java104 public void destroyItem(View container, int position, Object object) { argument
108 if (DEBUG) Log.v(TAG, "Detaching item #" + position + ": f=" + object
109 + " v=" + ((Fragment)object).getView());
111 Fragment fragment = (Fragment) object;
125 public void setPrimaryItem(View container, int position, Object object) { argument
126 Fragment fragment = (Fragment) object;
149 public boolean isViewFromObject(View view, Object object) { argument
151 View root = ((Fragment) object).getView();
H A DBaseCursorPagerAdapter.java45 /** Mapping of instantiated object to row ID */
110 public void destroyItem(View container, int position, Object object) { argument
111 mObjectRowMap.remove(object);
113 super.destroyItem(container, position, object);
117 public int getItemPosition(Object object) { argument
118 final Integer rowId = mObjectRowMap.get(object);
/frameworks/base/core/java/android/util/
H A DMapCollections.java125 public V setValue(V object) { argument
130 return colSetValue(mIndex, object);
167 public boolean add(Map.Entry<K, V> object) { argument
220 public boolean remove(Object object) { argument
250 public boolean equals(Object object) { argument
251 return equalsSetHelper(this, object);
270 public boolean add(K object) { argument
285 public boolean contains(Object object) { argument
286 return colIndexOfKey(object) >= 0;
305 public boolean remove(Object object) { argument
340 equals(Object object) argument
358 add(V object) argument
373 contains(Object object) argument
399 remove(Object object) argument
511 equalsSetHelper(Set<T> set, Object object) argument
[all...]
H A DDebugUtils.java61 * @param object any object to match against the ANDROID_OBJECT_FILTER
63 * @return true if object is selected by the ANDROID_OBJECT_FILTER
66 public static boolean isObjectSelected(Object object) { argument
72 if (object.getClass().getSimpleName().matches(selectors[0])) {
76 Class<?> klass = object.getClass();
90 .invoke(object, (Object[])null);
/frameworks/support/v4/java/android/support/v4/util/
H A DMapCollections.java123 public V setValue(V object) { argument
128 return colSetValue(mIndex, object);
165 public boolean add(Map.Entry<K, V> object) { argument
218 public boolean remove(Object object) { argument
248 public boolean equals(Object object) { argument
249 return equalsSetHelper(this, object);
268 public boolean add(K object) { argument
283 public boolean contains(Object object) { argument
284 return colIndexOfKey(object) >= 0;
303 public boolean remove(Object object) { argument
338 equals(Object object) argument
356 add(V object) argument
371 contains(Object object) argument
397 remove(Object object) argument
510 equalsSetHelper(Set<T> set, Object object) argument
[all...]
/frameworks/rs/cpu_ref/linkloader/android/
H A Dtest-librsloader.c96 RSExecRef object = rsloaderCreateExec(image, sb.st_size, find_sym, 0); local
97 if (!object) {
98 fprintf(stderr, "ERROR: Unable to load elf object.\n");
104 (int (*)(int, char **))rsloaderGetSymbolAddress(object, "main");
108 printf("ELF object finished with code: %d\n", ret);
111 rsloaderDisposeExec(object);
/frameworks/base/drm/java/android/drm/
H A DDrmSupportInfo.java68 * Retrieves an iterator object that you can use to iterate over the MIME types that
71 * @return The iterator object
78 * Retrieves an iterator object that you can use to iterate over the file suffixes that
81 * @return The iterator object.
141 * @param object The object to be compared.
144 public boolean equals(Object object) { argument
145 if (object instanceof DrmSupportInfo) {
146 DrmSupportInfo info = (DrmSupportInfo) object;
/frameworks/base/core/java/android/os/
H A DMessageQueue.java93 * with {@link #addIdleHandler}. If the given object is not currently
369 boolean hasMessages(Handler h, int what, Object object) { argument
377 if (p.target == h && p.what == what && (object == null || p.obj == object)) {
386 boolean hasMessages(Handler h, Runnable r, Object object) { argument
394 if (p.target == h && p.callback == r && (object == null || p.obj == object)) {
415 void removeMessages(Handler h, int what, Object object) { argument
425 && (object == null || p.obj == object)) {
449 removeMessages(Handler h, Runnable r, Object object) argument
483 removeCallbacksAndMessages(Handler h, Object object) argument
[all...]
/frameworks/base/media/java/android/media/
H A DTimedText.java38 * <li> Register the {@link MediaPlayer.OnTimedTextListener} callback on a MediaPlayer object that is used for playback</li>
368 * @return the characters as a String object in the TimedText. Applications
378 * by a Rect object.
433 Object object = null;
438 object = mStyleList;
443 object = mFontList;
448 object = mHighlightPosList;
453 object = mKaraokeList;
458 object = mHyperTextList;
464 object
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_FileObserver.cpp40 static jint android_os_fileobserver_init(JNIEnv* env, jobject object) argument
53 static void android_os_fileobserver_observe(JNIEnv* env, jobject object, jint fd) argument
86 env->CallVoidMethod(object, method_onEvent, event->wd, event->mask, path);
105 static jint android_os_fileobserver_startWatching(JNIEnv* env, jobject object, jint fd, jstring pathString, jint mask) argument
125 static void android_os_fileobserver_stopWatching(JNIEnv* env, jobject object, jint fd, jint wfd) argument
H A Dandroid_view_TextureView.cpp57 #define GET_INT(object, field) \
58 env->GetIntField(object, field)
60 #define GET_LONG(object, field) \
61 env->GetLongField(object, field)
63 #define SET_INT(object, field, value) \
64 env->SetIntField(object, field, value)
66 #define SET_LONG(object, field, value) \
67 env->SetLongField(object, field, value)
69 #define INVOKEV(object, method, ...) \
70 env->CallVoidMethod(object, metho
[all...]
H A Dandroid_net_LocalSocketImpl.cpp52 socket_connect_local(JNIEnv *env, jobject object, argument
85 socket_bind_local (JNIEnv *env, jobject object, jobject fileDescriptor, argument
114 socket_listen (JNIEnv *env, jobject object, jobject fileDescriptor, jint backlog) argument
138 socket_accept (JNIEnv *env, jobject object, jobject fileDescriptor, jobject s) argument
179 socket_shutdown (JNIEnv *env, jobject object, jobject fileDescriptor, argument
234 socket_getOption(JNIEnv *env, jobject object, jobject fileDescriptor, jint optID) argument
282 JNIEnv *env, jobject object, jobject fileDescriptor, jint optID,
349 static jint socket_pending (JNIEnv *env, jobject object, argument
374 static jint socket_available (JNIEnv *env, jobject object, argument
426 * fields in the LocalSocketImpl object
281 socket_setOption( JNIEnv *env, jobject object, jobject fileDescriptor, jint optID, jint boolValue, jint intValue) argument
549 socket_write_all(JNIEnv *env, jobject object, int fd, void *buf, size_t len) argument
629 socket_read(JNIEnv *env, jobject object, jobject fileDescriptor) argument
662 socket_readba(JNIEnv *env, jobject object, jbyteArray buffer, jint off, jint len, jobject fileDescriptor) argument
707 socket_write(JNIEnv *env, jobject object, jint b, jobject fileDescriptor) argument
729 socket_writeba(JNIEnv *env, jobject object, jbyteArray buffer, jint off, jint len, jobject fileDescriptor) argument
767 socket_get_peer_credentials(JNIEnv *env, jobject object, jobject fileDescriptor) argument
[all...]
H A Dandroid_view_GraphicBuffer.cpp82 #define GET_INT(object, field) \
83 env->GetIntField(object, field)
85 #define SET_INT(object, field, value) \
86 env->SetIntField(object, field, value)
88 #define GET_LONG(object, field) \
89 env->GetLongField(object, field)
91 #define SET_LONG(object, field, value) \
92 env->SetLongField(object, field, value)
94 #define INVOKEV(object, method, ...) \
95 env->CallVoidMethod(object, metho
[all...]
/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java39 * <p>However the TextView is referenced, it will be filled with the toString() of each object in
170 * Adds the specified object at the end of the array.
172 * @param object The object to add at the end of the array.
174 public void add(T object) { argument
177 mOriginalValues.add(object);
179 mObjects.add(object);
218 * Inserts the specified object at the specified index in the array.
220 * @param object The object t
223 insert(T object, int index) argument
239 remove(T object) argument
[all...]
/frameworks/base/libs/hwui/
H A DRenderState.cpp171 DecStrongTask(VirtualLightRefBase* object) : mObject(object) {} argument
183 void RenderState::postDecStrong(VirtualLightRefBase* object) { argument
184 mRenderThread.queue(new DecStrongTask(object));
/frameworks/base/location/java/android/location/
H A DCountry.java64 * Time that this object was created (which we assume to be the time that the source was
129 * Returns the time that this object was created (which we assume to be the time that the source
157 * Returns true if this {@link Country} is equivalent to the given object. This ignores
162 public boolean equals(Object object) { argument
163 if (object == this) {
166 if (object instanceof Country) {
167 Country c = (Country) object;
187 * Compare the specified country to this country object ignoring the source
/frameworks/native/libs/binder/
H A DProcessState.cpp79 void ProcessState::setContextObject(const sp<IBinder>& object) argument
81 setContextObject(object, String16("default"));
89 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) argument
92 mContexts.add(name, object);
98 sp<IBinder> object(
102 //printf("Getting context object %s for %p\n", String8(name).string(), caller.get());
104 if (object != NULL) return object;
121 object = reply.readStrongBinder();
127 if (object !
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTweener.java52 break; // an animator can only be attached to one object
57 public static Tweener to(Object object, long duration, Object... vars) { argument
99 Tweener tween = sTweens.get(object);
102 anim = ObjectAnimator.ofPropertyValuesHolder(object,
105 sTweens.put(object, tween);
108 anim = sTweens.get(object).animator;
109 replace(props, object); // Cancel all animators for given object
132 Tweener from(Object object, long duration, Object... vars) { argument
134 // toVars[v] = object[
[all...]
/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/java/android/filterfw/io/
H A DGraphReader.java57 public void addReference(String name, Object object) { argument
58 mReferences.put(name, object);
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayPowerState.java103 public void setValue(DisplayPowerState object, float value) {
104 object.setColorFadeLevel(value);
108 public Float get(DisplayPowerState object) {
109 return object.getColorFadeLevel();
116 public void setValue(DisplayPowerState object, int value) {
117 object.setScreenBrightness(value);
121 public Integer get(DisplayPowerState object) {
122 return object.getScreenBrightness();
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
H A DJavaBridgeTestBase.java81 // Sets up the WebView and injects the supplied object. Intended to be called from setUp().
82 protected void setUpWebView(final Object object, final String name) throws Exception { argument
87 // loading so that the Java object is injected.
93 webView.addJavascriptInterface(object, name);
/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentStatePagerAdapter.java129 public void destroyItem(ViewGroup container, int position, Object object) { argument
130 Fragment fragment = (Fragment)object;
135 if (DEBUG) Log.v(TAG, "Removing item #" + position + ": f=" + object
136 + " v=" + ((Fragment)object).getView());
147 public void setPrimaryItem(ViewGroup container, int position, Object object) { argument
148 Fragment fragment = (Fragment)object;
172 public boolean isViewFromObject(View view, Object object) { argument
173 return ((Fragment)object).getView() == view;
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentStatePagerAdapter.java125 public void destroyItem(ViewGroup container, int position, Object object) { argument
126 Fragment fragment = (Fragment)object;
131 if (DEBUG) Log.v(TAG, "Removing item #" + position + ": f=" + object
132 + " v=" + ((Fragment)object).getView());
143 public void setPrimaryItem(ViewGroup container, int position, Object object) { argument
144 Fragment fragment = (Fragment)object;
168 public boolean isViewFromObject(View view, Object object) { argument
169 return ((Fragment)object).getView() == view;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuItemWrapperJB.java34 MenuItemWrapperJB(Context context, SupportMenuItem object) { argument
35 super(context, object);

Completed in 935 milliseconds

123456