/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | WnnSentence.java | 100 public WnnSentence(WnnSentence prev, WnnClause clause) { in WnnSentence() argument 101 this.id = prev.id; in WnnSentence() 102 this.candidate = prev.candidate + clause.candidate; in WnnSentence() 103 this.stroke = prev.stroke + clause.stroke; in WnnSentence() 104 this.frequency = prev.frequency + clause.frequency; in WnnSentence() 105 this.partOfSpeech = new WnnPOS(prev.partOfSpeech.left, clause.partOfSpeech.right); in WnnSentence() 106 this.attribute = prev.attribute; in WnnSentence() 109 this.elements.addAll(prev.elements); in WnnSentence()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
D | RootInputStream.java | 38 private int prev = -1; field in RootInputStream 79 if (prev == '\r' && b == '\n') { in read() 82 prev = b; in read() 97 if (prev == '\r' && b[i] == '\n') { in read() 100 prev = b[i]; in read()
|
D | MimeStreamParser.java | 236 int prev = 0; in parseHeader() local 238 if (curr == '\n' && (prev == '\n' || prev == 0)) { in parseHeader() 246 prev = curr == '\r' ? prev : curr; in parseHeader()
|
D | MimeBoundaryInputStream.java | 165 int prev = s.read(); in matchBoundary() local 167 moreParts = !(prev == '-' && curr == '-'); in matchBoundary() 169 if (curr == '\n' && prev == '\r') { in matchBoundary() 172 prev = curr; in matchBoundary()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputConnection.java | 663 final CharSequence prev = getTextBeforeCursor(NUM_CHARS_TO_GET_BEFORE_CURSOR, 0); in getNgramContextFromNthPreviousWord() local 664 if (DEBUG_PREVIOUS_TEXT && null != prev) { in getNgramContextFromNthPreviousWord() 666 final String reference = prev.length() <= checkLength ? prev.toString() in getNgramContextFromNthPreviousWord() 667 : prev.subSequence(prev.length() - checkLength, prev.length()).toString(); in getNgramContextFromNthPreviousWord() 683 prev, spacingAndPunctuations, n); in getNgramContextFromNthPreviousWord()
|
/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
D | ObjectCursor.java | 63 final T prev = mCache.get(currentPosition); in getModel() local 64 if (prev != null) { in getModel() 65 return prev; in getModel()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | NgramContextUtils.java | 59 public static NgramContext getNgramContextFromNthPreviousWord(final CharSequence prev, in getNgramContextFromNthPreviousWord() argument 61 if (prev == null) return NgramContext.EMPTY_PREV_WORDS_INFO; in getNgramContextFromNthPreviousWord() 62 final String[] lines = NEWLINE_REGEX.split(prev); in getNgramContextFromNthPreviousWord()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | FilmstripView.java | 1178 final ViewItem prev = mViewItems[i - 1]; in layoutViewItems() local 1180 prev.getLeftPosition() + prev.getMeasuredWidth() in layoutViewItems() 1372 int prev = curr - 1; in animateItemRemoval() local 1373 if (mViewItems[prev] != null) { in animateItemRemoval() 1374 mViewItems[curr] = buildViewItemAt(mViewItems[prev].getAdapterIndex() + 1); in animateItemRemoval() 1481 int prev = findItemInBufferByAdapterIndex(index - 1); in updateInsertion() local 1482 if (prev >= 0 && prev < BUFFER_SIZE - 1) { in updateInsertion() 1485 bufferIndex = prev + 1; in updateInsertion() 1777 ViewItem prev = mViewItems[i - 1]; in update() local 1778 if (prev != null) { in update() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | TimePickerDialogFragment.java | 120 final Fragment prev = manager.findFragmentByTag(TAG); 121 if (prev != null) { 122 manager.beginTransaction().remove(prev).commit();
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoSource.java | 302 ImageData prev = data.naturalPrevious(); in naturalPrevious() local 303 if (prev != null) { in naturalPrevious() 304 image = load(prev, options, longSide, shortSide); in naturalPrevious() 305 mImageMap.put(image, prev); in naturalPrevious()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallUninstalling.java | 76 Fragment prev = getFragmentManager().findFragmentByTag("dialog"); in onCreate() local 77 if (prev != null) { in onCreate() 78 transaction.remove(prev); in onCreate()
|
D | UninstallerActivity.java | 215 Fragment prev = getFragmentManager().findFragmentByTag("dialog"); in showDialogFragment() local 216 if (prev != null) { in showDialogFragment() 217 ft.remove(prev); in showDialogFragment()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/ |
D | HistogramView.java | 112 float prev = 0; in drawHistogram() local 118 float v = h - (l + prev) / 2.0f; in drawHistogram() 124 prev = l; in drawHistogram()
|
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/ |
D | SampleChunk.java | 112 SampleChunk prev) throws IOException { in loadSampleChunkFromFile() argument 116 if (prev != null) { in loadSampleChunkFromFile() 117 prev.mNextChunk = chunk; in loadSampleChunkFromFile()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
D | SenderInfoLoader.java | 214 Pair<String, ContactInfo> prev = photoIdMap.get(photoId); in loadContactPhotos() local 215 String email = prev.first; in loadContactPhotos() 216 ContactInfo prevResult = prev.second; in loadContactPhotos()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | AttachmentActionHandler.java | 157 final Fragment prev = mFragmentManager.findFragmentByTag(PROGRESS_FRAGMENT_TAG); in showDownloadingDialog() local 158 if (prev != null) { in showDownloadingDialog() 159 ft.remove(prev); in showDownloadingDialog()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | CacheProcessing.java | 197 Bitmap prev = cacheBitmap; in process() local 199 if (prev != cacheBitmap) { in process() 200 environment.cache(prev); in process()
|
/packages/apps/Dialer/java/com/android/contacts/common/ |
D | ContactPhotoManagerImpl.java | 684 BitmapHolder prev = mBitmapHolderCache.get(key); in cacheBitmap() local 685 if (prev != null && prev.bytes != null) { in cacheBitmap() 688 "overwriting cache: key=" + key + (prev.fresh ? " FRESH" : " stale")); in cacheBitmap() 689 if (prev.fresh) { in cacheBitmap()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/ |
D | EncoderUtil.java | 476 char prev = '.'; in isDotAtomText() local 486 if (prev == '.' || idx == length - 1) in isDotAtomText() 493 prev = ch; in isDotAtomText()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageCurves.java | 390 float prev = 0; in drawHistogram() local 396 float v = h - (l + prev) / 2.0f; in drawHistogram() 402 prev = l; in drawHistogram()
|
D | GeometryMathUtils.java | 377 Rotation prev = holder.rotation; in getOriginalToScreen() local 378 rotation = (rotation + prev.value()) % 360; in getOriginalToScreen() 382 holder.rotation = prev; in getOriginalToScreen()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactPhotoManager.java | 1186 BitmapHolder prev = mBitmapHolderCache.get(key); in cacheBitmap() local 1187 if (prev != null && prev.bytes != null) { in cacheBitmap() 1188 Log.d(TAG, "Overwriting cache: key=" + key + (prev.fresh ? " FRESH" : " stale")); in cacheBitmap() 1189 if (prev.fresh) { in cacheBitmap()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactDirectoryManager.java | 185 final String prev = getDbHelper().getProperty(DbProperties.KNOWN_DIRECTORY_PACKAGES, ""); in haveKnownDirectoryProvidersChanged() local 187 final boolean changed = !Objects.equals(directoryPackages, prev); in haveKnownDirectoryProvidersChanged() 189 Log.d(TAG, "haveKnownDirectoryProvidersChanged=" + changed + "\nprev=" + prev in haveKnownDirectoryProvidersChanged()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarEventModel.java | 891 ReminderEntry prev = mReminders.get(mReminders.size()-1); in normalizeReminders() local 894 if (prev.equals(cur)) { in normalizeReminders() 898 prev = cur; in normalizeReminders()
|
/packages/apps/Music/src/com/android/music/ |
D | MediaPlaybackActivity.java | 123 mPrevButton = (RepeatingImageButton) findViewById(R.id.prev); in onCreate() 414 mService.prev(); 736 mService.prev(); in onKeyUp() 874 mService.prev(); in scanBackward()
|