Home
last modified time | relevance | path

Searched refs:old (Results 1 – 9 of 9) sorted by relevance

/packages/apps/GlobalSearch/src/com/android/globalsearch/
DSuggestionFilter.java44 final List<SuggestionData> old = result.getSuggestions(); in filter() local
47 final ArrayList<SuggestionData> filtered = new ArrayList<SuggestionData>(old.size()); in filter()
48 for (SuggestionData suggestion : old) { in filter()
DSuggestionSources.java270 SuggestionSource old = mSuggestionSources.put(source); in addSuggestionSource() local
271 if (old != null) { in addSuggestionSource()
272 Log.w(TAG, "Replaced source " + old + " for " + source.getComponentName()); in addSuggestionSource()
354 SuggestionSource old = mSourcesByComponent.put(source.getComponentName(), source); in put() local
355 if (old != null) { in put()
360 mSources.remove(old); in put()
363 return old; in put()
DSuggestionData.java269 private static int addHashCode(int old, String str) { in addHashCode() argument
270 return 31 * old + (str != null ? str.hashCode() : 0); in addHashCode()
/packages/apps/Mms/src/com/android/mms/model/
DSlideModel.java132 private void internalAddOrReplace(MediaModel old, MediaModel media) { in internalAddOrReplace() argument
135 if (old == null) { in internalAddOrReplace()
143 removeSize = old.getMediaSize(); in internalAddOrReplace()
154 mMedia.set(mMedia.indexOf(old), media); in internalAddOrReplace()
155 old.unregisterAllModelChangedObservers(); in internalAddOrReplace()
/packages/apps/Camera/src/com/android/camera/
DImageViewTouchBase.java122 Bitmap old = mBitmapDisplayed.getBitmap(); in setImageBitmap() local
126 if (old != null && old != bitmap && mRecycler != null) { in setImageBitmap()
127 mRecycler.recycle(old); in setImageBitmap()
DCropImage.java256 Bitmap old = croppedImage; in onSaveClicked() local
259 if (old != croppedImage) { in onSaveClicked()
260 old.recycle(); in onSaveClicked()
/packages/apps/Browser/src/com/android/browser/
DBrowserSettings.java358 Observer old = mWebSettingsToObservers.get(s); in addObserver() local
359 if (old != null) { in addObserver()
360 super.deleteObserver(old); in addObserver()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadService.java754 private String stringFromCursor(String old, Cursor cursor, String column) { in stringFromCursor() argument
756 if (old == null) { in stringFromCursor()
764 if (length != old.length()) { in stringFromCursor()
772 old.getChars(0, length, oldArray, 0); in stringFromCursor()
778 return old; in stringFromCursor()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java767 private static String[] createMmsProjection(String[] old) { in createMmsProjection() argument
768 String[] newProjection = new String[old.length]; in createMmsProjection()
769 for (int i = 0; i < old.length; i++) { in createMmsProjection()
770 if (old[i].equals(BaseColumns._ID)) { in createMmsProjection()
773 newProjection[i] = old[i]; in createMmsProjection()