Searched refs:old (Results 1 – 9 of 9) sorted by relevance
/packages/apps/GlobalSearch/src/com/android/globalsearch/ |
D | SuggestionFilter.java | 44 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()
|
D | SuggestionSources.java | 270 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()
|
D | SuggestionData.java | 269 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/ |
D | SlideModel.java | 132 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/ |
D | ImageViewTouchBase.java | 122 Bitmap old = mBitmapDisplayed.getBitmap(); in setImageBitmap() local 126 if (old != null && old != bitmap && mRecycler != null) { in setImageBitmap() 127 mRecycler.recycle(old); in setImageBitmap()
|
D | CropImage.java | 256 Bitmap old = croppedImage; in onSaveClicked() local 259 if (old != croppedImage) { in onSaveClicked() 260 old.recycle(); in onSaveClicked()
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserSettings.java | 358 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/ |
D | DownloadService.java | 754 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/ |
D | MmsSmsProvider.java | 767 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()
|