Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 25 of 28) sorted by relevance

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java663 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DNgramContextUtils.java59 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/DeskClock/src/com/android/deskclock/alarms/
DTimePickerDialogFragment.java120 final Fragment prev = manager.findFragmentByTag(TAG);
121 if (prev != null) {
122 manager.beginTransaction().remove(prev).commit();
DTimePickerDialogFragment.kt129 val prev: Fragment? = manager.findFragmentByTag(TAG) in <lambda>() constant
130 prev?.let { in <lambda>()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
DHistogramView.java112 float prev = 0; in drawHistogram() local
118 float v = h - (l + prev) / 2.0f; in drawHistogram()
124 prev = l; in drawHistogram()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoSource.java302 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/Camera2/src/com/android/camera/widget/
DFilmstripView.java1178 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/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DSampleChunk.java110 SampleChunk prev) in loadSampleChunkFromFile() argument
114 if (prev != null) { in loadSampleChunkFromFile()
115 prev.mNextChunk = chunk; in loadSampleChunkFromFile()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DSampleChunk.java127 SampleChunk prev) { in loadSampleChunkFromFile() argument
131 if (prev != null) { in loadSampleChunkFromFile()
132 prev.mNextChunk = chunk; in loadSampleChunkFromFile()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCacheProcessing.java197 Bitmap prev = cacheBitmap; in process() local
199 if (prev != cacheBitmap) { in process()
200 environment.cache(prev); in process()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/
DQueryFilteringUtil.java123 char prev = t9Name.charAt(i - 1); in getIndexOfT9Substring() local
125 if (!Character.isDigit(prev) && t9NameDigitsOnly.startsWith(query, offset)) { in getIndexOfT9Substring()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DStateMachine.java221 State prev = mStatesList.getLast(); in updateState() local
222 prev.processBackward(); in updateState()
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManagerImpl.java698 BitmapHolder prev = bitmapHolderCache.get(key); in cacheBitmap() local
699 if (prev != null && prev.bytes != null) { in cacheBitmap()
702 "overwriting cache: key=" + key + (prev.fresh ? " FRESH" : " stale")); in cacheBitmap()
703 if (prev.fresh) { in cacheBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCurves.java390 float prev = 0; in drawHistogram() local
396 float v = h - (l + prev) / 2.0f; in drawHistogram()
402 prev = l; in drawHistogram()
DGeometryMathUtils.java377 Rotation prev = holder.rotation; in getOriginalToScreen() local
378 rotation = (rotation + prev.value()) % 360; in getOriginalToScreen()
382 holder.rotation = prev; in getOriginalToScreen()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactDirectoryManager.java185 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/modules/DnsResolver/
Dres_cache.cpp1023 Cache::pending_req_info* prev = &cache->pending_requests; in cache_has_pending_request_locked() local
1028 prev = ri; in cache_has_pending_request_locked()
1036 prev->next = ri; in cache_has_pending_request_locked()
1047 Cache::pending_req_info* prev = &cache->pending_requests; in cache_notify_waiting_tid_locked() local
1051 prev->next = ri->next; in cache_notify_waiting_tid_locked()
1056 prev = ri; in cache_notify_waiting_tid_locked()
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java1186 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/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java239 final NeighborEvent prev = mNeighborWatchList.put(event.ip, event);
244 mLog.w("ALERT neighbor went from: " + prev + " to: " + event);
/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java262 int prev = mDisplayMode; in setDisplayMode() local
268 return prev; in setDisplayMode()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java940 RestrictionsPerSpeedRange prev = restrictions.get(i - 1); in validateContinuousSpeedRange() local
943 if (Float.compare(curr.mSpeedRange.mMinSpeed, prev.mSpeedRange.mMaxSpeed) != 0) { in validateContinuousSpeedRange()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java1505 Rect prev = mPositionController.getPosition(-1);
1507 int prevDist = center - prev.right;
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java123 LocalMediaBrowserService.ACTION_PREV, R.drawable.ic_prev, R.string.prev); in Player()
/packages/inputmethods/LatinIME/dictionaries/
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...

12