Searched refs:object (Results 1 - 25 of 52) sorted by relevance

123

/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DHolder.java22 public void set(T object) { argument
23 mObject = object;
H A DRangeBoolArray.java35 public void put(int i, boolean object) { argument
36 mData[i - mOffset] = object;
43 public int indexOf(boolean object) { argument
45 if (mData[i] == object) return i + mOffset;
H A DRangeIntArray.java35 public void put(int i, int object) { argument
36 mData[i - mOffset] = object;
43 public int indexOf(int object) { argument
45 if (mData[i] == object) return i + mOffset;
H A DRangeArray.java38 public void put(int i, T object) { argument
39 mData[i - mOffset] = object;
46 public int indexOf(T object) { argument
48 if (mData[i] == object) return i + mOffset;
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailViewPagerAdapter.java77 public int getItemPosition(Object object) { argument
80 if (object == mAboutFragmentView) {
84 if (object == mUpdatesFragmentView && mFragmentViewCount > 1) {
109 public void destroyItem(ViewGroup container, int position, Object object) { argument
110 ((View) object).setVisibility(View.GONE);
118 public boolean isViewFromObject(View view, Object object) { argument
119 return ((View) object) == view;
/packages/apps/Mms/src/com/android/mms/model/
H A DSlideModel.java177 private boolean internalRemove(Object object) { argument
178 if (mMedia.remove(object)) {
179 if (object instanceof TextModel) {
181 } else if (object instanceof ImageModel) {
184 } else if (object instanceof AudioModel) {
187 } else if (object instanceof VideoModel) {
195 int decreaseSize = ((MediaModel) object).getMediaResizable() ? 0
196 : ((MediaModel) object).getMediaSize();
200 ((Model) object).unregisterAllModelChangedObservers();
271 * a media object i
282 add(MediaModel object) argument
315 contains(Object object) argument
331 remove(Object object) argument
360 add(int location, MediaModel object) argument
377 indexOf(Object object) argument
381 lastIndexOf(Object object) argument
401 set(int location, MediaModel object) argument
[all...]
H A DSlideshowModel.java401 public boolean add(SlideModel object) { argument
402 int increaseSize = object.getSlideSize();
405 if ((object != null) && mSlides.add(object)) {
407 object.registerModelChangedObserver(this);
409 object.registerModelChangedObserver(observer);
435 public boolean contains(Object object) { argument
436 return mSlides.contains(object);
451 public boolean remove(Object object) { argument
452 if ((object !
482 add(int location, SlideModel object) argument
506 indexOf(Object object) argument
510 lastIndexOf(Object object) argument
532 set(int location, SlideModel object) argument
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DEntrySchema.java103 public <T extends Entry> T cursorToObject(Cursor cursor, T object) { argument
110 field.set(object, cursor.isNull(columnIndex)
115 field.setBoolean(object, cursor.getShort(columnIndex) == 1);
118 field.setShort(object, cursor.getShort(columnIndex));
121 field.setInt(object, cursor.getInt(columnIndex));
124 field.setLong(object, cursor.getLong(columnIndex));
127 field.setFloat(object, cursor.getFloat(columnIndex));
130 field.setDouble(object, cursor.getDouble(columnIndex));
133 field.set(object, cursor.isNull(columnIndex)
139 return object;
145 setIfNotNull(Field field, Object object, Object value) argument
154 valuesToObject(ContentValues values, T object) argument
192 objectToValues(Entry object, ContentValues values) argument
[all...]
H A DUtils.java63 public static <T> T checkNotNull(T object) { argument
64 if (object == null) throw new NullPointerException();
65 return object;
261 public static void waitWithoutInterrupt(Object object) { argument
263 object.wait();
265 Log.w(TAG, "unexpected interrupt: " + object);
/packages/inputmethods/LatinIME/native/jni/
H A Dcom_android_inputmethod_latin_DicTraverseSession.cpp26 static jlong latinime_setDicTraverseSession(JNIEnv *env, jobject object, jstring localeJStr) { argument
31 static void latinime_initDicTraverseSession(JNIEnv *env, jobject object, jlong traverseSession, argument
44 static void latinime_releaseDicTraverseSession(JNIEnv *env, jobject object, jlong traverseSession) { argument
H A Dcom_android_inputmethod_keyboard_ProximityInfo.cpp26 static jlong latinime_Keyboard_setProximityInfo(JNIEnv *env, jobject object, argument
39 static void latinime_Keyboard_release(JNIEnv *env, jobject object, jlong proximityInfo) { argument
H A Dcom_android_inputmethod_latin_BinaryDictionary.cpp46 static jlong latinime_BinaryDictionary_open(JNIEnv *env, jobject object, argument
131 static int latinime_BinaryDictionary_getSuggestions(JNIEnv *env, jobject object, jlong dict, argument
201 static jint latinime_BinaryDictionary_getFrequency(JNIEnv *env, jobject object, jlong dict, argument
211 static jboolean latinime_BinaryDictionary_isValidBigram(JNIEnv *env, jobject object, jlong dict, argument
224 static jfloat latinime_BinaryDictionary_calcNormalizedScore(JNIEnv *env, jobject object, argument
237 static jint latinime_BinaryDictionary_editDistance(JNIEnv *env, jobject object, argument
250 static void latinime_BinaryDictionary_close(JNIEnv *env, jobject object, jlong dict) { argument
/packages/apps/Gallery2/src/com/android/gallery3d/provider/
H A DGalleryProvider.java121 MediaObject object = mDataManager.getMediaObject(path);
122 if (object == null) {
126 if (PicasaSource.isPicasaImage(object)) {
127 return queryPicasaItem(object,
129 } else if (object instanceof MtpImage) {
130 return queryMtpItem((MtpImage) object,
208 MediaObject object = mDataManager.getMediaObject(path);
209 if (object == null) {
212 if (PicasaSource.isPicasaImage(object)) {
213 return PicasaSource.openFile(getContext(), object, mod
[all...]
/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DUtil.java33 static byte[] toBytes(Object object) { argument
37 os.writeObject(object);
40 Log.w(TAG, "toBytes(): " + e + ": " + object);
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
H A DMovieEffect.java177 public boolean equals(Object object) { argument
178 if (!(object instanceof MovieEffect)) {
181 return mUniqueId.equals(((MovieEffect)object).mUniqueId);
H A DMovieAudioTrack.java61 * An object of this type cannot be instantiated by using the default
433 public boolean equals(Object object) { argument
434 if (!(object instanceof MovieAudioTrack)) {
437 return mUniqueId.equals(((MovieAudioTrack)object).mUniqueId);
H A DMovieOverlay.java200 public boolean equals(Object object) { argument
201 if (!(object instanceof MovieOverlay)) {
204 return mUniqueId.equals(((MovieOverlay)object).mUniqueId);
/packages/apps/DeskClock/src/com/android/deskclock/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
100 Tweener tween = sTweens.get(object);
103 anim = ObjectAnimator.ofPropertyValuesHolder(object,
106 sTweens.put(object, tween);
109 anim = sTweens.get(object).animator;
110 replace(props, object); // Cancel all animators for given object
133 Tweener from(Object object, long duration, Object... vars) { argument
135 // toVars[v] = object[
[all...]
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_a2dp.cpp137 static void initNative(JNIEnv *env, jobject object) { argument
153 ALOGW("Cleaning up A2DP callback object");
170 mCallbacksObj = env->NewGlobalRef(object);
173 static void cleanupNative(JNIEnv *env, jobject object) { argument
193 static jboolean connectA2dpNative(JNIEnv *env, jobject object, jbyteArray address) { argument
215 static jboolean disconnectA2dpNative(JNIEnv *env, jobject object, jbyteArray address) { argument
H A Dcom_android_bluetooth_hdp.cpp133 static void initializeNative(JNIEnv *env, jobject object) { argument
149 ALOGW("Cleaning up Bluetooth Health callback object");
166 mCallbacksObj = env->NewGlobalRef(object);
169 static void cleanupNative(JNIEnv *env, jobject object) { argument
185 ALOGW("Cleaning up Bluetooth Health object");
191 static jint registerHealthAppNative(JNIEnv *env, jobject object, jint data_type, argument
223 static jboolean unregisterHealthAppNative(JNIEnv *env, jobject object, int app_id) { argument
233 static jint connectChannelNative(JNIEnv *env, jobject object, argument
257 static jboolean disconnectChannelNative(JNIEnv *env, jobject object, jint channel_id) { argument
H A Dcom_android_bluetooth_pan.cpp109 static void initializeNative(JNIEnv *env, jobject object) { argument
126 ALOGW("Cleaning up Bluetooth PAN callback object");
144 mCallbacksObj = env->NewGlobalRef(object);
147 static void cleanupNative(JNIEnv *env, jobject object) { argument
158 ALOGW("Cleaning up Bluetooth PAN callback object");
165 static jboolean enablePanNative(JNIEnv *env, jobject object, jint local_role) { argument
174 static jint getPanLocalRoleNative(JNIEnv *env, jobject object) { argument
186 static jboolean connectPanNative(JNIEnv *env, jobject object, jbyteArray address, argument
210 static jboolean disconnectPanNative(JNIEnv *env, jobject object, jbyteArray address) { argument
H A Dcom_android_bluetooth_hfp.cpp268 static void initializeNative(JNIEnv *env, jobject object) { argument
284 ALOGW("Cleaning up Bluetooth Handsfree callback object");
301 mCallbacksObj = env->NewGlobalRef(object);
304 static void cleanupNative(JNIEnv *env, jobject object) { argument
320 ALOGW("Cleaning up Bluetooth Handsfree callback object");
326 static jboolean connectHfpNative(JNIEnv *env, jobject object, jbyteArray address) { argument
346 static jboolean disconnectHfpNative(JNIEnv *env, jobject object, jbyteArray address) { argument
365 static jboolean connectAudioNative(JNIEnv *env, jobject object, jbyteArray address) { argument
385 static jboolean disconnectAudioNative(JNIEnv *env, jobject object, jbyteArray address) { argument
405 static jboolean startVoiceRecognitionNative(JNIEnv *env, jobject object) { argument
415 stopVoiceRecognitionNative(JNIEnv *env, jobject object) argument
425 setVolumeNative(JNIEnv *env, jobject object, jint volume_type, jint volume) argument
436 notifyDeviceStatusNative(JNIEnv *env, jobject object, jint network_state, jint service_type, jint signal, jint battery_charge) argument
450 copsResponseNative(JNIEnv *env, jobject object, jstring operator_str) argument
464 cindResponseNative(JNIEnv *env, jobject object, jint service, jint num_active, jint num_held, jint call_state, jint signal, jint roam, jint battery_charge) argument
479 atResponseStringNative(JNIEnv *env, jobject object, jstring response_str) argument
493 atResponseCodeNative(JNIEnv *env, jobject object, jint response_code, jint cmee_code) argument
504 clccResponseNative(JNIEnv *env, jobject object, jint index, jint dir, jint callStatus, jint mode, jboolean mpty, jstring number_str, jint type) argument
525 phoneStateChangeNative(JNIEnv *env, jobject object, jint num_active, jint num_held, jint call_state, jstring number_str, jint type) argument
[all...]
H A Dcom_android_bluetooth_hid.cpp178 static void initializeNative(JNIEnv *env, jobject object) { argument
194 ALOGW("Cleaning up Bluetooth GID callback object");
214 mCallbacksObj = env->NewGlobalRef(object);
217 static void cleanupNative(JNIEnv *env, jobject object) { argument
233 ALOGW("Cleaning up Bluetooth GID callback object");
241 static jboolean connectHidNative(JNIEnv *env, jobject object, jbyteArray address) { argument
263 static jboolean disconnectHidNative(JNIEnv *env, jobject object, jbyteArray address) { argument
285 static jboolean getProtocolModeNative(JNIEnv *env, jobject object, jbyteArray address) { argument
308 static jboolean virtualUnPlugNative(JNIEnv *env, jobject object, jbyteArray address) { argument
330 static jboolean setProtocolModeNative(JNIEnv *env, jobject object, jbyteArra argument
366 getReportNative(JNIEnv *env, jobject object, jbyteArray address, jbyte reportType, jbyte reportId, jint bufferSize) argument
394 setReportNative(JNIEnv *env, jobject object, jbyteArray address, jbyte reportType, jstring report) argument
420 sendDataNative(JNIEnv *env, jobject object, jbyteArray address, jstring report) argument
[all...]
/packages/apps/Email/src/com/android/email/provider/
H A DContentCache.java129 /*package*/ synchronized int subtract(T object) { argument
130 Integer refCount = mMap.get(object);
137 mMap.put(object, newCount);
140 mMap.remove(object);
145 /*package*/ synchronized void add(T object) { argument
146 Integer refCount = mMap.get(object);
148 mMap.put(object, 1);
150 mMap.put(object, refCount + 1);
154 /*package*/ synchronized boolean contains(T object) { argument
155 return mMap.containsKey(object);
158 getCount(T object) argument
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DBrowserBookmarksAdapter.java62 public void bindView(View view, BrowserBookmarksAdapterItem object) { argument
65 bindGridView(view, mContext, object);

Completed in 359 milliseconds

123