Searched refs:old (Results 26 - 50 of 87) sorted by relevance

1234

/frameworks/support/core-ui/java/android/support/v4/widget/
H A DCursorAdapter.java333 Cursor old = swapCursor(cursor);
334 if (old != null) {
335 old.close();
340 * Swap in a new Cursor, returning the old Cursor. Unlike
341 * {@link #changeCursor(Cursor)}, the returned old Cursor is <em>not</em>
/frameworks/base/core/java/android/app/
H A DBackStackRecord.java746 Fragment old = mManager.mAdded.get(i);
749 "OP_REPLACE: adding=" + f + " old=" + old);
751 if (old.mContainerId == containerId) {
752 if (old == f) {
758 op.removed.add(old);
759 old.mNextAnim = op.exitAnim;
761 old.mBackStackNesting += 1;
764 + old + " to " + old
[all...]
H A DLoadedApk.java1407 ServiceDispatcher.ConnectionInfo old;
1416 old = mActiveConnections.get(name);
1417 if (old != null && old.binder == service) {
1442 if (old != null) {
1443 old.binder.unlinkToDeath(old.deathMonitor, 0);
1447 // If there was an old service, it is now disconnected.
1448 if (old != null) {
1459 ConnectionInfo old
[all...]
H A DLocalActivityManager.java257 * with removing the old window if the activity has changed.
292 LocalActivityRecord old = mResumed;
296 if (old != null && old != r && mCurState == RESUMED) {
297 moveToState(old, STARTED);
/frameworks/support/fragment/java/android/support/v4/app/
H A DBackStackRecord.java741 Fragment old = mManager.mAdded.get(i);
743 "OP_REPLACE: adding=" + f + " old=" + old);
744 if (old.mContainerId == containerId) {
745 if (old == f) {
751 op.removed.add(old);
752 old.mNextAnim = exitAnim;
754 old.mBackStackNesting += 1;
756 + old + " to " + old
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationUsageStats.java150 NotificationRecord old) {
151 notification.stats.updateFrom(old.stats);
937 public void updateFrom(SingleNotificationStats old) { argument
938 posttimeElapsedMs = old.posttimeElapsedMs;
939 posttimeToFirstClickMs = old.posttimeToFirstClickMs;
940 airtimeCount = old.airtimeCount;
941 posttimeToFirstAirtimeMs = old.posttimeToFirstAirtimeMs;
942 currentAirtimeStartElapsedMs = old.currentAirtimeStartElapsedMs;
943 airtimeMs = old.airtimeMs;
944 posttimeToFirstVisibleExpansionMs = old
149 registerUpdatedByApp(NotificationRecord notification, NotificationRecord old) argument
[all...]
H A DNotificationManagerService.java2637 NotificationRecord old = mNotificationsByKey.get(n.getKey());
2638 if (old != null) {
2640 r.copyRankingInformation(old);
2654 handleGroupedNotificationLocked(r, old, callingUid, callingPid);
2661 if (old != null) {
2701 old = mNotificationList.get(index);
2703 mUsageStats.registerUpdatedByApp(r, old);
2706 old.getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE;
2723 StatusBarNotification oldSbn = (old != null) ? old
2750 handleGroupedNotificationLocked(NotificationRecord r, NotificationRecord old, int callingUid, int callingPid) argument
[all...]
/frameworks/base/core/java/android/util/
H A DArrayMap.java415 V old = (V)mArray[index];
417 return old;
433 * @return Returns the old value that was stored for the given key, or null if there
449 final V old = (V)mArray[index];
451 return old;
596 final Object old = mArray[(index << 1) + 1];
643 return (V)old;
H A DSparseArray.java138 * Removes the mapping from the specified key, if there was any, returning the old value.
145 final E old = (E) mValues[i];
148 return old;
/frameworks/av/services/audioflinger/
H A DFastCapture.cpp204 int32_t old = android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); local
205 if (!(old & CBLK_FUTEX_WAKE)) {
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java505 SpeechItem old = mCurrentSpeechItem;
507 return old;
1420 ITextToSpeechCallback old;
1423 old = mCallerToCallback.put(caller, cb);
1425 old = mCallerToCallback.remove(caller);
1427 if (old != null && old != cb) {
1428 unregister(old);
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp143 sp<JNIDeviceCallback> old = local
149 if (old != 0) {
150 old->decStrong((void*)setJniDeviceCallback);
153 return old;
168 sp<AudioRecord> old = local
173 if (old != 0) {
174 old->decStrong((void*)setAudioRecord);
177 return old;
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DMOTree.java129 XMLNode old = checkMap.put(child.getTag(), child);
155 if (old != null)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
H A DMOTree.java133 XMLNode old = checkMap.put(child.getTag(), child);
159 if (old != null)
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/
H A DDiffUtilActivity.java106 public MyCallback(List<String> old, List<String> aNew) { argument
107 mOld = old;
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/
H A DDiffUtilActivity.java106 public MyCallback(List<String> old, List<String> aNew) { argument
107 mOld = old;
/frameworks/support/compat/java/android/support/v4/app/
H A DShareCompat.java364 String[] old = intent.getStringArrayExtra(extra);
365 int oldLength = old != null ? old.length : 0;
367 if (old != null) System.arraycopy(old, 0, result, 0, oldLength);
/frameworks/base/core/java/android/text/util/
H A DLinkify.java229 URLSpan[] old = text.getSpans(0, text.length(), URLSpan.class);
231 for (int i = old.length - 1; i >= 0; i--) {
232 text.removeSpan(old[i]);
/frameworks/support/compat/java/android/support/v4/text/util/
H A DLinkifyCompat.java98 URLSpan[] old = text.getSpans(0, text.length(), URLSpan.class);
100 for (int i = old.length - 1; i >= 0; i--) {
101 text.removeSpan(old[i]);
/frameworks/base/media/jni/
H A Dandroid_media_MediaRecorder.cpp150 sp<MediaRecorder> old = (MediaRecorder*)env->GetLongField(thiz, fields.context); local
154 if (old != 0) {
155 old->decStrong(thiz);
158 return old;
H A Dandroid_media_MediaSync.cpp125 sp<JMediaSync> old = (JMediaSync *)env->GetLongField(thiz, gFields.context); local
129 if (old != NULL) {
130 old->decStrong(thiz);
135 return old;
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_Visualizer.cpp245 sp<Visualizer> old = local
250 if (old != 0) {
251 old->decStrong((void*)setVisualizer);
254 return old;
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DBasicBitmapDrawable.java425 final int old = mPaint.getAlpha();
427 if (alpha != old) {
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java354 String old = mBmgr.selectBackupTransport(which);
355 if (old == null) {
359 System.out.println("Selected transport " + which + " (formerly " + old + ")");
/frameworks/av/media/libmedia/
H A DIMediaSource.cpp62 int32_t old = addRemoteRefcount(-1); local
63 ALOGV("RemoteMediaBufferWrapper: releasing %p, refcount %d", this, old - 1);

Completed in 604 milliseconds

1234