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

1234

/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java45 * be references to the old EditText in the text.
132 Visible[] old = sp.getSpans(0, sp.length(), Visible.class);
133 for (int i = 0; i < old.length; i++) {
134 sp.removeSpan(old[i]);
/frameworks/base/core/java/android/widget/
H A DCursorAdapter.java349 Cursor old = swapCursor(cursor);
350 if (old != null) {
351 old.close();
356 * Swap in a new Cursor, returning the old Cursor. Unlike
357 * {@link #changeCursor(Cursor)}, the returned old Cursor is <em>not</em>
/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/support/compat/java/android/support/v4/app/
H A DShareCompat.java292 String[] old = intent.getStringArrayExtra(extra);
293 int oldLength = old != null ? old.length : 0;
295 if (old != null) System.arraycopy(old, 0, result, 0, oldLength);
/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...]
/frameworks/base/core/java/android/util/
H A DArrayMap.java450 V old = (V)mArray[index];
452 return old;
468 * @return Returns the old value that was stored for the given key, or null if there
485 final V old = (V)mArray[index];
487 return old;
641 final Object old = mArray[(index << 1) + 1];
697 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/base/core/java/android/app/
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);
H A DLoadedApk.java272 * @param oldPaths The code paths for the old ApplicationInfo object. null means no paths can
1585 ServiceDispatcher.ConnectionInfo old;
1594 old = mActiveConnections.get(name);
1595 if (old != null && old.binder == service) {
1620 if (old != null) {
1621 old.binder.unlinkToDeath(old.deathMonitor, 0);
1625 // If there was an old service, it is now disconnected.
1626 if (old !
[all...]
H A DBackStackRecord.java878 * ops so that we can restore the old primary nav fragment later. Since callers call this
915 final Fragment old = added.get(i);
916 if (old.mContainerId == containerId) {
917 if (old == f) {
922 if (old == oldPrimaryNav) {
923 mOps.add(opNum, new Op(OP_UNSET_PRIMARY_NAV, old));
927 final Op removeOp = new Op(OP_REMOVE, old);
933 added.remove(old);
/frameworks/base/core/jni/
H A Dandroid_os_HwBlob.cpp61 sp<JHwBlob> old = (JHwBlob *)env->GetLongField(thiz, gFields.contextID); local
67 if (old != NULL) {
68 old->decStrong(NULL /* id */);
73 return old;
H A Dandroid_os_HwRemoteBinder.cpp230 sp<JHwRemoteBinder> old = local
237 if (old != NULL) {
238 old->decStrong(NULL /* id */);
243 return old;
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/av/media/audioserver/
H A DAndroid.mk22 # TODO oboeservice is the old folder name for aaudioservice. It will be changed.
/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.java506 SpeechItem old = mCurrentSpeechItem;
508 return old;
1503 ITextToSpeechCallback old;
1506 old = mCallerToCallback.put(caller, cb);
1508 old = mCallerToCallback.remove(caller);
1510 if (old != null && old != cb) {
1511 unregister(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/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/fragment/java/android/support/v4/app/
H A DBackStackRecord.java870 * ops so that we can restore the old primary nav fragment later. Since callers call this
907 final Fragment old = added.get(i);
908 if (old.mContainerId == containerId) {
909 if (old == f) {
914 if (old == oldPrimaryNav) {
915 mOps.add(opNum, new Op(OP_UNSET_PRIMARY_NAV, old));
919 final Op removeOp = new Op(OP_REMOVE, old);
925 added.remove(old);
/frameworks/base/core/java/android/text/util/
H A DLinkify.java228 URLSpan[] old = text.getSpans(0, text.length(), URLSpan.class);
230 for (int i = old.length - 1; i >= 0; i--) {
231 text.removeSpan(old[i]);
/frameworks/base/media/jni/
H A Dandroid_media_MediaDescrambler.cpp46 sp<JDescrambler> old = (JDescrambler *)env->GetLongField(thiz, gFields.context); local
50 if (old != NULL) {
51 old->decStrong(thiz);
H A Dandroid_media_MediaRecorder.cpp152 sp<MediaRecorder> old = (MediaRecorder*)env->GetLongField(thiz, fields.context); local
156 if (old != 0) {
157 old->decStrong(thiz);
160 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/support/compat/java/android/support/v4/text/util/
H A DLinkifyCompat.java103 URLSpan[] old = text.getSpans(0, text.length(), URLSpan.class);
105 for (int i = old.length - 1; i >= 0; i--) {
106 text.removeSpan(old[i]);

Completed in 567 milliseconds

1234