Home
last modified time | relevance | path

Searched refs:last (Results 1 – 11 of 11) sorted by relevance

/packages/inputmethods/LatinIME/src/com/android/inputmethod/latin/
DWordComposer.java95 char last = mTypedWord.charAt(lastPos); in deleteLast() local
97 if (Character.isUpperCase(last)) mCapsCount--; in deleteLast()
/packages/apps/Music/src/com/android/music/
DRepeatingImageButton.java121 private void doRepeat(boolean last) { in doRepeat() argument
124 mListener.onRepeat(this, now - mStartTime, last ? -1 : mRepeatCount++); in doRepeat()
DMediaPlaybackService.java1399 public int removeTracks(int first, int last) { in removeTracks() argument
1400 int numremoved = removeTracksInternal(first, last); in removeTracks()
1407 private int removeTracksInternal(int first, int last) { in removeTracksInternal() argument
1409 if (last < first) return 0; in removeTracksInternal()
1411 if (last >= mPlayListLen) last = mPlayListLen - 1; in removeTracksInternal()
1414 if (first <= mPlayPos && mPlayPos <= last) { in removeTracksInternal()
1417 } else if (mPlayPos > last) { in removeTracksInternal()
1418 mPlayPos -= (last - first + 1); in removeTracksInternal()
1420 int num = mPlayListLen - last - 1; in removeTracksInternal()
1422 mPlayList[first + i] = mPlayList[last + 1 + i]; in removeTracksInternal()
[all …]
DIMediaPlaybackService.aidl50 int removeTracks(int first, int last); in removeTracks() argument
/packages/apps/Email/src/com/android/email/mail/store/
DImapResponseParser.java372 int last = size() - 1; in nailDown() local
373 if (last >= 0) { in nailDown()
374 Object o = get(last); in nailDown()
379 set(last, (Object) new String(buffer)); in nailDown()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DComposingText.java177 StrSegment last = strUplayer.get(strUplayer.size() - 1); in modifyUpper() local
178 if (last.to < mod_from) { in modifyUpper()
180 last.to = mod_to; in modifyUpper()
181 last.string = toString(layer, last.from, last.to); in modifyUpper()
DUserDictionaryToolsList.java690 int last = (start + MAX_LIST_WORD_COUNT); in updateWordList() local
691 t.setText((start + 1) + " - " + Math.min(last, size)); in updateWordList()
694 mRightButton.setEnabled(last < size); in updateWordList()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DRecurrenceProcessorTest.java155 String last) throws Exception { in verifyRecurrence() argument
234 if (last != null && last.length() > 0) { in verifyRecurrence()
236 expectedLast.parse(last); in verifyRecurrence()
242 Log.i(TAG, "Expected: " + last + "; Actual: " + lastStr); in verifyRecurrence()
247 + " expected=" + last in verifyRecurrence()
/packages/apps/Calendar/src/com/android/calendar/
DAgendaWindowAdapter.java743 DayAdapterInfo last = mAdapterInfos.getLast(); in onQueryComplete() local
749 if (querySpec.start <= last.end + 1 && last.end < querySpec.end) { in onQueryComplete()
750 last.end = querySpec.end; in onQueryComplete()
754 totalAgendaRangeEnd = last.end; in onQueryComplete()
/packages/apps/Launcher2/src/com/android/launcher2/
DAllAppsView.java1193 final int last = mState.iconCount - 1; in removeApp() local
1194 mIcons[last] = null; in removeApp()
1195 mIconIds[last] = 0; in removeApp()
1196 mLabels[last] = null; in removeApp()
1197 mLabelIds[last] = 0; in removeApp()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider.java2856 long last = calculateLastDate(values); in updateContentValuesFromEvent() local
2857 if (last != -1) { in updateContentValuesFromEvent()
2858 values.put(Events.LAST_DATE, last); in updateContentValuesFromEvent()